From cf73bbf098eb7ee0024731659c4790d0d95fcf10 Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Tue, 3 Dec 2024 19:12:53 +0000 Subject: [PATCH] This release includes API needed to support for Unstructured Data in Q in QuickSight Q&A (IDC). This change adds support for global tables with multi-Region strong consistency (in preview). The UpdateTable API now supports a new attribute MultiRegionConsistency to set consistency when creating global tables. The DescribeTable output now optionally includes the MultiRegionConsistency attribute. Add support for 11 new plugins as action cards to help automate repetitive tasks and improve productivity. This release includes(1)Zero-ETL integration to ingest data from 3P SaaS and DynamoDB to Redshift/Redlake (2)new properties on Connections to enable reuse; new connection APIs for retrieve/preview metadata (3)support of CRUD operations for Multi-catalog (4)support of automatic statistics collections Amazon S3 Tables deliver the first cloud object store with built-in open table format support, and the easiest way to store tabular data at scale. Added support for Async Invoke Operations Start, List and Get. Support for invocation logs with `requestMetadata` field in Converse, ConverseStream, Invoke and InvokeStream. Video content blocks in Converse/ConverseStream accept raw bytes or S3 URI. Releasing SDK for Multi-Agent Collaboration. Add new API operations for Amazon Aurora DSQL. Amazon Aurora DSQL is a serverless, distributed SQL database with virtually unlimited scale, highest availability, and zero infrastructure management. Adds support for Amazon Redshift RegisterNamespace and DeregisterNamespace APIs to share data to AWS Glue Data Catalog. Amazon S3 Metadata stores object metadata in read-only, fully managed Apache Iceberg metadata tables that you can query. You can create metadata table configurations for S3 general purpose buckets. Amazon Q Business now supports customization options for your web experience, 11 new Plugins, and QuickSight support. Amazon Q index allows software providers to enrich their native generative AI experiences with their customer's enterprise knowledge and user context spanning multiple applications. Releasing SDK for multi agent collaboration Tagging support for Async Invoke resources. Added support for Distillation in CreateModelCustomizationJob API. Support for videoDataDeliveryEnabled flag in invocation logging. Add FEDERATED type to CreateDataCatalog. This creates Athena Data Catalog, AWS Lambda connector, and AWS Glue connection. Create/DeleteDataCatalog returns DataCatalog. Add Status, ConnectionType, and Error to DataCatalog and DataCatalogSummary. Add DeleteCatalogOnly to delete Athena Catalog only. Adds support for the ListManagedWorkgroups API to get an overview of existing managed workgroups. This release added two new LakeFormation Permissions (CREATE_CATALOG, SUPER_USER) and added Id field for CatalogResource. It also added new conditon and expression field. Adds support for Connections, ProjectProfiles, and JobRuns APIs. Supports the new Lineage feature at GA. Adjusts optionality of a parameter for DataSource and SubscriptionTarget APIs which may adjust types in some clients. Support for configuring AiOps investigation as alarm action --- VERSION | 2 +- .../include/aws/athena/AthenaClient.h | 10 +- .../include/aws/athena/model/ConnectionType.h | 49 + .../athena/model/CreateDataCatalogRequest.h | 40 +- .../athena/model/CreateDataCatalogResult.h | 12 + .../include/aws/athena/model/DataCatalog.h | 90 +- .../aws/athena/model/DataCatalogStatus.h | 38 + .../aws/athena/model/DataCatalogSummary.h | 71 + .../aws/athena/model/DataCatalogType.h | 3 +- .../athena/model/DeleteDataCatalogRequest.h | 16 + .../athena/model/DeleteDataCatalogResult.h | 12 + .../source/model/ConnectionType.cpp | 198 + .../source/model/CreateDataCatalogResult.cpp | 8 +- .../source/model/DataCatalog.cpp | 44 +- .../source/model/DataCatalogStatus.cpp | 121 + .../source/model/DataCatalogSummary.cpp | 44 +- .../source/model/DataCatalogType.cpp | 7 + .../source/model/DeleteDataCatalogRequest.cpp | 10 +- .../source/model/DeleteDataCatalogResult.cpp | 8 +- .../model/AgentCollaboratorInputPayload.h | 94 + .../model/AgentCollaboratorInvocationInput.h | 94 + .../model/AgentCollaboratorInvocationOutput.h | 94 + .../model/AgentCollaboratorOutputPayload.h | 94 + .../model/ApiInvocationInput.h | 34 + .../bedrock-agent-runtime/model/ApiResult.h | 17 + .../aws/bedrock-agent-runtime/model/Caller.h | 61 + .../model/ContentBlock.h | 61 + .../model/ConversationHistory.h | 62 + .../model/ConversationRole.h | 31 + .../model/FunctionInvocationInput.h | 34 + .../model/FunctionResult.h | 17 + .../model/GeneratedResponsePart.h | 2 +- .../model/InvocationInput.h | 16 + .../model/InvocationType.h | 3 +- .../model/InvokeAgentRequest.h | 19 + .../aws/bedrock-agent-runtime/model/Message.h | 78 + .../model/ModelInvocationInput.h | 19 +- .../bedrock-agent-runtime/model/Observation.h | 16 + .../bedrock-agent-runtime/model/PayloadType.h | 31 + .../model/ReturnControlResults.h | 80 + .../RoutingClassifierModelInvocationOutput.h | 94 + .../model/RoutingClassifierTrace.h | 107 + .../model/SessionState.h | 16 + .../aws/bedrock-agent-runtime/model/Trace.h | 16 + .../bedrock-agent-runtime/model/TracePart.h | 36 + .../aws/bedrock-agent-runtime/model/Type.h | 1 + .../model/AgentCollaboratorInputPayload.cpp | 87 + .../AgentCollaboratorInvocationInput.cpp | 87 + .../AgentCollaboratorInvocationOutput.cpp | 87 + .../model/AgentCollaboratorOutputPayload.cpp | 87 + .../source/model/ApiInvocationInput.cpp | 28 + .../source/model/ApiResult.cpp | 14 + .../source/model/Caller.cpp | 59 + .../source/model/ContentBlock.cpp | 59 + .../source/model/ConversationHistory.cpp | 67 + .../source/model/ConversationRole.cpp | 72 + .../source/model/FunctionInvocationInput.cpp | 28 + .../source/model/FunctionResult.cpp | 14 + .../source/model/InvocationInput.cpp | 14 + .../source/model/InvocationType.cpp | 7 + .../source/model/InvokeAgentRequest.cpp | 17 + .../source/model/Message.cpp | 81 + .../source/model/ModelInvocationInput.cpp | 14 + .../source/model/Observation.cpp | 14 + .../source/model/PayloadType.cpp | 72 + .../source/model/ReturnControlResults.cpp | 81 + ...RoutingClassifierModelInvocationOutput.cpp | 87 + .../source/model/RoutingClassifierTrace.cpp | 101 + .../source/model/SessionState.cpp | 14 + .../source/model/Trace.cpp | 16 +- .../source/model/TracePart.cpp | 36 + .../source/model/Type.cpp | 7 + .../aws/bedrock-agent/BedrockAgentClient.h | 127 + .../BedrockAgentServiceClientModel.h | 25 + .../include/aws/bedrock-agent/model/Agent.h | 16 + .../bedrock-agent/model/AgentCollaboration.h | 32 + .../bedrock-agent/model/AgentCollaborator.h | 209 + .../model/AgentCollaboratorSummary.h | 192 + .../aws/bedrock-agent/model/AgentDescriptor.h | 61 + .../aws/bedrock-agent/model/AgentVersion.h | 16 + .../model/AssociateAgentCollaboratorRequest.h | 157 + .../model/AssociateAgentCollaboratorResult.h | 66 + .../bedrock-agent/model/CreateAgentRequest.h | 16 + .../DisassociateAgentCollaboratorRequest.h | 90 + .../DisassociateAgentCollaboratorResult.h | 52 + .../model/GetAgentCollaboratorRequest.h | 90 + .../model/GetAgentCollaboratorResult.h | 66 + .../model/ListAgentCollaboratorsRequest.h | 105 + .../model/ListAgentCollaboratorsResult.h | 85 + .../bedrock-agent/model/PromptConfiguration.h | 17 + .../model/RelayConversationHistory.h | 31 + .../model/UpdateAgentCollaboratorRequest.h | 156 + .../model/UpdateAgentCollaboratorResult.h | 66 + .../bedrock-agent/model/UpdateAgentRequest.h | 16 + .../source/BedrockAgentClient.cpp | 228 + .../source/model/Agent.cpp | 14 + .../source/model/AgentCollaboration.cpp | 79 + .../source/model/AgentCollaborator.cpp | 183 + .../source/model/AgentCollaboratorSummary.cpp | 169 + .../source/model/AgentDescriptor.cpp | 59 + .../source/model/AgentVersion.cpp | 14 + .../AssociateAgentCollaboratorRequest.cpp | 66 + .../AssociateAgentCollaboratorResult.cpp | 48 + .../source/model/CreateAgentRequest.cpp | 7 + .../DisassociateAgentCollaboratorRequest.cpp | 29 + .../DisassociateAgentCollaboratorResult.cpp | 42 + .../model/GetAgentCollaboratorRequest.cpp | 29 + .../model/GetAgentCollaboratorResult.cpp | 48 + .../model/ListAgentCollaboratorsRequest.cpp | 45 + .../model/ListAgentCollaboratorsResult.cpp | 57 + .../source/model/PromptConfiguration.cpp | 14 + .../source/model/RelayConversationHistory.cpp | 72 + .../model/UpdateAgentCollaboratorRequest.cpp | 59 + .../model/UpdateAgentCollaboratorResult.cpp | 48 + .../source/model/UpdateAgentRequest.cpp | 7 + .../bedrock-runtime/BedrockRuntimeClient.h | 95 +- .../bedrock-runtime/BedrockRuntimeErrors.h | 3 +- .../BedrockRuntimeServiceClientModel.h | 16 + .../model/AsyncInvokeOutputDataConfig.h | 59 + .../model/AsyncInvokeS3OutputDataConfig.h | 95 + .../bedrock-runtime/model/AsyncInvokeStatus.h | 32 + .../model/AsyncInvokeSummary.h | 190 + .../aws/bedrock-runtime/model/ContentBlock.h | 16 + .../bedrock-runtime/model/ConverseRequest.h | 29 +- .../model/ConverseStreamOutput.h | 11 +- .../model/ConverseStreamRequest.h | 28 +- .../model/GetAsyncInvokeRequest.h | 56 + .../model/GetAsyncInvokeResult.h | 180 + .../model/ListAsyncInvokesRequest.h | 155 + .../model/ListAsyncInvokesResult.h | 85 + .../aws/bedrock-runtime/model/S3Location.h | 78 + .../model/SortAsyncInvocationBy.h | 30 + .../aws/bedrock-runtime/model/SortOrder.h | 31 + .../model/StartAsyncInvokeRequest.h | 125 + .../model/StartAsyncInvokeResult.h | 67 + .../include/aws/bedrock-runtime/model/Tag.h | 78 + .../bedrock-runtime/model/ToolConfiguration.h | 5 +- .../model/ToolResultContentBlock.h | 16 + .../aws/bedrock-runtime/model/VideoBlock.h | 75 + .../aws/bedrock-runtime/model/VideoFormat.h | 38 + .../aws/bedrock-runtime/model/VideoSource.h | 77 + .../source/BedrockRuntimeClient.cpp | 90 + .../source/BedrockRuntimeErrors.cpp | 7 +- .../model/AsyncInvokeOutputDataConfig.cpp | 59 + .../model/AsyncInvokeS3OutputDataConfig.cpp | 87 + .../source/model/AsyncInvokeStatus.cpp | 79 + .../source/model/AsyncInvokeSummary.cpp | 168 + .../source/model/ContentBlock.cpp | 14 + .../source/model/ConverseRequest.cpp | 12 + .../source/model/ConverseStreamRequest.cpp | 12 + .../source/model/GetAsyncInvokeRequest.cpp | 27 + .../source/model/GetAsyncInvokeResult.cpp | 98 + .../source/model/ListAsyncInvokesRequest.cpp | 93 + .../source/model/ListAsyncInvokesResult.cpp | 57 + .../source/model/S3Location.cpp | 73 + .../source/model/SortAsyncInvocationBy.cpp | 65 + .../source/model/SortOrder.cpp | 72 + .../source/model/StartAsyncInvokeRequest.cpp | 71 + .../source/model/StartAsyncInvokeResult.cpp | 48 + .../source/model/Tag.cpp | 73 + .../source/model/ToolResultContentBlock.cpp | 16 +- .../source/model/VideoBlock.cpp | 73 + .../source/model/VideoFormat.cpp | 121 + .../source/model/VideoSource.cpp | 72 + .../include/aws/bedrock/BedrockClient.h | 12 +- .../CreateModelCustomizationJobRequest.h | 16 + .../model/CreateModelInvocationJobRequest.h | 2 +- .../aws/bedrock/model/CustomizationConfig.h | 59 + .../aws/bedrock/model/CustomizationType.h | 3 +- .../aws/bedrock/model/DistillationConfig.h | 60 + .../aws/bedrock/model/GetCustomModelResult.h | 14 + .../model/GetModelCustomizationJobResult.h | 14 + .../model/GetModelInvocationJobResult.h | 31 +- .../aws/bedrock/model/InvocationLogSource.h | 61 + .../aws/bedrock/model/InvocationLogsConfig.h | 90 + .../model/ListModelInvocationJobsRequest.h | 29 +- .../include/aws/bedrock/model/LoggingConfig.h | 13 + .../aws/bedrock/model/ModelCustomization.h | 3 +- .../bedrock/model/ModelInvocationJobSummary.h | 31 +- .../model/RequestMetadataBaseFilters.h | 90 + .../bedrock/model/RequestMetadataFilters.h | 128 + .../aws/bedrock/model/TeacherModelConfig.h | 76 + .../aws/bedrock/model/TrainingDataConfig.h | 16 + .../CreateModelCustomizationJobRequest.cpp | 9 +- .../source/model/CustomizationConfig.cpp | 59 + .../source/model/CustomizationType.cpp | 7 + .../source/model/DistillationConfig.cpp | 59 + .../source/model/GetCustomModelResult.cpp | 6 + .../model/GetModelCustomizationJobResult.cpp | 6 + .../source/model/InvocationLogSource.cpp | 59 + .../source/model/InvocationLogsConfig.cpp | 88 + .../source/model/LoggingConfig.cpp | 17 +- .../source/model/ModelCustomization.cpp | 7 + .../model/RequestMetadataBaseFilters.cpp | 89 + .../source/model/RequestMetadataFilters.cpp | 133 + .../source/model/TeacherModelConfig.cpp | 74 + .../source/model/TrainingDataConfig.cpp | 16 +- .../include/aws/datazone/DataZoneClient.h | 360 ++ .../aws/datazone/DataZoneServiceClientModel.h | 70 + .../datazone/model/AthenaPropertiesInput.h | 61 + .../datazone/model/AthenaPropertiesOutput.h | 61 + .../datazone/model/AthenaPropertiesPatch.h | 62 + .../model/AuthenticationConfiguration.h | 94 + .../model/AuthenticationConfigurationInput.h | 150 + .../model/AuthenticationConfigurationPatch.h | 78 + .../aws/datazone/model/AuthenticationType.h | 32 + .../model/AuthorizationCodeProperties.h | 79 + .../include/aws/datazone/model/AwsAccount.h | 78 + .../include/aws/datazone/model/AwsLocation.h | 112 + .../model/BasicAuthenticationCredentials.h | 79 + .../aws/datazone/model/ComputeEnvironments.h | 32 + .../datazone/model/ConnectionCredentials.h | 111 + .../model/ConnectionPropertiesInput.h | 155 + .../model/ConnectionPropertiesOutput.h | 155 + .../model/ConnectionPropertiesPatch.h | 123 + .../aws/datazone/model/ConnectionStatus.h | 37 + .../aws/datazone/model/ConnectionSummary.h | 197 + .../aws/datazone/model/ConnectionType.h | 48 + .../datazone/model/CreateConnectionRequest.h | 158 + .../datazone/model/CreateConnectionResult.h | 202 + .../datazone/model/CreateDataSourceRequest.h | 17 + .../datazone/model/CreateDataSourceResult.h | 17 +- .../aws/datazone/model/CreateDomainRequest.h | 33 + .../aws/datazone/model/CreateDomainResult.h | 29 + .../datazone/model/CreateEnvironmentRequest.h | 30 + ...ojectFromProjectProfilePolicyGrantDetail.h | 79 + .../model/CreateProjectProfileRequest.h | 142 + .../model/CreateProjectProfileResult.h | 200 + .../aws/datazone/model/CreateProjectRequest.h | 35 + .../aws/datazone/model/CreateProjectResult.h | 45 + .../model/DataSourceConfigurationInput.h | 16 + .../model/DataSourceConfigurationOutput.h | 16 + .../datazone/model/DataSourceRunActivity.h | 16 + .../model/DataSourceRunLineageSummary.h | 60 + .../aws/datazone/model/DataSourceRunSummary.h | 16 + .../aws/datazone/model/DataSourceSummary.h | 36 +- .../datazone/model/DeleteConnectionRequest.h | 73 + .../datazone/model/DeleteConnectionResult.h | 67 + .../datazone/model/DeleteDataSourceRequest.h | 19 - .../datazone/model/DeleteDataSourceResult.h | 17 +- .../model/DeleteProjectProfileRequest.h | 73 + .../model/DeleteProjectProfileResult.h | 52 + .../aws/datazone/model/DeploymentMode.h | 31 + .../aws/datazone/model/DomainSummary.h | 16 + .../aws/datazone/model/DomainVersion.h | 31 + .../EnvironmentBlueprintConfigurationItem.h | 17 + .../datazone/model/EnvironmentConfiguration.h | 189 + .../model/EnvironmentConfigurationParameter.h | 91 + ...nvironmentConfigurationParametersDetails.h | 98 + .../EnvironmentConfigurationUserParameter.h | 80 + .../model/EnvironmentDeploymentDetails.h | 84 + .../include/aws/datazone/model/EventSummary.h | 59 + .../aws/datazone/model/GetConnectionRequest.h | 92 + .../aws/datazone/model/GetConnectionResult.h | 231 + .../aws/datazone/model/GetDataSourceResult.h | 17 +- .../datazone/model/GetDataSourceRunResult.h | 14 + .../aws/datazone/model/GetDomainResult.h | 29 + ...tEnvironmentBlueprintConfigurationResult.h | 15 + .../aws/datazone/model/GetJobRunRequest.h | 73 + .../aws/datazone/model/GetJobRunResult.h | 222 + .../datazone/model/GetLineageEventRequest.h | 73 + .../datazone/model/GetLineageEventResult.h | 154 + .../datazone/model/GetProjectProfileRequest.h | 73 + .../datazone/model/GetProjectProfileResult.h | 200 + .../aws/datazone/model/GetProjectResult.h | 45 + .../aws/datazone/model/GlueConnection.h | 365 ++ .../aws/datazone/model/GlueConnectionInput.h | 268 ++ .../aws/datazone/model/GlueConnectionPatch.h | 101 + .../aws/datazone/model/GlueConnectionType.h | 42 + .../datazone/model/GlueOAuth2Credentials.h | 112 + .../aws/datazone/model/GluePropertiesInput.h | 60 + .../aws/datazone/model/GluePropertiesOutput.h | 78 + .../aws/datazone/model/GluePropertiesPatch.h | 60 + .../model/GlueRunConfigurationInput.h | 17 + .../model/GlueRunConfigurationOutput.h | 17 + .../aws/datazone/model/GovernanceType.h | 31 + .../aws/datazone/model/HyperPodOrchestrator.h | 31 + .../datazone/model/HyperPodPropertiesInput.h | 62 + .../datazone/model/HyperPodPropertiesOutput.h | 95 + .../aws/datazone/model/IamPropertiesInput.h | 56 + .../aws/datazone/model/IamPropertiesOutput.h | 75 + .../aws/datazone/model/IamPropertiesPatch.h | 56 + .../aws/datazone/model/JobRunDetails.h | 59 + .../include/aws/datazone/model/JobRunError.h | 61 + .../include/aws/datazone/model/JobRunMode.h | 31 + .../include/aws/datazone/model/JobRunStatus.h | 37 + .../aws/datazone/model/JobRunSummary.h | 222 + .../include/aws/datazone/model/JobType.h | 30 + .../model/LineageEventProcessingStatus.h | 33 + .../aws/datazone/model/LineageEventSummary.h | 158 + .../aws/datazone/model/LineageImportStatus.h | 33 + .../include/aws/datazone/model/LineageInfo.h | 94 + .../aws/datazone/model/LineageRunDetails.h | 59 + .../model/LineageSqlQueryRunDetails.h | 123 + .../aws/datazone/model/LineageSyncSchedule.h | 61 + .../datazone/model/ListConnectionsRequest.h | 198 + .../datazone/model/ListConnectionsResult.h | 88 + .../datazone/model/ListDataSourcesRequest.h | 17 + .../aws/datazone/model/ListJobRunsRequest.h | 148 + .../aws/datazone/model/ListJobRunsResult.h | 88 + .../datazone/model/ListLineageEventsRequest.h | 163 + .../datazone/model/ListLineageEventsResult.h | 88 + .../model/ListProjectProfilesRequest.h | 149 + .../model/ListProjectProfilesResult.h | 88 + .../aws/datazone/model/ManagedPolicyType.h | 4 +- .../aws/datazone/model/NameIdentifier.h | 78 + .../datazone/model/OAuth2ClientApplication.h | 80 + .../aws/datazone/model/OAuth2GrantType.h | 32 + .../aws/datazone/model/OAuth2Properties.h | 148 + .../model/OpenLineageRunEventSummary.h | 128 + .../aws/datazone/model/OpenLineageRunState.h | 35 + .../datazone/model/OverallDeploymentStatus.h | 34 + .../model/PhysicalConnectionRequirements.h | 119 + .../aws/datazone/model/PhysicalEndpoint.h | 156 + .../aws/datazone/model/PolicyGrantDetail.h | 29 + .../datazone/model/PostLineageEventRequest.h | 6 +- .../datazone/model/PostLineageEventResult.h | 30 + .../datazone/model/ProjectProfileSummary.h | 193 + .../include/aws/datazone/model/Protocol.h | 36 + ...EnvironmentBlueprintConfigurationRequest.h | 17 + ...tEnvironmentBlueprintConfigurationResult.h | 15 + .../aws/datazone/model/RedshiftCredentials.h | 78 + .../RedshiftLineageSyncConfigurationInput.h | 73 + .../RedshiftLineageSyncConfigurationOutput.h | 91 + .../datazone/model/RedshiftPropertiesInput.h | 139 + .../datazone/model/RedshiftPropertiesOutput.h | 189 + .../datazone/model/RedshiftPropertiesPatch.h | 139 + .../model/RedshiftStorageProperties.h | 78 + .../include/aws/datazone/model/Region.h | 78 + .../model/SageMakerRunConfigurationInput.h | 67 + .../model/SageMakerRunConfigurationOutput.h | 101 + .../aws/datazone/model/SortFieldConnection.h | 30 + .../datazone/model/SparkEmrPropertiesInput.h | 163 + .../datazone/model/SparkEmrPropertiesOutput.h | 228 + .../datazone/model/SparkEmrPropertiesPatch.h | 163 + .../aws/datazone/model/SparkGlueArgs.h | 61 + .../datazone/model/SparkGluePropertiesInput.h | 173 + .../model/SparkGluePropertiesOutput.h | 173 + .../include/aws/datazone/model/Status.h | 31 + .../datazone/model/UpdateConnectionRequest.h | 122 + .../datazone/model/UpdateConnectionResult.h | 202 + .../datazone/model/UpdateDataSourceResult.h | 17 +- .../aws/datazone/model/UpdateDomainRequest.h | 17 + .../aws/datazone/model/UpdateDomainResult.h | 15 + .../model/UpdateProjectProfileRequest.h | 159 + .../model/UpdateProjectProfileResult.h | 200 + .../aws/datazone/model/UpdateProjectRequest.h | 16 + .../aws/datazone/model/UpdateProjectResult.h | 45 + .../aws/datazone/model/UsernamePassword.h | 78 + .../source/DataZoneClient.cpp | 550 +++ .../source/model/AthenaPropertiesInput.cpp | 59 + .../source/model/AthenaPropertiesOutput.cpp | 59 + .../source/model/AthenaPropertiesPatch.cpp | 59 + .../model/AuthenticationConfiguration.cpp | 87 + .../AuthenticationConfigurationInput.cpp | 137 + .../AuthenticationConfigurationPatch.cpp | 73 + .../source/model/AuthenticationType.cpp | 79 + .../model/AuthorizationCodeProperties.cpp | 73 + .../source/model/AwsAccount.cpp | 73 + .../source/model/AwsLocation.cpp | 101 + .../model/BasicAuthenticationCredentials.cpp | 73 + .../source/model/ComputeEnvironments.cpp | 79 + .../source/model/ConnectionCredentials.cpp | 100 + .../model/ConnectionPropertiesInput.cpp | 143 + .../model/ConnectionPropertiesOutput.cpp | 143 + .../model/ConnectionPropertiesPatch.cpp | 115 + .../source/model/ConnectionStatus.cpp | 114 + .../source/model/ConnectionSummary.cpp | 179 + .../source/model/ConnectionType.cpp | 191 + .../source/model/CreateConnectionRequest.cpp | 72 + .../source/model/CreateConnectionResult.cpp | 107 + .../source/model/CreateDataSourceRequest.cpp | 7 + .../source/model/CreateDataSourceResult.cpp | 6 + .../source/model/CreateDomainRequest.cpp | 14 + .../source/model/CreateDomainResult.cpp | 13 + .../source/model/CreateEnvironmentRequest.cpp | 15 + ...ectFromProjectProfilePolicyGrantDetail.cpp | 82 + .../model/CreateProjectProfileRequest.cpp | 69 + .../model/CreateProjectProfileResult.cpp | 107 + .../source/model/CreateProjectRequest.cpp | 21 +- .../source/model/CreateProjectResult.cpp | 21 + .../model/DataSourceConfigurationInput.cpp | 16 +- .../model/DataSourceConfigurationOutput.cpp | 16 +- .../source/model/DataSourceRunActivity.cpp | 14 + .../model/DataSourceRunLineageSummary.cpp | 59 + .../source/model/DataSourceRunSummary.cpp | 14 + .../source/model/DataSourceSummary.cpp | 28 + .../source/model/DeleteConnectionRequest.cpp | 28 + .../source/model/DeleteConnectionResult.cpp | 48 + .../source/model/DeleteDataSourceRequest.cpp | 9 - .../source/model/DeleteDataSourceResult.cpp | 6 + .../model/DeleteProjectProfileRequest.cpp | 28 + .../model/DeleteProjectProfileResult.cpp | 42 + .../source/model/DeploymentMode.cpp | 72 + .../source/model/DomainSummary.cpp | 14 + .../source/model/DomainVersion.cpp | 72 + .../EnvironmentBlueprintConfigurationItem.cpp | 14 + .../source/model/EnvironmentConfiguration.cpp | 172 + .../EnvironmentConfigurationParameter.cpp | 88 + ...ironmentConfigurationParametersDetails.cpp | 103 + .../EnvironmentConfigurationUserParameter.cpp | 81 + .../model/EnvironmentDeploymentDetails.cpp | 93 + .../source/model/EventSummary.cpp | 59 + .../source/model/GetConnectionRequest.cpp | 44 + .../source/model/GetConnectionResult.cpp | 119 + .../source/model/GetDataSourceResult.cpp | 6 + .../source/model/GetDataSourceRunResult.cpp | 6 + .../source/model/GetDomainResult.cpp | 13 + ...nvironmentBlueprintConfigurationResult.cpp | 6 + .../source/model/GetJobRunRequest.cpp | 28 + .../source/model/GetJobRunResult.cpp | 118 + .../source/model/GetLineageEventRequest.cpp | 28 + .../source/model/GetLineageEventResult.cpp | 117 + .../source/model/GetProjectProfileRequest.cpp | 28 + .../source/model/GetProjectProfileResult.cpp | 107 + .../source/model/GetProjectResult.cpp | 21 + .../source/model/GlueConnection.cpp | 343 ++ .../source/model/GlueConnectionInput.cpp | 254 + .../source/model/GlueConnectionPatch.cpp | 95 + .../source/model/GlueConnectionType.cpp | 149 + .../source/model/GlueOAuth2Credentials.cpp | 101 + .../source/model/GluePropertiesInput.cpp | 59 + .../source/model/GluePropertiesOutput.cpp | 73 + .../source/model/GluePropertiesPatch.cpp | 59 + .../model/GlueRunConfigurationInput.cpp | 14 + .../model/GlueRunConfigurationOutput.cpp | 14 + .../source/model/GovernanceType.cpp | 72 + .../source/model/HyperPodOrchestrator.cpp | 72 + .../source/model/HyperPodPropertiesInput.cpp | 59 + .../source/model/HyperPodPropertiesOutput.cpp | 87 + .../source/model/IamPropertiesInput.cpp | 60 + .../source/model/IamPropertiesOutput.cpp | 74 + .../source/model/IamPropertiesPatch.cpp | 60 + .../source/model/JobRunDetails.cpp | 59 + .../source/model/JobRunError.cpp | 59 + .../source/model/JobRunMode.cpp | 72 + .../source/model/JobRunStatus.cpp | 114 + .../source/model/JobRunSummary.cpp | 196 + .../source/model/JobType.cpp | 65 + .../model/LineageEventProcessingStatus.cpp | 86 + .../source/model/LineageEventSummary.cpp | 141 + .../source/model/LineageImportStatus.cpp | 86 + .../source/model/LineageInfo.cpp | 87 + .../source/model/LineageRunDetails.cpp | 59 + .../model/LineageSqlQueryRunDetails.cpp | 123 + .../source/model/LineageSyncSchedule.cpp | 59 + .../source/model/ListConnectionsRequest.cpp | 102 + .../source/model/ListConnectionsResult.cpp | 57 + .../source/model/ListDataSourcesRequest.cpp | 8 + .../source/model/ListJobRunsRequest.cpp | 70 + .../source/model/ListJobRunsResult.cpp | 57 + .../source/model/ListLineageEventsRequest.cpp | 85 + .../source/model/ListLineageEventsResult.cpp | 57 + .../model/ListProjectProfilesRequest.cpp | 77 + .../model/ListProjectProfilesResult.cpp | 57 + .../source/model/ManagedPolicyType.cpp | 14 + .../source/model/NameIdentifier.cpp | 73 + .../source/model/OAuth2ClientApplication.cpp | 73 + .../source/model/OAuth2GrantType.cpp | 79 + .../source/model/OAuth2Properties.cpp | 137 + .../model/OpenLineageRunEventSummary.cpp | 131 + .../source/model/OpenLineageRunState.cpp | 100 + .../source/model/OverallDeploymentStatus.cpp | 93 + .../model/PhysicalConnectionRequirements.cpp | 117 + .../source/model/PhysicalEndpoint.cpp | 144 + .../source/model/PolicyGrantDetail.cpp | 28 + .../source/model/PostLineageEventRequest.cpp | 23 +- .../source/model/PostLineageEventResult.cpp | 14 +- .../source/model/ProjectProfileSummary.cpp | 169 + .../source/model/Protocol.cpp | 107 + ...vironmentBlueprintConfigurationRequest.cpp | 7 + ...nvironmentBlueprintConfigurationResult.cpp | 6 + .../source/model/RedshiftCredentials.cpp | 73 + .../RedshiftLineageSyncConfigurationInput.cpp | 74 + ...RedshiftLineageSyncConfigurationOutput.cpp | 88 + .../source/model/RedshiftPropertiesInput.cpp | 130 + .../source/model/RedshiftPropertiesOutput.cpp | 172 + .../source/model/RedshiftPropertiesPatch.cpp | 130 + .../model/RedshiftStorageProperties.cpp | 73 + .../source/model/Region.cpp | 73 + .../model/SageMakerRunConfigurationInput.cpp | 79 + .../model/SageMakerRunConfigurationOutput.cpp | 107 + .../source/model/SortFieldConnection.cpp | 65 + .../source/model/SparkEmrPropertiesInput.cpp | 143 + .../source/model/SparkEmrPropertiesOutput.cpp | 198 + .../source/model/SparkEmrPropertiesPatch.cpp | 143 + .../source/model/SparkGlueArgs.cpp | 59 + .../source/model/SparkGluePropertiesInput.cpp | 159 + .../model/SparkGluePropertiesOutput.cpp | 159 + .../source/model/Status.cpp | 72 + .../source/model/UpdateConnectionRequest.cpp | 51 + .../source/model/UpdateConnectionResult.cpp | 107 + .../source/model/UpdateDataSourceResult.cpp | 6 + .../source/model/UpdateDomainRequest.cpp | 7 + .../source/model/UpdateDomainResult.cpp | 6 + .../model/UpdateProjectProfileRequest.cpp | 70 + .../model/UpdateProjectProfileResult.cpp | 107 + .../source/model/UpdateProjectRequest.cpp | 7 + .../source/model/UpdateProjectResult.cpp | 21 + .../source/model/UsernamePassword.cpp | 73 + .../include/aws/dsql/DSQLClient.h | 43 +- .../include/aws/dsql/model/ClusterSummary.h | 10 +- .../aws/dsql/model/ConflictException.h | 11 +- .../aws/dsql/model/CreateClusterRequest.h | 19 +- .../aws/dsql/model/CreateClusterResult.h | 20 +- .../model/CreateMultiRegionClustersRequest.h | 22 +- .../model/CreateMultiRegionClustersResult.h | 4 +- .../aws/dsql/model/DeleteClusterRequest.h | 14 +- .../aws/dsql/model/DeleteClusterResult.h | 20 +- .../model/DeleteMultiRegionClustersRequest.h | 15 +- .../aws/dsql/model/GetClusterRequest.h | 4 +- .../include/aws/dsql/model/GetClusterResult.h | 29 +- .../aws/dsql/model/InternalServerException.h | 9 +- .../aws/dsql/model/LinkedClusterProperties.h | 10 +- .../aws/dsql/model/ListClustersRequest.h | 11 +- .../aws/dsql/model/ListClustersResult.h | 10 +- .../dsql/model/ListTagsForResourceRequest.h | 4 +- .../dsql/model/ListTagsForResourceResult.h | 4 +- .../dsql/model/ResourceNotFoundException.h | 3 +- .../model/ServiceQuotaExceededException.h | 3 +- .../aws/dsql/model/TagResourceRequest.h | 8 +- .../aws/dsql/model/ThrottlingException.h | 3 +- .../aws/dsql/model/UntagResourceRequest.h | 8 +- .../aws/dsql/model/UpdateClusterRequest.h | 18 +- .../aws/dsql/model/UpdateClusterResult.h | 29 +- .../aws/dsql/model/ValidationException.h | 4 +- .../aws/dsql/model/ValidationExceptionField.h | 7 +- .../source/DSQLEndpointRules.cpp | 206 +- .../include/aws/dynamodb/DynamoDBErrors.h | 1 + .../dynamodb/model/MultiRegionConsistency.h | 31 + .../aws/dynamodb/model/TableDescription.h | 26 + .../aws/dynamodb/model/UpdateTableRequest.h | 31 + .../source/DynamoDBEndpointRules.cpp | 6 +- .../source/DynamoDBErrors.cpp | 5 + .../source/model/MultiRegionConsistency.cpp | 72 + .../source/model/TableDescription.cpp | 16 +- .../source/model/UpdateTableRequest.cpp | 7 + .../include/aws/glue/GlueClient.h | 620 +++ .../include/aws/glue/GlueErrors.h | 7 + .../include/aws/glue/GlueServiceClientModel.h | 153 +- .../include/aws/glue/model/AllowedValue.h | 79 + .../aws/glue/model/AuthConfiguration.h | 143 + .../model/AuthenticationConfigurationInput.h | 59 + .../aws/glue/model/AuthenticationType.h | 3 +- .../model/BasicAuthenticationCredentials.h | 79 + .../include/aws/glue/model/Capabilities.h | 99 + .../include/aws/glue/model/Catalog.h | 263 + .../include/aws/glue/model/CatalogInput.h | 179 + .../aws/glue/model/CatalogProperties.h | 87 + .../aws/glue/model/CatalogPropertiesOutput.h | 87 + .../glue/model/ColumnStatisticsTaskSettings.h | 51 + .../aws/glue/model/ComputeEnvironment.h | 32 + .../model/ComputeEnvironmentConfiguration.h | 215 + .../include/aws/glue/model/Connection.h | 119 +- .../include/aws/glue/model/ConnectionInput.h | 107 +- .../aws/glue/model/ConnectionPropertyKey.h | 10 +- .../include/aws/glue/model/ConnectionType.h | 21 +- .../aws/glue/model/ConnectionTypeBrief.h | 95 + .../aws/glue/model/CreateCatalogRequest.h | 100 + .../aws/glue/model/CreateCatalogResult.h | 52 + .../aws/glue/model/CreateIntegrationRequest.h | 188 + ...CreateIntegrationResourcePropertyRequest.h | 90 + .../CreateIntegrationResourcePropertyResult.h | 95 + .../aws/glue/model/CreateIntegrationResult.h | 248 + .../CreateIntegrationTablePropertiesRequest.h | 107 + .../CreateIntegrationTablePropertiesResult.h | 52 + .../aws/glue/model/DataLakeAccessProperties.h | 114 + .../model/DataLakeAccessPropertiesOutput.h | 183 + .../include/aws/glue/model/DataOperation.h | 31 + .../aws/glue/model/DeleteCatalogRequest.h | 58 + .../aws/glue/model/DeleteCatalogResult.h | 52 + .../aws/glue/model/DeleteIntegrationRequest.h | 58 + .../aws/glue/model/DeleteIntegrationResult.h | 248 + .../DeleteIntegrationTablePropertiesRequest.h | 75 + .../DeleteIntegrationTablePropertiesResult.h | 52 + .../model/DescribeConnectionTypeRequest.h | 58 + .../glue/model/DescribeConnectionTypeResult.h | 251 + .../aws/glue/model/DescribeEntityRequest.h | 128 + .../aws/glue/model/DescribeEntityResult.h | 87 + .../DescribeInboundIntegrationsRequest.h | 106 + .../model/DescribeInboundIntegrationsResult.h | 85 + .../glue/model/DescribeIntegrationsRequest.h | 110 + .../glue/model/DescribeIntegrationsResult.h | 85 + .../include/aws/glue/model/Entity.h | 154 + .../include/aws/glue/model/ExecutionAttempt.h | 110 + .../include/aws/glue/model/ExecutionStatus.h | 31 + .../include/aws/glue/model/FederatedCatalog.h | 80 + .../include/aws/glue/model/Field.h | 332 ++ .../include/aws/glue/model/FieldDataType.h | 45 + .../aws/glue/model/FieldFilterOperator.h | 38 + .../aws/glue/model/GetCatalogRequest.h | 59 + .../include/aws/glue/model/GetCatalogResult.h | 67 + .../aws/glue/model/GetCatalogsRequest.h | 103 + .../aws/glue/model/GetCatalogsResult.h | 86 + .../aws/glue/model/GetConnectionRequest.h | 17 + .../aws/glue/model/GetConnectionsFilter.h | 13 + .../aws/glue/model/GetEntityRecordsRequest.h | 217 + .../aws/glue/model/GetEntityRecordsResult.h | 84 + .../GetIntegrationResourcePropertyRequest.h | 58 + .../GetIntegrationResourcePropertyResult.h | 95 + .../GetIntegrationTablePropertiesRequest.h | 75 + .../GetIntegrationTablePropertiesResult.h | 110 + .../aws/glue/model/InboundIntegration.h | 153 + .../include/aws/glue/model/Integration.h | 264 + .../include/aws/glue/model/IntegrationError.h | 79 + .../aws/glue/model/IntegrationFilter.h | 81 + .../aws/glue/model/IntegrationPartition.h | 79 + .../aws/glue/model/IntegrationStatus.h | 36 + .../glue/model/ListConnectionTypesRequest.h | 71 + .../glue/model/ListConnectionTypesResult.h | 85 + .../aws/glue/model/ListEntitiesRequest.h | 130 + .../aws/glue/model/ListEntitiesResult.h | 84 + .../aws/glue/model/ModifyIntegrationRequest.h | 109 + .../aws/glue/model/ModifyIntegrationResult.h | 248 + .../aws/glue/model/OAuth2Credentials.h | 114 + .../aws/glue/model/OAuth2PropertiesInput.h | 17 + .../include/aws/glue/model/Property.h | 165 + .../include/aws/glue/model/PropertyType.h | 34 + .../include/aws/glue/model/ScheduleType.h | 31 + .../include/aws/glue/model/SettingSource.h | 31 + .../glue/model/SourceProcessingProperties.h | 62 + .../aws/glue/model/SourceTableConfig.h | 116 + .../include/aws/glue/model/Tag.h | 87 + .../glue/model/TargetProcessingProperties.h | 115 + .../aws/glue/model/TargetRedshiftCatalog.h | 62 + .../aws/glue/model/TargetTableConfig.h | 98 + .../aws/glue/model/TestConnectionRequest.h | 17 + .../include/aws/glue/model/UnnestSpec.h | 32 + .../aws/glue/model/UpdateCatalogRequest.h | 75 + .../aws/glue/model/UpdateCatalogResult.h | 52 + ...UpdateIntegrationResourcePropertyRequest.h | 90 + .../UpdateIntegrationResourcePropertyResult.h | 95 + .../UpdateIntegrationTablePropertiesRequest.h | 107 + .../UpdateIntegrationTablePropertiesResult.h | 52 + .../aws-cpp-sdk-glue/source/GlueClient.cpp | 702 +-- .../aws-cpp-sdk-glue/source/GlueClient1.cpp | 1026 ++-- .../aws-cpp-sdk-glue/source/GlueClient2.cpp | 594 +++ .../aws-cpp-sdk-glue/source/GlueErrors.cpp | 35 + .../source/model/AllowedValue.cpp | 73 + .../source/model/AuthConfiguration.cpp | 139 + .../AuthenticationConfigurationInput.cpp | 52 +- .../source/model/AuthenticationType.cpp | 7 + .../model/BasicAuthenticationCredentials.cpp | 73 + .../source/model/Capabilities.cpp | 111 + .../aws-cpp-sdk-glue/source/model/Catalog.cpp | 235 + .../source/model/CatalogInput.cpp | 167 + .../source/model/CatalogProperties.cpp | 81 + .../source/model/CatalogPropertiesOutput.cpp | 81 + .../model/ColumnStatisticsTaskSettings.cpp | 44 +- .../source/model/ComputeEnvironment.cpp | 79 + .../model/ComputeEnvironmentConfiguration.cpp | 212 + .../source/model/Connection.cpp | 83 +- .../source/model/ConnectionInput.cpp | 68 +- .../source/model/ConnectionPropertyKey.cpp | 70 +- .../source/model/ConnectionType.cpp | 133 + .../source/model/ConnectionTypeBrief.cpp | 87 + .../source/model/CreateCatalogRequest.cpp | 62 + .../source/model/CreateCatalogResult.cpp | 42 + .../source/model/CreateIntegrationRequest.cpp | 102 + ...eateIntegrationResourcePropertyRequest.cpp | 57 + ...reateIntegrationResourcePropertyResult.cpp | 60 + .../source/model/CreateIntegrationResult.cpp | 125 + ...reateIntegrationTablePropertiesRequest.cpp | 64 + ...CreateIntegrationTablePropertiesResult.cpp | 42 + .../source/model/DataLakeAccessProperties.cpp | 102 + .../model/DataLakeAccessPropertiesOutput.cpp | 158 + .../source/model/DataOperation.cpp | 72 + .../source/model/DeleteCatalogRequest.cpp | 43 + .../source/model/DeleteCatalogResult.cpp | 42 + .../source/model/DeleteIntegrationRequest.cpp | 43 + .../source/model/DeleteIntegrationResult.cpp | 125 + ...eleteIntegrationTablePropertiesRequest.cpp | 50 + ...DeleteIntegrationTablePropertiesResult.cpp | 42 + .../model/DescribeConnectionTypeRequest.cpp | 43 + .../model/DescribeConnectionTypeResult.cpp | 129 + .../source/model/DescribeEntityRequest.cpp | 71 + .../source/model/DescribeEntityResult.cpp | 57 + .../DescribeInboundIntegrationsRequest.cpp | 65 + .../DescribeInboundIntegrationsResult.cpp | 57 + .../model/DescribeIntegrationsRequest.cpp | 70 + .../model/DescribeIntegrationsResult.cpp | 57 + .../aws-cpp-sdk-glue/source/model/Entity.cpp | 138 + .../source/model/ExecutionAttempt.cpp | 100 + .../source/model/ExecutionStatus.cpp | 72 + .../source/model/FederatedCatalog.cpp | 73 + .../aws-cpp-sdk-glue/source/model/Field.cpp | 330 ++ .../source/model/FieldDataType.cpp | 170 + .../source/model/FieldFilterOperator.cpp | 121 + .../source/model/GetCatalogRequest.cpp | 43 + .../source/model/GetCatalogResult.cpp | 48 + .../source/model/GetCatalogsRequest.cpp | 66 + .../source/model/GetCatalogsResult.cpp | 57 + .../source/model/GetConnectionRequest.cpp | 9 +- .../source/model/GetConnectionsFilter.cpp | 17 +- .../source/model/GetEntityRecordsRequest.cpp | 117 + .../source/model/GetEntityRecordsResult.cpp | 57 + .../GetIntegrationResourcePropertyRequest.cpp | 43 + .../GetIntegrationResourcePropertyResult.cpp | 60 + .../GetIntegrationTablePropertiesRequest.cpp | 50 + .../GetIntegrationTablePropertiesResult.cpp | 66 + .../source/model/InboundIntegration.cpp | 136 + .../source/model/Integration.cpp | 236 + .../source/model/IntegrationError.cpp | 73 + .../source/model/IntegrationFilter.cpp | 81 + .../source/model/IntegrationPartition.cpp | 73 + .../source/model/IntegrationStatus.cpp | 107 + .../model/ListConnectionTypesRequest.cpp | 51 + .../model/ListConnectionTypesResult.cpp | 57 + .../source/model/ListEntitiesRequest.cpp | 71 + .../source/model/ListEntitiesResult.cpp | 57 + .../source/model/ModifyIntegrationRequest.cpp | 64 + .../source/model/ModifyIntegrationResult.cpp | 125 + .../source/model/OAuth2Credentials.cpp | 101 + .../source/model/OAuth2PropertiesInput.cpp | 16 +- .../source/model/Property.cpp | 168 + .../source/model/PropertyType.cpp | 93 + .../source/model/ScheduleType.cpp | 72 + .../source/model/SettingSource.cpp | 72 + .../model/SourceProcessingProperties.cpp | 59 + .../source/model/SourceTableConfig.cpp | 117 + .../src/aws-cpp-sdk-glue/source/model/Tag.cpp | 73 + .../model/TargetProcessingProperties.cpp | 101 + .../source/model/TargetRedshiftCatalog.cpp | 59 + .../source/model/TargetTableConfig.cpp | 95 + .../source/model/TestConnectionRequest.cpp | 7 + .../source/model/UnnestSpec.cpp | 79 + .../source/model/UpdateCatalogRequest.cpp | 50 + .../source/model/UpdateCatalogResult.cpp | 42 + ...dateIntegrationResourcePropertyRequest.cpp | 57 + ...pdateIntegrationResourcePropertyResult.cpp | 60 + ...pdateIntegrationTablePropertiesRequest.cpp | 64 + ...UpdateIntegrationTablePropertiesResult.cpp | 42 + .../aws/lakeformation/model/CatalogResource.h | 20 + .../aws/lakeformation/model/Condition.h | 63 + .../model/LakeFormationOptInsInfo.h | 17 + .../aws/lakeformation/model/Permission.h | 4 +- .../model/PrincipalResourcePermissions.h | 17 + .../source/model/CatalogResource.cpp | 18 +- .../source/model/Condition.cpp | 59 + .../source/model/LakeFormationOptInsInfo.cpp | 14 + .../source/model/Permission.cpp | 14 + .../model/PrincipalResourcePermissions.cpp | 14 + .../include/aws/monitoring/model/Entity.h | 8 +- .../model/PutCompositeAlarmRequest.h | 3 + .../monitoring/model/PutMetricAlarmRequest.h | 5 +- .../include/aws/qapps/model/PluginType.h | 13 +- .../include/aws/qapps/model/QPluginCard.h | 17 + .../aws/qapps/model/QPluginCardInput.h | 17 + .../source/model/PluginType.cpp | 77 + .../source/model/QPluginCard.cpp | 16 +- .../source/model/QPluginCardInput.cpp | 16 +- .../include/aws/qbusiness/QBusinessClient.h | 341 ++ .../qbusiness/QBusinessServiceClientModel.h | 61 + .../aws/qbusiness/model/ActionConfiguration.h | 78 + .../model/ActionFilterConfiguration.h | 58 + .../model/ActionReviewPayloadField.h | 2 +- .../aws/qbusiness/model/ActionSummary.h | 117 + .../include/aws/qbusiness/model/Application.h | 17 + .../model/AssociatePermissionRequest.h | 110 + .../model/AssociatePermissionResult.h | 67 + .../aws/qbusiness/model/ContentSource.h | 59 + .../model/CreateApplicationRequest.h | 21 + .../model/CreateDataAccessorRequest.h | 148 + .../model/CreateDataAccessorResult.h | 98 + .../model/CreateWebExperienceRequest.h | 17 + .../model/CustomizationConfiguration.h | 118 + .../aws/qbusiness/model/DataAccessor.h | 163 + .../model/DeleteDataAccessorRequest.h | 73 + .../model/DeleteDataAccessorResult.h | 52 + .../model/DisassociatePermissionRequest.h | 73 + .../model/DisassociatePermissionResult.h | 52 + .../qbusiness/model/GetApplicationResult.h | 15 + .../qbusiness/model/GetDataAccessorRequest.h | 73 + .../qbusiness/model/GetDataAccessorResult.h | 190 + .../aws/qbusiness/model/GetPolicyRequest.h | 56 + .../aws/qbusiness/model/GetPolicyResult.h | 67 + .../qbusiness/model/GetWebExperienceResult.h | 15 + .../qbusiness/model/IdcAuthConfiguration.h | 81 + .../aws/qbusiness/model/IdentityType.h | 3 +- .../model/ListDataAccessorsRequest.h | 93 + .../qbusiness/model/ListDataAccessorsResult.h | 84 + .../model/ListPluginActionsRequest.h | 112 + .../qbusiness/model/ListPluginActionsResult.h | 85 + .../model/ListPluginTypeActionsRequest.h | 93 + .../model/ListPluginTypeActionsResult.h | 85 + .../model/ListPluginTypeMetadataRequest.h | 77 + .../model/ListPluginTypeMetadataResult.h | 85 + .../OAuth2ClientCredentialConfiguration.h | 36 + .../qbusiness/model/PluginAuthConfiguration.h | 17 + .../include/aws/qbusiness/model/PluginType.h | 14 +- .../aws/qbusiness/model/PluginTypeCategory.h | 34 + .../model/PluginTypeMetadataSummary.h | 95 + .../qbusiness/model/QuickSightConfiguration.h | 67 + .../aws/qbusiness/model/RelevantContent.h | 148 + .../model/ResourceNotFoundException.h | 5 +- .../qbusiness/model/RetrieverContentSource.h | 62 + .../aws/qbusiness/model/ScoreAttributes.h | 60 + .../aws/qbusiness/model/ScoreConfidence.h | 34 + .../model/SearchRelevantContentRequest.h | 176 + .../model/SearchRelevantContentResult.h | 84 + .../model/UpdateDataAccessorRequest.h | 110 + .../model/UpdateDataAccessorResult.h | 52 + .../model/UpdateWebExperienceRequest.h | 17 + .../source/QBusinessClient.cpp | 444 ++ .../source/model/ActionConfiguration.cpp | 73 + .../model/ActionFilterConfiguration.cpp | 59 + .../source/model/ActionSummary.cpp | 101 + .../source/model/Application.cpp | 16 +- .../model/AssociatePermissionRequest.cpp | 55 + .../model/AssociatePermissionResult.cpp | 48 + .../source/model/ContentSource.cpp | 59 + .../source/model/CreateApplicationRequest.cpp | 9 +- .../model/CreateDataAccessorRequest.cpp | 75 + .../source/model/CreateDataAccessorResult.cpp | 60 + .../model/CreateWebExperienceRequest.cpp | 9 +- .../model/CustomizationConfiguration.cpp | 101 + .../source/model/DataAccessor.cpp | 141 + .../model/DeleteDataAccessorRequest.cpp | 28 + .../source/model/DeleteDataAccessorResult.cpp | 42 + .../model/DisassociatePermissionRequest.cpp | 28 + .../model/DisassociatePermissionResult.cpp | 42 + .../source/model/GetApplicationResult.cpp | 6 + .../source/model/GetDataAccessorRequest.cpp | 28 + .../source/model/GetDataAccessorResult.cpp | 99 + .../source/model/GetPolicyRequest.cpp | 27 + .../source/model/GetPolicyResult.cpp | 48 + .../source/model/GetWebExperienceResult.cpp | 6 + .../source/model/IdcAuthConfiguration.cpp | 73 + .../source/model/IdentityType.cpp | 7 + .../source/model/ListDataAccessorsRequest.cpp | 51 + .../source/model/ListDataAccessorsResult.cpp | 57 + .../source/model/ListPluginActionsRequest.cpp | 52 + .../source/model/ListPluginActionsResult.cpp | 57 + .../model/ListPluginTypeActionsRequest.cpp | 52 + .../model/ListPluginTypeActionsResult.cpp | 57 + .../model/ListPluginTypeMetadataRequest.cpp | 50 + .../model/ListPluginTypeMetadataResult.cpp | 57 + .../OAuth2ClientCredentialConfiguration.cpp | 30 +- .../source/model/PluginAuthConfiguration.cpp | 16 +- .../source/model/PluginType.cpp | 84 + .../source/model/PluginTypeCategory.cpp | 93 + .../model/PluginTypeMetadataSummary.cpp | 87 + .../source/model/QuickSightConfiguration.cpp | 59 + .../source/model/RelevantContent.cpp | 137 + .../source/model/RetrieverContentSource.cpp | 59 + .../source/model/ScoreAttributes.cpp | 59 + .../source/model/ScoreConfidence.cpp | 93 + .../model/SearchRelevantContentRequest.cpp | 91 + .../model/SearchRelevantContentResult.cpp | 57 + .../model/UpdateDataAccessorRequest.cpp | 49 + .../source/model/UpdateDataAccessorResult.cpp | 42 + .../model/UpdateWebExperienceRequest.cpp | 9 +- .../include/aws/quicksight/QuickSightClient.h | 223 + .../quicksight/QuickSightServiceClientModel.h | 40 + .../quicksight/model/DashboardVisualResult.h | 181 + ...DeleteDefaultQBusinessApplicationRequest.h | 83 + .../DeleteDefaultQBusinessApplicationResult.h | 63 + ...scribeDefaultQBusinessApplicationRequest.h | 82 + ...escribeDefaultQBusinessApplicationResult.h | 79 + ...ibeQuickSightQSearchConfigurationRequest.h | 57 + ...ribeQuickSightQSearchConfigurationResult.h | 77 + ...dUrlForRegisteredUserWithIdentityRequest.h | 102 + ...edUrlForRegisteredUserWithIdentityResult.h | 78 + .../quicksight/model/GeneratedAnswerResult.h | 180 + .../quicksight/model/GeneratedAnswerStatus.h | 32 + .../quicksight/model/IncludeGeneratedAnswer.h | 31 + .../model/IncludeQuickSightQIndex.h | 31 + .../model/PredictQAResultsRequest.h | 119 + .../quicksight/model/PredictQAResultsResult.h | 93 + .../include/aws/quicksight/model/QAResult.h | 92 + .../aws/quicksight/model/QAResultType.h | 32 + .../aws/quicksight/model/QSearchStatus.h | 31 + .../aws/quicksight/model/ServiceType.h | 3 +- ...ApplicationWithTokenExchangeGrantRequest.h | 80 + ...eApplicationWithTokenExchangeGrantResult.h | 63 + ...UpdateDefaultQBusinessApplicationRequest.h | 99 + .../UpdateDefaultQBusinessApplicationResult.h | 63 + ...ateQuickSightQSearchConfigurationRequest.h | 74 + ...dateQuickSightQSearchConfigurationResult.h | 77 + .../source/QuickSightClient.cpp | 236 +- .../source/QuickSightClient1.cpp | 670 ++- .../source/QuickSightClient2.cpp | 359 ++ .../source/model/DashboardVisualResult.cpp | 157 + ...leteDefaultQBusinessApplicationRequest.cpp | 42 + ...eleteDefaultQBusinessApplicationResult.cpp | 46 + ...ribeDefaultQBusinessApplicationRequest.cpp | 42 + ...cribeDefaultQBusinessApplicationResult.cpp | 52 + ...eQuickSightQSearchConfigurationRequest.cpp | 27 + ...beQuickSightQSearchConfigurationResult.cpp | 53 + ...rlForRegisteredUserWithIdentityRequest.cpp | 56 + ...UrlForRegisteredUserWithIdentityResult.cpp | 52 + .../source/model/GeneratedAnswerResult.cpp | 157 + .../source/model/GeneratedAnswerStatus.cpp | 79 + .../source/model/IncludeGeneratedAnswer.cpp | 72 + .../source/model/IncludeQuickSightQIndex.cpp | 72 + .../source/model/PredictQAResultsRequest.cpp | 58 + .../source/model/PredictQAResultsResult.cpp | 61 + .../source/model/QAResult.cpp | 87 + .../source/model/QAResultType.cpp | 79 + .../source/model/QSearchStatus.cpp | 72 + .../source/model/ServiceType.cpp | 7 + ...plicationWithTokenExchangeGrantRequest.cpp | 42 + ...pplicationWithTokenExchangeGrantResult.cpp | 46 + ...dateDefaultQBusinessApplicationRequest.cpp | 51 + ...pdateDefaultQBusinessApplicationResult.cpp | 46 + ...eQuickSightQSearchConfigurationRequest.cpp | 36 + ...teQuickSightQSearchConfigurationResult.cpp | 53 + .../RedshiftServerlessClient.h | 66 +- .../RedshiftServerlessServiceClientModel.h | 12 +- .../model/ListManagedWorkgroupsRequest.h | 92 + .../model/ListManagedWorkgroupsResult.h | 86 + .../model/ManagedWorkgroupListItem.h | 129 + .../model/ManagedWorkgroupStatus.h | 34 + .../source/RedshiftServerlessClient.cpp | 27 + .../model/ListManagedWorkgroupsRequest.cpp | 58 + .../model/ListManagedWorkgroupsResult.cpp | 57 + .../source/model/ManagedWorkgroupListItem.cpp | 114 + .../source/model/ManagedWorkgroupStatus.cpp | 93 + .../include/aws/redshift/RedshiftClient.h | 102 +- .../aws/redshift/RedshiftServiceClientModel.h | 10 + .../model/AssociateDataShareConsumerResult.h | 14 + .../redshift/model/AuthorizeDataShareResult.h | 14 + .../include/aws/redshift/model/DataShare.h | 16 + .../aws/redshift/model/DataShareType.h | 30 + .../model/DeauthorizeDataShareResult.h | 14 + .../model/DeregisterNamespaceRequest.h | 80 + .../model/DeregisterNamespaceResult.h | 64 + .../DisassociateDataShareConsumerResult.h | 14 + .../redshift/model/NamespaceIdentifierUnion.h | 78 + .../model/NamespaceRegistrationStatus.h | 31 + .../redshift/model/ProvisionedIdentifier.h | 63 + .../redshift/model/RegisterNamespaceRequest.h | 80 + .../redshift/model/RegisterNamespaceResult.h | 64 + .../redshift/model/RejectDataShareResult.h | 14 + .../aws/redshift/model/ServerlessIdentifier.h | 81 + .../source/RedshiftClient.cpp | 54 + .../AssociateDataShareConsumerResult.cpp | 8 +- .../source/model/AuthorizeDataShareResult.cpp | 8 +- .../source/model/DataShare.cpp | 19 +- .../source/model/DataShareType.cpp | 65 + .../model/DeauthorizeDataShareResult.cpp | 8 +- .../model/DeregisterNamespaceRequest.cpp | 54 + .../model/DeregisterNamespaceResult.cpp | 56 + .../DisassociateDataShareConsumerResult.cpp | 8 +- .../source/model/NamespaceIdentifierUnion.cpp | 94 + .../model/NamespaceRegistrationStatus.cpp | 72 + .../source/model/ProvisionedIdentifier.cpp | 70 + .../source/model/RegisterNamespaceRequest.cpp | 54 + .../source/model/RegisterNamespaceResult.cpp | 56 + .../source/model/RejectDataShareResult.cpp | 8 +- .../source/model/ServerlessIdentifier.cpp | 86 + .../include/aws/s3-crt/S3CrtClient.h | 127 + .../aws/s3-crt/S3CrtServiceClientModel.h | 13 + ...eBucketMetadataTableConfigurationRequest.h | 160 + ...eBucketMetadataTableConfigurationRequest.h | 108 + .../include/aws/s3-crt/model/ErrorDetails.h | 136 + ...tBucketMetadataTableConfigurationRequest.h | 108 + ...etBucketMetadataTableConfigurationResult.h | 102 + ...ucketMetadataTableConfigurationSdkResult.h | 66 + .../s3-crt/model/MetadataTableConfiguration.h | 64 + .../model/MetadataTableConfigurationResult.h | 67 + .../aws/s3-crt/model/S3TablesDestination.h | 87 + .../s3-crt/model/S3TablesDestinationResult.h | 124 + .../aws-cpp-sdk-s3-crt/source/S3CrtClient.cpp | 130 + ...ucketMetadataTableConfigurationRequest.cpp | 118 + ...ucketMetadataTableConfigurationRequest.cpp | 78 + .../source/model/ErrorDetails.cpp | 77 + ...ucketMetadataTableConfigurationRequest.cpp | 78 + ...BucketMetadataTableConfigurationResult.cpp | 90 + ...ketMetadataTableConfigurationSdkResult.cpp | 46 + .../model/MetadataTableConfiguration.cpp | 64 + .../MetadataTableConfigurationResult.cpp | 64 + .../source/model/S3TablesDestination.cpp | 77 + .../model/S3TablesDestinationResult.cpp | 103 + .../aws-cpp-sdk-s3/include/aws/s3/S3Client.h | 127 + .../include/aws/s3/S3ServiceClientModel.h | 13 + ...eBucketMetadataTableConfigurationRequest.h | 160 + ...eBucketMetadataTableConfigurationRequest.h | 108 + .../include/aws/s3/model/ErrorDetails.h | 136 + ...tBucketMetadataTableConfigurationRequest.h | 108 + ...etBucketMetadataTableConfigurationResult.h | 102 + ...ucketMetadataTableConfigurationSdkResult.h | 66 + .../aws/s3/model/MetadataTableConfiguration.h | 64 + .../model/MetadataTableConfigurationResult.h | 67 + .../aws/s3/model/S3TablesDestination.h | 87 + .../aws/s3/model/S3TablesDestinationResult.h | 124 + .../src/aws-cpp-sdk-s3/source/S3Client.cpp | 130 + ...ucketMetadataTableConfigurationRequest.cpp | 118 + ...ucketMetadataTableConfigurationRequest.cpp | 78 + .../source/model/ErrorDetails.cpp | 77 + ...ucketMetadataTableConfigurationRequest.cpp | 78 + ...BucketMetadataTableConfigurationResult.cpp | 90 + ...ketMetadataTableConfigurationSdkResult.cpp | 46 + .../model/MetadataTableConfiguration.cpp | 64 + .../MetadataTableConfigurationResult.cpp | 64 + .../source/model/S3TablesDestination.cpp | 77 + .../model/S3TablesDestinationResult.cpp | 103 + .../src/aws-cpp-sdk-s3tables/CMakeLists.txt | 76 + .../include/aws/s3tables/S3TablesClient.h | 767 +++ .../aws/s3tables/S3TablesEndpointProvider.h | 61 + .../aws/s3tables/S3TablesEndpointRules.h | 23 + .../aws/s3tables/S3TablesErrorMarshaller.h | 23 + .../include/aws/s3tables/S3TablesErrors.h | 77 + .../include/aws/s3tables/S3TablesRequest.h | 46 + .../aws/s3tables/S3TablesServiceClientModel.h | 197 + .../include/aws/s3tables/S3Tables_EXPORTS.h | 32 + .../s3tables/model/CreateNamespaceRequest.h | 76 + .../s3tables/model/CreateNamespaceResult.h | 85 + .../s3tables/model/CreateTableBucketRequest.h | 56 + .../s3tables/model/CreateTableBucketResult.h | 67 + .../aws/s3tables/model/CreateTableRequest.h | 107 + .../aws/s3tables/model/CreateTableResult.h | 82 + .../s3tables/model/DeleteNamespaceRequest.h | 74 + .../model/DeleteTableBucketPolicyRequest.h | 56 + .../s3tables/model/DeleteTableBucketRequest.h | 56 + .../s3tables/model/DeleteTablePolicyRequest.h | 91 + .../aws/s3tables/model/DeleteTableRequest.h | 114 + .../aws/s3tables/model/GetNamespaceRequest.h | 73 + .../aws/s3tables/model/GetNamespaceResult.h | 113 + ...bleBucketMaintenanceConfigurationRequest.h | 57 + ...ableBucketMaintenanceConfigurationResult.h | 88 + .../model/GetTableBucketPolicyRequest.h | 56 + .../model/GetTableBucketPolicyResult.h | 67 + .../s3tables/model/GetTableBucketRequest.h | 56 + .../aws/s3tables/model/GetTableBucketResult.h | 111 + .../GetTableMaintenanceConfigurationRequest.h | 90 + .../GetTableMaintenanceConfigurationResult.h | 87 + .../GetTableMaintenanceJobStatusRequest.h | 91 + .../GetTableMaintenanceJobStatusResult.h | 87 + .../model/GetTableMetadataLocationRequest.h | 90 + .../model/GetTableMetadataLocationResult.h | 97 + .../s3tables/model/GetTablePolicyRequest.h | 91 + .../aws/s3tables/model/GetTablePolicyResult.h | 67 + .../aws/s3tables/model/GetTableRequest.h | 91 + .../aws/s3tables/model/GetTableResult.h | 259 + .../model/IcebergCompactionSettings.h | 56 + .../model/IcebergSnapshotManagementSettings.h | 72 + .../IcebergUnreferencedFileRemovalSettings.h | 71 + .../include/aws/s3tables/model/JobStatus.h | 33 + .../s3tables/model/ListNamespacesRequest.h | 112 + .../aws/s3tables/model/ListNamespacesResult.h | 84 + .../s3tables/model/ListTableBucketsRequest.h | 95 + .../s3tables/model/ListTableBucketsResult.h | 85 + .../aws/s3tables/model/ListTablesRequest.h | 129 + .../aws/s3tables/model/ListTablesResult.h | 85 + .../aws/s3tables/model/MaintenanceStatus.h | 31 + .../aws/s3tables/model/NamespaceSummary.h | 113 + .../aws/s3tables/model/OpenTableFormat.h | 30 + ...bleBucketMaintenanceConfigurationRequest.h | 89 + .../model/PutTableBucketPolicyRequest.h | 73 + .../PutTableMaintenanceConfigurationRequest.h | 123 + .../s3tables/model/PutTablePolicyRequest.h | 108 + .../aws/s3tables/model/RenameTableRequest.h | 141 + ...TableBucketMaintenanceConfigurationValue.h | 76 + .../model/TableBucketMaintenanceSettings.h | 60 + .../model/TableBucketMaintenanceType.h | 30 + .../aws/s3tables/model/TableBucketSummary.h | 111 + .../TableMaintenanceConfigurationValue.h | 76 + .../model/TableMaintenanceJobStatusValue.h | 93 + .../s3tables/model/TableMaintenanceJobType.h | 32 + .../s3tables/model/TableMaintenanceSettings.h | 77 + .../aws/s3tables/model/TableMaintenanceType.h | 31 + .../include/aws/s3tables/model/TableSummary.h | 144 + .../include/aws/s3tables/model/TableType.h | 31 + .../UpdateTableMetadataLocationRequest.h | 124 + .../model/UpdateTableMetadataLocationResult.h | 129 + .../source/S3TablesClient.cpp | 1214 +++++ .../source/S3TablesEndpointProvider.cpp | 16 + .../source/S3TablesEndpointRules.cpp | 176 + .../source/S3TablesErrorMarshaller.cpp | 22 + .../source/S3TablesErrors.cpp | 62 + .../source/S3TablesRequest.cpp | 14 + .../source/model/CreateNamespaceRequest.cpp | 41 + .../source/model/CreateNamespaceResult.cpp | 57 + .../source/model/CreateTableBucketRequest.cpp | 35 + .../source/model/CreateTableBucketResult.cpp | 48 + .../source/model/CreateTableRequest.cpp | 44 + .../source/model/CreateTableResult.cpp | 54 + .../source/model/DeleteNamespaceRequest.cpp | 28 + .../model/DeleteTableBucketPolicyRequest.cpp | 27 + .../source/model/DeleteTableBucketRequest.cpp | 27 + .../source/model/DeleteTablePolicyRequest.cpp | 29 + .../source/model/DeleteTableRequest.cpp | 44 + .../source/model/GetNamespaceRequest.cpp | 28 + .../source/model/GetNamespaceResult.cpp | 69 + ...eBucketMaintenanceConfigurationRequest.cpp | 27 + ...leBucketMaintenanceConfigurationResult.cpp | 57 + .../model/GetTableBucketPolicyRequest.cpp | 27 + .../model/GetTableBucketPolicyResult.cpp | 48 + .../source/model/GetTableBucketRequest.cpp | 27 + .../source/model/GetTableBucketResult.cpp | 66 + ...etTableMaintenanceConfigurationRequest.cpp | 29 + ...GetTableMaintenanceConfigurationResult.cpp | 57 + .../GetTableMaintenanceJobStatusRequest.cpp | 29 + .../GetTableMaintenanceJobStatusResult.cpp | 57 + .../model/GetTableMetadataLocationRequest.cpp | 29 + .../model/GetTableMetadataLocationResult.cpp | 60 + .../source/model/GetTablePolicyRequest.cpp | 29 + .../source/model/GetTablePolicyResult.cpp | 48 + .../source/model/GetTableRequest.cpp | 29 + .../source/model/GetTableResult.cpp | 132 + .../model/IcebergCompactionSettings.cpp | 60 + .../IcebergSnapshotManagementSettings.cpp | 75 + ...IcebergUnreferencedFileRemovalSettings.cpp | 75 + .../source/model/JobStatus.cpp | 86 + .../source/model/ListNamespacesRequest.cpp | 59 + .../source/model/ListNamespacesResult.cpp | 57 + .../source/model/ListTableBucketsRequest.cpp | 58 + .../source/model/ListTableBucketsResult.cpp | 57 + .../source/model/ListTablesRequest.cpp | 67 + .../source/model/ListTablesResult.cpp | 57 + .../source/model/MaintenanceStatus.cpp | 72 + .../source/model/NamespaceSummary.cpp | 108 + .../source/model/OpenTableFormat.cpp | 65 + ...eBucketMaintenanceConfigurationRequest.cpp | 38 + .../model/PutTableBucketPolicyRequest.cpp | 36 + ...utTableMaintenanceConfigurationRequest.cpp | 40 + .../source/model/PutTablePolicyRequest.cpp | 38 + .../source/model/RenameTableRequest.cpp | 52 + ...bleBucketMaintenanceConfigurationValue.cpp | 73 + .../model/TableBucketMaintenanceSettings.cpp | 59 + .../model/TableBucketMaintenanceType.cpp | 65 + .../source/model/TableBucketSummary.cpp | 100 + .../TableMaintenanceConfigurationValue.cpp | 73 + .../model/TableMaintenanceJobStatusValue.cpp | 86 + .../source/model/TableMaintenanceJobType.cpp | 79 + .../source/model/TableMaintenanceSettings.cpp | 73 + .../source/model/TableMaintenanceType.cpp | 72 + .../source/model/TableSummary.cpp | 135 + .../source/model/TableType.cpp | 72 + .../UpdateTableMetadataLocationRequest.cpp | 45 + .../UpdateTableMetadataLocationResult.cpp | 75 + .../DSQLEndpointProviderTests.cpp | 163 +- .../tests/s3tables-gen-tests/CMakeLists.txt | 42 + .../tests/s3tables-gen-tests/RunTests.cpp | 29 + .../S3TablesEndpointProviderTests.cpp | 428 ++ .../include/aws/core/VersionConfig.h | 4 +- .../athena-2017-05-18.normal.json | 86 +- .../bedrock-2023-04-20.normal.json | 192 +- .../bedrock-agent-2023-06-05.normal.json | 493 +- ...drock-agent-runtime-2023-07-26.normal.json | 289 +- .../bedrock-runtime-2023-09-30.normal.json | 549 ++- .../datazone-2018-05-10.normal.json | 4256 +++++++++++++++-- .../dsql-2018-05-10.normal.json | 344 +- .../dynamodb-2012-08-10.normal.json | 32 +- .../glue-2017-03-31.normal.json | 2853 ++++++++++- .../lakeformation-2017-03-31.normal.json | 30 +- .../monitoring-2010-08-01.normal.json | 8 +- .../qapps-2023-11-27.normal.json | 26 +- .../qbusiness-2023-11-27.normal.json | 1118 ++++- .../quicksight-2018-04-01.normal.json | 620 ++- .../redshift-2012-12-01.normal.json | 161 +- ...redshift-serverless-2021-04-21.normal.json | 142 +- .../s3-2006-03-01.normal.json | 240 + .../s3tables-2018-05-10.normal.json | 1978 ++++++++ .../dsql-2018-05-10.endpoint-rule-set.json | 263 +- .../dsql-2018-05-10.endpoint-tests.json | 221 +- ...dynamodb-2011-12-05.endpoint-rule-set.json | 4 +- ...dynamodb-2012-08-10.endpoint-rule-set.json | 4 +- ...s3tables-2018-05-10.endpoint-rule-set.json | 350 ++ .../s3tables-2018-05-10.endpoint-tests.json | 314 ++ 1161 files changed, 99098 insertions(+), 2905 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-athena/include/aws/athena/model/ConnectionType.h create mode 100644 generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalogStatus.h create mode 100644 generated/src/aws-cpp-sdk-athena/source/model/ConnectionType.cpp create mode 100644 generated/src/aws-cpp-sdk-athena/source/model/DataCatalogStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorInputPayload.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorInvocationInput.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorInvocationOutput.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorOutputPayload.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Caller.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ContentBlock.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ConversationHistory.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ConversationRole.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Message.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/PayloadType.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ReturnControlResults.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RoutingClassifierModelInvocationOutput.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RoutingClassifierTrace.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorInputPayload.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorInvocationInput.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorInvocationOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorOutputPayload.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Caller.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ContentBlock.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ConversationHistory.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ConversationRole.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Message.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/PayloadType.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ReturnControlResults.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/RoutingClassifierModelInvocationOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/RoutingClassifierTrace.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentCollaboration.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentCollaborator.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentCollaboratorSummary.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentDescriptor.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AssociateAgentCollaboratorRequest.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AssociateAgentCollaboratorResult.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/DisassociateAgentCollaboratorRequest.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/DisassociateAgentCollaboratorResult.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/GetAgentCollaboratorRequest.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/GetAgentCollaboratorResult.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/ListAgentCollaboratorsRequest.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/ListAgentCollaboratorsResult.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/RelayConversationHistory.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentCollaboratorRequest.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentCollaboratorResult.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentCollaboration.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentCollaborator.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentCollaboratorSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentDescriptor.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/AssociateAgentCollaboratorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/AssociateAgentCollaboratorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/DisassociateAgentCollaboratorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/DisassociateAgentCollaboratorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/GetAgentCollaboratorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/GetAgentCollaboratorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/ListAgentCollaboratorsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/ListAgentCollaboratorsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/RelayConversationHistory.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentCollaboratorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentCollaboratorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeOutputDataConfig.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeS3OutputDataConfig.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeStatus.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeSummary.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/GetAsyncInvokeRequest.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/GetAsyncInvokeResult.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ListAsyncInvokesRequest.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ListAsyncInvokesResult.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/S3Location.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/SortAsyncInvocationBy.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/SortOrder.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/StartAsyncInvokeRequest.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/StartAsyncInvokeResult.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/Tag.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/VideoBlock.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/VideoFormat.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/VideoSource.h create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeOutputDataConfig.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeS3OutputDataConfig.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/GetAsyncInvokeRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/GetAsyncInvokeResult.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ListAsyncInvokesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ListAsyncInvokesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/S3Location.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/SortAsyncInvocationBy.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/SortOrder.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/StartAsyncInvokeRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/StartAsyncInvokeResult.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/Tag.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/VideoBlock.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/VideoFormat.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock-runtime/source/model/VideoSource.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CustomizationConfig.h create mode 100644 generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/DistillationConfig.h create mode 100644 generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/InvocationLogSource.h create mode 100644 generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/InvocationLogsConfig.h create mode 100644 generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/RequestMetadataBaseFilters.h create mode 100644 generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/RequestMetadataFilters.h create mode 100644 generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/TeacherModelConfig.h create mode 100644 generated/src/aws-cpp-sdk-bedrock/source/model/CustomizationConfig.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock/source/model/DistillationConfig.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock/source/model/InvocationLogSource.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock/source/model/InvocationLogsConfig.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock/source/model/RequestMetadataBaseFilters.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock/source/model/RequestMetadataFilters.cpp create mode 100644 generated/src/aws-cpp-sdk-bedrock/source/model/TeacherModelConfig.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AthenaPropertiesInput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AthenaPropertiesOutput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AthenaPropertiesPatch.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationConfigurationInput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationConfigurationPatch.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationType.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthorizationCodeProperties.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AwsAccount.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AwsLocation.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/BasicAuthenticationCredentials.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ComputeEnvironments.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionCredentials.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionPropertiesInput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionPropertiesOutput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionPropertiesPatch.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionStatus.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionSummary.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionType.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateConnectionRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateConnectionResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectFromProjectProfilePolicyGrantDetail.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectProfileRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectProfileResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceRunLineageSummary.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteConnectionRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteConnectionResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteProjectProfileRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteProjectProfileResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeploymentMode.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DomainVersion.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfigurationParameter.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfigurationParametersDetails.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfigurationUserParameter.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentDeploymentDetails.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EventSummary.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetConnectionRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetConnectionResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetJobRunRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetJobRunResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetLineageEventRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetLineageEventResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectProfileRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectProfileResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnection.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnectionInput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnectionPatch.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnectionType.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueOAuth2Credentials.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GluePropertiesInput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GluePropertiesOutput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GluePropertiesPatch.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GovernanceType.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/HyperPodOrchestrator.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/HyperPodPropertiesInput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/HyperPodPropertiesOutput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamPropertiesInput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamPropertiesOutput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamPropertiesPatch.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunDetails.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunError.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunMode.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunStatus.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunSummary.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobType.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageEventProcessingStatus.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageEventSummary.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageImportStatus.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageInfo.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageRunDetails.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageSqlQueryRunDetails.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageSyncSchedule.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListConnectionsRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListConnectionsResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListJobRunsRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListJobRunsResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListLineageEventsRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListLineageEventsResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListProjectProfilesRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListProjectProfilesResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NameIdentifier.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OAuth2ClientApplication.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OAuth2GrantType.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OAuth2Properties.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OpenLineageRunEventSummary.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OpenLineageRunState.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OverallDeploymentStatus.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PhysicalConnectionRequirements.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PhysicalEndpoint.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectProfileSummary.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Protocol.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftCredentials.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftLineageSyncConfigurationInput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftLineageSyncConfigurationOutput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftPropertiesInput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftPropertiesOutput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftPropertiesPatch.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftStorageProperties.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Region.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SageMakerRunConfigurationInput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SageMakerRunConfigurationOutput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SortFieldConnection.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkEmrPropertiesInput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkEmrPropertiesOutput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkEmrPropertiesPatch.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkGlueArgs.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkGluePropertiesInput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkGluePropertiesOutput.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Status.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateConnectionRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateConnectionResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectProfileRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectProfileResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UsernamePassword.h create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AthenaPropertiesInput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AthenaPropertiesOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AthenaPropertiesPatch.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationConfigurationInput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationConfigurationPatch.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationType.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AuthorizationCodeProperties.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AwsAccount.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AwsLocation.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/BasicAuthenticationCredentials.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ComputeEnvironments.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ConnectionCredentials.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ConnectionPropertiesInput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ConnectionPropertiesOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ConnectionPropertiesPatch.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ConnectionStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ConnectionSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ConnectionType.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/CreateConnectionRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/CreateConnectionResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectFromProjectProfilePolicyGrantDetail.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectProfileRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectProfileResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/DataSourceRunLineageSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/DeleteConnectionRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/DeleteConnectionResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/DeleteProjectProfileRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/DeleteProjectProfileResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/DeploymentMode.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/DomainVersion.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfigurationParameter.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfigurationParametersDetails.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfigurationUserParameter.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentDeploymentDetails.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/EventSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetConnectionRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetConnectionResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetJobRunRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetJobRunResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetLineageEventRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetLineageEventResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetProjectProfileRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetProjectProfileResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GlueConnection.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GlueConnectionInput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GlueConnectionPatch.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GlueConnectionType.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GlueOAuth2Credentials.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GluePropertiesInput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GluePropertiesOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GluePropertiesPatch.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GovernanceType.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/HyperPodOrchestrator.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/HyperPodPropertiesInput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/HyperPodPropertiesOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/IamPropertiesInput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/IamPropertiesOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/IamPropertiesPatch.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/JobRunDetails.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/JobRunError.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/JobRunMode.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/JobRunStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/JobRunSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/JobType.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/LineageEventProcessingStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/LineageEventSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/LineageImportStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/LineageInfo.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/LineageRunDetails.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/LineageSqlQueryRunDetails.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/LineageSyncSchedule.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListConnectionsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListConnectionsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListJobRunsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListJobRunsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListLineageEventsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListLineageEventsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListProjectProfilesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListProjectProfilesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/NameIdentifier.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/OAuth2ClientApplication.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/OAuth2GrantType.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/OAuth2Properties.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/OpenLineageRunEventSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/OpenLineageRunState.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/OverallDeploymentStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/PhysicalConnectionRequirements.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/PhysicalEndpoint.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ProjectProfileSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/Protocol.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RedshiftCredentials.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RedshiftLineageSyncConfigurationInput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RedshiftLineageSyncConfigurationOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RedshiftPropertiesInput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RedshiftPropertiesOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RedshiftPropertiesPatch.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RedshiftStorageProperties.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/Region.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/SageMakerRunConfigurationInput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/SageMakerRunConfigurationOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/SortFieldConnection.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/SparkEmrPropertiesInput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/SparkEmrPropertiesOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/SparkEmrPropertiesPatch.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/SparkGlueArgs.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/SparkGluePropertiesInput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/SparkGluePropertiesOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/Status.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/UpdateConnectionRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/UpdateConnectionResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectProfileRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectProfileResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/UsernamePassword.cpp create mode 100644 generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/MultiRegionConsistency.h create mode 100644 generated/src/aws-cpp-sdk-dynamodb/source/model/MultiRegionConsistency.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AllowedValue.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AuthConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BasicAuthenticationCredentials.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Capabilities.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Catalog.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CatalogInput.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CatalogProperties.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CatalogPropertiesOutput.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ComputeEnvironment.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ComputeEnvironmentConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionTypeBrief.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateCatalogRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateCatalogResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationResourcePropertyRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationResourcePropertyResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationTablePropertiesRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationTablePropertiesResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DataLakeAccessProperties.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DataLakeAccessPropertiesOutput.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DataOperation.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteCatalogRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteCatalogResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationTablePropertiesRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationTablePropertiesResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeConnectionTypeRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeConnectionTypeResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeEntityRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeEntityResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeInboundIntegrationsRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeInboundIntegrationsResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeIntegrationsRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeIntegrationsResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Entity.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ExecutionAttempt.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ExecutionStatus.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/FederatedCatalog.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Field.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/FieldDataType.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/FieldFilterOperator.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogsRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogsResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetEntityRecordsRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetEntityRecordsResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationResourcePropertyRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationResourcePropertyResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationTablePropertiesRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationTablePropertiesResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/InboundIntegration.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Integration.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationError.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationFilter.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationPartition.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationStatus.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListConnectionTypesRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListConnectionTypesResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListEntitiesRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListEntitiesResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ModifyIntegrationRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ModifyIntegrationResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/OAuth2Credentials.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Property.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/PropertyType.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ScheduleType.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/SettingSource.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/SourceProcessingProperties.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/SourceTableConfig.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Tag.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TargetProcessingProperties.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TargetRedshiftCatalog.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TargetTableConfig.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UnnestSpec.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateCatalogRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateCatalogResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationResourcePropertyRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationResourcePropertyResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationTablePropertiesRequest.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationTablePropertiesResult.h create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/AllowedValue.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/AuthConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/BasicAuthenticationCredentials.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/Capabilities.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/Catalog.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/CatalogInput.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/CatalogProperties.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/CatalogPropertiesOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ComputeEnvironment.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ComputeEnvironmentConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ConnectionTypeBrief.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/CreateCatalogRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/CreateCatalogResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationResourcePropertyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationResourcePropertyResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationTablePropertiesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationTablePropertiesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DataLakeAccessProperties.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DataLakeAccessPropertiesOutput.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DataOperation.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DeleteCatalogRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DeleteCatalogResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationTablePropertiesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationTablePropertiesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DescribeConnectionTypeRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DescribeConnectionTypeResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DescribeEntityRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DescribeEntityResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DescribeInboundIntegrationsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DescribeInboundIntegrationsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DescribeIntegrationsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/DescribeIntegrationsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/Entity.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ExecutionAttempt.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ExecutionStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/FederatedCatalog.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/Field.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/FieldDataType.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/FieldFilterOperator.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/GetCatalogRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/GetCatalogResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/GetCatalogsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/GetCatalogsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/GetEntityRecordsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/GetEntityRecordsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationResourcePropertyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationResourcePropertyResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationTablePropertiesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationTablePropertiesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/InboundIntegration.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/Integration.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/IntegrationError.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/IntegrationFilter.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/IntegrationPartition.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/IntegrationStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ListConnectionTypesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ListConnectionTypesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ListEntitiesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ListEntitiesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ModifyIntegrationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ModifyIntegrationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/OAuth2Credentials.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/Property.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/PropertyType.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ScheduleType.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/SettingSource.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/SourceProcessingProperties.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/SourceTableConfig.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/Tag.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/TargetProcessingProperties.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/TargetRedshiftCatalog.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/TargetTableConfig.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/UnnestSpec.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/UpdateCatalogRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/UpdateCatalogResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationResourcePropertyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationResourcePropertyResult.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationTablePropertiesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationTablePropertiesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/Condition.h create mode 100644 generated/src/aws-cpp-sdk-lakeformation/source/model/Condition.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionFilterConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionSummary.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/AssociatePermissionRequest.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/AssociatePermissionResult.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ContentSource.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateDataAccessorRequest.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateDataAccessorResult.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CustomizationConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DataAccessor.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DeleteDataAccessorRequest.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DeleteDataAccessorResult.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DisassociatePermissionRequest.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DisassociatePermissionResult.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetDataAccessorRequest.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetDataAccessorResult.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetPolicyRequest.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetPolicyResult.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/IdcAuthConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListDataAccessorsRequest.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListDataAccessorsResult.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginActionsRequest.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginActionsResult.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeActionsRequest.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeActionsResult.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeMetadataRequest.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeMetadataResult.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginTypeCategory.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginTypeMetadataSummary.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/QuickSightConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/RelevantContent.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/RetrieverContentSource.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ScoreAttributes.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ScoreConfidence.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/SearchRelevantContentRequest.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/SearchRelevantContentResult.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/UpdateDataAccessorRequest.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/UpdateDataAccessorResult.h create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ActionConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ActionFilterConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ActionSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/AssociatePermissionRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/AssociatePermissionResult.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ContentSource.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/CreateDataAccessorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/CreateDataAccessorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/CustomizationConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/DataAccessor.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/DeleteDataAccessorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/DeleteDataAccessorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/DisassociatePermissionRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/DisassociatePermissionResult.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/GetDataAccessorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/GetDataAccessorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/GetPolicyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/GetPolicyResult.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/IdcAuthConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ListDataAccessorsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ListDataAccessorsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginActionsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginActionsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeActionsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeActionsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeMetadataRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeMetadataResult.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/PluginTypeCategory.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/PluginTypeMetadataSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/QuickSightConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/RelevantContent.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/RetrieverContentSource.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ScoreAttributes.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/ScoreConfidence.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/SearchRelevantContentRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/SearchRelevantContentResult.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/UpdateDataAccessorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-qbusiness/source/model/UpdateDataAccessorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DashboardVisualResult.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DeleteDefaultQBusinessApplicationRequest.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DeleteDefaultQBusinessApplicationResult.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeDefaultQBusinessApplicationRequest.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeDefaultQBusinessApplicationResult.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeQuickSightQSearchConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeQuickSightQSearchConfigurationResult.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GenerateEmbedUrlForRegisteredUserWithIdentityRequest.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GenerateEmbedUrlForRegisteredUserWithIdentityResult.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GeneratedAnswerResult.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GeneratedAnswerStatus.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/IncludeGeneratedAnswer.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/IncludeQuickSightQIndex.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/PredictQAResultsRequest.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/PredictQAResultsResult.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/QAResult.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/QAResultType.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/QSearchStatus.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateApplicationWithTokenExchangeGrantRequest.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateApplicationWithTokenExchangeGrantResult.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateDefaultQBusinessApplicationRequest.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateDefaultQBusinessApplicationResult.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateQuickSightQSearchConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateQuickSightQSearchConfigurationResult.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/DashboardVisualResult.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/DeleteDefaultQBusinessApplicationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/DeleteDefaultQBusinessApplicationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/DescribeDefaultQBusinessApplicationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/DescribeDefaultQBusinessApplicationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/DescribeQuickSightQSearchConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/DescribeQuickSightQSearchConfigurationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/GenerateEmbedUrlForRegisteredUserWithIdentityRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/GenerateEmbedUrlForRegisteredUserWithIdentityResult.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/GeneratedAnswerResult.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/GeneratedAnswerStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/IncludeGeneratedAnswer.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/IncludeQuickSightQIndex.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/PredictQAResultsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/PredictQAResultsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/QAResult.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/QAResultType.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/QSearchStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/UpdateApplicationWithTokenExchangeGrantRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/UpdateApplicationWithTokenExchangeGrantResult.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/UpdateDefaultQBusinessApplicationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/UpdateDefaultQBusinessApplicationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/UpdateQuickSightQSearchConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/UpdateQuickSightQSearchConfigurationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ListManagedWorkgroupsRequest.h create mode 100644 generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ListManagedWorkgroupsResult.h create mode 100644 generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ManagedWorkgroupListItem.h create mode 100644 generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ManagedWorkgroupStatus.h create mode 100644 generated/src/aws-cpp-sdk-redshift-serverless/source/model/ListManagedWorkgroupsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift-serverless/source/model/ListManagedWorkgroupsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift-serverless/source/model/ManagedWorkgroupListItem.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift-serverless/source/model/ManagedWorkgroupStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DataShareType.h create mode 100644 generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DeregisterNamespaceRequest.h create mode 100644 generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DeregisterNamespaceResult.h create mode 100644 generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/NamespaceIdentifierUnion.h create mode 100644 generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/NamespaceRegistrationStatus.h create mode 100644 generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/ProvisionedIdentifier.h create mode 100644 generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/RegisterNamespaceRequest.h create mode 100644 generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/RegisterNamespaceResult.h create mode 100644 generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/ServerlessIdentifier.h create mode 100644 generated/src/aws-cpp-sdk-redshift/source/model/DataShareType.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift/source/model/DeregisterNamespaceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift/source/model/DeregisterNamespaceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift/source/model/NamespaceIdentifierUnion.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift/source/model/NamespaceRegistrationStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift/source/model/ProvisionedIdentifier.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift/source/model/RegisterNamespaceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift/source/model/RegisterNamespaceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-redshift/source/model/ServerlessIdentifier.cpp create mode 100644 generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/CreateBucketMetadataTableConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/DeleteBucketMetadataTableConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/ErrorDetails.h create mode 100644 generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/GetBucketMetadataTableConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/GetBucketMetadataTableConfigurationResult.h create mode 100644 generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/GetBucketMetadataTableConfigurationSdkResult.h create mode 100644 generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/MetadataTableConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/MetadataTableConfigurationResult.h create mode 100644 generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/S3TablesDestination.h create mode 100644 generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/S3TablesDestinationResult.h create mode 100644 generated/src/aws-cpp-sdk-s3-crt/source/model/CreateBucketMetadataTableConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3-crt/source/model/DeleteBucketMetadataTableConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3-crt/source/model/ErrorDetails.cpp create mode 100644 generated/src/aws-cpp-sdk-s3-crt/source/model/GetBucketMetadataTableConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3-crt/source/model/GetBucketMetadataTableConfigurationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3-crt/source/model/GetBucketMetadataTableConfigurationSdkResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3-crt/source/model/MetadataTableConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-s3-crt/source/model/MetadataTableConfigurationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3-crt/source/model/S3TablesDestination.cpp create mode 100644 generated/src/aws-cpp-sdk-s3-crt/source/model/S3TablesDestinationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketMetadataTableConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetadataTableConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDetails.h create mode 100644 generated/src/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetadataTableConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetadataTableConfigurationResult.h create mode 100644 generated/src/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetadataTableConfigurationSdkResult.h create mode 100644 generated/src/aws-cpp-sdk-s3/include/aws/s3/model/MetadataTableConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-s3/include/aws/s3/model/MetadataTableConfigurationResult.h create mode 100644 generated/src/aws-cpp-sdk-s3/include/aws/s3/model/S3TablesDestination.h create mode 100644 generated/src/aws-cpp-sdk-s3/include/aws/s3/model/S3TablesDestinationResult.h create mode 100644 generated/src/aws-cpp-sdk-s3/source/model/CreateBucketMetadataTableConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3/source/model/DeleteBucketMetadataTableConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3/source/model/ErrorDetails.cpp create mode 100644 generated/src/aws-cpp-sdk-s3/source/model/GetBucketMetadataTableConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3/source/model/GetBucketMetadataTableConfigurationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3/source/model/GetBucketMetadataTableConfigurationSdkResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3/source/model/MetadataTableConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-s3/source/model/MetadataTableConfigurationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3/source/model/S3TablesDestination.cpp create mode 100644 generated/src/aws-cpp-sdk-s3/source/model/S3TablesDestinationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/CMakeLists.txt create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesClient.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesEndpointProvider.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesEndpointRules.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesErrorMarshaller.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesErrors.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesServiceClientModel.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3Tables_EXPORTS.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateNamespaceRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateNamespaceResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableBucketRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableBucketResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteNamespaceRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTableBucketPolicyRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTableBucketRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTablePolicyRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTableRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetNamespaceRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetNamespaceResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketMaintenanceConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketMaintenanceConfigurationResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketPolicyRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketPolicyResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceConfigurationResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceJobStatusRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceJobStatusResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMetadataLocationRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMetadataLocationResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTablePolicyRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTablePolicyResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/IcebergCompactionSettings.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/IcebergSnapshotManagementSettings.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/IcebergUnreferencedFileRemovalSettings.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/JobStatus.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListNamespacesRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListNamespacesResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTableBucketsRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTableBucketsResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTablesRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTablesResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/MaintenanceStatus.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/NamespaceSummary.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/OpenTableFormat.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTableBucketMaintenanceConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTableBucketPolicyRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTableMaintenanceConfigurationRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTablePolicyRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/RenameTableRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketMaintenanceConfigurationValue.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketMaintenanceSettings.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketMaintenanceType.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketSummary.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceConfigurationValue.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceJobStatusValue.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceJobType.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceSettings.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceType.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableSummary.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableType.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/UpdateTableMetadataLocationRequest.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/UpdateTableMetadataLocationResult.h create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/S3TablesClient.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/S3TablesEndpointProvider.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/S3TablesEndpointRules.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/S3TablesErrorMarshaller.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/S3TablesErrors.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/S3TablesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/CreateNamespaceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/CreateNamespaceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableBucketRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableBucketResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/DeleteNamespaceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTableBucketPolicyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTableBucketRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTablePolicyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTableRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetNamespaceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetNamespaceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketMaintenanceConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketMaintenanceConfigurationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketPolicyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketPolicyResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceConfigurationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceJobStatusRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceJobStatusResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMetadataLocationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMetadataLocationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTablePolicyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTablePolicyResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/GetTableResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/IcebergCompactionSettings.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/IcebergSnapshotManagementSettings.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/IcebergUnreferencedFileRemovalSettings.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/JobStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/ListNamespacesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/ListNamespacesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/ListTableBucketsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/ListTableBucketsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/ListTablesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/ListTablesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/MaintenanceStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/NamespaceSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/OpenTableFormat.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/PutTableBucketMaintenanceConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/PutTableBucketPolicyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/PutTableMaintenanceConfigurationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/PutTablePolicyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/RenameTableRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketMaintenanceConfigurationValue.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketMaintenanceSettings.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketMaintenanceType.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceConfigurationValue.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceJobStatusValue.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceJobType.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceSettings.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceType.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/TableSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/TableType.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/UpdateTableMetadataLocationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-s3tables/source/model/UpdateTableMetadataLocationResult.cpp create mode 100644 generated/tests/s3tables-gen-tests/CMakeLists.txt create mode 100644 generated/tests/s3tables-gen-tests/RunTests.cpp create mode 100644 generated/tests/s3tables-gen-tests/S3TablesEndpointProviderTests.cpp create mode 100644 tools/code-generation/api-descriptions/s3tables-2018-05-10.normal.json create mode 100644 tools/code-generation/endpoints/s3tables-2018-05-10.endpoint-rule-set.json create mode 100644 tools/code-generation/endpoints/s3tables-2018-05-10.endpoint-tests.json diff --git a/VERSION b/VERSION index 9598ea8ed03..1ef72914468 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.459 \ No newline at end of file +1.11.460 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-athena/include/aws/athena/AthenaClient.h b/generated/src/aws-cpp-sdk-athena/include/aws/athena/AthenaClient.h index eac3eefdfda..59839f72f21 100644 --- a/generated/src/aws-cpp-sdk-athena/include/aws/athena/AthenaClient.h +++ b/generated/src/aws-cpp-sdk-athena/include/aws/athena/AthenaClient.h @@ -242,7 +242,15 @@ namespace Athena /** *

Creates (registers) a data catalog with the specified name and properties. * Catalogs created are visible to all users of the same Amazon Web Services - * account.

See Also:

This API operation creates the following resources.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/ConnectionType.h b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/ConnectionType.h new file mode 100644 index 00000000000..1e214afd6a2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/ConnectionType.h @@ -0,0 +1,49 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Athena +{ +namespace Model +{ + enum class ConnectionType + { + NOT_SET, + DYNAMODB, + MYSQL, + POSTGRESQL, + REDSHIFT, + ORACLE, + SYNAPSE, + SQLSERVER, + DB2, + OPENSEARCH, + BIGQUERY, + GOOGLECLOUDSTORAGE, + HBASE, + DOCUMENTDB, + CMDB, + TPCDS, + TIMESTREAM, + SAPHANA, + SNOWFLAKE, + DATALAKEGEN2, + DB2AS400 + }; + +namespace ConnectionTypeMapper +{ +AWS_ATHENA_API ConnectionType GetConnectionTypeForName(const Aws::String& name); + +AWS_ATHENA_API Aws::String GetNameForConnectionType(ConnectionType value); +} // namespace ConnectionTypeMapper +} // namespace Model +} // namespace Athena +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/CreateDataCatalogRequest.h b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/CreateDataCatalogRequest.h index 403868720eb..2a0211938af 100644 --- a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/CreateDataCatalogRequest.h +++ b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/CreateDataCatalogRequest.h @@ -43,7 +43,16 @@ namespace Model *

The name of the data catalog to create. The catalog name must be unique for * the Amazon Web Services account and can use a maximum of 127 alphanumeric, * underscore, at sign, or hyphen characters. The remainder of the length - * constraint of 256 is reserved for use by Athena.

+ * constraint of 256 is reserved for use by Athena.

For + * FEDERATED type the catalog name has following considerations and + * limits:

  • The catalog name allows special characters such as + * _ , @ , \ , - . These characters are replaced with a hyphen (-) + * when creating the CFN Stack Name and with an underscore (_) when creating the + * Lambda Function and Glue Connection Name.

  • The catalog name has + * a theoretical limit of 128 characters. However, since we use it to create other + * resources that allow less characters and we prepend a prefix to it, the actual + * catalog name limit for FEDERATED catalog is 64 - 23 = 41 + * characters.

*/ inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } @@ -58,8 +67,10 @@ namespace Model ///@{ /** *

The type of data catalog to create: LAMBDA for a federated - * catalog, HIVE for an external hive metastore, or GLUE - * for an Glue Data Catalog.

+ * catalog, GLUE for an Glue Data Catalog, and HIVE for + * an external Apache Hive metastore. FEDERATED is a federated catalog + * for which Athena creates the connection and the Lambda function for you based on + * the parameters that you pass.

*/ inline const DataCatalogType& GetType() const{ return m_type; } inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } @@ -106,7 +117,20 @@ namespace Model * catalog-id=catalog_id

  • The * GLUE data catalog type also applies to the default * AwsDataCatalog that already exists in your account, of which you - * can have only one and cannot modify.

+ * can have only one and cannot modify.

  • The + * FEDERATED data catalog type uses one of the following parameters, + * but not both. Use connection-arn for an existing Glue connection. + * Use connection-type and connection-properties to + * specify the configuration setting for a new connection.

    • + * connection-arn:<glue_connection_arn_to_reuse>

      + *
    • lambda-role-arn (optional): The execution role to + * use for the Lambda function. If not provided, one is created.

    • + * connection-type:MYSQL|REDSHIFT|...., + * connection-properties:"<json_string>"

      For + * <json_string> , use escaped JSON text, as in the + * following example.

      + * "{\"spill_bucket\":\"my_spill\",\"spill_prefix\":\"athena-spill\",\"host\":\"abc12345.snowflakecomputing.com\",\"port\":\"1234\",\"warehouse\":\"DEV_WH\",\"database\":\"TEST\",\"schema\":\"PUBLIC\",\"SecretArn\":\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\"}" + *

  • */ inline const Aws::Map& GetParameters() const{ return m_parameters; } inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } @@ -125,8 +149,12 @@ namespace Model ///@{ /** - *

    A list of comma separated tags to add to the data catalog that is - * created.

    + *

    A list of comma separated tags to add to the data catalog that is created. + * All the resources that are created by the CreateDataCatalog API + * operation with FEDERATED type will have the tag + * federated_athena_datacatalog="true". This includes the CFN Stack, + * Glue Connection, Athena DataCatalog, and all the resources created as part of + * the CFN Stack (Lambda Function, IAM policies/roles).

    */ inline const Aws::Vector& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/CreateDataCatalogResult.h b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/CreateDataCatalogResult.h index 875f7e6e17e..499060e4621 100644 --- a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/CreateDataCatalogResult.h +++ b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/CreateDataCatalogResult.h @@ -5,6 +5,7 @@ #pragma once #include +#include #include #include @@ -32,6 +33,15 @@ namespace Model AWS_ATHENA_API CreateDataCatalogResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + + inline const DataCatalog& GetDataCatalog() const{ return m_dataCatalog; } + inline void SetDataCatalog(const DataCatalog& value) { m_dataCatalog = value; } + inline void SetDataCatalog(DataCatalog&& value) { m_dataCatalog = std::move(value); } + inline CreateDataCatalogResult& WithDataCatalog(const DataCatalog& value) { SetDataCatalog(value); return *this;} + inline CreateDataCatalogResult& WithDataCatalog(DataCatalog&& value) { SetDataCatalog(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -44,6 +54,8 @@ namespace Model ///@} private: + DataCatalog m_dataCatalog; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalog.h b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalog.h index 4b1e8efe7ab..ec7e9c4a6c0 100644 --- a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalog.h +++ b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalog.h @@ -8,6 +8,8 @@ #include #include #include +#include +#include #include namespace Aws @@ -76,8 +78,10 @@ namespace Model ///@{ /** *

    The type of data catalog to create: LAMBDA for a federated - * catalog, HIVE for an external hive metastore, or GLUE - * for an Glue Data Catalog.

    + * catalog, GLUE for an Glue Data Catalog, and HIVE for + * an external Apache Hive metastore. FEDERATED is a federated catalog + * for which Athena creates the connection and the Lambda function for you based on + * the parameters that you pass.

    */ inline const DataCatalogType& GetType() const{ return m_type; } inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } @@ -110,7 +114,18 @@ namespace Model * catalog-id=catalog_id

    • The * GLUE data catalog type also applies to the default * AwsDataCatalog that already exists in your account, of which you - * can have only one and cannot modify.

    + * can have only one and cannot modify.

  • The + * FEDERATED data catalog type uses one of the following parameters, + * but not both. Use connection-arn for an existing Glue connection. + * Use connection-type and connection-properties to + * specify the configuration setting for a new connection.

    • + * connection-arn:<glue_connection_arn_to_reuse>

      + *
    • connection-type:MYSQL|REDSHIFT|...., + * connection-properties:"<json_string>"

      For + * <json_string> , use escaped JSON text, as in the + * following example.

      + * "{\"spill_bucket\":\"my_spill\",\"spill_prefix\":\"athena-spill\",\"host\":\"abc12345.snowflakecomputing.com\",\"port\":\"1234\",\"warehouse\":\"DEV_WH\",\"database\":\"TEST\",\"schema\":\"PUBLIC\",\"SecretArn\":\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\"}" + *

  • */ inline const Aws::Map& GetParameters() const{ return m_parameters; } inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } @@ -126,6 +141,66 @@ namespace Model inline DataCatalog& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } inline DataCatalog& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } ///@} + + ///@{ + /** + *

    The status of the creation or deletion of the data catalog.

    • + *

      The LAMBDA, GLUE, and HIVE data + * catalog types are created synchronously. Their status is either + * CREATE_COMPLETE or CREATE_FAILED.

    • + *

      The FEDERATED data catalog type is created asynchronously.

      + *

    Data catalog creation status:

    • + * CREATE_IN_PROGRESS: Federated data catalog creation in + * progress.

    • CREATE_COMPLETE: Data catalog creation + * complete.

    • CREATE_FAILED: Data catalog could not + * be created.

    • CREATE_FAILED_CLEANUP_IN_PROGRESS: + * Federated data catalog creation failed and is being removed.

    • + * CREATE_FAILED_CLEANUP_COMPLETE: Federated data catalog creation + * failed and was removed.

    • + * CREATE_FAILED_CLEANUP_FAILED: Federated data catalog creation + * failed but could not be removed.

    Data catalog deletion + * status:

    • DELETE_IN_PROGRESS: Federated data + * catalog deletion in progress.

    • DELETE_COMPLETE: + * Federated data catalog deleted.

    • DELETE_FAILED: + * Federated data catalog could not be deleted.

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

    The type of connection for a FEDERATED data catalog (for + * example, REDSHIFT, MYSQL, or SQLSERVER). + * For information about individual connectors, see Available + * data source connectors.

    + */ + inline const ConnectionType& GetConnectionType() const{ return m_connectionType; } + inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; } + inline void SetConnectionType(const ConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; } + inline void SetConnectionType(ConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); } + inline DataCatalog& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;} + inline DataCatalog& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Text of the error that occurred during data catalog creation or deletion.

    + */ + inline const Aws::String& GetError() const{ return m_error; } + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; } + inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); } + inline DataCatalog& WithError(const Aws::String& value) { SetError(value); return *this;} + inline DataCatalog& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;} + inline DataCatalog& WithError(const char* value) { SetError(value); return *this;} + ///@} private: Aws::String m_name; @@ -139,6 +214,15 @@ namespace Model Aws::Map m_parameters; bool m_parametersHasBeenSet = false; + + DataCatalogStatus m_status; + bool m_statusHasBeenSet = false; + + ConnectionType m_connectionType; + bool m_connectionTypeHasBeenSet = false; + + Aws::String m_error; + bool m_errorHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalogStatus.h b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalogStatus.h new file mode 100644 index 00000000000..dc20a57c9ff --- /dev/null +++ b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalogStatus.h @@ -0,0 +1,38 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Athena +{ +namespace Model +{ + enum class DataCatalogStatus + { + NOT_SET, + CREATE_IN_PROGRESS, + CREATE_COMPLETE, + CREATE_FAILED, + CREATE_FAILED_CLEANUP_IN_PROGRESS, + CREATE_FAILED_CLEANUP_COMPLETE, + CREATE_FAILED_CLEANUP_FAILED, + DELETE_IN_PROGRESS, + DELETE_COMPLETE, + DELETE_FAILED + }; + +namespace DataCatalogStatusMapper +{ +AWS_ATHENA_API DataCatalogStatus GetDataCatalogStatusForName(const Aws::String& name); + +AWS_ATHENA_API Aws::String GetNameForDataCatalogStatus(DataCatalogStatus value); +} // namespace DataCatalogStatusMapper +} // namespace Model +} // namespace Athena +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalogSummary.h b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalogSummary.h index a2f95353411..48a43add004 100644 --- a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalogSummary.h +++ b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalogSummary.h @@ -7,6 +7,8 @@ #include #include #include +#include +#include #include namespace Aws @@ -67,6 +69,66 @@ namespace Model inline DataCatalogSummary& WithType(const DataCatalogType& value) { SetType(value); return *this;} inline DataCatalogSummary& WithType(DataCatalogType&& value) { SetType(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    The status of the creation or deletion of the data catalog.

    • + *

      The LAMBDA, GLUE, and HIVE data + * catalog types are created synchronously. Their status is either + * CREATE_COMPLETE or CREATE_FAILED.

    • + *

      The FEDERATED data catalog type is created asynchronously.

      + *

    Data catalog creation status:

    • + * CREATE_IN_PROGRESS: Federated data catalog creation in + * progress.

    • CREATE_COMPLETE: Data catalog creation + * complete.

    • CREATE_FAILED: Data catalog could not + * be created.

    • CREATE_FAILED_CLEANUP_IN_PROGRESS: + * Federated data catalog creation failed and is being removed.

    • + * CREATE_FAILED_CLEANUP_COMPLETE: Federated data catalog creation + * failed and was removed.

    • + * CREATE_FAILED_CLEANUP_FAILED: Federated data catalog creation + * failed but could not be removed.

    Data catalog deletion + * status:

    • DELETE_IN_PROGRESS: Federated data + * catalog deletion in progress.

    • DELETE_COMPLETE: + * Federated data catalog deleted.

    • DELETE_FAILED: + * Federated data catalog could not be deleted.

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

    The type of connection for a FEDERATED data catalog (for + * example, REDSHIFT, MYSQL, or SQLSERVER). + * For information about individual connectors, see Available + * data source connectors.

    + */ + inline const ConnectionType& GetConnectionType() const{ return m_connectionType; } + inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; } + inline void SetConnectionType(const ConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; } + inline void SetConnectionType(ConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); } + inline DataCatalogSummary& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;} + inline DataCatalogSummary& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Text of the error that occurred during data catalog creation or deletion.

    + */ + inline const Aws::String& GetError() const{ return m_error; } + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; } + inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); } + inline DataCatalogSummary& WithError(const Aws::String& value) { SetError(value); return *this;} + inline DataCatalogSummary& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;} + inline DataCatalogSummary& WithError(const char* value) { SetError(value); return *this;} + ///@} private: Aws::String m_catalogName; @@ -74,6 +136,15 @@ namespace Model DataCatalogType m_type; bool m_typeHasBeenSet = false; + + DataCatalogStatus m_status; + bool m_statusHasBeenSet = false; + + ConnectionType m_connectionType; + bool m_connectionTypeHasBeenSet = false; + + Aws::String m_error; + bool m_errorHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalogType.h b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalogType.h index 874a85fcef3..32cc4f80b99 100644 --- a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalogType.h +++ b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DataCatalogType.h @@ -18,7 +18,8 @@ namespace Model NOT_SET, LAMBDA, GLUE, - HIVE + HIVE, + FEDERATED }; namespace DataCatalogTypeMapper diff --git a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DeleteDataCatalogRequest.h b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DeleteDataCatalogRequest.h index 6433e11359b..acf834071fd 100644 --- a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DeleteDataCatalogRequest.h +++ b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DeleteDataCatalogRequest.h @@ -47,10 +47,26 @@ namespace Model inline DeleteDataCatalogRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline DeleteDataCatalogRequest& WithName(const char* value) { SetName(value); return *this;} ///@} + + ///@{ + /** + *

    Deletes the Athena Data Catalog. You can only use this with the + * FEDERATED catalogs. You usually perform this before registering the + * connector with Glue Data Catalog. After deletion, you will have to manage the + * Glue Connection and Lambda function.

    + */ + inline bool GetDeleteCatalogOnly() const{ return m_deleteCatalogOnly; } + inline bool DeleteCatalogOnlyHasBeenSet() const { return m_deleteCatalogOnlyHasBeenSet; } + inline void SetDeleteCatalogOnly(bool value) { m_deleteCatalogOnlyHasBeenSet = true; m_deleteCatalogOnly = value; } + inline DeleteDataCatalogRequest& WithDeleteCatalogOnly(bool value) { SetDeleteCatalogOnly(value); return *this;} + ///@} private: Aws::String m_name; bool m_nameHasBeenSet = false; + + bool m_deleteCatalogOnly; + bool m_deleteCatalogOnlyHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DeleteDataCatalogResult.h b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DeleteDataCatalogResult.h index 38f89f2c06b..a60f73e4ff5 100644 --- a/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DeleteDataCatalogResult.h +++ b/generated/src/aws-cpp-sdk-athena/include/aws/athena/model/DeleteDataCatalogResult.h @@ -5,6 +5,7 @@ #pragma once #include +#include #include #include @@ -32,6 +33,15 @@ namespace Model AWS_ATHENA_API DeleteDataCatalogResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + + inline const DataCatalog& GetDataCatalog() const{ return m_dataCatalog; } + inline void SetDataCatalog(const DataCatalog& value) { m_dataCatalog = value; } + inline void SetDataCatalog(DataCatalog&& value) { m_dataCatalog = std::move(value); } + inline DeleteDataCatalogResult& WithDataCatalog(const DataCatalog& value) { SetDataCatalog(value); return *this;} + inline DeleteDataCatalogResult& WithDataCatalog(DataCatalog&& value) { SetDataCatalog(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -44,6 +54,8 @@ namespace Model ///@} private: + DataCatalog m_dataCatalog; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-athena/source/model/ConnectionType.cpp b/generated/src/aws-cpp-sdk-athena/source/model/ConnectionType.cpp new file mode 100644 index 00000000000..a0d36737ac5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-athena/source/model/ConnectionType.cpp @@ -0,0 +1,198 @@ +/** + * 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 Athena + { + namespace Model + { + namespace ConnectionTypeMapper + { + + static const int DYNAMODB_HASH = HashingUtils::HashString("DYNAMODB"); + static const int MYSQL_HASH = HashingUtils::HashString("MYSQL"); + static const int POSTGRESQL_HASH = HashingUtils::HashString("POSTGRESQL"); + static const int REDSHIFT_HASH = HashingUtils::HashString("REDSHIFT"); + static const int ORACLE_HASH = HashingUtils::HashString("ORACLE"); + static const int SYNAPSE_HASH = HashingUtils::HashString("SYNAPSE"); + static const int SQLSERVER_HASH = HashingUtils::HashString("SQLSERVER"); + static const int DB2_HASH = HashingUtils::HashString("DB2"); + static const int OPENSEARCH_HASH = HashingUtils::HashString("OPENSEARCH"); + static const int BIGQUERY_HASH = HashingUtils::HashString("BIGQUERY"); + static const int GOOGLECLOUDSTORAGE_HASH = HashingUtils::HashString("GOOGLECLOUDSTORAGE"); + static const int HBASE_HASH = HashingUtils::HashString("HBASE"); + static const int DOCUMENTDB_HASH = HashingUtils::HashString("DOCUMENTDB"); + static const int CMDB_HASH = HashingUtils::HashString("CMDB"); + static const int TPCDS_HASH = HashingUtils::HashString("TPCDS"); + static const int TIMESTREAM_HASH = HashingUtils::HashString("TIMESTREAM"); + static const int SAPHANA_HASH = HashingUtils::HashString("SAPHANA"); + static const int SNOWFLAKE_HASH = HashingUtils::HashString("SNOWFLAKE"); + static const int DATALAKEGEN2_HASH = HashingUtils::HashString("DATALAKEGEN2"); + static const int DB2AS400_HASH = HashingUtils::HashString("DB2AS400"); + + + ConnectionType GetConnectionTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == DYNAMODB_HASH) + { + return ConnectionType::DYNAMODB; + } + else if (hashCode == MYSQL_HASH) + { + return ConnectionType::MYSQL; + } + else if (hashCode == POSTGRESQL_HASH) + { + return ConnectionType::POSTGRESQL; + } + else if (hashCode == REDSHIFT_HASH) + { + return ConnectionType::REDSHIFT; + } + else if (hashCode == ORACLE_HASH) + { + return ConnectionType::ORACLE; + } + else if (hashCode == SYNAPSE_HASH) + { + return ConnectionType::SYNAPSE; + } + else if (hashCode == SQLSERVER_HASH) + { + return ConnectionType::SQLSERVER; + } + else if (hashCode == DB2_HASH) + { + return ConnectionType::DB2; + } + else if (hashCode == OPENSEARCH_HASH) + { + return ConnectionType::OPENSEARCH; + } + else if (hashCode == BIGQUERY_HASH) + { + return ConnectionType::BIGQUERY; + } + else if (hashCode == GOOGLECLOUDSTORAGE_HASH) + { + return ConnectionType::GOOGLECLOUDSTORAGE; + } + else if (hashCode == HBASE_HASH) + { + return ConnectionType::HBASE; + } + else if (hashCode == DOCUMENTDB_HASH) + { + return ConnectionType::DOCUMENTDB; + } + else if (hashCode == CMDB_HASH) + { + return ConnectionType::CMDB; + } + else if (hashCode == TPCDS_HASH) + { + return ConnectionType::TPCDS; + } + else if (hashCode == TIMESTREAM_HASH) + { + return ConnectionType::TIMESTREAM; + } + else if (hashCode == SAPHANA_HASH) + { + return ConnectionType::SAPHANA; + } + else if (hashCode == SNOWFLAKE_HASH) + { + return ConnectionType::SNOWFLAKE; + } + else if (hashCode == DATALAKEGEN2_HASH) + { + return ConnectionType::DATALAKEGEN2; + } + else if (hashCode == DB2AS400_HASH) + { + return ConnectionType::DB2AS400; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ConnectionType::NOT_SET; + } + + Aws::String GetNameForConnectionType(ConnectionType enumValue) + { + switch(enumValue) + { + case ConnectionType::NOT_SET: + return {}; + case ConnectionType::DYNAMODB: + return "DYNAMODB"; + case ConnectionType::MYSQL: + return "MYSQL"; + case ConnectionType::POSTGRESQL: + return "POSTGRESQL"; + case ConnectionType::REDSHIFT: + return "REDSHIFT"; + case ConnectionType::ORACLE: + return "ORACLE"; + case ConnectionType::SYNAPSE: + return "SYNAPSE"; + case ConnectionType::SQLSERVER: + return "SQLSERVER"; + case ConnectionType::DB2: + return "DB2"; + case ConnectionType::OPENSEARCH: + return "OPENSEARCH"; + case ConnectionType::BIGQUERY: + return "BIGQUERY"; + case ConnectionType::GOOGLECLOUDSTORAGE: + return "GOOGLECLOUDSTORAGE"; + case ConnectionType::HBASE: + return "HBASE"; + case ConnectionType::DOCUMENTDB: + return "DOCUMENTDB"; + case ConnectionType::CMDB: + return "CMDB"; + case ConnectionType::TPCDS: + return "TPCDS"; + case ConnectionType::TIMESTREAM: + return "TIMESTREAM"; + case ConnectionType::SAPHANA: + return "SAPHANA"; + case ConnectionType::SNOWFLAKE: + return "SNOWFLAKE"; + case ConnectionType::DATALAKEGEN2: + return "DATALAKEGEN2"; + case ConnectionType::DB2AS400: + return "DB2AS400"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ConnectionTypeMapper + } // namespace Model + } // namespace Athena +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-athena/source/model/CreateDataCatalogResult.cpp b/generated/src/aws-cpp-sdk-athena/source/model/CreateDataCatalogResult.cpp index 4b831c61b3c..baaefbc6248 100644 --- a/generated/src/aws-cpp-sdk-athena/source/model/CreateDataCatalogResult.cpp +++ b/generated/src/aws-cpp-sdk-athena/source/model/CreateDataCatalogResult.cpp @@ -28,7 +28,13 @@ CreateDataCatalogResult::CreateDataCatalogResult(const Aws::AmazonWebServiceResu CreateDataCatalogResult& CreateDataCatalogResult::operator =(const Aws::AmazonWebServiceResult& result) { - AWS_UNREFERENCED_PARAM(result); + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("DataCatalog")) + { + m_dataCatalog = jsonValue.GetObject("DataCatalog"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-athena/source/model/DataCatalog.cpp b/generated/src/aws-cpp-sdk-athena/source/model/DataCatalog.cpp index 88aaa6ebacf..0c3c4a8d698 100644 --- a/generated/src/aws-cpp-sdk-athena/source/model/DataCatalog.cpp +++ b/generated/src/aws-cpp-sdk-athena/source/model/DataCatalog.cpp @@ -23,7 +23,12 @@ DataCatalog::DataCatalog() : m_descriptionHasBeenSet(false), m_type(DataCatalogType::NOT_SET), m_typeHasBeenSet(false), - m_parametersHasBeenSet(false) + m_parametersHasBeenSet(false), + m_status(DataCatalogStatus::NOT_SET), + m_statusHasBeenSet(false), + m_connectionType(ConnectionType::NOT_SET), + m_connectionTypeHasBeenSet(false), + m_errorHasBeenSet(false) { } @@ -66,6 +71,27 @@ DataCatalog& DataCatalog::operator =(JsonView jsonValue) m_parametersHasBeenSet = true; } + if(jsonValue.ValueExists("Status")) + { + m_status = DataCatalogStatusMapper::GetDataCatalogStatusForName(jsonValue.GetString("Status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("ConnectionType")) + { + m_connectionType = ConnectionTypeMapper::GetConnectionTypeForName(jsonValue.GetString("ConnectionType")); + + m_connectionTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Error")) + { + m_error = jsonValue.GetString("Error"); + + m_errorHasBeenSet = true; + } + return *this; } @@ -101,6 +127,22 @@ JsonValue DataCatalog::Jsonize() const } + if(m_statusHasBeenSet) + { + payload.WithString("Status", DataCatalogStatusMapper::GetNameForDataCatalogStatus(m_status)); + } + + if(m_connectionTypeHasBeenSet) + { + payload.WithString("ConnectionType", ConnectionTypeMapper::GetNameForConnectionType(m_connectionType)); + } + + if(m_errorHasBeenSet) + { + payload.WithString("Error", m_error); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-athena/source/model/DataCatalogStatus.cpp b/generated/src/aws-cpp-sdk-athena/source/model/DataCatalogStatus.cpp new file mode 100644 index 00000000000..ca8cc68ee3b --- /dev/null +++ b/generated/src/aws-cpp-sdk-athena/source/model/DataCatalogStatus.cpp @@ -0,0 +1,121 @@ +/** + * 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 Athena + { + namespace Model + { + namespace DataCatalogStatusMapper + { + + 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 CREATE_FAILED_CLEANUP_IN_PROGRESS_HASH = HashingUtils::HashString("CREATE_FAILED_CLEANUP_IN_PROGRESS"); + static const int CREATE_FAILED_CLEANUP_COMPLETE_HASH = HashingUtils::HashString("CREATE_FAILED_CLEANUP_COMPLETE"); + static const int CREATE_FAILED_CLEANUP_FAILED_HASH = HashingUtils::HashString("CREATE_FAILED_CLEANUP_FAILED"); + 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"); + + + DataCatalogStatus GetDataCatalogStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CREATE_IN_PROGRESS_HASH) + { + return DataCatalogStatus::CREATE_IN_PROGRESS; + } + else if (hashCode == CREATE_COMPLETE_HASH) + { + return DataCatalogStatus::CREATE_COMPLETE; + } + else if (hashCode == CREATE_FAILED_HASH) + { + return DataCatalogStatus::CREATE_FAILED; + } + else if (hashCode == CREATE_FAILED_CLEANUP_IN_PROGRESS_HASH) + { + return DataCatalogStatus::CREATE_FAILED_CLEANUP_IN_PROGRESS; + } + else if (hashCode == CREATE_FAILED_CLEANUP_COMPLETE_HASH) + { + return DataCatalogStatus::CREATE_FAILED_CLEANUP_COMPLETE; + } + else if (hashCode == CREATE_FAILED_CLEANUP_FAILED_HASH) + { + return DataCatalogStatus::CREATE_FAILED_CLEANUP_FAILED; + } + else if (hashCode == DELETE_IN_PROGRESS_HASH) + { + return DataCatalogStatus::DELETE_IN_PROGRESS; + } + else if (hashCode == DELETE_COMPLETE_HASH) + { + return DataCatalogStatus::DELETE_COMPLETE; + } + else if (hashCode == DELETE_FAILED_HASH) + { + return DataCatalogStatus::DELETE_FAILED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return DataCatalogStatus::NOT_SET; + } + + Aws::String GetNameForDataCatalogStatus(DataCatalogStatus enumValue) + { + switch(enumValue) + { + case DataCatalogStatus::NOT_SET: + return {}; + case DataCatalogStatus::CREATE_IN_PROGRESS: + return "CREATE_IN_PROGRESS"; + case DataCatalogStatus::CREATE_COMPLETE: + return "CREATE_COMPLETE"; + case DataCatalogStatus::CREATE_FAILED: + return "CREATE_FAILED"; + case DataCatalogStatus::CREATE_FAILED_CLEANUP_IN_PROGRESS: + return "CREATE_FAILED_CLEANUP_IN_PROGRESS"; + case DataCatalogStatus::CREATE_FAILED_CLEANUP_COMPLETE: + return "CREATE_FAILED_CLEANUP_COMPLETE"; + case DataCatalogStatus::CREATE_FAILED_CLEANUP_FAILED: + return "CREATE_FAILED_CLEANUP_FAILED"; + case DataCatalogStatus::DELETE_IN_PROGRESS: + return "DELETE_IN_PROGRESS"; + case DataCatalogStatus::DELETE_COMPLETE: + return "DELETE_COMPLETE"; + case DataCatalogStatus::DELETE_FAILED: + return "DELETE_FAILED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace DataCatalogStatusMapper + } // namespace Model + } // namespace Athena +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-athena/source/model/DataCatalogSummary.cpp b/generated/src/aws-cpp-sdk-athena/source/model/DataCatalogSummary.cpp index c1aa1248b42..de7a0a51e4a 100644 --- a/generated/src/aws-cpp-sdk-athena/source/model/DataCatalogSummary.cpp +++ b/generated/src/aws-cpp-sdk-athena/source/model/DataCatalogSummary.cpp @@ -21,7 +21,12 @@ namespace Model DataCatalogSummary::DataCatalogSummary() : m_catalogNameHasBeenSet(false), m_type(DataCatalogType::NOT_SET), - m_typeHasBeenSet(false) + m_typeHasBeenSet(false), + m_status(DataCatalogStatus::NOT_SET), + m_statusHasBeenSet(false), + m_connectionType(ConnectionType::NOT_SET), + m_connectionTypeHasBeenSet(false), + m_errorHasBeenSet(false) { } @@ -47,6 +52,27 @@ DataCatalogSummary& DataCatalogSummary::operator =(JsonView jsonValue) m_typeHasBeenSet = true; } + if(jsonValue.ValueExists("Status")) + { + m_status = DataCatalogStatusMapper::GetDataCatalogStatusForName(jsonValue.GetString("Status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("ConnectionType")) + { + m_connectionType = ConnectionTypeMapper::GetConnectionTypeForName(jsonValue.GetString("ConnectionType")); + + m_connectionTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Error")) + { + m_error = jsonValue.GetString("Error"); + + m_errorHasBeenSet = true; + } + return *this; } @@ -65,6 +91,22 @@ JsonValue DataCatalogSummary::Jsonize() const payload.WithString("Type", DataCatalogTypeMapper::GetNameForDataCatalogType(m_type)); } + if(m_statusHasBeenSet) + { + payload.WithString("Status", DataCatalogStatusMapper::GetNameForDataCatalogStatus(m_status)); + } + + if(m_connectionTypeHasBeenSet) + { + payload.WithString("ConnectionType", ConnectionTypeMapper::GetNameForConnectionType(m_connectionType)); + } + + if(m_errorHasBeenSet) + { + payload.WithString("Error", m_error); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-athena/source/model/DataCatalogType.cpp b/generated/src/aws-cpp-sdk-athena/source/model/DataCatalogType.cpp index 73916e9ab25..f8e59244c3c 100644 --- a/generated/src/aws-cpp-sdk-athena/source/model/DataCatalogType.cpp +++ b/generated/src/aws-cpp-sdk-athena/source/model/DataCatalogType.cpp @@ -23,6 +23,7 @@ namespace Aws static const int LAMBDA_HASH = HashingUtils::HashString("LAMBDA"); static const int GLUE_HASH = HashingUtils::HashString("GLUE"); static const int HIVE_HASH = HashingUtils::HashString("HIVE"); + static const int FEDERATED_HASH = HashingUtils::HashString("FEDERATED"); DataCatalogType GetDataCatalogTypeForName(const Aws::String& name) @@ -40,6 +41,10 @@ namespace Aws { return DataCatalogType::HIVE; } + else if (hashCode == FEDERATED_HASH) + { + return DataCatalogType::FEDERATED; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -62,6 +67,8 @@ namespace Aws return "GLUE"; case DataCatalogType::HIVE: return "HIVE"; + case DataCatalogType::FEDERATED: + return "FEDERATED"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-athena/source/model/DeleteDataCatalogRequest.cpp b/generated/src/aws-cpp-sdk-athena/source/model/DeleteDataCatalogRequest.cpp index 736817682e2..e224b293594 100644 --- a/generated/src/aws-cpp-sdk-athena/source/model/DeleteDataCatalogRequest.cpp +++ b/generated/src/aws-cpp-sdk-athena/source/model/DeleteDataCatalogRequest.cpp @@ -13,7 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteDataCatalogRequest::DeleteDataCatalogRequest() : - m_nameHasBeenSet(false) + m_nameHasBeenSet(false), + m_deleteCatalogOnly(false), + m_deleteCatalogOnlyHasBeenSet(false) { } @@ -27,6 +29,12 @@ Aws::String DeleteDataCatalogRequest::SerializePayload() const } + if(m_deleteCatalogOnlyHasBeenSet) + { + payload.WithBool("DeleteCatalogOnly", m_deleteCatalogOnly); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-athena/source/model/DeleteDataCatalogResult.cpp b/generated/src/aws-cpp-sdk-athena/source/model/DeleteDataCatalogResult.cpp index 18cdcd51cee..a752a5dfe98 100644 --- a/generated/src/aws-cpp-sdk-athena/source/model/DeleteDataCatalogResult.cpp +++ b/generated/src/aws-cpp-sdk-athena/source/model/DeleteDataCatalogResult.cpp @@ -28,7 +28,13 @@ DeleteDataCatalogResult::DeleteDataCatalogResult(const Aws::AmazonWebServiceResu DeleteDataCatalogResult& DeleteDataCatalogResult::operator =(const Aws::AmazonWebServiceResult& result) { - AWS_UNREFERENCED_PARAM(result); + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("DataCatalog")) + { + m_dataCatalog = jsonValue.GetObject("DataCatalog"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorInputPayload.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorInputPayload.h new file mode 100644 index 00000000000..2ea82021b85 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorInputPayload.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

    Input for an agent collaborator. The input can be text or an action + * invocation result.

    See Also:

    AWS + * API Reference

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

    An action invocation result.

    + */ + inline const ReturnControlResults& GetReturnControlResults() const{ return m_returnControlResults; } + inline bool ReturnControlResultsHasBeenSet() const { return m_returnControlResultsHasBeenSet; } + inline void SetReturnControlResults(const ReturnControlResults& value) { m_returnControlResultsHasBeenSet = true; m_returnControlResults = value; } + inline void SetReturnControlResults(ReturnControlResults&& value) { m_returnControlResultsHasBeenSet = true; m_returnControlResults = std::move(value); } + inline AgentCollaboratorInputPayload& WithReturnControlResults(const ReturnControlResults& value) { SetReturnControlResults(value); return *this;} + inline AgentCollaboratorInputPayload& WithReturnControlResults(ReturnControlResults&& value) { SetReturnControlResults(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Input text.

    + */ + inline const Aws::String& GetText() const{ return m_text; } + inline bool TextHasBeenSet() const { return m_textHasBeenSet; } + inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } + inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } + inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } + inline AgentCollaboratorInputPayload& WithText(const Aws::String& value) { SetText(value); return *this;} + inline AgentCollaboratorInputPayload& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} + inline AgentCollaboratorInputPayload& WithText(const char* value) { SetText(value); return *this;} + ///@} + + ///@{ + /** + *

    The input type.

    + */ + inline const PayloadType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const PayloadType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(PayloadType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline AgentCollaboratorInputPayload& WithType(const PayloadType& value) { SetType(value); return *this;} + inline AgentCollaboratorInputPayload& WithType(PayloadType&& value) { SetType(std::move(value)); return *this;} + ///@} + private: + + ReturnControlResults m_returnControlResults; + bool m_returnControlResultsHasBeenSet = false; + + Aws::String m_text; + bool m_textHasBeenSet = false; + + PayloadType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorInvocationInput.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorInvocationInput.h new file mode 100644 index 00000000000..15c0b3b147b --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorInvocationInput.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

    An agent collaborator invocation input.

    See Also:

    AWS + * API Reference

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

    The collaborator's alias ARN.

    + */ + inline const Aws::String& GetAgentCollaboratorAliasArn() const{ return m_agentCollaboratorAliasArn; } + inline bool AgentCollaboratorAliasArnHasBeenSet() const { return m_agentCollaboratorAliasArnHasBeenSet; } + inline void SetAgentCollaboratorAliasArn(const Aws::String& value) { m_agentCollaboratorAliasArnHasBeenSet = true; m_agentCollaboratorAliasArn = value; } + inline void SetAgentCollaboratorAliasArn(Aws::String&& value) { m_agentCollaboratorAliasArnHasBeenSet = true; m_agentCollaboratorAliasArn = std::move(value); } + inline void SetAgentCollaboratorAliasArn(const char* value) { m_agentCollaboratorAliasArnHasBeenSet = true; m_agentCollaboratorAliasArn.assign(value); } + inline AgentCollaboratorInvocationInput& WithAgentCollaboratorAliasArn(const Aws::String& value) { SetAgentCollaboratorAliasArn(value); return *this;} + inline AgentCollaboratorInvocationInput& WithAgentCollaboratorAliasArn(Aws::String&& value) { SetAgentCollaboratorAliasArn(std::move(value)); return *this;} + inline AgentCollaboratorInvocationInput& WithAgentCollaboratorAliasArn(const char* value) { SetAgentCollaboratorAliasArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's name.

    + */ + inline const Aws::String& GetAgentCollaboratorName() const{ return m_agentCollaboratorName; } + inline bool AgentCollaboratorNameHasBeenSet() const { return m_agentCollaboratorNameHasBeenSet; } + inline void SetAgentCollaboratorName(const Aws::String& value) { m_agentCollaboratorNameHasBeenSet = true; m_agentCollaboratorName = value; } + inline void SetAgentCollaboratorName(Aws::String&& value) { m_agentCollaboratorNameHasBeenSet = true; m_agentCollaboratorName = std::move(value); } + inline void SetAgentCollaboratorName(const char* value) { m_agentCollaboratorNameHasBeenSet = true; m_agentCollaboratorName.assign(value); } + inline AgentCollaboratorInvocationInput& WithAgentCollaboratorName(const Aws::String& value) { SetAgentCollaboratorName(value); return *this;} + inline AgentCollaboratorInvocationInput& WithAgentCollaboratorName(Aws::String&& value) { SetAgentCollaboratorName(std::move(value)); return *this;} + inline AgentCollaboratorInvocationInput& WithAgentCollaboratorName(const char* value) { SetAgentCollaboratorName(value); return *this;} + ///@} + + ///@{ + /** + *

    Text or action invocation result input for the collaborator.

    + */ + inline const AgentCollaboratorInputPayload& GetInput() const{ return m_input; } + inline bool InputHasBeenSet() const { return m_inputHasBeenSet; } + inline void SetInput(const AgentCollaboratorInputPayload& value) { m_inputHasBeenSet = true; m_input = value; } + inline void SetInput(AgentCollaboratorInputPayload&& value) { m_inputHasBeenSet = true; m_input = std::move(value); } + inline AgentCollaboratorInvocationInput& WithInput(const AgentCollaboratorInputPayload& value) { SetInput(value); return *this;} + inline AgentCollaboratorInvocationInput& WithInput(AgentCollaboratorInputPayload&& value) { SetInput(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_agentCollaboratorAliasArn; + bool m_agentCollaboratorAliasArnHasBeenSet = false; + + Aws::String m_agentCollaboratorName; + bool m_agentCollaboratorNameHasBeenSet = false; + + AgentCollaboratorInputPayload m_input; + bool m_inputHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorInvocationOutput.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorInvocationOutput.h new file mode 100644 index 00000000000..676b85ba73a --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorInvocationOutput.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

    Output from an agent collaborator.

    See Also:

    AWS + * API Reference

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

    The output's agent collaborator alias ARN.

    + */ + inline const Aws::String& GetAgentCollaboratorAliasArn() const{ return m_agentCollaboratorAliasArn; } + inline bool AgentCollaboratorAliasArnHasBeenSet() const { return m_agentCollaboratorAliasArnHasBeenSet; } + inline void SetAgentCollaboratorAliasArn(const Aws::String& value) { m_agentCollaboratorAliasArnHasBeenSet = true; m_agentCollaboratorAliasArn = value; } + inline void SetAgentCollaboratorAliasArn(Aws::String&& value) { m_agentCollaboratorAliasArnHasBeenSet = true; m_agentCollaboratorAliasArn = std::move(value); } + inline void SetAgentCollaboratorAliasArn(const char* value) { m_agentCollaboratorAliasArnHasBeenSet = true; m_agentCollaboratorAliasArn.assign(value); } + inline AgentCollaboratorInvocationOutput& WithAgentCollaboratorAliasArn(const Aws::String& value) { SetAgentCollaboratorAliasArn(value); return *this;} + inline AgentCollaboratorInvocationOutput& WithAgentCollaboratorAliasArn(Aws::String&& value) { SetAgentCollaboratorAliasArn(std::move(value)); return *this;} + inline AgentCollaboratorInvocationOutput& WithAgentCollaboratorAliasArn(const char* value) { SetAgentCollaboratorAliasArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The output's agent collaborator name.

    + */ + inline const Aws::String& GetAgentCollaboratorName() const{ return m_agentCollaboratorName; } + inline bool AgentCollaboratorNameHasBeenSet() const { return m_agentCollaboratorNameHasBeenSet; } + inline void SetAgentCollaboratorName(const Aws::String& value) { m_agentCollaboratorNameHasBeenSet = true; m_agentCollaboratorName = value; } + inline void SetAgentCollaboratorName(Aws::String&& value) { m_agentCollaboratorNameHasBeenSet = true; m_agentCollaboratorName = std::move(value); } + inline void SetAgentCollaboratorName(const char* value) { m_agentCollaboratorNameHasBeenSet = true; m_agentCollaboratorName.assign(value); } + inline AgentCollaboratorInvocationOutput& WithAgentCollaboratorName(const Aws::String& value) { SetAgentCollaboratorName(value); return *this;} + inline AgentCollaboratorInvocationOutput& WithAgentCollaboratorName(Aws::String&& value) { SetAgentCollaboratorName(std::move(value)); return *this;} + inline AgentCollaboratorInvocationOutput& WithAgentCollaboratorName(const char* value) { SetAgentCollaboratorName(value); return *this;} + ///@} + + ///@{ + /** + *

    The output's output.

    + */ + inline const AgentCollaboratorOutputPayload& GetOutput() const{ return m_output; } + inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; } + inline void SetOutput(const AgentCollaboratorOutputPayload& value) { m_outputHasBeenSet = true; m_output = value; } + inline void SetOutput(AgentCollaboratorOutputPayload&& value) { m_outputHasBeenSet = true; m_output = std::move(value); } + inline AgentCollaboratorInvocationOutput& WithOutput(const AgentCollaboratorOutputPayload& value) { SetOutput(value); return *this;} + inline AgentCollaboratorInvocationOutput& WithOutput(AgentCollaboratorOutputPayload&& value) { SetOutput(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_agentCollaboratorAliasArn; + bool m_agentCollaboratorAliasArnHasBeenSet = false; + + Aws::String m_agentCollaboratorName; + bool m_agentCollaboratorNameHasBeenSet = false; + + AgentCollaboratorOutputPayload m_output; + bool m_outputHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorOutputPayload.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorOutputPayload.h new file mode 100644 index 00000000000..0d3d1ee30c4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentCollaboratorOutputPayload.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

    Output from an agent collaborator. The output can be text or an action + * invocation result.

    See Also:

    AWS + * API Reference

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

    An action invocation result.

    + */ + inline const ReturnControlPayload& GetReturnControlPayload() const{ return m_returnControlPayload; } + inline bool ReturnControlPayloadHasBeenSet() const { return m_returnControlPayloadHasBeenSet; } + inline void SetReturnControlPayload(const ReturnControlPayload& value) { m_returnControlPayloadHasBeenSet = true; m_returnControlPayload = value; } + inline void SetReturnControlPayload(ReturnControlPayload&& value) { m_returnControlPayloadHasBeenSet = true; m_returnControlPayload = std::move(value); } + inline AgentCollaboratorOutputPayload& WithReturnControlPayload(const ReturnControlPayload& value) { SetReturnControlPayload(value); return *this;} + inline AgentCollaboratorOutputPayload& WithReturnControlPayload(ReturnControlPayload&& value) { SetReturnControlPayload(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Text output.

    + */ + inline const Aws::String& GetText() const{ return m_text; } + inline bool TextHasBeenSet() const { return m_textHasBeenSet; } + inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } + inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } + inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } + inline AgentCollaboratorOutputPayload& WithText(const Aws::String& value) { SetText(value); return *this;} + inline AgentCollaboratorOutputPayload& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} + inline AgentCollaboratorOutputPayload& WithText(const char* value) { SetText(value); return *this;} + ///@} + + ///@{ + /** + *

    The type of output.

    + */ + inline const PayloadType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const PayloadType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(PayloadType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline AgentCollaboratorOutputPayload& WithType(const PayloadType& value) { SetType(value); return *this;} + inline AgentCollaboratorOutputPayload& WithType(PayloadType&& value) { SetType(std::move(value)); return *this;} + ///@} + private: + + ReturnControlPayload m_returnControlPayload; + bool m_returnControlPayloadHasBeenSet = false; + + Aws::String m_text; + bool m_textHasBeenSet = false; + + PayloadType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ApiInvocationInput.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ApiInvocationInput.h index 1a2abc55262..d05ff8630cb 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ApiInvocationInput.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ApiInvocationInput.h @@ -71,6 +71,20 @@ namespace Model inline ApiInvocationInput& WithActionInvocationType(ActionInvocationType&& value) { SetActionInvocationType(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The agent's ID.

    + */ + inline const Aws::String& GetAgentId() const{ return m_agentId; } + inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; } + inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; } + inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); } + inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); } + inline ApiInvocationInput& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;} + inline ApiInvocationInput& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;} + inline ApiInvocationInput& WithAgentId(const char* value) { SetAgentId(value); return *this;} + ///@} + ///@{ /** *

    The path to the API operation.

    @@ -85,6 +99,20 @@ namespace Model inline ApiInvocationInput& WithApiPath(const char* value) { SetApiPath(value); return *this;} ///@} + ///@{ + /** + *

    The agent collaborator's name.

    + */ + inline const Aws::String& GetCollaboratorName() const{ return m_collaboratorName; } + inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; } + inline void SetCollaboratorName(const Aws::String& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = value; } + inline void SetCollaboratorName(Aws::String&& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = std::move(value); } + inline void SetCollaboratorName(const char* value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName.assign(value); } + inline ApiInvocationInput& WithCollaboratorName(const Aws::String& value) { SetCollaboratorName(value); return *this;} + inline ApiInvocationInput& WithCollaboratorName(Aws::String&& value) { SetCollaboratorName(std::move(value)); return *this;} + inline ApiInvocationInput& WithCollaboratorName(const char* value) { SetCollaboratorName(value); return *this;} + ///@} + ///@{ /** *

    The HTTP method of the API operation.

    @@ -134,9 +162,15 @@ namespace Model ActionInvocationType m_actionInvocationType; bool m_actionInvocationTypeHasBeenSet = false; + Aws::String m_agentId; + bool m_agentIdHasBeenSet = false; + Aws::String m_apiPath; bool m_apiPathHasBeenSet = false; + Aws::String m_collaboratorName; + bool m_collaboratorNameHasBeenSet = false; + Aws::String m_httpMethod; bool m_httpMethodHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ApiResult.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ApiResult.h index 64f45d76b75..100de9e2efe 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ApiResult.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ApiResult.h @@ -60,6 +60,20 @@ namespace Model inline ApiResult& WithActionGroup(const char* value) { SetActionGroup(value); return *this;} ///@} + ///@{ + /** + *

    The agent's ID.

    + */ + inline const Aws::String& GetAgentId() const{ return m_agentId; } + inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; } + inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; } + inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); } + inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); } + inline ApiResult& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;} + inline ApiResult& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;} + inline ApiResult& WithAgentId(const char* value) { SetAgentId(value); return *this;} + ///@} + ///@{ /** *

    The path to the API operation.

    @@ -151,6 +165,9 @@ namespace Model Aws::String m_actionGroup; bool m_actionGroupHasBeenSet = false; + Aws::String m_agentId; + bool m_agentIdHasBeenSet = false; + Aws::String m_apiPath; bool m_apiPathHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Caller.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Caller.h new file mode 100644 index 00000000000..e2e920c9c13 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Caller.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

    Details about a caller.

    See Also:

    AWS + * API Reference

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

    The caller's agent alias ARN.

    + */ + inline const Aws::String& GetAgentAliasArn() const{ return m_agentAliasArn; } + inline bool AgentAliasArnHasBeenSet() const { return m_agentAliasArnHasBeenSet; } + inline void SetAgentAliasArn(const Aws::String& value) { m_agentAliasArnHasBeenSet = true; m_agentAliasArn = value; } + inline void SetAgentAliasArn(Aws::String&& value) { m_agentAliasArnHasBeenSet = true; m_agentAliasArn = std::move(value); } + inline void SetAgentAliasArn(const char* value) { m_agentAliasArnHasBeenSet = true; m_agentAliasArn.assign(value); } + inline Caller& WithAgentAliasArn(const Aws::String& value) { SetAgentAliasArn(value); return *this;} + inline Caller& WithAgentAliasArn(Aws::String&& value) { SetAgentAliasArn(std::move(value)); return *this;} + inline Caller& WithAgentAliasArn(const char* value) { SetAgentAliasArn(value); return *this;} + ///@} + private: + + Aws::String m_agentAliasArn; + bool m_agentAliasArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ContentBlock.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ContentBlock.h new file mode 100644 index 00000000000..7c75dcdf1c8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ContentBlock.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

    A content block.

    See Also:

    AWS + * API Reference

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

    The block's text.

    + */ + inline const Aws::String& GetText() const{ return m_text; } + inline bool TextHasBeenSet() const { return m_textHasBeenSet; } + inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } + inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } + inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } + inline ContentBlock& WithText(const Aws::String& value) { SetText(value); return *this;} + inline ContentBlock& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} + inline ContentBlock& WithText(const char* value) { SetText(value); return *this;} + ///@} + private: + + Aws::String m_text; + bool m_textHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ConversationHistory.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ConversationHistory.h new file mode 100644 index 00000000000..934de388447 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ConversationHistory.h @@ -0,0 +1,62 @@ +/** + * 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 BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

    A conversation history.

    See Also:

    AWS + * API Reference

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

    The conversation's messages.

    + */ + inline const Aws::Vector& GetMessages() const{ return m_messages; } + inline bool MessagesHasBeenSet() const { return m_messagesHasBeenSet; } + inline void SetMessages(const Aws::Vector& value) { m_messagesHasBeenSet = true; m_messages = value; } + inline void SetMessages(Aws::Vector&& value) { m_messagesHasBeenSet = true; m_messages = std::move(value); } + inline ConversationHistory& WithMessages(const Aws::Vector& value) { SetMessages(value); return *this;} + inline ConversationHistory& WithMessages(Aws::Vector&& value) { SetMessages(std::move(value)); return *this;} + inline ConversationHistory& AddMessages(const Message& value) { m_messagesHasBeenSet = true; m_messages.push_back(value); return *this; } + inline ConversationHistory& AddMessages(Message&& value) { m_messagesHasBeenSet = true; m_messages.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::Vector m_messages; + bool m_messagesHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ConversationRole.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ConversationRole.h new file mode 100644 index 00000000000..2ad102e6fc8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ConversationRole.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + enum class ConversationRole + { + NOT_SET, + user, + assistant + }; + +namespace ConversationRoleMapper +{ +AWS_BEDROCKAGENTRUNTIME_API ConversationRole GetConversationRoleForName(const Aws::String& name); + +AWS_BEDROCKAGENTRUNTIME_API Aws::String GetNameForConversationRole(ConversationRole value); +} // namespace ConversationRoleMapper +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionInvocationInput.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionInvocationInput.h index f66a1303c8a..f1da9b3ac95 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionInvocationInput.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionInvocationInput.h @@ -70,6 +70,34 @@ namespace Model inline FunctionInvocationInput& WithActionInvocationType(ActionInvocationType&& value) { SetActionInvocationType(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The agent's ID.

    + */ + inline const Aws::String& GetAgentId() const{ return m_agentId; } + inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; } + inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; } + inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); } + inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); } + inline FunctionInvocationInput& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;} + inline FunctionInvocationInput& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;} + inline FunctionInvocationInput& WithAgentId(const char* value) { SetAgentId(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's name.

    + */ + inline const Aws::String& GetCollaboratorName() const{ return m_collaboratorName; } + inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; } + inline void SetCollaboratorName(const Aws::String& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = value; } + inline void SetCollaboratorName(Aws::String&& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = std::move(value); } + inline void SetCollaboratorName(const char* value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName.assign(value); } + inline FunctionInvocationInput& WithCollaboratorName(const Aws::String& value) { SetCollaboratorName(value); return *this;} + inline FunctionInvocationInput& WithCollaboratorName(Aws::String&& value) { SetCollaboratorName(std::move(value)); return *this;} + inline FunctionInvocationInput& WithCollaboratorName(const char* value) { SetCollaboratorName(value); return *this;} + ///@} + ///@{ /** *

    The name of the function.

    @@ -105,6 +133,12 @@ namespace Model ActionInvocationType m_actionInvocationType; bool m_actionInvocationTypeHasBeenSet = false; + Aws::String m_agentId; + bool m_agentIdHasBeenSet = false; + + Aws::String m_collaboratorName; + bool m_collaboratorNameHasBeenSet = false; + Aws::String m_function; bool m_functionHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionResult.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionResult.h index 7ed3a2a6245..60e41863d01 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionResult.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionResult.h @@ -60,6 +60,20 @@ namespace Model inline FunctionResult& WithActionGroup(const char* value) { SetActionGroup(value); return *this;} ///@} + ///@{ + /** + *

    The agent's ID.

    + */ + inline const Aws::String& GetAgentId() const{ return m_agentId; } + inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; } + inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; } + inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); } + inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); } + inline FunctionResult& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;} + inline FunctionResult& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;} + inline FunctionResult& WithAgentId(const char* value) { SetAgentId(value); return *this;} + ///@} + ///@{ /** *

    Contains the user confirmation information about the function that was @@ -126,6 +140,9 @@ namespace Model Aws::String m_actionGroup; bool m_actionGroupHasBeenSet = false; + Aws::String m_agentId; + bool m_agentIdHasBeenSet = false; + ConfirmationState m_confirmationState; bool m_confirmationStateHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/GeneratedResponsePart.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/GeneratedResponsePart.h index 8f64c3ec719..2d126eebfc2 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/GeneratedResponsePart.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/GeneratedResponsePart.h @@ -31,7 +31,7 @@ namespace Model * response – in the generatedResponsePart field

  • *

    RetrieveAndGenerate - * response – in the generatedResponsePart field

  • + * response ��� in the generatedResponsePart field

    *

    See Also:

    AWS * API Reference

    diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvocationInput.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvocationInput.h index 0e40230808b..22d9d78570a 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvocationInput.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvocationInput.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -54,6 +55,18 @@ namespace Model inline InvocationInput& WithActionGroupInvocationInput(ActionGroupInvocationInput&& value) { SetActionGroupInvocationInput(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The collaborator's invocation input.

    + */ + inline const AgentCollaboratorInvocationInput& GetAgentCollaboratorInvocationInput() const{ return m_agentCollaboratorInvocationInput; } + inline bool AgentCollaboratorInvocationInputHasBeenSet() const { return m_agentCollaboratorInvocationInputHasBeenSet; } + inline void SetAgentCollaboratorInvocationInput(const AgentCollaboratorInvocationInput& value) { m_agentCollaboratorInvocationInputHasBeenSet = true; m_agentCollaboratorInvocationInput = value; } + inline void SetAgentCollaboratorInvocationInput(AgentCollaboratorInvocationInput&& value) { m_agentCollaboratorInvocationInputHasBeenSet = true; m_agentCollaboratorInvocationInput = std::move(value); } + inline InvocationInput& WithAgentCollaboratorInvocationInput(const AgentCollaboratorInvocationInput& value) { SetAgentCollaboratorInvocationInput(value); return *this;} + inline InvocationInput& WithAgentCollaboratorInvocationInput(AgentCollaboratorInvocationInput&& value) { SetAgentCollaboratorInvocationInput(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Contains information about the code interpreter to be invoked.

    @@ -110,6 +123,9 @@ namespace Model ActionGroupInvocationInput m_actionGroupInvocationInput; bool m_actionGroupInvocationInputHasBeenSet = false; + AgentCollaboratorInvocationInput m_agentCollaboratorInvocationInput; + bool m_agentCollaboratorInvocationInputHasBeenSet = false; + CodeInterpreterInvocationInput m_codeInterpreterInvocationInput; bool m_codeInterpreterInvocationInputHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvocationType.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvocationType.h index 383dcfbeed7..78fccab17f3 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvocationType.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvocationType.h @@ -19,7 +19,8 @@ namespace Model ACTION_GROUP, KNOWLEDGE_BASE, FINISH, - ACTION_GROUP_CODE_INTERPRETER + ACTION_GROUP_CODE_INTERPRETER, + AGENT_COLLABORATOR }; namespace InvocationTypeMapper diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentRequest.h index 807b65beb5a..ec9f045c2e3 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentRequest.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentRequest.h @@ -35,6 +35,8 @@ namespace Model AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override; + AWS_BEDROCKAGENTRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + /** * Underlying Event Stream Decoder. */ @@ -169,6 +171,20 @@ namespace Model inline InvokeAgentRequest& WithSessionState(SessionState&& value) { SetSessionState(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The ARN of the resource making the request.

    + */ + inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } + inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } + inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } + inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } + inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } + inline InvokeAgentRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} + inline InvokeAgentRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} + inline InvokeAgentRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} + ///@} + ///@{ /** *

    Specifies the configurations for streaming.

    @@ -206,6 +222,9 @@ namespace Model SessionState m_sessionState; bool m_sessionStateHasBeenSet = false; + Aws::String m_sourceArn; + bool m_sourceArnHasBeenSet = false; + StreamingConfigurations m_streamingConfigurations; bool m_streamingConfigurationsHasBeenSet = false; InvokeAgentHandler m_handler; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Message.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Message.h new file mode 100644 index 00000000000..8aff49fed83 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Message.h @@ -0,0 +1,78 @@ +/** + * 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 BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

    Details about a message.

    See Also:

    AWS + * API Reference

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

    The message's content.

    + */ + inline const Aws::Vector& GetContent() const{ return m_content; } + inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } + inline void SetContent(const Aws::Vector& value) { m_contentHasBeenSet = true; m_content = value; } + inline void SetContent(Aws::Vector&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } + inline Message& WithContent(const Aws::Vector& value) { SetContent(value); return *this;} + inline Message& WithContent(Aws::Vector&& value) { SetContent(std::move(value)); return *this;} + inline Message& AddContent(const ContentBlock& value) { m_contentHasBeenSet = true; m_content.push_back(value); return *this; } + inline Message& AddContent(ContentBlock&& value) { m_contentHasBeenSet = true; m_content.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The message's role.

    + */ + inline const ConversationRole& GetRole() const{ return m_role; } + inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; } + inline void SetRole(const ConversationRole& value) { m_roleHasBeenSet = true; m_role = value; } + inline void SetRole(ConversationRole&& value) { m_roleHasBeenSet = true; m_role = std::move(value); } + inline Message& WithRole(const ConversationRole& value) { SetRole(value); return *this;} + inline Message& WithRole(ConversationRole&& value) { SetRole(std::move(value)); return *this;} + ///@} + private: + + Aws::Vector m_content; + bool m_contentHasBeenSet = false; + + ConversationRole m_role; + bool m_roleHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ModelInvocationInput.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ModelInvocationInput.h index 6c806ef424c..2f9ad7df8f9 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ModelInvocationInput.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ModelInvocationInput.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include #include @@ -47,6 +47,20 @@ namespace Model AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

    The identifier of a foundation model.

    + */ + inline const Aws::String& GetFoundationModel() const{ return m_foundationModel; } + inline bool FoundationModelHasBeenSet() const { return m_foundationModelHasBeenSet; } + inline void SetFoundationModel(const Aws::String& value) { m_foundationModelHasBeenSet = true; m_foundationModel = value; } + inline void SetFoundationModel(Aws::String&& value) { m_foundationModelHasBeenSet = true; m_foundationModel = std::move(value); } + inline void SetFoundationModel(const char* value) { m_foundationModelHasBeenSet = true; m_foundationModel.assign(value); } + inline ModelInvocationInput& WithFoundationModel(const Aws::String& value) { SetFoundationModel(value); return *this;} + inline ModelInvocationInput& WithFoundationModel(Aws::String&& value) { SetFoundationModel(std::move(value)); return *this;} + inline ModelInvocationInput& WithFoundationModel(const char* value) { SetFoundationModel(value); return *this;} + ///@} + ///@{ /** *

    Specifications about the inference parameters that were provided alongside @@ -150,6 +164,9 @@ namespace Model ///@} private: + Aws::String m_foundationModel; + bool m_foundationModelHasBeenSet = false; + InferenceConfiguration m_inferenceConfiguration; bool m_inferenceConfigurationHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Observation.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Observation.h index 6cec3764d63..38a30c12c42 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Observation.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Observation.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -57,6 +58,18 @@ namespace Model inline Observation& WithActionGroupInvocationOutput(ActionGroupInvocationOutput&& value) { SetActionGroupInvocationOutput(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    A collaborator's invocation output.

    + */ + inline const AgentCollaboratorInvocationOutput& GetAgentCollaboratorInvocationOutput() const{ return m_agentCollaboratorInvocationOutput; } + inline bool AgentCollaboratorInvocationOutputHasBeenSet() const { return m_agentCollaboratorInvocationOutputHasBeenSet; } + inline void SetAgentCollaboratorInvocationOutput(const AgentCollaboratorInvocationOutput& value) { m_agentCollaboratorInvocationOutputHasBeenSet = true; m_agentCollaboratorInvocationOutput = value; } + inline void SetAgentCollaboratorInvocationOutput(AgentCollaboratorInvocationOutput&& value) { m_agentCollaboratorInvocationOutputHasBeenSet = true; m_agentCollaboratorInvocationOutput = std::move(value); } + inline Observation& WithAgentCollaboratorInvocationOutput(const AgentCollaboratorInvocationOutput& value) { SetAgentCollaboratorInvocationOutput(value); return *this;} + inline Observation& WithAgentCollaboratorInvocationOutput(AgentCollaboratorInvocationOutput&& value) { SetAgentCollaboratorInvocationOutput(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Contains the JSON-formatted string returned by the API invoked by the code @@ -143,6 +156,9 @@ namespace Model ActionGroupInvocationOutput m_actionGroupInvocationOutput; bool m_actionGroupInvocationOutputHasBeenSet = false; + AgentCollaboratorInvocationOutput m_agentCollaboratorInvocationOutput; + bool m_agentCollaboratorInvocationOutputHasBeenSet = false; + CodeInterpreterInvocationOutput m_codeInterpreterInvocationOutput; bool m_codeInterpreterInvocationOutputHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/PayloadType.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/PayloadType.h new file mode 100644 index 00000000000..65a8483ac89 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/PayloadType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + enum class PayloadType + { + NOT_SET, + TEXT, + RETURN_CONTROL + }; + +namespace PayloadTypeMapper +{ +AWS_BEDROCKAGENTRUNTIME_API PayloadType GetPayloadTypeForName(const Aws::String& name); + +AWS_BEDROCKAGENTRUNTIME_API Aws::String GetNameForPayloadType(PayloadType value); +} // namespace PayloadTypeMapper +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ReturnControlResults.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ReturnControlResults.h new file mode 100644 index 00000000000..da98e8d6f7f --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ReturnControlResults.h @@ -0,0 +1,80 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

    An action invocation result.

    See Also:

    AWS + * API Reference

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

    The action's invocation ID.

    + */ + inline const Aws::String& GetInvocationId() const{ return m_invocationId; } + inline bool InvocationIdHasBeenSet() const { return m_invocationIdHasBeenSet; } + inline void SetInvocationId(const Aws::String& value) { m_invocationIdHasBeenSet = true; m_invocationId = value; } + inline void SetInvocationId(Aws::String&& value) { m_invocationIdHasBeenSet = true; m_invocationId = std::move(value); } + inline void SetInvocationId(const char* value) { m_invocationIdHasBeenSet = true; m_invocationId.assign(value); } + inline ReturnControlResults& WithInvocationId(const Aws::String& value) { SetInvocationId(value); return *this;} + inline ReturnControlResults& WithInvocationId(Aws::String&& value) { SetInvocationId(std::move(value)); return *this;} + inline ReturnControlResults& WithInvocationId(const char* value) { SetInvocationId(value); return *this;} + ///@} + + ///@{ + /** + *

    The action invocation result.

    + */ + inline const Aws::Vector& GetReturnControlInvocationResults() const{ return m_returnControlInvocationResults; } + inline bool ReturnControlInvocationResultsHasBeenSet() const { return m_returnControlInvocationResultsHasBeenSet; } + inline void SetReturnControlInvocationResults(const Aws::Vector& value) { m_returnControlInvocationResultsHasBeenSet = true; m_returnControlInvocationResults = value; } + inline void SetReturnControlInvocationResults(Aws::Vector&& value) { m_returnControlInvocationResultsHasBeenSet = true; m_returnControlInvocationResults = std::move(value); } + inline ReturnControlResults& WithReturnControlInvocationResults(const Aws::Vector& value) { SetReturnControlInvocationResults(value); return *this;} + inline ReturnControlResults& WithReturnControlInvocationResults(Aws::Vector&& value) { SetReturnControlInvocationResults(std::move(value)); return *this;} + inline ReturnControlResults& AddReturnControlInvocationResults(const InvocationResultMember& value) { m_returnControlInvocationResultsHasBeenSet = true; m_returnControlInvocationResults.push_back(value); return *this; } + inline ReturnControlResults& AddReturnControlInvocationResults(InvocationResultMember&& value) { m_returnControlInvocationResultsHasBeenSet = true; m_returnControlInvocationResults.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_invocationId; + bool m_invocationIdHasBeenSet = false; + + Aws::Vector m_returnControlInvocationResults; + bool m_returnControlInvocationResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RoutingClassifierModelInvocationOutput.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RoutingClassifierModelInvocationOutput.h new file mode 100644 index 00000000000..b95e1e7005c --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RoutingClassifierModelInvocationOutput.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

    Invocation output from a routing classifier model.

    See Also:

    + * AWS + * API Reference

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

    The invocation's metadata.

    + */ + inline const Metadata& GetMetadata() const{ return m_metadata; } + inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } + inline void SetMetadata(const Metadata& value) { m_metadataHasBeenSet = true; m_metadata = value; } + inline void SetMetadata(Metadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); } + inline RoutingClassifierModelInvocationOutput& WithMetadata(const Metadata& value) { SetMetadata(value); return *this;} + inline RoutingClassifierModelInvocationOutput& WithMetadata(Metadata&& value) { SetMetadata(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The invocation's raw response.

    + */ + inline const RawResponse& GetRawResponse() const{ return m_rawResponse; } + inline bool RawResponseHasBeenSet() const { return m_rawResponseHasBeenSet; } + inline void SetRawResponse(const RawResponse& value) { m_rawResponseHasBeenSet = true; m_rawResponse = value; } + inline void SetRawResponse(RawResponse&& value) { m_rawResponseHasBeenSet = true; m_rawResponse = std::move(value); } + inline RoutingClassifierModelInvocationOutput& WithRawResponse(const RawResponse& value) { SetRawResponse(value); return *this;} + inline RoutingClassifierModelInvocationOutput& WithRawResponse(RawResponse&& value) { SetRawResponse(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The invocation's trace ID.

    + */ + inline const Aws::String& GetTraceId() const{ return m_traceId; } + inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; } + inline void SetTraceId(const Aws::String& value) { m_traceIdHasBeenSet = true; m_traceId = value; } + inline void SetTraceId(Aws::String&& value) { m_traceIdHasBeenSet = true; m_traceId = std::move(value); } + inline void SetTraceId(const char* value) { m_traceIdHasBeenSet = true; m_traceId.assign(value); } + inline RoutingClassifierModelInvocationOutput& WithTraceId(const Aws::String& value) { SetTraceId(value); return *this;} + inline RoutingClassifierModelInvocationOutput& WithTraceId(Aws::String&& value) { SetTraceId(std::move(value)); return *this;} + inline RoutingClassifierModelInvocationOutput& WithTraceId(const char* value) { SetTraceId(value); return *this;} + ///@} + private: + + Metadata m_metadata; + bool m_metadataHasBeenSet = false; + + RawResponse m_rawResponse; + bool m_rawResponseHasBeenSet = false; + + Aws::String m_traceId; + bool m_traceIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RoutingClassifierTrace.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RoutingClassifierTrace.h new file mode 100644 index 00000000000..dfec8413e9f --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/RoutingClassifierTrace.h @@ -0,0 +1,107 @@ +/** + * 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 BedrockAgentRuntime +{ +namespace Model +{ + + /** + *

    A trace for a routing classifier.

    See Also:

    AWS + * API Reference

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

    The classifier's invocation input.

    + */ + inline const InvocationInput& GetInvocationInput() const{ return m_invocationInput; } + inline bool InvocationInputHasBeenSet() const { return m_invocationInputHasBeenSet; } + inline void SetInvocationInput(const InvocationInput& value) { m_invocationInputHasBeenSet = true; m_invocationInput = value; } + inline void SetInvocationInput(InvocationInput&& value) { m_invocationInputHasBeenSet = true; m_invocationInput = std::move(value); } + inline RoutingClassifierTrace& WithInvocationInput(const InvocationInput& value) { SetInvocationInput(value); return *this;} + inline RoutingClassifierTrace& WithInvocationInput(InvocationInput&& value) { SetInvocationInput(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The classifier's model invocation input.

    + */ + inline const ModelInvocationInput& GetModelInvocationInput() const{ return m_modelInvocationInput; } + inline bool ModelInvocationInputHasBeenSet() const { return m_modelInvocationInputHasBeenSet; } + inline void SetModelInvocationInput(const ModelInvocationInput& value) { m_modelInvocationInputHasBeenSet = true; m_modelInvocationInput = value; } + inline void SetModelInvocationInput(ModelInvocationInput&& value) { m_modelInvocationInputHasBeenSet = true; m_modelInvocationInput = std::move(value); } + inline RoutingClassifierTrace& WithModelInvocationInput(const ModelInvocationInput& value) { SetModelInvocationInput(value); return *this;} + inline RoutingClassifierTrace& WithModelInvocationInput(ModelInvocationInput&& value) { SetModelInvocationInput(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The classifier's model invocation output.

    + */ + inline const RoutingClassifierModelInvocationOutput& GetModelInvocationOutput() const{ return m_modelInvocationOutput; } + inline bool ModelInvocationOutputHasBeenSet() const { return m_modelInvocationOutputHasBeenSet; } + inline void SetModelInvocationOutput(const RoutingClassifierModelInvocationOutput& value) { m_modelInvocationOutputHasBeenSet = true; m_modelInvocationOutput = value; } + inline void SetModelInvocationOutput(RoutingClassifierModelInvocationOutput&& value) { m_modelInvocationOutputHasBeenSet = true; m_modelInvocationOutput = std::move(value); } + inline RoutingClassifierTrace& WithModelInvocationOutput(const RoutingClassifierModelInvocationOutput& value) { SetModelInvocationOutput(value); return *this;} + inline RoutingClassifierTrace& WithModelInvocationOutput(RoutingClassifierModelInvocationOutput&& value) { SetModelInvocationOutput(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The classifier's observation.

    + */ + inline const Observation& GetObservation() const{ return m_observation; } + inline bool ObservationHasBeenSet() const { return m_observationHasBeenSet; } + inline void SetObservation(const Observation& value) { m_observationHasBeenSet = true; m_observation = value; } + inline void SetObservation(Observation&& value) { m_observationHasBeenSet = true; m_observation = std::move(value); } + inline RoutingClassifierTrace& WithObservation(const Observation& value) { SetObservation(value); return *this;} + inline RoutingClassifierTrace& WithObservation(Observation&& value) { SetObservation(std::move(value)); return *this;} + ///@} + private: + + InvocationInput m_invocationInput; + bool m_invocationInputHasBeenSet = false; + + ModelInvocationInput m_modelInvocationInput; + bool m_modelInvocationInputHasBeenSet = false; + + RoutingClassifierModelInvocationOutput m_modelInvocationOutput; + bool m_modelInvocationOutputHasBeenSet = false; + + Observation m_observation; + bool m_observationHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/SessionState.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/SessionState.h index 3ed929b518f..4acd6d061bb 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/SessionState.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/SessionState.h @@ -5,6 +5,7 @@ #pragma once #include +#include #include #include #include @@ -52,6 +53,18 @@ namespace Model AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

    The state's conversation history.

    + */ + inline const ConversationHistory& GetConversationHistory() const{ return m_conversationHistory; } + inline bool ConversationHistoryHasBeenSet() const { return m_conversationHistoryHasBeenSet; } + inline void SetConversationHistory(const ConversationHistory& value) { m_conversationHistoryHasBeenSet = true; m_conversationHistory = value; } + inline void SetConversationHistory(ConversationHistory&& value) { m_conversationHistoryHasBeenSet = true; m_conversationHistory = std::move(value); } + inline SessionState& WithConversationHistory(const ConversationHistory& value) { SetConversationHistory(value); return *this;} + inline SessionState& WithConversationHistory(ConversationHistory&& value) { SetConversationHistory(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Contains information about the files used by code interpreter.

    @@ -166,6 +179,9 @@ namespace Model ///@} private: + ConversationHistory m_conversationHistory; + bool m_conversationHistoryHasBeenSet = false; + Aws::Vector m_files; bool m_filesHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Trace.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Trace.h index 937faf2265f..97773f1ebd8 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Trace.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Trace.h @@ -11,6 +11,7 @@ #include #include #include +#include #include namespace Aws @@ -122,6 +123,18 @@ namespace Model inline Trace& WithPreProcessingTrace(const PreProcessingTrace& value) { SetPreProcessingTrace(value); return *this;} inline Trace& WithPreProcessingTrace(PreProcessingTrace&& value) { SetPreProcessingTrace(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    A routing classifier's trace.

    + */ + inline const RoutingClassifierTrace& GetRoutingClassifierTrace() const{ return m_routingClassifierTrace; } + inline bool RoutingClassifierTraceHasBeenSet() const { return m_routingClassifierTraceHasBeenSet; } + inline void SetRoutingClassifierTrace(const RoutingClassifierTrace& value) { m_routingClassifierTraceHasBeenSet = true; m_routingClassifierTrace = value; } + inline void SetRoutingClassifierTrace(RoutingClassifierTrace&& value) { m_routingClassifierTraceHasBeenSet = true; m_routingClassifierTrace = std::move(value); } + inline Trace& WithRoutingClassifierTrace(const RoutingClassifierTrace& value) { SetRoutingClassifierTrace(value); return *this;} + inline Trace& WithRoutingClassifierTrace(RoutingClassifierTrace&& value) { SetRoutingClassifierTrace(std::move(value)); return *this;} + ///@} private: CustomOrchestrationTrace m_customOrchestrationTrace; @@ -141,6 +154,9 @@ namespace Model PreProcessingTrace m_preProcessingTrace; bool m_preProcessingTraceHasBeenSet = false; + + RoutingClassifierTrace m_routingClassifierTrace; + bool m_routingClassifierTraceHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/TracePart.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/TracePart.h index 6ab380473b6..32b472d9dd1 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/TracePart.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/TracePart.h @@ -6,7 +6,9 @@ #pragma once #include #include +#include #include +#include #include namespace Aws @@ -86,6 +88,34 @@ namespace Model inline TracePart& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;} ///@} + ///@{ + /** + *

    The part's caller chain.

    + */ + inline const Aws::Vector& GetCallerChain() const{ return m_callerChain; } + inline bool CallerChainHasBeenSet() const { return m_callerChainHasBeenSet; } + inline void SetCallerChain(const Aws::Vector& value) { m_callerChainHasBeenSet = true; m_callerChain = value; } + inline void SetCallerChain(Aws::Vector&& value) { m_callerChainHasBeenSet = true; m_callerChain = std::move(value); } + inline TracePart& WithCallerChain(const Aws::Vector& value) { SetCallerChain(value); return *this;} + inline TracePart& WithCallerChain(Aws::Vector&& value) { SetCallerChain(std::move(value)); return *this;} + inline TracePart& AddCallerChain(const Caller& value) { m_callerChainHasBeenSet = true; m_callerChain.push_back(value); return *this; } + inline TracePart& AddCallerChain(Caller&& value) { m_callerChainHasBeenSet = true; m_callerChain.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The part's collaborator name.

    + */ + inline const Aws::String& GetCollaboratorName() const{ return m_collaboratorName; } + inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; } + inline void SetCollaboratorName(const Aws::String& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = value; } + inline void SetCollaboratorName(Aws::String&& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = std::move(value); } + inline void SetCollaboratorName(const char* value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName.assign(value); } + inline TracePart& WithCollaboratorName(const Aws::String& value) { SetCollaboratorName(value); return *this;} + inline TracePart& WithCollaboratorName(Aws::String&& value) { SetCollaboratorName(std::move(value)); return *this;} + inline TracePart& WithCollaboratorName(const char* value) { SetCollaboratorName(value); return *this;} + ///@} + ///@{ /** *

    The unique identifier of the session with the agent.

    @@ -127,6 +157,12 @@ namespace Model Aws::String m_agentVersion; bool m_agentVersionHasBeenSet = false; + Aws::Vector m_callerChain; + bool m_callerChainHasBeenSet = false; + + Aws::String m_collaboratorName; + bool m_collaboratorNameHasBeenSet = false; + Aws::String m_sessionId; bool m_sessionIdHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Type.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Type.h index e99c086f667..e8dc1ee22ac 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Type.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/Type.h @@ -17,6 +17,7 @@ namespace Model { NOT_SET, ACTION_GROUP, + AGENT_COLLABORATOR, KNOWLEDGE_BASE, FINISH, ASK_USER, diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorInputPayload.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorInputPayload.cpp new file mode 100644 index 00000000000..576fe937765 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorInputPayload.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +AgentCollaboratorInputPayload::AgentCollaboratorInputPayload() : + m_returnControlResultsHasBeenSet(false), + m_textHasBeenSet(false), + m_type(PayloadType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +AgentCollaboratorInputPayload::AgentCollaboratorInputPayload(JsonView jsonValue) + : AgentCollaboratorInputPayload() +{ + *this = jsonValue; +} + +AgentCollaboratorInputPayload& AgentCollaboratorInputPayload::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("returnControlResults")) + { + m_returnControlResults = jsonValue.GetObject("returnControlResults"); + + m_returnControlResultsHasBeenSet = true; + } + + if(jsonValue.ValueExists("text")) + { + m_text = jsonValue.GetString("text"); + + m_textHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = PayloadTypeMapper::GetPayloadTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue AgentCollaboratorInputPayload::Jsonize() const +{ + JsonValue payload; + + if(m_returnControlResultsHasBeenSet) + { + payload.WithObject("returnControlResults", m_returnControlResults.Jsonize()); + + } + + if(m_textHasBeenSet) + { + payload.WithString("text", m_text); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", PayloadTypeMapper::GetNameForPayloadType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorInvocationInput.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorInvocationInput.cpp new file mode 100644 index 00000000000..89b6e667f55 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorInvocationInput.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +AgentCollaboratorInvocationInput::AgentCollaboratorInvocationInput() : + m_agentCollaboratorAliasArnHasBeenSet(false), + m_agentCollaboratorNameHasBeenSet(false), + m_inputHasBeenSet(false) +{ +} + +AgentCollaboratorInvocationInput::AgentCollaboratorInvocationInput(JsonView jsonValue) + : AgentCollaboratorInvocationInput() +{ + *this = jsonValue; +} + +AgentCollaboratorInvocationInput& AgentCollaboratorInvocationInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("agentCollaboratorAliasArn")) + { + m_agentCollaboratorAliasArn = jsonValue.GetString("agentCollaboratorAliasArn"); + + m_agentCollaboratorAliasArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("agentCollaboratorName")) + { + m_agentCollaboratorName = jsonValue.GetString("agentCollaboratorName"); + + m_agentCollaboratorNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("input")) + { + m_input = jsonValue.GetObject("input"); + + m_inputHasBeenSet = true; + } + + return *this; +} + +JsonValue AgentCollaboratorInvocationInput::Jsonize() const +{ + JsonValue payload; + + if(m_agentCollaboratorAliasArnHasBeenSet) + { + payload.WithString("agentCollaboratorAliasArn", m_agentCollaboratorAliasArn); + + } + + if(m_agentCollaboratorNameHasBeenSet) + { + payload.WithString("agentCollaboratorName", m_agentCollaboratorName); + + } + + if(m_inputHasBeenSet) + { + payload.WithObject("input", m_input.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorInvocationOutput.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorInvocationOutput.cpp new file mode 100644 index 00000000000..fa84cdf2e62 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorInvocationOutput.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +AgentCollaboratorInvocationOutput::AgentCollaboratorInvocationOutput() : + m_agentCollaboratorAliasArnHasBeenSet(false), + m_agentCollaboratorNameHasBeenSet(false), + m_outputHasBeenSet(false) +{ +} + +AgentCollaboratorInvocationOutput::AgentCollaboratorInvocationOutput(JsonView jsonValue) + : AgentCollaboratorInvocationOutput() +{ + *this = jsonValue; +} + +AgentCollaboratorInvocationOutput& AgentCollaboratorInvocationOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("agentCollaboratorAliasArn")) + { + m_agentCollaboratorAliasArn = jsonValue.GetString("agentCollaboratorAliasArn"); + + m_agentCollaboratorAliasArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("agentCollaboratorName")) + { + m_agentCollaboratorName = jsonValue.GetString("agentCollaboratorName"); + + m_agentCollaboratorNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("output")) + { + m_output = jsonValue.GetObject("output"); + + m_outputHasBeenSet = true; + } + + return *this; +} + +JsonValue AgentCollaboratorInvocationOutput::Jsonize() const +{ + JsonValue payload; + + if(m_agentCollaboratorAliasArnHasBeenSet) + { + payload.WithString("agentCollaboratorAliasArn", m_agentCollaboratorAliasArn); + + } + + if(m_agentCollaboratorNameHasBeenSet) + { + payload.WithString("agentCollaboratorName", m_agentCollaboratorName); + + } + + if(m_outputHasBeenSet) + { + payload.WithObject("output", m_output.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorOutputPayload.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorOutputPayload.cpp new file mode 100644 index 00000000000..55111d2f6fc --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AgentCollaboratorOutputPayload.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +AgentCollaboratorOutputPayload::AgentCollaboratorOutputPayload() : + m_returnControlPayloadHasBeenSet(false), + m_textHasBeenSet(false), + m_type(PayloadType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +AgentCollaboratorOutputPayload::AgentCollaboratorOutputPayload(JsonView jsonValue) + : AgentCollaboratorOutputPayload() +{ + *this = jsonValue; +} + +AgentCollaboratorOutputPayload& AgentCollaboratorOutputPayload::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("returnControlPayload")) + { + m_returnControlPayload = jsonValue.GetObject("returnControlPayload"); + + m_returnControlPayloadHasBeenSet = true; + } + + if(jsonValue.ValueExists("text")) + { + m_text = jsonValue.GetString("text"); + + m_textHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = PayloadTypeMapper::GetPayloadTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue AgentCollaboratorOutputPayload::Jsonize() const +{ + JsonValue payload; + + if(m_returnControlPayloadHasBeenSet) + { + payload.WithObject("returnControlPayload", m_returnControlPayload.Jsonize()); + + } + + if(m_textHasBeenSet) + { + payload.WithString("text", m_text); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", PayloadTypeMapper::GetNameForPayloadType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ApiInvocationInput.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ApiInvocationInput.cpp index 148507d06ed..b4d4bde1390 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ApiInvocationInput.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ApiInvocationInput.cpp @@ -22,7 +22,9 @@ ApiInvocationInput::ApiInvocationInput() : m_actionGroupHasBeenSet(false), m_actionInvocationType(ActionInvocationType::NOT_SET), m_actionInvocationTypeHasBeenSet(false), + m_agentIdHasBeenSet(false), m_apiPathHasBeenSet(false), + m_collaboratorNameHasBeenSet(false), m_httpMethodHasBeenSet(false), m_parametersHasBeenSet(false), m_requestBodyHasBeenSet(false) @@ -51,6 +53,13 @@ ApiInvocationInput& ApiInvocationInput::operator =(JsonView jsonValue) m_actionInvocationTypeHasBeenSet = true; } + if(jsonValue.ValueExists("agentId")) + { + m_agentId = jsonValue.GetString("agentId"); + + m_agentIdHasBeenSet = true; + } + if(jsonValue.ValueExists("apiPath")) { m_apiPath = jsonValue.GetString("apiPath"); @@ -58,6 +67,13 @@ ApiInvocationInput& ApiInvocationInput::operator =(JsonView jsonValue) m_apiPathHasBeenSet = true; } + if(jsonValue.ValueExists("collaboratorName")) + { + m_collaboratorName = jsonValue.GetString("collaboratorName"); + + m_collaboratorNameHasBeenSet = true; + } + if(jsonValue.ValueExists("httpMethod")) { m_httpMethod = jsonValue.GetString("httpMethod"); @@ -100,12 +116,24 @@ JsonValue ApiInvocationInput::Jsonize() const payload.WithString("actionInvocationType", ActionInvocationTypeMapper::GetNameForActionInvocationType(m_actionInvocationType)); } + if(m_agentIdHasBeenSet) + { + payload.WithString("agentId", m_agentId); + + } + if(m_apiPathHasBeenSet) { payload.WithString("apiPath", m_apiPath); } + if(m_collaboratorNameHasBeenSet) + { + payload.WithString("collaboratorName", m_collaboratorName); + + } + if(m_httpMethodHasBeenSet) { payload.WithString("httpMethod", m_httpMethod); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ApiResult.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ApiResult.cpp index 11352efa773..90fc4002f96 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ApiResult.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ApiResult.cpp @@ -20,6 +20,7 @@ namespace Model ApiResult::ApiResult() : m_actionGroupHasBeenSet(false), + m_agentIdHasBeenSet(false), m_apiPathHasBeenSet(false), m_confirmationState(ConfirmationState::NOT_SET), m_confirmationStateHasBeenSet(false), @@ -47,6 +48,13 @@ ApiResult& ApiResult::operator =(JsonView jsonValue) m_actionGroupHasBeenSet = true; } + if(jsonValue.ValueExists("agentId")) + { + m_agentId = jsonValue.GetString("agentId"); + + m_agentIdHasBeenSet = true; + } + if(jsonValue.ValueExists("apiPath")) { m_apiPath = jsonValue.GetString("apiPath"); @@ -105,6 +113,12 @@ JsonValue ApiResult::Jsonize() const } + if(m_agentIdHasBeenSet) + { + payload.WithString("agentId", m_agentId); + + } + if(m_apiPathHasBeenSet) { payload.WithString("apiPath", m_apiPath); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Caller.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Caller.cpp new file mode 100644 index 00000000000..8a969fd0743 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Caller.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +Caller::Caller() : + m_agentAliasArnHasBeenSet(false) +{ +} + +Caller::Caller(JsonView jsonValue) + : Caller() +{ + *this = jsonValue; +} + +Caller& Caller::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("agentAliasArn")) + { + m_agentAliasArn = jsonValue.GetString("agentAliasArn"); + + m_agentAliasArnHasBeenSet = true; + } + + return *this; +} + +JsonValue Caller::Jsonize() const +{ + JsonValue payload; + + if(m_agentAliasArnHasBeenSet) + { + payload.WithString("agentAliasArn", m_agentAliasArn); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ContentBlock.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ContentBlock.cpp new file mode 100644 index 00000000000..b51d9ca84f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ContentBlock.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +ContentBlock::ContentBlock() : + m_textHasBeenSet(false) +{ +} + +ContentBlock::ContentBlock(JsonView jsonValue) + : ContentBlock() +{ + *this = jsonValue; +} + +ContentBlock& ContentBlock::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("text")) + { + m_text = jsonValue.GetString("text"); + + m_textHasBeenSet = true; + } + + return *this; +} + +JsonValue ContentBlock::Jsonize() const +{ + JsonValue payload; + + if(m_textHasBeenSet) + { + payload.WithString("text", m_text); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ConversationHistory.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ConversationHistory.cpp new file mode 100644 index 00000000000..d5b6f431e7f --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ConversationHistory.cpp @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +ConversationHistory::ConversationHistory() : + m_messagesHasBeenSet(false) +{ +} + +ConversationHistory::ConversationHistory(JsonView jsonValue) + : ConversationHistory() +{ + *this = jsonValue; +} + +ConversationHistory& ConversationHistory::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("messages")) + { + Aws::Utils::Array messagesJsonList = jsonValue.GetArray("messages"); + for(unsigned messagesIndex = 0; messagesIndex < messagesJsonList.GetLength(); ++messagesIndex) + { + m_messages.push_back(messagesJsonList[messagesIndex].AsObject()); + } + m_messagesHasBeenSet = true; + } + + return *this; +} + +JsonValue ConversationHistory::Jsonize() const +{ + JsonValue payload; + + if(m_messagesHasBeenSet) + { + Aws::Utils::Array messagesJsonList(m_messages.size()); + for(unsigned messagesIndex = 0; messagesIndex < messagesJsonList.GetLength(); ++messagesIndex) + { + messagesJsonList[messagesIndex].AsObject(m_messages[messagesIndex].Jsonize()); + } + payload.WithArray("messages", std::move(messagesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ConversationRole.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ConversationRole.cpp new file mode 100644 index 00000000000..152346dbe0b --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ConversationRole.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BedrockAgentRuntime + { + namespace Model + { + namespace ConversationRoleMapper + { + + static const int user_HASH = HashingUtils::HashString("user"); + static const int assistant_HASH = HashingUtils::HashString("assistant"); + + + ConversationRole GetConversationRoleForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == user_HASH) + { + return ConversationRole::user; + } + else if (hashCode == assistant_HASH) + { + return ConversationRole::assistant; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ConversationRole::NOT_SET; + } + + Aws::String GetNameForConversationRole(ConversationRole enumValue) + { + switch(enumValue) + { + case ConversationRole::NOT_SET: + return {}; + case ConversationRole::user: + return "user"; + case ConversationRole::assistant: + return "assistant"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ConversationRoleMapper + } // namespace Model + } // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/FunctionInvocationInput.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/FunctionInvocationInput.cpp index b7cc5e9cd3f..9de939ebfcc 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/FunctionInvocationInput.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/FunctionInvocationInput.cpp @@ -22,6 +22,8 @@ FunctionInvocationInput::FunctionInvocationInput() : m_actionGroupHasBeenSet(false), m_actionInvocationType(ActionInvocationType::NOT_SET), m_actionInvocationTypeHasBeenSet(false), + m_agentIdHasBeenSet(false), + m_collaboratorNameHasBeenSet(false), m_functionHasBeenSet(false), m_parametersHasBeenSet(false) { @@ -49,6 +51,20 @@ FunctionInvocationInput& FunctionInvocationInput::operator =(JsonView jsonValue) m_actionInvocationTypeHasBeenSet = true; } + if(jsonValue.ValueExists("agentId")) + { + m_agentId = jsonValue.GetString("agentId"); + + m_agentIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("collaboratorName")) + { + m_collaboratorName = jsonValue.GetString("collaboratorName"); + + m_collaboratorNameHasBeenSet = true; + } + if(jsonValue.ValueExists("function")) { m_function = jsonValue.GetString("function"); @@ -84,6 +100,18 @@ JsonValue FunctionInvocationInput::Jsonize() const payload.WithString("actionInvocationType", ActionInvocationTypeMapper::GetNameForActionInvocationType(m_actionInvocationType)); } + if(m_agentIdHasBeenSet) + { + payload.WithString("agentId", m_agentId); + + } + + if(m_collaboratorNameHasBeenSet) + { + payload.WithString("collaboratorName", m_collaboratorName); + + } + if(m_functionHasBeenSet) { payload.WithString("function", m_function); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/FunctionResult.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/FunctionResult.cpp index 2e69cd41722..891edd03dc4 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/FunctionResult.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/FunctionResult.cpp @@ -20,6 +20,7 @@ namespace Model FunctionResult::FunctionResult() : m_actionGroupHasBeenSet(false), + m_agentIdHasBeenSet(false), m_confirmationState(ConfirmationState::NOT_SET), m_confirmationStateHasBeenSet(false), m_functionHasBeenSet(false), @@ -44,6 +45,13 @@ FunctionResult& FunctionResult::operator =(JsonView jsonValue) m_actionGroupHasBeenSet = true; } + if(jsonValue.ValueExists("agentId")) + { + m_agentId = jsonValue.GetString("agentId"); + + m_agentIdHasBeenSet = true; + } + if(jsonValue.ValueExists("confirmationState")) { m_confirmationState = ConfirmationStateMapper::GetConfirmationStateForName(jsonValue.GetString("confirmationState")); @@ -88,6 +96,12 @@ JsonValue FunctionResult::Jsonize() const } + if(m_agentIdHasBeenSet) + { + payload.WithString("agentId", m_agentId); + + } + if(m_confirmationStateHasBeenSet) { payload.WithString("confirmationState", ConfirmationStateMapper::GetNameForConfirmationState(m_confirmationState)); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvocationInput.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvocationInput.cpp index 328e0d1a78b..1310456b1ca 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvocationInput.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvocationInput.cpp @@ -20,6 +20,7 @@ namespace Model InvocationInput::InvocationInput() : m_actionGroupInvocationInputHasBeenSet(false), + m_agentCollaboratorInvocationInputHasBeenSet(false), m_codeInterpreterInvocationInputHasBeenSet(false), m_invocationType(InvocationType::NOT_SET), m_invocationTypeHasBeenSet(false), @@ -43,6 +44,13 @@ InvocationInput& InvocationInput::operator =(JsonView jsonValue) m_actionGroupInvocationInputHasBeenSet = true; } + if(jsonValue.ValueExists("agentCollaboratorInvocationInput")) + { + m_agentCollaboratorInvocationInput = jsonValue.GetObject("agentCollaboratorInvocationInput"); + + m_agentCollaboratorInvocationInputHasBeenSet = true; + } + if(jsonValue.ValueExists("codeInterpreterInvocationInput")) { m_codeInterpreterInvocationInput = jsonValue.GetObject("codeInterpreterInvocationInput"); @@ -84,6 +92,12 @@ JsonValue InvocationInput::Jsonize() const } + if(m_agentCollaboratorInvocationInputHasBeenSet) + { + payload.WithObject("agentCollaboratorInvocationInput", m_agentCollaboratorInvocationInput.Jsonize()); + + } + if(m_codeInterpreterInvocationInputHasBeenSet) { payload.WithObject("codeInterpreterInvocationInput", m_codeInterpreterInvocationInput.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvocationType.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvocationType.cpp index ef3d8380013..357835dca85 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvocationType.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvocationType.cpp @@ -24,6 +24,7 @@ namespace Aws static const int KNOWLEDGE_BASE_HASH = HashingUtils::HashString("KNOWLEDGE_BASE"); static const int FINISH_HASH = HashingUtils::HashString("FINISH"); static const int ACTION_GROUP_CODE_INTERPRETER_HASH = HashingUtils::HashString("ACTION_GROUP_CODE_INTERPRETER"); + static const int AGENT_COLLABORATOR_HASH = HashingUtils::HashString("AGENT_COLLABORATOR"); InvocationType GetInvocationTypeForName(const Aws::String& name) @@ -45,6 +46,10 @@ namespace Aws { return InvocationType::ACTION_GROUP_CODE_INTERPRETER; } + else if (hashCode == AGENT_COLLABORATOR_HASH) + { + return InvocationType::AGENT_COLLABORATOR; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -69,6 +74,8 @@ namespace Aws return "FINISH"; case InvocationType::ACTION_GROUP_CODE_INTERPRETER: return "ACTION_GROUP_CODE_INTERPRETER"; + case InvocationType::AGENT_COLLABORATOR: + return "AGENT_COLLABORATOR"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeAgentRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeAgentRequest.cpp index bb01a97fa37..535e090b2e2 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeAgentRequest.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeAgentRequest.cpp @@ -5,6 +5,7 @@ #include #include +#include #include @@ -23,6 +24,7 @@ InvokeAgentRequest::InvokeAgentRequest() : m_memoryIdHasBeenSet(false), m_sessionIdHasBeenSet(false), m_sessionStateHasBeenSet(false), + m_sourceArnHasBeenSet(false), m_streamingConfigurationsHasBeenSet(false), m_handler(), m_decoder(Aws::Utils::Event::EventStreamDecoder(&m_handler)) { @@ -71,6 +73,21 @@ Aws::String InvokeAgentRequest::SerializePayload() const return payload.View().WriteReadable(); } +Aws::Http::HeaderValueCollection InvokeAgentRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_sourceArnHasBeenSet) + { + ss << m_sourceArn; + headers.emplace("x-amz-source-arn", ss.str()); + ss.str(""); + } + + return headers; + +} + diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Message.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Message.cpp new file mode 100644 index 00000000000..36a84a38d7b --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Message.cpp @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +Message::Message() : + m_contentHasBeenSet(false), + m_role(ConversationRole::NOT_SET), + m_roleHasBeenSet(false) +{ +} + +Message::Message(JsonView jsonValue) + : Message() +{ + *this = jsonValue; +} + +Message& Message::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("content")) + { + Aws::Utils::Array contentJsonList = jsonValue.GetArray("content"); + for(unsigned contentIndex = 0; contentIndex < contentJsonList.GetLength(); ++contentIndex) + { + m_content.push_back(contentJsonList[contentIndex].AsObject()); + } + m_contentHasBeenSet = true; + } + + if(jsonValue.ValueExists("role")) + { + m_role = ConversationRoleMapper::GetConversationRoleForName(jsonValue.GetString("role")); + + m_roleHasBeenSet = true; + } + + return *this; +} + +JsonValue Message::Jsonize() const +{ + JsonValue payload; + + if(m_contentHasBeenSet) + { + Aws::Utils::Array contentJsonList(m_content.size()); + for(unsigned contentIndex = 0; contentIndex < contentJsonList.GetLength(); ++contentIndex) + { + contentJsonList[contentIndex].AsObject(m_content[contentIndex].Jsonize()); + } + payload.WithArray("content", std::move(contentJsonList)); + + } + + if(m_roleHasBeenSet) + { + payload.WithString("role", ConversationRoleMapper::GetNameForConversationRole(m_role)); + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ModelInvocationInput.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ModelInvocationInput.cpp index 0e8267e0f55..cb915df2ae3 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ModelInvocationInput.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ModelInvocationInput.cpp @@ -19,6 +19,7 @@ namespace Model { ModelInvocationInput::ModelInvocationInput() : + m_foundationModelHasBeenSet(false), m_inferenceConfigurationHasBeenSet(false), m_overrideLambdaHasBeenSet(false), m_parserMode(CreationMode::NOT_SET), @@ -40,6 +41,13 @@ ModelInvocationInput::ModelInvocationInput(JsonView jsonValue) ModelInvocationInput& ModelInvocationInput::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("foundationModel")) + { + m_foundationModel = jsonValue.GetString("foundationModel"); + + m_foundationModelHasBeenSet = true; + } + if(jsonValue.ValueExists("inferenceConfiguration")) { m_inferenceConfiguration = jsonValue.GetObject("inferenceConfiguration"); @@ -96,6 +104,12 @@ JsonValue ModelInvocationInput::Jsonize() const { JsonValue payload; + if(m_foundationModelHasBeenSet) + { + payload.WithString("foundationModel", m_foundationModel); + + } + if(m_inferenceConfigurationHasBeenSet) { payload.WithObject("inferenceConfiguration", m_inferenceConfiguration.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Observation.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Observation.cpp index 5daf3c9e65d..aca9989973e 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Observation.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Observation.cpp @@ -20,6 +20,7 @@ namespace Model Observation::Observation() : m_actionGroupInvocationOutputHasBeenSet(false), + m_agentCollaboratorInvocationOutputHasBeenSet(false), m_codeInterpreterInvocationOutputHasBeenSet(false), m_finalResponseHasBeenSet(false), m_knowledgeBaseLookupOutputHasBeenSet(false), @@ -45,6 +46,13 @@ Observation& Observation::operator =(JsonView jsonValue) m_actionGroupInvocationOutputHasBeenSet = true; } + if(jsonValue.ValueExists("agentCollaboratorInvocationOutput")) + { + m_agentCollaboratorInvocationOutput = jsonValue.GetObject("agentCollaboratorInvocationOutput"); + + m_agentCollaboratorInvocationOutputHasBeenSet = true; + } + if(jsonValue.ValueExists("codeInterpreterInvocationOutput")) { m_codeInterpreterInvocationOutput = jsonValue.GetObject("codeInterpreterInvocationOutput"); @@ -100,6 +108,12 @@ JsonValue Observation::Jsonize() const } + if(m_agentCollaboratorInvocationOutputHasBeenSet) + { + payload.WithObject("agentCollaboratorInvocationOutput", m_agentCollaboratorInvocationOutput.Jsonize()); + + } + if(m_codeInterpreterInvocationOutputHasBeenSet) { payload.WithObject("codeInterpreterInvocationOutput", m_codeInterpreterInvocationOutput.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/PayloadType.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/PayloadType.cpp new file mode 100644 index 00000000000..1274af3e749 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/PayloadType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BedrockAgentRuntime + { + namespace Model + { + namespace PayloadTypeMapper + { + + static const int TEXT_HASH = HashingUtils::HashString("TEXT"); + static const int RETURN_CONTROL_HASH = HashingUtils::HashString("RETURN_CONTROL"); + + + PayloadType GetPayloadTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == TEXT_HASH) + { + return PayloadType::TEXT; + } + else if (hashCode == RETURN_CONTROL_HASH) + { + return PayloadType::RETURN_CONTROL; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return PayloadType::NOT_SET; + } + + Aws::String GetNameForPayloadType(PayloadType enumValue) + { + switch(enumValue) + { + case PayloadType::NOT_SET: + return {}; + case PayloadType::TEXT: + return "TEXT"; + case PayloadType::RETURN_CONTROL: + return "RETURN_CONTROL"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace PayloadTypeMapper + } // namespace Model + } // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ReturnControlResults.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ReturnControlResults.cpp new file mode 100644 index 00000000000..d3d5f00e8a5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ReturnControlResults.cpp @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +ReturnControlResults::ReturnControlResults() : + m_invocationIdHasBeenSet(false), + m_returnControlInvocationResultsHasBeenSet(false) +{ +} + +ReturnControlResults::ReturnControlResults(JsonView jsonValue) + : ReturnControlResults() +{ + *this = jsonValue; +} + +ReturnControlResults& ReturnControlResults::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("invocationId")) + { + m_invocationId = jsonValue.GetString("invocationId"); + + m_invocationIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("returnControlInvocationResults")) + { + Aws::Utils::Array returnControlInvocationResultsJsonList = jsonValue.GetArray("returnControlInvocationResults"); + for(unsigned returnControlInvocationResultsIndex = 0; returnControlInvocationResultsIndex < returnControlInvocationResultsJsonList.GetLength(); ++returnControlInvocationResultsIndex) + { + m_returnControlInvocationResults.push_back(returnControlInvocationResultsJsonList[returnControlInvocationResultsIndex].AsObject()); + } + m_returnControlInvocationResultsHasBeenSet = true; + } + + return *this; +} + +JsonValue ReturnControlResults::Jsonize() const +{ + JsonValue payload; + + if(m_invocationIdHasBeenSet) + { + payload.WithString("invocationId", m_invocationId); + + } + + if(m_returnControlInvocationResultsHasBeenSet) + { + Aws::Utils::Array returnControlInvocationResultsJsonList(m_returnControlInvocationResults.size()); + for(unsigned returnControlInvocationResultsIndex = 0; returnControlInvocationResultsIndex < returnControlInvocationResultsJsonList.GetLength(); ++returnControlInvocationResultsIndex) + { + returnControlInvocationResultsJsonList[returnControlInvocationResultsIndex].AsObject(m_returnControlInvocationResults[returnControlInvocationResultsIndex].Jsonize()); + } + payload.WithArray("returnControlInvocationResults", std::move(returnControlInvocationResultsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/RoutingClassifierModelInvocationOutput.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/RoutingClassifierModelInvocationOutput.cpp new file mode 100644 index 00000000000..02e968ca9b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/RoutingClassifierModelInvocationOutput.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +RoutingClassifierModelInvocationOutput::RoutingClassifierModelInvocationOutput() : + m_metadataHasBeenSet(false), + m_rawResponseHasBeenSet(false), + m_traceIdHasBeenSet(false) +{ +} + +RoutingClassifierModelInvocationOutput::RoutingClassifierModelInvocationOutput(JsonView jsonValue) + : RoutingClassifierModelInvocationOutput() +{ + *this = jsonValue; +} + +RoutingClassifierModelInvocationOutput& RoutingClassifierModelInvocationOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("metadata")) + { + m_metadata = jsonValue.GetObject("metadata"); + + m_metadataHasBeenSet = true; + } + + if(jsonValue.ValueExists("rawResponse")) + { + m_rawResponse = jsonValue.GetObject("rawResponse"); + + m_rawResponseHasBeenSet = true; + } + + if(jsonValue.ValueExists("traceId")) + { + m_traceId = jsonValue.GetString("traceId"); + + m_traceIdHasBeenSet = true; + } + + return *this; +} + +JsonValue RoutingClassifierModelInvocationOutput::Jsonize() const +{ + JsonValue payload; + + if(m_metadataHasBeenSet) + { + payload.WithObject("metadata", m_metadata.Jsonize()); + + } + + if(m_rawResponseHasBeenSet) + { + payload.WithObject("rawResponse", m_rawResponse.Jsonize()); + + } + + if(m_traceIdHasBeenSet) + { + payload.WithString("traceId", m_traceId); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/RoutingClassifierTrace.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/RoutingClassifierTrace.cpp new file mode 100644 index 00000000000..2d9914c3063 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/RoutingClassifierTrace.cpp @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgentRuntime +{ +namespace Model +{ + +RoutingClassifierTrace::RoutingClassifierTrace() : + m_invocationInputHasBeenSet(false), + m_modelInvocationInputHasBeenSet(false), + m_modelInvocationOutputHasBeenSet(false), + m_observationHasBeenSet(false) +{ +} + +RoutingClassifierTrace::RoutingClassifierTrace(JsonView jsonValue) + : RoutingClassifierTrace() +{ + *this = jsonValue; +} + +RoutingClassifierTrace& RoutingClassifierTrace::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("invocationInput")) + { + m_invocationInput = jsonValue.GetObject("invocationInput"); + + m_invocationInputHasBeenSet = true; + } + + if(jsonValue.ValueExists("modelInvocationInput")) + { + m_modelInvocationInput = jsonValue.GetObject("modelInvocationInput"); + + m_modelInvocationInputHasBeenSet = true; + } + + if(jsonValue.ValueExists("modelInvocationOutput")) + { + m_modelInvocationOutput = jsonValue.GetObject("modelInvocationOutput"); + + m_modelInvocationOutputHasBeenSet = true; + } + + if(jsonValue.ValueExists("observation")) + { + m_observation = jsonValue.GetObject("observation"); + + m_observationHasBeenSet = true; + } + + return *this; +} + +JsonValue RoutingClassifierTrace::Jsonize() const +{ + JsonValue payload; + + if(m_invocationInputHasBeenSet) + { + payload.WithObject("invocationInput", m_invocationInput.Jsonize()); + + } + + if(m_modelInvocationInputHasBeenSet) + { + payload.WithObject("modelInvocationInput", m_modelInvocationInput.Jsonize()); + + } + + if(m_modelInvocationOutputHasBeenSet) + { + payload.WithObject("modelInvocationOutput", m_modelInvocationOutput.Jsonize()); + + } + + if(m_observationHasBeenSet) + { + payload.WithObject("observation", m_observation.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/SessionState.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/SessionState.cpp index 95036412403..1264a76deb5 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/SessionState.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/SessionState.cpp @@ -19,6 +19,7 @@ namespace Model { SessionState::SessionState() : + m_conversationHistoryHasBeenSet(false), m_filesHasBeenSet(false), m_invocationIdHasBeenSet(false), m_knowledgeBaseConfigurationsHasBeenSet(false), @@ -36,6 +37,13 @@ SessionState::SessionState(JsonView jsonValue) SessionState& SessionState::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("conversationHistory")) + { + m_conversationHistory = jsonValue.GetObject("conversationHistory"); + + m_conversationHistoryHasBeenSet = true; + } + if(jsonValue.ValueExists("files")) { Aws::Utils::Array filesJsonList = jsonValue.GetArray("files"); @@ -100,6 +108,12 @@ JsonValue SessionState::Jsonize() const { JsonValue payload; + if(m_conversationHistoryHasBeenSet) + { + payload.WithObject("conversationHistory", m_conversationHistory.Jsonize()); + + } + if(m_filesHasBeenSet) { Aws::Utils::Array filesJsonList(m_files.size()); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Trace.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Trace.cpp index 42a8045737c..b815207a929 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Trace.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Trace.cpp @@ -24,7 +24,8 @@ Trace::Trace() : m_guardrailTraceHasBeenSet(false), m_orchestrationTraceHasBeenSet(false), m_postProcessingTraceHasBeenSet(false), - m_preProcessingTraceHasBeenSet(false) + m_preProcessingTraceHasBeenSet(false), + m_routingClassifierTraceHasBeenSet(false) { } @@ -78,6 +79,13 @@ Trace& Trace::operator =(JsonView jsonValue) m_preProcessingTraceHasBeenSet = true; } + if(jsonValue.ValueExists("routingClassifierTrace")) + { + m_routingClassifierTrace = jsonValue.GetObject("routingClassifierTrace"); + + m_routingClassifierTraceHasBeenSet = true; + } + return *this; } @@ -121,6 +129,12 @@ JsonValue Trace::Jsonize() const } + if(m_routingClassifierTraceHasBeenSet) + { + payload.WithObject("routingClassifierTrace", m_routingClassifierTrace.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/TracePart.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/TracePart.cpp index 2ec31c93572..f83d9fa79d4 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/TracePart.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/TracePart.cpp @@ -22,6 +22,8 @@ TracePart::TracePart() : m_agentAliasIdHasBeenSet(false), m_agentIdHasBeenSet(false), m_agentVersionHasBeenSet(false), + m_callerChainHasBeenSet(false), + m_collaboratorNameHasBeenSet(false), m_sessionIdHasBeenSet(false), m_traceHasBeenSet(false) { @@ -56,6 +58,23 @@ TracePart& TracePart::operator =(JsonView jsonValue) m_agentVersionHasBeenSet = true; } + if(jsonValue.ValueExists("callerChain")) + { + Aws::Utils::Array callerChainJsonList = jsonValue.GetArray("callerChain"); + for(unsigned callerChainIndex = 0; callerChainIndex < callerChainJsonList.GetLength(); ++callerChainIndex) + { + m_callerChain.push_back(callerChainJsonList[callerChainIndex].AsObject()); + } + m_callerChainHasBeenSet = true; + } + + if(jsonValue.ValueExists("collaboratorName")) + { + m_collaboratorName = jsonValue.GetString("collaboratorName"); + + m_collaboratorNameHasBeenSet = true; + } + if(jsonValue.ValueExists("sessionId")) { m_sessionId = jsonValue.GetString("sessionId"); @@ -95,6 +114,23 @@ JsonValue TracePart::Jsonize() const } + if(m_callerChainHasBeenSet) + { + Aws::Utils::Array callerChainJsonList(m_callerChain.size()); + for(unsigned callerChainIndex = 0; callerChainIndex < callerChainJsonList.GetLength(); ++callerChainIndex) + { + callerChainJsonList[callerChainIndex].AsObject(m_callerChain[callerChainIndex].Jsonize()); + } + payload.WithArray("callerChain", std::move(callerChainJsonList)); + + } + + if(m_collaboratorNameHasBeenSet) + { + payload.WithString("collaboratorName", m_collaboratorName); + + } + if(m_sessionIdHasBeenSet) { payload.WithString("sessionId", m_sessionId); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Type.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Type.cpp index f443e89e916..57cbf89b9c0 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Type.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/Type.cpp @@ -21,6 +21,7 @@ namespace Aws { static const int ACTION_GROUP_HASH = HashingUtils::HashString("ACTION_GROUP"); + static const int AGENT_COLLABORATOR_HASH = HashingUtils::HashString("AGENT_COLLABORATOR"); static const int KNOWLEDGE_BASE_HASH = HashingUtils::HashString("KNOWLEDGE_BASE"); static const int FINISH_HASH = HashingUtils::HashString("FINISH"); static const int ASK_USER_HASH = HashingUtils::HashString("ASK_USER"); @@ -34,6 +35,10 @@ namespace Aws { return Type::ACTION_GROUP; } + else if (hashCode == AGENT_COLLABORATOR_HASH) + { + return Type::AGENT_COLLABORATOR; + } else if (hashCode == KNOWLEDGE_BASE_HASH) { return Type::KNOWLEDGE_BASE; @@ -68,6 +73,8 @@ namespace Aws return {}; case Type::ACTION_GROUP: return "ACTION_GROUP"; + case Type::AGENT_COLLABORATOR: + return "AGENT_COLLABORATOR"; case Type::KNOWLEDGE_BASE: return "KNOWLEDGE_BASE"; case Type::FINISH: diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/BedrockAgentClient.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/BedrockAgentClient.h index c2f1ce44515..93f55de20e8 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/BedrockAgentClient.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/BedrockAgentClient.h @@ -77,6 +77,32 @@ namespace BedrockAgent /* End of legacy constructors due deprecation */ virtual ~BedrockAgentClient(); + /** + *

    Makes an agent a collaborator for another agent.

    See Also:

    + * AWS + * API Reference

    + */ + virtual Model::AssociateAgentCollaboratorOutcome AssociateAgentCollaborator(const Model::AssociateAgentCollaboratorRequest& request) const; + + /** + * A Callable wrapper for AssociateAgentCollaborator that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AssociateAgentCollaboratorOutcomeCallable AssociateAgentCollaboratorCallable(const AssociateAgentCollaboratorRequestT& request) const + { + return SubmitCallable(&BedrockAgentClient::AssociateAgentCollaborator, request); + } + + /** + * An Async wrapper for AssociateAgentCollaborator that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AssociateAgentCollaboratorAsync(const AssociateAgentCollaboratorRequestT& request, const AssociateAgentCollaboratorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BedrockAgentClient::AssociateAgentCollaborator, request, handler, context); + } + /** *

    Associates a knowledge base with an agent. If a knowledge base is associated * and its indexState is set to Enabled, the agent @@ -746,6 +772,31 @@ namespace BedrockAgent return SubmitAsync(&BedrockAgentClient::DeletePrompt, request, handler, context); } + /** + *

    Disassociates an agent collaborator.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DisassociateAgentCollaboratorOutcome DisassociateAgentCollaborator(const Model::DisassociateAgentCollaboratorRequest& request) const; + + /** + * A Callable wrapper for DisassociateAgentCollaborator that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DisassociateAgentCollaboratorOutcomeCallable DisassociateAgentCollaboratorCallable(const DisassociateAgentCollaboratorRequestT& request) const + { + return SubmitCallable(&BedrockAgentClient::DisassociateAgentCollaborator, request); + } + + /** + * An Async wrapper for DisassociateAgentCollaborator that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DisassociateAgentCollaboratorAsync(const DisassociateAgentCollaboratorRequestT& request, const DisassociateAgentCollaboratorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BedrockAgentClient::DisassociateAgentCollaborator, request, handler, context); + } + /** *

    Disassociates a knowledge base from an agent.

    See Also:

    AWS @@ -847,6 +898,32 @@ namespace BedrockAgent return SubmitAsync(&BedrockAgentClient::GetAgentAlias, request, handler, context); } + /** + *

    Retrieves information about an agent's collaborator.

    See Also:

    + *
    AWS + * API Reference

    + */ + virtual Model::GetAgentCollaboratorOutcome GetAgentCollaborator(const Model::GetAgentCollaboratorRequest& request) const; + + /** + * A Callable wrapper for GetAgentCollaborator that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetAgentCollaboratorOutcomeCallable GetAgentCollaboratorCallable(const GetAgentCollaboratorRequestT& request) const + { + return SubmitCallable(&BedrockAgentClient::GetAgentCollaborator, request); + } + + /** + * An Async wrapper for GetAgentCollaborator that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetAgentCollaboratorAsync(const GetAgentCollaboratorRequestT& request, const GetAgentCollaboratorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BedrockAgentClient::GetAgentCollaborator, request, handler, context); + } + /** *

    Gets information about a knowledge base associated with an * agent.

    See Also:

    Retrieve a list of an agent's collaborators.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListAgentCollaboratorsOutcome ListAgentCollaborators(const Model::ListAgentCollaboratorsRequest& request) const; + + /** + * A Callable wrapper for ListAgentCollaborators that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListAgentCollaboratorsOutcomeCallable ListAgentCollaboratorsCallable(const ListAgentCollaboratorsRequestT& request) const + { + return SubmitCallable(&BedrockAgentClient::ListAgentCollaborators, request); + } + + /** + * An Async wrapper for ListAgentCollaborators that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListAgentCollaboratorsAsync(const ListAgentCollaboratorsRequestT& request, const ListAgentCollaboratorsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BedrockAgentClient::ListAgentCollaborators, request, handler, context); + } + /** *

    Lists knowledge bases associated with an agent and information about each * one.

    See Also:

    Updates an agent's collaborator.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::UpdateAgentCollaboratorOutcome UpdateAgentCollaborator(const Model::UpdateAgentCollaboratorRequest& request) const; + + /** + * A Callable wrapper for UpdateAgentCollaborator that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateAgentCollaboratorOutcomeCallable UpdateAgentCollaboratorCallable(const UpdateAgentCollaboratorRequestT& request) const + { + return SubmitCallable(&BedrockAgentClient::UpdateAgentCollaborator, request); + } + + /** + * An Async wrapper for UpdateAgentCollaborator that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateAgentCollaboratorAsync(const UpdateAgentCollaboratorRequestT& request, const UpdateAgentCollaboratorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BedrockAgentClient::UpdateAgentCollaborator, request, handler, context); + } + /** *

    Updates the configuration for a knowledge base that has been associated with * an agent.

    See Also:

    #include #include #include @@ -40,10 +41,12 @@ #include #include #include +#include #include #include #include #include +#include #include #include #include @@ -57,6 +60,7 @@ #include #include #include +#include #include #include #include @@ -78,6 +82,7 @@ #include #include #include +#include #include #include #include @@ -129,6 +134,7 @@ namespace Aws namespace Model { /* Service model forward declarations required in BedrockAgentClient header */ + class AssociateAgentCollaboratorRequest; class AssociateAgentKnowledgeBaseRequest; class CreateAgentRequest; class CreateAgentActionGroupRequest; @@ -151,10 +157,12 @@ namespace Aws class DeleteKnowledgeBaseRequest; class DeleteKnowledgeBaseDocumentsRequest; class DeletePromptRequest; + class DisassociateAgentCollaboratorRequest; class DisassociateAgentKnowledgeBaseRequest; class GetAgentRequest; class GetAgentActionGroupRequest; class GetAgentAliasRequest; + class GetAgentCollaboratorRequest; class GetAgentKnowledgeBaseRequest; class GetAgentVersionRequest; class GetDataSourceRequest; @@ -168,6 +176,7 @@ namespace Aws class IngestKnowledgeBaseDocumentsRequest; class ListAgentActionGroupsRequest; class ListAgentAliasesRequest; + class ListAgentCollaboratorsRequest; class ListAgentKnowledgeBasesRequest; class ListAgentVersionsRequest; class ListAgentsRequest; @@ -189,6 +198,7 @@ namespace Aws class UpdateAgentRequest; class UpdateAgentActionGroupRequest; class UpdateAgentAliasRequest; + class UpdateAgentCollaboratorRequest; class UpdateAgentKnowledgeBaseRequest; class UpdateDataSourceRequest; class UpdateFlowRequest; @@ -199,6 +209,7 @@ namespace Aws /* End of service model forward declarations required in BedrockAgentClient header */ /* Service model Outcome class definitions */ + typedef Aws::Utils::Outcome AssociateAgentCollaboratorOutcome; typedef Aws::Utils::Outcome AssociateAgentKnowledgeBaseOutcome; typedef Aws::Utils::Outcome CreateAgentOutcome; typedef Aws::Utils::Outcome CreateAgentActionGroupOutcome; @@ -221,10 +232,12 @@ namespace Aws typedef Aws::Utils::Outcome DeleteKnowledgeBaseOutcome; typedef Aws::Utils::Outcome DeleteKnowledgeBaseDocumentsOutcome; typedef Aws::Utils::Outcome DeletePromptOutcome; + typedef Aws::Utils::Outcome DisassociateAgentCollaboratorOutcome; typedef Aws::Utils::Outcome DisassociateAgentKnowledgeBaseOutcome; typedef Aws::Utils::Outcome GetAgentOutcome; typedef Aws::Utils::Outcome GetAgentActionGroupOutcome; typedef Aws::Utils::Outcome GetAgentAliasOutcome; + typedef Aws::Utils::Outcome GetAgentCollaboratorOutcome; typedef Aws::Utils::Outcome GetAgentKnowledgeBaseOutcome; typedef Aws::Utils::Outcome GetAgentVersionOutcome; typedef Aws::Utils::Outcome GetDataSourceOutcome; @@ -238,6 +251,7 @@ namespace Aws typedef Aws::Utils::Outcome IngestKnowledgeBaseDocumentsOutcome; typedef Aws::Utils::Outcome ListAgentActionGroupsOutcome; typedef Aws::Utils::Outcome ListAgentAliasesOutcome; + typedef Aws::Utils::Outcome ListAgentCollaboratorsOutcome; typedef Aws::Utils::Outcome ListAgentKnowledgeBasesOutcome; typedef Aws::Utils::Outcome ListAgentVersionsOutcome; typedef Aws::Utils::Outcome ListAgentsOutcome; @@ -259,6 +273,7 @@ namespace Aws typedef Aws::Utils::Outcome UpdateAgentOutcome; typedef Aws::Utils::Outcome UpdateAgentActionGroupOutcome; typedef Aws::Utils::Outcome UpdateAgentAliasOutcome; + typedef Aws::Utils::Outcome UpdateAgentCollaboratorOutcome; typedef Aws::Utils::Outcome UpdateAgentKnowledgeBaseOutcome; typedef Aws::Utils::Outcome UpdateDataSourceOutcome; typedef Aws::Utils::Outcome UpdateFlowOutcome; @@ -269,6 +284,7 @@ namespace Aws /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ + typedef std::future AssociateAgentCollaboratorOutcomeCallable; typedef std::future AssociateAgentKnowledgeBaseOutcomeCallable; typedef std::future CreateAgentOutcomeCallable; typedef std::future CreateAgentActionGroupOutcomeCallable; @@ -291,10 +307,12 @@ namespace Aws typedef std::future DeleteKnowledgeBaseOutcomeCallable; typedef std::future DeleteKnowledgeBaseDocumentsOutcomeCallable; typedef std::future DeletePromptOutcomeCallable; + typedef std::future DisassociateAgentCollaboratorOutcomeCallable; typedef std::future DisassociateAgentKnowledgeBaseOutcomeCallable; typedef std::future GetAgentOutcomeCallable; typedef std::future GetAgentActionGroupOutcomeCallable; typedef std::future GetAgentAliasOutcomeCallable; + typedef std::future GetAgentCollaboratorOutcomeCallable; typedef std::future GetAgentKnowledgeBaseOutcomeCallable; typedef std::future GetAgentVersionOutcomeCallable; typedef std::future GetDataSourceOutcomeCallable; @@ -308,6 +326,7 @@ namespace Aws typedef std::future IngestKnowledgeBaseDocumentsOutcomeCallable; typedef std::future ListAgentActionGroupsOutcomeCallable; typedef std::future ListAgentAliasesOutcomeCallable; + typedef std::future ListAgentCollaboratorsOutcomeCallable; typedef std::future ListAgentKnowledgeBasesOutcomeCallable; typedef std::future ListAgentVersionsOutcomeCallable; typedef std::future ListAgentsOutcomeCallable; @@ -329,6 +348,7 @@ namespace Aws typedef std::future UpdateAgentOutcomeCallable; typedef std::future UpdateAgentActionGroupOutcomeCallable; typedef std::future UpdateAgentAliasOutcomeCallable; + typedef std::future UpdateAgentCollaboratorOutcomeCallable; typedef std::future UpdateAgentKnowledgeBaseOutcomeCallable; typedef std::future UpdateDataSourceOutcomeCallable; typedef std::future UpdateFlowOutcomeCallable; @@ -342,6 +362,7 @@ namespace Aws class BedrockAgentClient; /* Service model async handlers definitions */ + typedef std::function&) > AssociateAgentCollaboratorResponseReceivedHandler; typedef std::function&) > AssociateAgentKnowledgeBaseResponseReceivedHandler; typedef std::function&) > CreateAgentResponseReceivedHandler; typedef std::function&) > CreateAgentActionGroupResponseReceivedHandler; @@ -364,10 +385,12 @@ namespace Aws typedef std::function&) > DeleteKnowledgeBaseResponseReceivedHandler; typedef std::function&) > DeleteKnowledgeBaseDocumentsResponseReceivedHandler; typedef std::function&) > DeletePromptResponseReceivedHandler; + typedef std::function&) > DisassociateAgentCollaboratorResponseReceivedHandler; typedef std::function&) > DisassociateAgentKnowledgeBaseResponseReceivedHandler; typedef std::function&) > GetAgentResponseReceivedHandler; typedef std::function&) > GetAgentActionGroupResponseReceivedHandler; typedef std::function&) > GetAgentAliasResponseReceivedHandler; + typedef std::function&) > GetAgentCollaboratorResponseReceivedHandler; typedef std::function&) > GetAgentKnowledgeBaseResponseReceivedHandler; typedef std::function&) > GetAgentVersionResponseReceivedHandler; typedef std::function&) > GetDataSourceResponseReceivedHandler; @@ -381,6 +404,7 @@ namespace Aws typedef std::function&) > IngestKnowledgeBaseDocumentsResponseReceivedHandler; typedef std::function&) > ListAgentActionGroupsResponseReceivedHandler; typedef std::function&) > ListAgentAliasesResponseReceivedHandler; + typedef std::function&) > ListAgentCollaboratorsResponseReceivedHandler; typedef std::function&) > ListAgentKnowledgeBasesResponseReceivedHandler; typedef std::function&) > ListAgentVersionsResponseReceivedHandler; typedef std::function&) > ListAgentsResponseReceivedHandler; @@ -402,6 +426,7 @@ namespace Aws typedef std::function&) > UpdateAgentResponseReceivedHandler; typedef std::function&) > UpdateAgentActionGroupResponseReceivedHandler; typedef std::function&) > UpdateAgentAliasResponseReceivedHandler; + typedef std::function&) > UpdateAgentCollaboratorResponseReceivedHandler; typedef std::function&) > UpdateAgentKnowledgeBaseResponseReceivedHandler; typedef std::function&) > UpdateDataSourceResponseReceivedHandler; typedef std::function&) > UpdateFlowResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Agent.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Agent.h index 13899e511c9..7cc5a59de0f 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Agent.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Agent.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -59,6 +60,18 @@ namespace Model inline Agent& WithAgentArn(const char* value) { SetAgentArn(value); return *this;} ///@} + ///@{ + /** + *

    The agent's collaboration settings.

    + */ + inline const AgentCollaboration& GetAgentCollaboration() const{ return m_agentCollaboration; } + inline bool AgentCollaborationHasBeenSet() const { return m_agentCollaborationHasBeenSet; } + inline void SetAgentCollaboration(const AgentCollaboration& value) { m_agentCollaborationHasBeenSet = true; m_agentCollaboration = value; } + inline void SetAgentCollaboration(AgentCollaboration&& value) { m_agentCollaborationHasBeenSet = true; m_agentCollaboration = std::move(value); } + inline Agent& WithAgentCollaboration(const AgentCollaboration& value) { SetAgentCollaboration(value); return *this;} + inline Agent& WithAgentCollaboration(AgentCollaboration&& value) { SetAgentCollaboration(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The unique identifier of the agent.

    @@ -358,6 +371,9 @@ namespace Model Aws::String m_agentArn; bool m_agentArnHasBeenSet = false; + AgentCollaboration m_agentCollaboration; + bool m_agentCollaborationHasBeenSet = false; + Aws::String m_agentId; bool m_agentIdHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentCollaboration.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentCollaboration.h new file mode 100644 index 00000000000..16bd7123344 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentCollaboration.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BedrockAgent +{ +namespace Model +{ + enum class AgentCollaboration + { + NOT_SET, + SUPERVISOR, + SUPERVISOR_ROUTER, + DISABLED + }; + +namespace AgentCollaborationMapper +{ +AWS_BEDROCKAGENT_API AgentCollaboration GetAgentCollaborationForName(const Aws::String& name); + +AWS_BEDROCKAGENT_API Aws::String GetNameForAgentCollaboration(AgentCollaboration value); +} // namespace AgentCollaborationMapper +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentCollaborator.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentCollaborator.h new file mode 100644 index 00000000000..a8e50d8e6ab --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentCollaborator.h @@ -0,0 +1,209 @@ +/** + * 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 BedrockAgent +{ +namespace Model +{ + + /** + *

    An agent collaborator.

    See Also:

    AWS + * API Reference

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

    The collaborator's agent descriptor.

    + */ + inline const AgentDescriptor& GetAgentDescriptor() const{ return m_agentDescriptor; } + inline bool AgentDescriptorHasBeenSet() const { return m_agentDescriptorHasBeenSet; } + inline void SetAgentDescriptor(const AgentDescriptor& value) { m_agentDescriptorHasBeenSet = true; m_agentDescriptor = value; } + inline void SetAgentDescriptor(AgentDescriptor&& value) { m_agentDescriptorHasBeenSet = true; m_agentDescriptor = std::move(value); } + inline AgentCollaborator& WithAgentDescriptor(const AgentDescriptor& value) { SetAgentDescriptor(value); return *this;} + inline AgentCollaborator& WithAgentDescriptor(AgentDescriptor&& value) { SetAgentDescriptor(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's agent ID.

    + */ + inline const Aws::String& GetAgentId() const{ return m_agentId; } + inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; } + inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; } + inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); } + inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); } + inline AgentCollaborator& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;} + inline AgentCollaborator& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;} + inline AgentCollaborator& WithAgentId(const char* value) { SetAgentId(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's agent version.

    + */ + inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; } + inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; } + inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; } + inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); } + inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); } + inline AgentCollaborator& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;} + inline AgentCollaborator& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;} + inline AgentCollaborator& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's client token.

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

    The collaborator's instructions.

    + */ + inline const Aws::String& GetCollaborationInstruction() const{ return m_collaborationInstruction; } + inline bool CollaborationInstructionHasBeenSet() const { return m_collaborationInstructionHasBeenSet; } + inline void SetCollaborationInstruction(const Aws::String& value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction = value; } + inline void SetCollaborationInstruction(Aws::String&& value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction = std::move(value); } + inline void SetCollaborationInstruction(const char* value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction.assign(value); } + inline AgentCollaborator& WithCollaborationInstruction(const Aws::String& value) { SetCollaborationInstruction(value); return *this;} + inline AgentCollaborator& WithCollaborationInstruction(Aws::String&& value) { SetCollaborationInstruction(std::move(value)); return *this;} + inline AgentCollaborator& WithCollaborationInstruction(const char* value) { SetCollaborationInstruction(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's collaborator ID.

    + */ + inline const Aws::String& GetCollaboratorId() const{ return m_collaboratorId; } + inline bool CollaboratorIdHasBeenSet() const { return m_collaboratorIdHasBeenSet; } + inline void SetCollaboratorId(const Aws::String& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = value; } + inline void SetCollaboratorId(Aws::String&& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = std::move(value); } + inline void SetCollaboratorId(const char* value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId.assign(value); } + inline AgentCollaborator& WithCollaboratorId(const Aws::String& value) { SetCollaboratorId(value); return *this;} + inline AgentCollaborator& WithCollaboratorId(Aws::String&& value) { SetCollaboratorId(std::move(value)); return *this;} + inline AgentCollaborator& WithCollaboratorId(const char* value) { SetCollaboratorId(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's collaborator name.

    + */ + inline const Aws::String& GetCollaboratorName() const{ return m_collaboratorName; } + inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; } + inline void SetCollaboratorName(const Aws::String& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = value; } + inline void SetCollaboratorName(Aws::String&& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = std::move(value); } + inline void SetCollaboratorName(const char* value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName.assign(value); } + inline AgentCollaborator& WithCollaboratorName(const Aws::String& value) { SetCollaboratorName(value); return *this;} + inline AgentCollaborator& WithCollaboratorName(Aws::String&& value) { SetCollaboratorName(std::move(value)); return *this;} + inline AgentCollaborator& WithCollaboratorName(const char* value) { SetCollaboratorName(value); return *this;} + ///@} + + ///@{ + /** + *

    When the collaborator was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline AgentCollaborator& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline AgentCollaborator& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    When the collaborator was updated.

    + */ + inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } + inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } + inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } + inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } + inline AgentCollaborator& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} + inline AgentCollaborator& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's relay conversation history.

    + */ + inline const RelayConversationHistory& GetRelayConversationHistory() const{ return m_relayConversationHistory; } + inline bool RelayConversationHistoryHasBeenSet() const { return m_relayConversationHistoryHasBeenSet; } + inline void SetRelayConversationHistory(const RelayConversationHistory& value) { m_relayConversationHistoryHasBeenSet = true; m_relayConversationHistory = value; } + inline void SetRelayConversationHistory(RelayConversationHistory&& value) { m_relayConversationHistoryHasBeenSet = true; m_relayConversationHistory = std::move(value); } + inline AgentCollaborator& WithRelayConversationHistory(const RelayConversationHistory& value) { SetRelayConversationHistory(value); return *this;} + inline AgentCollaborator& WithRelayConversationHistory(RelayConversationHistory&& value) { SetRelayConversationHistory(std::move(value)); return *this;} + ///@} + private: + + AgentDescriptor m_agentDescriptor; + bool m_agentDescriptorHasBeenSet = false; + + Aws::String m_agentId; + bool m_agentIdHasBeenSet = false; + + Aws::String m_agentVersion; + bool m_agentVersionHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_collaborationInstruction; + bool m_collaborationInstructionHasBeenSet = false; + + Aws::String m_collaboratorId; + bool m_collaboratorIdHasBeenSet = false; + + Aws::String m_collaboratorName; + bool m_collaboratorNameHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::Utils::DateTime m_lastUpdatedAt; + bool m_lastUpdatedAtHasBeenSet = false; + + RelayConversationHistory m_relayConversationHistory; + bool m_relayConversationHistoryHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentCollaboratorSummary.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentCollaboratorSummary.h new file mode 100644 index 00000000000..7b965c44075 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentCollaboratorSummary.h @@ -0,0 +1,192 @@ +/** + * 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 BedrockAgent +{ +namespace Model +{ + + /** + *

    An agent collaborator summary.

    See Also:

    AWS + * API Reference

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

    The collaborator's agent descriptor.

    + */ + inline const AgentDescriptor& GetAgentDescriptor() const{ return m_agentDescriptor; } + inline bool AgentDescriptorHasBeenSet() const { return m_agentDescriptorHasBeenSet; } + inline void SetAgentDescriptor(const AgentDescriptor& value) { m_agentDescriptorHasBeenSet = true; m_agentDescriptor = value; } + inline void SetAgentDescriptor(AgentDescriptor&& value) { m_agentDescriptorHasBeenSet = true; m_agentDescriptor = std::move(value); } + inline AgentCollaboratorSummary& WithAgentDescriptor(const AgentDescriptor& value) { SetAgentDescriptor(value); return *this;} + inline AgentCollaboratorSummary& WithAgentDescriptor(AgentDescriptor&& value) { SetAgentDescriptor(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's agent ID.

    + */ + inline const Aws::String& GetAgentId() const{ return m_agentId; } + inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; } + inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; } + inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); } + inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); } + inline AgentCollaboratorSummary& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;} + inline AgentCollaboratorSummary& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;} + inline AgentCollaboratorSummary& WithAgentId(const char* value) { SetAgentId(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's agent version.

    + */ + inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; } + inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; } + inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; } + inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); } + inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); } + inline AgentCollaboratorSummary& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;} + inline AgentCollaboratorSummary& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;} + inline AgentCollaboratorSummary& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's collaboration instruction.

    + */ + inline const Aws::String& GetCollaborationInstruction() const{ return m_collaborationInstruction; } + inline bool CollaborationInstructionHasBeenSet() const { return m_collaborationInstructionHasBeenSet; } + inline void SetCollaborationInstruction(const Aws::String& value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction = value; } + inline void SetCollaborationInstruction(Aws::String&& value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction = std::move(value); } + inline void SetCollaborationInstruction(const char* value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction.assign(value); } + inline AgentCollaboratorSummary& WithCollaborationInstruction(const Aws::String& value) { SetCollaborationInstruction(value); return *this;} + inline AgentCollaboratorSummary& WithCollaborationInstruction(Aws::String&& value) { SetCollaborationInstruction(std::move(value)); return *this;} + inline AgentCollaboratorSummary& WithCollaborationInstruction(const char* value) { SetCollaborationInstruction(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's ID.

    + */ + inline const Aws::String& GetCollaboratorId() const{ return m_collaboratorId; } + inline bool CollaboratorIdHasBeenSet() const { return m_collaboratorIdHasBeenSet; } + inline void SetCollaboratorId(const Aws::String& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = value; } + inline void SetCollaboratorId(Aws::String&& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = std::move(value); } + inline void SetCollaboratorId(const char* value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId.assign(value); } + inline AgentCollaboratorSummary& WithCollaboratorId(const Aws::String& value) { SetCollaboratorId(value); return *this;} + inline AgentCollaboratorSummary& WithCollaboratorId(Aws::String&& value) { SetCollaboratorId(std::move(value)); return *this;} + inline AgentCollaboratorSummary& WithCollaboratorId(const char* value) { SetCollaboratorId(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's name.

    + */ + inline const Aws::String& GetCollaboratorName() const{ return m_collaboratorName; } + inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; } + inline void SetCollaboratorName(const Aws::String& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = value; } + inline void SetCollaboratorName(Aws::String&& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = std::move(value); } + inline void SetCollaboratorName(const char* value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName.assign(value); } + inline AgentCollaboratorSummary& WithCollaboratorName(const Aws::String& value) { SetCollaboratorName(value); return *this;} + inline AgentCollaboratorSummary& WithCollaboratorName(Aws::String&& value) { SetCollaboratorName(std::move(value)); return *this;} + inline AgentCollaboratorSummary& WithCollaboratorName(const char* value) { SetCollaboratorName(value); return *this;} + ///@} + + ///@{ + /** + *

    When the collaborator was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline AgentCollaboratorSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline AgentCollaboratorSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    When the collaborator was last updated.

    + */ + inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } + inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } + inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } + inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } + inline AgentCollaboratorSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} + inline AgentCollaboratorSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's relay conversation history.

    + */ + inline const RelayConversationHistory& GetRelayConversationHistory() const{ return m_relayConversationHistory; } + inline bool RelayConversationHistoryHasBeenSet() const { return m_relayConversationHistoryHasBeenSet; } + inline void SetRelayConversationHistory(const RelayConversationHistory& value) { m_relayConversationHistoryHasBeenSet = true; m_relayConversationHistory = value; } + inline void SetRelayConversationHistory(RelayConversationHistory&& value) { m_relayConversationHistoryHasBeenSet = true; m_relayConversationHistory = std::move(value); } + inline AgentCollaboratorSummary& WithRelayConversationHistory(const RelayConversationHistory& value) { SetRelayConversationHistory(value); return *this;} + inline AgentCollaboratorSummary& WithRelayConversationHistory(RelayConversationHistory&& value) { SetRelayConversationHistory(std::move(value)); return *this;} + ///@} + private: + + AgentDescriptor m_agentDescriptor; + bool m_agentDescriptorHasBeenSet = false; + + Aws::String m_agentId; + bool m_agentIdHasBeenSet = false; + + Aws::String m_agentVersion; + bool m_agentVersionHasBeenSet = false; + + Aws::String m_collaborationInstruction; + bool m_collaborationInstructionHasBeenSet = false; + + Aws::String m_collaboratorId; + bool m_collaboratorIdHasBeenSet = false; + + Aws::String m_collaboratorName; + bool m_collaboratorNameHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::Utils::DateTime m_lastUpdatedAt; + bool m_lastUpdatedAtHasBeenSet = false; + + RelayConversationHistory m_relayConversationHistory; + bool m_relayConversationHistoryHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentDescriptor.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentDescriptor.h new file mode 100644 index 00000000000..a3bfb3fd77c --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentDescriptor.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockAgent +{ +namespace Model +{ + + /** + *

    An agent descriptor.

    See Also:

    AWS + * API Reference

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

    The agent's alias ARN.

    + */ + inline const Aws::String& GetAliasArn() const{ return m_aliasArn; } + inline bool AliasArnHasBeenSet() const { return m_aliasArnHasBeenSet; } + inline void SetAliasArn(const Aws::String& value) { m_aliasArnHasBeenSet = true; m_aliasArn = value; } + inline void SetAliasArn(Aws::String&& value) { m_aliasArnHasBeenSet = true; m_aliasArn = std::move(value); } + inline void SetAliasArn(const char* value) { m_aliasArnHasBeenSet = true; m_aliasArn.assign(value); } + inline AgentDescriptor& WithAliasArn(const Aws::String& value) { SetAliasArn(value); return *this;} + inline AgentDescriptor& WithAliasArn(Aws::String&& value) { SetAliasArn(std::move(value)); return *this;} + inline AgentDescriptor& WithAliasArn(const char* value) { SetAliasArn(value); return *this;} + ///@} + private: + + Aws::String m_aliasArn; + bool m_aliasArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentVersion.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentVersion.h index 4c4f6ad5d51..0f614047ca5 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentVersion.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AgentVersion.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -57,6 +58,18 @@ namespace Model inline AgentVersion& WithAgentArn(const char* value) { SetAgentArn(value); return *this;} ///@} + ///@{ + /** + *

    The agent's collaboration settings.

    + */ + inline const AgentCollaboration& GetAgentCollaboration() const{ return m_agentCollaboration; } + inline bool AgentCollaborationHasBeenSet() const { return m_agentCollaborationHasBeenSet; } + inline void SetAgentCollaboration(const AgentCollaboration& value) { m_agentCollaborationHasBeenSet = true; m_agentCollaboration = value; } + inline void SetAgentCollaboration(AgentCollaboration&& value) { m_agentCollaborationHasBeenSet = true; m_agentCollaboration = std::move(value); } + inline AgentVersion& WithAgentCollaboration(const AgentCollaboration& value) { SetAgentCollaboration(value); return *this;} + inline AgentVersion& WithAgentCollaboration(AgentCollaboration&& value) { SetAgentCollaboration(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The unique identifier of the agent that the version belongs to.

    @@ -295,6 +308,9 @@ namespace Model Aws::String m_agentArn; bool m_agentArnHasBeenSet = false; + AgentCollaboration m_agentCollaboration; + bool m_agentCollaborationHasBeenSet = false; + Aws::String m_agentId; bool m_agentIdHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AssociateAgentCollaboratorRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AssociateAgentCollaboratorRequest.h new file mode 100644 index 00000000000..0fc56cf4a9f --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AssociateAgentCollaboratorRequest.h @@ -0,0 +1,157 @@ +/** + * 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 BedrockAgent +{ +namespace Model +{ + + /** + */ + class AssociateAgentCollaboratorRequest : public BedrockAgentRequest + { + public: + AWS_BEDROCKAGENT_API AssociateAgentCollaboratorRequest(); + + // 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 "AssociateAgentCollaborator"; } + + AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The alias of the collaborator agent.

    + */ + inline const AgentDescriptor& GetAgentDescriptor() const{ return m_agentDescriptor; } + inline bool AgentDescriptorHasBeenSet() const { return m_agentDescriptorHasBeenSet; } + inline void SetAgentDescriptor(const AgentDescriptor& value) { m_agentDescriptorHasBeenSet = true; m_agentDescriptor = value; } + inline void SetAgentDescriptor(AgentDescriptor&& value) { m_agentDescriptorHasBeenSet = true; m_agentDescriptor = std::move(value); } + inline AssociateAgentCollaboratorRequest& WithAgentDescriptor(const AgentDescriptor& value) { SetAgentDescriptor(value); return *this;} + inline AssociateAgentCollaboratorRequest& WithAgentDescriptor(AgentDescriptor&& value) { SetAgentDescriptor(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The agent's ID.

    + */ + inline const Aws::String& GetAgentId() const{ return m_agentId; } + inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; } + inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; } + inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); } + inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); } + inline AssociateAgentCollaboratorRequest& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;} + inline AssociateAgentCollaboratorRequest& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;} + inline AssociateAgentCollaboratorRequest& WithAgentId(const char* value) { SetAgentId(value); return *this;} + ///@} + + ///@{ + /** + *

    An agent version.

    + */ + inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; } + inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; } + inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; } + inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); } + inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); } + inline AssociateAgentCollaboratorRequest& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;} + inline AssociateAgentCollaboratorRequest& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;} + inline AssociateAgentCollaboratorRequest& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;} + ///@} + + ///@{ + /** + *

    A client token.

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

    Instruction for the collaborator.

    + */ + inline const Aws::String& GetCollaborationInstruction() const{ return m_collaborationInstruction; } + inline bool CollaborationInstructionHasBeenSet() const { return m_collaborationInstructionHasBeenSet; } + inline void SetCollaborationInstruction(const Aws::String& value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction = value; } + inline void SetCollaborationInstruction(Aws::String&& value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction = std::move(value); } + inline void SetCollaborationInstruction(const char* value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction.assign(value); } + inline AssociateAgentCollaboratorRequest& WithCollaborationInstruction(const Aws::String& value) { SetCollaborationInstruction(value); return *this;} + inline AssociateAgentCollaboratorRequest& WithCollaborationInstruction(Aws::String&& value) { SetCollaborationInstruction(std::move(value)); return *this;} + inline AssociateAgentCollaboratorRequest& WithCollaborationInstruction(const char* value) { SetCollaborationInstruction(value); return *this;} + ///@} + + ///@{ + /** + *

    A name for the collaborator.

    + */ + inline const Aws::String& GetCollaboratorName() const{ return m_collaboratorName; } + inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; } + inline void SetCollaboratorName(const Aws::String& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = value; } + inline void SetCollaboratorName(Aws::String&& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = std::move(value); } + inline void SetCollaboratorName(const char* value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName.assign(value); } + inline AssociateAgentCollaboratorRequest& WithCollaboratorName(const Aws::String& value) { SetCollaboratorName(value); return *this;} + inline AssociateAgentCollaboratorRequest& WithCollaboratorName(Aws::String&& value) { SetCollaboratorName(std::move(value)); return *this;} + inline AssociateAgentCollaboratorRequest& WithCollaboratorName(const char* value) { SetCollaboratorName(value); return *this;} + ///@} + + ///@{ + /** + *

    A relay conversation history for the collaborator.

    + */ + inline const RelayConversationHistory& GetRelayConversationHistory() const{ return m_relayConversationHistory; } + inline bool RelayConversationHistoryHasBeenSet() const { return m_relayConversationHistoryHasBeenSet; } + inline void SetRelayConversationHistory(const RelayConversationHistory& value) { m_relayConversationHistoryHasBeenSet = true; m_relayConversationHistory = value; } + inline void SetRelayConversationHistory(RelayConversationHistory&& value) { m_relayConversationHistoryHasBeenSet = true; m_relayConversationHistory = std::move(value); } + inline AssociateAgentCollaboratorRequest& WithRelayConversationHistory(const RelayConversationHistory& value) { SetRelayConversationHistory(value); return *this;} + inline AssociateAgentCollaboratorRequest& WithRelayConversationHistory(RelayConversationHistory&& value) { SetRelayConversationHistory(std::move(value)); return *this;} + ///@} + private: + + AgentDescriptor m_agentDescriptor; + bool m_agentDescriptorHasBeenSet = false; + + Aws::String m_agentId; + bool m_agentIdHasBeenSet = false; + + Aws::String m_agentVersion; + bool m_agentVersionHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_collaborationInstruction; + bool m_collaborationInstructionHasBeenSet = false; + + Aws::String m_collaboratorName; + bool m_collaboratorNameHasBeenSet = false; + + RelayConversationHistory m_relayConversationHistory; + bool m_relayConversationHistoryHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AssociateAgentCollaboratorResult.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AssociateAgentCollaboratorResult.h new file mode 100644 index 00000000000..e29f2aafb4d --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/AssociateAgentCollaboratorResult.h @@ -0,0 +1,66 @@ +/** + * 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 BedrockAgent +{ +namespace Model +{ + class AssociateAgentCollaboratorResult + { + public: + AWS_BEDROCKAGENT_API AssociateAgentCollaboratorResult(); + AWS_BEDROCKAGENT_API AssociateAgentCollaboratorResult(const Aws::AmazonWebServiceResult& result); + AWS_BEDROCKAGENT_API AssociateAgentCollaboratorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    Details about the collaborator.

    + */ + inline const AgentCollaborator& GetAgentCollaborator() const{ return m_agentCollaborator; } + inline void SetAgentCollaborator(const AgentCollaborator& value) { m_agentCollaborator = value; } + inline void SetAgentCollaborator(AgentCollaborator&& value) { m_agentCollaborator = std::move(value); } + inline AssociateAgentCollaboratorResult& WithAgentCollaborator(const AgentCollaborator& value) { SetAgentCollaborator(value); return *this;} + inline AssociateAgentCollaboratorResult& WithAgentCollaborator(AgentCollaborator&& value) { SetAgentCollaborator(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline AssociateAgentCollaboratorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline AssociateAgentCollaboratorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline AssociateAgentCollaboratorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + AgentCollaborator m_agentCollaborator; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CreateAgentRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CreateAgentRequest.h index a5cadcb7fe8..c5b8182b91d 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CreateAgentRequest.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CreateAgentRequest.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -39,6 +40,18 @@ namespace Model AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override; + ///@{ + /** + *

    The agent's collaboration role.

    + */ + inline const AgentCollaboration& GetAgentCollaboration() const{ return m_agentCollaboration; } + inline bool AgentCollaborationHasBeenSet() const { return m_agentCollaborationHasBeenSet; } + inline void SetAgentCollaboration(const AgentCollaboration& value) { m_agentCollaborationHasBeenSet = true; m_agentCollaboration = value; } + inline void SetAgentCollaboration(AgentCollaboration&& value) { m_agentCollaborationHasBeenSet = true; m_agentCollaboration = std::move(value); } + inline CreateAgentRequest& WithAgentCollaboration(const AgentCollaboration& value) { SetAgentCollaboration(value); return *this;} + inline CreateAgentRequest& WithAgentCollaboration(AgentCollaboration&& value) { SetAgentCollaboration(std::move(value)); return *this;} + ///@} + ///@{ /** *

    A name for the agent that you create.

    @@ -268,6 +281,9 @@ namespace Model ///@} private: + AgentCollaboration m_agentCollaboration; + bool m_agentCollaborationHasBeenSet = false; + Aws::String m_agentName; bool m_agentNameHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/DisassociateAgentCollaboratorRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/DisassociateAgentCollaboratorRequest.h new file mode 100644 index 00000000000..707547c2c8e --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/DisassociateAgentCollaboratorRequest.h @@ -0,0 +1,90 @@ +/** + * 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 BedrockAgent +{ +namespace Model +{ + + /** + */ + class DisassociateAgentCollaboratorRequest : public BedrockAgentRequest + { + public: + AWS_BEDROCKAGENT_API DisassociateAgentCollaboratorRequest(); + + // 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 "DisassociateAgentCollaborator"; } + + AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    An agent ID.

    + */ + inline const Aws::String& GetAgentId() const{ return m_agentId; } + inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; } + inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; } + inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); } + inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); } + inline DisassociateAgentCollaboratorRequest& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;} + inline DisassociateAgentCollaboratorRequest& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;} + inline DisassociateAgentCollaboratorRequest& WithAgentId(const char* value) { SetAgentId(value); return *this;} + ///@} + + ///@{ + /** + *

    The agent's version.

    + */ + inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; } + inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; } + inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; } + inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); } + inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); } + inline DisassociateAgentCollaboratorRequest& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;} + inline DisassociateAgentCollaboratorRequest& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;} + inline DisassociateAgentCollaboratorRequest& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's ID.

    + */ + inline const Aws::String& GetCollaboratorId() const{ return m_collaboratorId; } + inline bool CollaboratorIdHasBeenSet() const { return m_collaboratorIdHasBeenSet; } + inline void SetCollaboratorId(const Aws::String& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = value; } + inline void SetCollaboratorId(Aws::String&& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = std::move(value); } + inline void SetCollaboratorId(const char* value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId.assign(value); } + inline DisassociateAgentCollaboratorRequest& WithCollaboratorId(const Aws::String& value) { SetCollaboratorId(value); return *this;} + inline DisassociateAgentCollaboratorRequest& WithCollaboratorId(Aws::String&& value) { SetCollaboratorId(std::move(value)); return *this;} + inline DisassociateAgentCollaboratorRequest& WithCollaboratorId(const char* value) { SetCollaboratorId(value); return *this;} + ///@} + private: + + Aws::String m_agentId; + bool m_agentIdHasBeenSet = false; + + Aws::String m_agentVersion; + bool m_agentVersionHasBeenSet = false; + + Aws::String m_collaboratorId; + bool m_collaboratorIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/DisassociateAgentCollaboratorResult.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/DisassociateAgentCollaboratorResult.h new file mode 100644 index 00000000000..39c481098a8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/DisassociateAgentCollaboratorResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BedrockAgent +{ +namespace Model +{ + class DisassociateAgentCollaboratorResult + { + public: + AWS_BEDROCKAGENT_API DisassociateAgentCollaboratorResult(); + AWS_BEDROCKAGENT_API DisassociateAgentCollaboratorResult(const Aws::AmazonWebServiceResult& result); + AWS_BEDROCKAGENT_API DisassociateAgentCollaboratorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DisassociateAgentCollaboratorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DisassociateAgentCollaboratorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DisassociateAgentCollaboratorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/GetAgentCollaboratorRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/GetAgentCollaboratorRequest.h new file mode 100644 index 00000000000..741c6ff57bc --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/GetAgentCollaboratorRequest.h @@ -0,0 +1,90 @@ +/** + * 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 BedrockAgent +{ +namespace Model +{ + + /** + */ + class GetAgentCollaboratorRequest : public BedrockAgentRequest + { + public: + AWS_BEDROCKAGENT_API GetAgentCollaboratorRequest(); + + // 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 "GetAgentCollaborator"; } + + AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The agent's ID.

    + */ + inline const Aws::String& GetAgentId() const{ return m_agentId; } + inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; } + inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; } + inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); } + inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); } + inline GetAgentCollaboratorRequest& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;} + inline GetAgentCollaboratorRequest& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;} + inline GetAgentCollaboratorRequest& WithAgentId(const char* value) { SetAgentId(value); return *this;} + ///@} + + ///@{ + /** + *

    The agent's version.

    + */ + inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; } + inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; } + inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; } + inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); } + inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); } + inline GetAgentCollaboratorRequest& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;} + inline GetAgentCollaboratorRequest& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;} + inline GetAgentCollaboratorRequest& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's ID.

    + */ + inline const Aws::String& GetCollaboratorId() const{ return m_collaboratorId; } + inline bool CollaboratorIdHasBeenSet() const { return m_collaboratorIdHasBeenSet; } + inline void SetCollaboratorId(const Aws::String& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = value; } + inline void SetCollaboratorId(Aws::String&& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = std::move(value); } + inline void SetCollaboratorId(const char* value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId.assign(value); } + inline GetAgentCollaboratorRequest& WithCollaboratorId(const Aws::String& value) { SetCollaboratorId(value); return *this;} + inline GetAgentCollaboratorRequest& WithCollaboratorId(Aws::String&& value) { SetCollaboratorId(std::move(value)); return *this;} + inline GetAgentCollaboratorRequest& WithCollaboratorId(const char* value) { SetCollaboratorId(value); return *this;} + ///@} + private: + + Aws::String m_agentId; + bool m_agentIdHasBeenSet = false; + + Aws::String m_agentVersion; + bool m_agentVersionHasBeenSet = false; + + Aws::String m_collaboratorId; + bool m_collaboratorIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/GetAgentCollaboratorResult.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/GetAgentCollaboratorResult.h new file mode 100644 index 00000000000..35b338a1bc5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/GetAgentCollaboratorResult.h @@ -0,0 +1,66 @@ +/** + * 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 BedrockAgent +{ +namespace Model +{ + class GetAgentCollaboratorResult + { + public: + AWS_BEDROCKAGENT_API GetAgentCollaboratorResult(); + AWS_BEDROCKAGENT_API GetAgentCollaboratorResult(const Aws::AmazonWebServiceResult& result); + AWS_BEDROCKAGENT_API GetAgentCollaboratorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    Details about the collaborator.

    + */ + inline const AgentCollaborator& GetAgentCollaborator() const{ return m_agentCollaborator; } + inline void SetAgentCollaborator(const AgentCollaborator& value) { m_agentCollaborator = value; } + inline void SetAgentCollaborator(AgentCollaborator&& value) { m_agentCollaborator = std::move(value); } + inline GetAgentCollaboratorResult& WithAgentCollaborator(const AgentCollaborator& value) { SetAgentCollaborator(value); return *this;} + inline GetAgentCollaboratorResult& WithAgentCollaborator(AgentCollaborator&& value) { SetAgentCollaborator(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetAgentCollaboratorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetAgentCollaboratorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetAgentCollaboratorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + AgentCollaborator m_agentCollaborator; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/ListAgentCollaboratorsRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/ListAgentCollaboratorsRequest.h new file mode 100644 index 00000000000..21089c59b62 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/ListAgentCollaboratorsRequest.h @@ -0,0 +1,105 @@ +/** + * 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 BedrockAgent +{ +namespace Model +{ + + /** + */ + class ListAgentCollaboratorsRequest : public BedrockAgentRequest + { + public: + AWS_BEDROCKAGENT_API ListAgentCollaboratorsRequest(); + + // 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 "ListAgentCollaborators"; } + + AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The agent's ID.

    + */ + inline const Aws::String& GetAgentId() const{ return m_agentId; } + inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; } + inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; } + inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); } + inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); } + inline ListAgentCollaboratorsRequest& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;} + inline ListAgentCollaboratorsRequest& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;} + inline ListAgentCollaboratorsRequest& WithAgentId(const char* value) { SetAgentId(value); return *this;} + ///@} + + ///@{ + /** + *

    The agent's version.

    + */ + inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; } + inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; } + inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; } + inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); } + inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); } + inline ListAgentCollaboratorsRequest& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;} + inline ListAgentCollaboratorsRequest& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;} + inline ListAgentCollaboratorsRequest& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;} + ///@} + + ///@{ + /** + *

    The maximum number of agent collaborators 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 ListAgentCollaboratorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

    Specify the pagination 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; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListAgentCollaboratorsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListAgentCollaboratorsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListAgentCollaboratorsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + private: + + Aws::String m_agentId; + bool m_agentIdHasBeenSet = false; + + Aws::String m_agentVersion; + bool m_agentVersionHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/ListAgentCollaboratorsResult.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/ListAgentCollaboratorsResult.h new file mode 100644 index 00000000000..1d6591d9802 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/ListAgentCollaboratorsResult.h @@ -0,0 +1,85 @@ +/** + * 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 BedrockAgent +{ +namespace Model +{ + class ListAgentCollaboratorsResult + { + public: + AWS_BEDROCKAGENT_API ListAgentCollaboratorsResult(); + AWS_BEDROCKAGENT_API ListAgentCollaboratorsResult(const Aws::AmazonWebServiceResult& result); + AWS_BEDROCKAGENT_API ListAgentCollaboratorsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    A list of collaborator summaries.

    + */ + inline const Aws::Vector& GetAgentCollaboratorSummaries() const{ return m_agentCollaboratorSummaries; } + inline void SetAgentCollaboratorSummaries(const Aws::Vector& value) { m_agentCollaboratorSummaries = value; } + inline void SetAgentCollaboratorSummaries(Aws::Vector&& value) { m_agentCollaboratorSummaries = std::move(value); } + inline ListAgentCollaboratorsResult& WithAgentCollaboratorSummaries(const Aws::Vector& value) { SetAgentCollaboratorSummaries(value); return *this;} + inline ListAgentCollaboratorsResult& WithAgentCollaboratorSummaries(Aws::Vector&& value) { SetAgentCollaboratorSummaries(std::move(value)); return *this;} + inline ListAgentCollaboratorsResult& AddAgentCollaboratorSummaries(const AgentCollaboratorSummary& value) { m_agentCollaboratorSummaries.push_back(value); return *this; } + inline ListAgentCollaboratorsResult& AddAgentCollaboratorSummaries(AgentCollaboratorSummary&& value) { m_agentCollaboratorSummaries.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    Specify the pagination token from a previous request to retrieve the next + * page of results.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListAgentCollaboratorsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListAgentCollaboratorsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListAgentCollaboratorsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListAgentCollaboratorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListAgentCollaboratorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListAgentCollaboratorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_agentCollaboratorSummaries; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/PromptConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/PromptConfiguration.h index 51c3b14b81b..2fb562913e3 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/PromptConfiguration.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/PromptConfiguration.h @@ -64,6 +64,20 @@ namespace Model inline PromptConfiguration& WithBasePromptTemplate(const char* value) { SetBasePromptTemplate(value); return *this;} ///@} + ///@{ + /** + *

    The agent's foundation model.

    + */ + inline const Aws::String& GetFoundationModel() const{ return m_foundationModel; } + inline bool FoundationModelHasBeenSet() const { return m_foundationModelHasBeenSet; } + inline void SetFoundationModel(const Aws::String& value) { m_foundationModelHasBeenSet = true; m_foundationModel = value; } + inline void SetFoundationModel(Aws::String&& value) { m_foundationModelHasBeenSet = true; m_foundationModel = std::move(value); } + inline void SetFoundationModel(const char* value) { m_foundationModelHasBeenSet = true; m_foundationModel.assign(value); } + inline PromptConfiguration& WithFoundationModel(const Aws::String& value) { SetFoundationModel(value); return *this;} + inline PromptConfiguration& WithFoundationModel(Aws::String&& value) { SetFoundationModel(std::move(value)); return *this;} + inline PromptConfiguration& WithFoundationModel(const char* value) { SetFoundationModel(value); return *this;} + ///@} + ///@{ /** *

    Contains inference parameters to use when the agent invokes a foundation @@ -147,6 +161,9 @@ namespace Model Aws::String m_basePromptTemplate; bool m_basePromptTemplateHasBeenSet = false; + Aws::String m_foundationModel; + bool m_foundationModelHasBeenSet = false; + InferenceConfiguration m_inferenceConfiguration; bool m_inferenceConfigurationHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/RelayConversationHistory.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/RelayConversationHistory.h new file mode 100644 index 00000000000..c5c831a139d --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/RelayConversationHistory.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BedrockAgent +{ +namespace Model +{ + enum class RelayConversationHistory + { + NOT_SET, + TO_COLLABORATOR, + DISABLED + }; + +namespace RelayConversationHistoryMapper +{ +AWS_BEDROCKAGENT_API RelayConversationHistory GetRelayConversationHistoryForName(const Aws::String& name); + +AWS_BEDROCKAGENT_API Aws::String GetNameForRelayConversationHistory(RelayConversationHistory value); +} // namespace RelayConversationHistoryMapper +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentCollaboratorRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentCollaboratorRequest.h new file mode 100644 index 00000000000..4de8a691ec0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentCollaboratorRequest.h @@ -0,0 +1,156 @@ +/** + * 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 BedrockAgent +{ +namespace Model +{ + + /** + */ + class UpdateAgentCollaboratorRequest : public BedrockAgentRequest + { + public: + AWS_BEDROCKAGENT_API UpdateAgentCollaboratorRequest(); + + // 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 "UpdateAgentCollaborator"; } + + AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    An agent descriptor for the agent collaborator.

    + */ + inline const AgentDescriptor& GetAgentDescriptor() const{ return m_agentDescriptor; } + inline bool AgentDescriptorHasBeenSet() const { return m_agentDescriptorHasBeenSet; } + inline void SetAgentDescriptor(const AgentDescriptor& value) { m_agentDescriptorHasBeenSet = true; m_agentDescriptor = value; } + inline void SetAgentDescriptor(AgentDescriptor&& value) { m_agentDescriptorHasBeenSet = true; m_agentDescriptor = std::move(value); } + inline UpdateAgentCollaboratorRequest& WithAgentDescriptor(const AgentDescriptor& value) { SetAgentDescriptor(value); return *this;} + inline UpdateAgentCollaboratorRequest& WithAgentDescriptor(AgentDescriptor&& value) { SetAgentDescriptor(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The agent's ID.

    + */ + inline const Aws::String& GetAgentId() const{ return m_agentId; } + inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; } + inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; } + inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); } + inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); } + inline UpdateAgentCollaboratorRequest& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;} + inline UpdateAgentCollaboratorRequest& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;} + inline UpdateAgentCollaboratorRequest& WithAgentId(const char* value) { SetAgentId(value); return *this;} + ///@} + + ///@{ + /** + *

    The agent's version.

    + */ + inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; } + inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; } + inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; } + inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); } + inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); } + inline UpdateAgentCollaboratorRequest& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;} + inline UpdateAgentCollaboratorRequest& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;} + inline UpdateAgentCollaboratorRequest& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;} + ///@} + + ///@{ + /** + *

    Instruction for the collaborator.

    + */ + inline const Aws::String& GetCollaborationInstruction() const{ return m_collaborationInstruction; } + inline bool CollaborationInstructionHasBeenSet() const { return m_collaborationInstructionHasBeenSet; } + inline void SetCollaborationInstruction(const Aws::String& value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction = value; } + inline void SetCollaborationInstruction(Aws::String&& value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction = std::move(value); } + inline void SetCollaborationInstruction(const char* value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction.assign(value); } + inline UpdateAgentCollaboratorRequest& WithCollaborationInstruction(const Aws::String& value) { SetCollaborationInstruction(value); return *this;} + inline UpdateAgentCollaboratorRequest& WithCollaborationInstruction(Aws::String&& value) { SetCollaborationInstruction(std::move(value)); return *this;} + inline UpdateAgentCollaboratorRequest& WithCollaborationInstruction(const char* value) { SetCollaborationInstruction(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's ID.

    + */ + inline const Aws::String& GetCollaboratorId() const{ return m_collaboratorId; } + inline bool CollaboratorIdHasBeenSet() const { return m_collaboratorIdHasBeenSet; } + inline void SetCollaboratorId(const Aws::String& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = value; } + inline void SetCollaboratorId(Aws::String&& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = std::move(value); } + inline void SetCollaboratorId(const char* value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId.assign(value); } + inline UpdateAgentCollaboratorRequest& WithCollaboratorId(const Aws::String& value) { SetCollaboratorId(value); return *this;} + inline UpdateAgentCollaboratorRequest& WithCollaboratorId(Aws::String&& value) { SetCollaboratorId(std::move(value)); return *this;} + inline UpdateAgentCollaboratorRequest& WithCollaboratorId(const char* value) { SetCollaboratorId(value); return *this;} + ///@} + + ///@{ + /** + *

    The collaborator's name.

    + */ + inline const Aws::String& GetCollaboratorName() const{ return m_collaboratorName; } + inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; } + inline void SetCollaboratorName(const Aws::String& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = value; } + inline void SetCollaboratorName(Aws::String&& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = std::move(value); } + inline void SetCollaboratorName(const char* value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName.assign(value); } + inline UpdateAgentCollaboratorRequest& WithCollaboratorName(const Aws::String& value) { SetCollaboratorName(value); return *this;} + inline UpdateAgentCollaboratorRequest& WithCollaboratorName(Aws::String&& value) { SetCollaboratorName(std::move(value)); return *this;} + inline UpdateAgentCollaboratorRequest& WithCollaboratorName(const char* value) { SetCollaboratorName(value); return *this;} + ///@} + + ///@{ + /** + *

    A relay conversation history for the collaborator.

    + */ + inline const RelayConversationHistory& GetRelayConversationHistory() const{ return m_relayConversationHistory; } + inline bool RelayConversationHistoryHasBeenSet() const { return m_relayConversationHistoryHasBeenSet; } + inline void SetRelayConversationHistory(const RelayConversationHistory& value) { m_relayConversationHistoryHasBeenSet = true; m_relayConversationHistory = value; } + inline void SetRelayConversationHistory(RelayConversationHistory&& value) { m_relayConversationHistoryHasBeenSet = true; m_relayConversationHistory = std::move(value); } + inline UpdateAgentCollaboratorRequest& WithRelayConversationHistory(const RelayConversationHistory& value) { SetRelayConversationHistory(value); return *this;} + inline UpdateAgentCollaboratorRequest& WithRelayConversationHistory(RelayConversationHistory&& value) { SetRelayConversationHistory(std::move(value)); return *this;} + ///@} + private: + + AgentDescriptor m_agentDescriptor; + bool m_agentDescriptorHasBeenSet = false; + + Aws::String m_agentId; + bool m_agentIdHasBeenSet = false; + + Aws::String m_agentVersion; + bool m_agentVersionHasBeenSet = false; + + Aws::String m_collaborationInstruction; + bool m_collaborationInstructionHasBeenSet = false; + + Aws::String m_collaboratorId; + bool m_collaboratorIdHasBeenSet = false; + + Aws::String m_collaboratorName; + bool m_collaboratorNameHasBeenSet = false; + + RelayConversationHistory m_relayConversationHistory; + bool m_relayConversationHistoryHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentCollaboratorResult.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentCollaboratorResult.h new file mode 100644 index 00000000000..51d91b4eb9b --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentCollaboratorResult.h @@ -0,0 +1,66 @@ +/** + * 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 BedrockAgent +{ +namespace Model +{ + class UpdateAgentCollaboratorResult + { + public: + AWS_BEDROCKAGENT_API UpdateAgentCollaboratorResult(); + AWS_BEDROCKAGENT_API UpdateAgentCollaboratorResult(const Aws::AmazonWebServiceResult& result); + AWS_BEDROCKAGENT_API UpdateAgentCollaboratorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    Details about the collaborator.

    + */ + inline const AgentCollaborator& GetAgentCollaborator() const{ return m_agentCollaborator; } + inline void SetAgentCollaborator(const AgentCollaborator& value) { m_agentCollaborator = value; } + inline void SetAgentCollaborator(AgentCollaborator&& value) { m_agentCollaborator = std::move(value); } + inline UpdateAgentCollaboratorResult& WithAgentCollaborator(const AgentCollaborator& value) { SetAgentCollaborator(value); return *this;} + inline UpdateAgentCollaboratorResult& WithAgentCollaborator(AgentCollaborator&& value) { SetAgentCollaborator(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateAgentCollaboratorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateAgentCollaboratorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateAgentCollaboratorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + AgentCollaborator m_agentCollaborator; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentRequest.h index 1238961f5aa..44fa7a4a3e4 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentRequest.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/UpdateAgentRequest.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -37,6 +38,18 @@ namespace Model AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override; + ///@{ + /** + *

    The agent's collaboration role.

    + */ + inline const AgentCollaboration& GetAgentCollaboration() const{ return m_agentCollaboration; } + inline bool AgentCollaborationHasBeenSet() const { return m_agentCollaborationHasBeenSet; } + inline void SetAgentCollaboration(const AgentCollaboration& value) { m_agentCollaborationHasBeenSet = true; m_agentCollaboration = value; } + inline void SetAgentCollaboration(AgentCollaboration&& value) { m_agentCollaborationHasBeenSet = true; m_agentCollaboration = std::move(value); } + inline UpdateAgentRequest& WithAgentCollaboration(const AgentCollaboration& value) { SetAgentCollaboration(value); return *this;} + inline UpdateAgentRequest& WithAgentCollaboration(AgentCollaboration&& value) { SetAgentCollaboration(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The unique identifier of the agent.

    @@ -243,6 +256,9 @@ namespace Model ///@} private: + AgentCollaboration m_agentCollaboration; + bool m_agentCollaborationHasBeenSet = false; + Aws::String m_agentId; bool m_agentIdHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/BedrockAgentClient.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/BedrockAgentClient.cpp index 29368268795..a51e78c015f 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/source/BedrockAgentClient.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/BedrockAgentClient.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -43,10 +44,12 @@ #include #include #include +#include #include #include #include #include +#include #include #include #include @@ -60,6 +63,7 @@ #include #include #include +#include #include #include #include @@ -81,6 +85,7 @@ #include #include #include +#include #include #include #include @@ -231,6 +236,47 @@ void BedrockAgentClient::OverrideEndpoint(const Aws::String& endpoint) m_endpointProvider->OverrideEndpoint(endpoint); } +AssociateAgentCollaboratorOutcome BedrockAgentClient::AssociateAgentCollaborator(const AssociateAgentCollaboratorRequest& request) const +{ + AWS_OPERATION_GUARD(AssociateAgentCollaborator); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssociateAgentCollaborator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AgentIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateAgentCollaborator", "Required field: AgentId, is not set"); + return AssociateAgentCollaboratorOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AgentId]", false)); + } + if (!request.AgentVersionHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateAgentCollaborator", "Required field: AgentVersion, is not set"); + return AssociateAgentCollaboratorOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AgentVersion]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssociateAgentCollaborator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AssociateAgentCollaborator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssociateAgentCollaborator", + {{ 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( + [&]()-> AssociateAgentCollaboratorOutcome { + 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, AssociateAgentCollaborator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agents/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAgentId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agentversions/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAgentVersion()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agentcollaborators/"); + return AssociateAgentCollaboratorOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + AssociateAgentKnowledgeBaseOutcome BedrockAgentClient::AssociateAgentKnowledgeBase(const AssociateAgentKnowledgeBaseRequest& request) const { AWS_OPERATION_GUARD(AssociateAgentKnowledgeBase); @@ -1011,6 +1057,53 @@ DeletePromptOutcome BedrockAgentClient::DeletePrompt(const DeletePromptRequest& {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DisassociateAgentCollaboratorOutcome BedrockAgentClient::DisassociateAgentCollaborator(const DisassociateAgentCollaboratorRequest& request) const +{ + AWS_OPERATION_GUARD(DisassociateAgentCollaborator); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateAgentCollaborator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AgentIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateAgentCollaborator", "Required field: AgentId, is not set"); + return DisassociateAgentCollaboratorOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AgentId]", false)); + } + if (!request.AgentVersionHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateAgentCollaborator", "Required field: AgentVersion, is not set"); + return DisassociateAgentCollaboratorOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AgentVersion]", false)); + } + if (!request.CollaboratorIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateAgentCollaborator", "Required field: CollaboratorId, is not set"); + return DisassociateAgentCollaboratorOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [CollaboratorId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateAgentCollaborator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DisassociateAgentCollaborator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DisassociateAgentCollaborator", + {{ 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( + [&]()-> DisassociateAgentCollaboratorOutcome { + 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, DisassociateAgentCollaborator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agents/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAgentId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agentversions/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAgentVersion()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agentcollaborators/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetCollaboratorId()); + return DisassociateAgentCollaboratorOutcome(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()}}); +} + DisassociateAgentKnowledgeBaseOutcome BedrockAgentClient::DisassociateAgentKnowledgeBase(const DisassociateAgentKnowledgeBaseRequest& request) const { AWS_OPERATION_GUARD(DisassociateAgentKnowledgeBase); @@ -1178,6 +1271,53 @@ GetAgentAliasOutcome BedrockAgentClient::GetAgentAlias(const GetAgentAliasReques {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetAgentCollaboratorOutcome BedrockAgentClient::GetAgentCollaborator(const GetAgentCollaboratorRequest& request) const +{ + AWS_OPERATION_GUARD(GetAgentCollaborator); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetAgentCollaborator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AgentIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetAgentCollaborator", "Required field: AgentId, is not set"); + return GetAgentCollaboratorOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AgentId]", false)); + } + if (!request.AgentVersionHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetAgentCollaborator", "Required field: AgentVersion, is not set"); + return GetAgentCollaboratorOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AgentVersion]", false)); + } + if (!request.CollaboratorIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetAgentCollaborator", "Required field: CollaboratorId, is not set"); + return GetAgentCollaboratorOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [CollaboratorId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetAgentCollaborator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetAgentCollaborator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetAgentCollaborator", + {{ 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( + [&]()-> GetAgentCollaboratorOutcome { + 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, GetAgentCollaborator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agents/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAgentId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agentversions/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAgentVersion()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agentcollaborators/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetCollaboratorId()); + return GetAgentCollaboratorOutcome(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()}}); +} + GetAgentKnowledgeBaseOutcome BedrockAgentClient::GetAgentKnowledgeBase(const GetAgentKnowledgeBaseRequest& request) const { AWS_OPERATION_GUARD(GetAgentKnowledgeBase); @@ -1688,6 +1828,47 @@ ListAgentAliasesOutcome BedrockAgentClient::ListAgentAliases(const ListAgentAlia {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListAgentCollaboratorsOutcome BedrockAgentClient::ListAgentCollaborators(const ListAgentCollaboratorsRequest& request) const +{ + AWS_OPERATION_GUARD(ListAgentCollaborators); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListAgentCollaborators, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AgentIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListAgentCollaborators", "Required field: AgentId, is not set"); + return ListAgentCollaboratorsOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AgentId]", false)); + } + if (!request.AgentVersionHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListAgentCollaborators", "Required field: AgentVersion, is not set"); + return ListAgentCollaboratorsOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AgentVersion]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListAgentCollaborators, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListAgentCollaborators, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListAgentCollaborators", + {{ 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( + [&]()-> ListAgentCollaboratorsOutcome { + 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, ListAgentCollaborators, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agents/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAgentId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agentversions/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAgentVersion()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agentcollaborators/"); + return ListAgentCollaboratorsOutcome(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()}}); +} + ListAgentKnowledgeBasesOutcome BedrockAgentClient::ListAgentKnowledgeBases(const ListAgentKnowledgeBasesRequest& request) const { AWS_OPERATION_GUARD(ListAgentKnowledgeBases); @@ -2434,6 +2615,53 @@ UpdateAgentAliasOutcome BedrockAgentClient::UpdateAgentAlias(const UpdateAgentAl {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateAgentCollaboratorOutcome BedrockAgentClient::UpdateAgentCollaborator(const UpdateAgentCollaboratorRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateAgentCollaborator); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateAgentCollaborator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AgentIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateAgentCollaborator", "Required field: AgentId, is not set"); + return UpdateAgentCollaboratorOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AgentId]", false)); + } + if (!request.AgentVersionHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateAgentCollaborator", "Required field: AgentVersion, is not set"); + return UpdateAgentCollaboratorOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AgentVersion]", false)); + } + if (!request.CollaboratorIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateAgentCollaborator", "Required field: CollaboratorId, is not set"); + return UpdateAgentCollaboratorOutcome(Aws::Client::AWSError(BedrockAgentErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [CollaboratorId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateAgentCollaborator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateAgentCollaborator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateAgentCollaborator", + {{ 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( + [&]()-> UpdateAgentCollaboratorOutcome { + 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, UpdateAgentCollaborator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agents/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAgentId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agentversions/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAgentVersion()); + endpointResolutionOutcome.GetResult().AddPathSegments("/agentcollaborators/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetCollaboratorId()); + return UpdateAgentCollaboratorOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateAgentKnowledgeBaseOutcome BedrockAgentClient::UpdateAgentKnowledgeBase(const UpdateAgentKnowledgeBaseRequest& request) const { AWS_OPERATION_GUARD(UpdateAgentKnowledgeBase); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/Agent.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/Agent.cpp index f28c09173f0..c8304b324d3 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/Agent.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/Agent.cpp @@ -20,6 +20,8 @@ namespace Model Agent::Agent() : m_agentArnHasBeenSet(false), + m_agentCollaboration(AgentCollaboration::NOT_SET), + m_agentCollaborationHasBeenSet(false), m_agentIdHasBeenSet(false), m_agentNameHasBeenSet(false), m_agentResourceRoleArnHasBeenSet(false), @@ -62,6 +64,13 @@ Agent& Agent::operator =(JsonView jsonValue) m_agentArnHasBeenSet = true; } + if(jsonValue.ValueExists("agentCollaboration")) + { + m_agentCollaboration = AgentCollaborationMapper::GetAgentCollaborationForName(jsonValue.GetString("agentCollaboration")); + + m_agentCollaborationHasBeenSet = true; + } + if(jsonValue.ValueExists("agentId")) { m_agentId = jsonValue.GetString("agentId"); @@ -228,6 +237,11 @@ JsonValue Agent::Jsonize() const } + if(m_agentCollaborationHasBeenSet) + { + payload.WithString("agentCollaboration", AgentCollaborationMapper::GetNameForAgentCollaboration(m_agentCollaboration)); + } + if(m_agentIdHasBeenSet) { payload.WithString("agentId", m_agentId); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentCollaboration.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentCollaboration.cpp new file mode 100644 index 00000000000..160dbd51aa8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentCollaboration.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BedrockAgent + { + namespace Model + { + namespace AgentCollaborationMapper + { + + static const int SUPERVISOR_HASH = HashingUtils::HashString("SUPERVISOR"); + static const int SUPERVISOR_ROUTER_HASH = HashingUtils::HashString("SUPERVISOR_ROUTER"); + static const int DISABLED_HASH = HashingUtils::HashString("DISABLED"); + + + AgentCollaboration GetAgentCollaborationForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SUPERVISOR_HASH) + { + return AgentCollaboration::SUPERVISOR; + } + else if (hashCode == SUPERVISOR_ROUTER_HASH) + { + return AgentCollaboration::SUPERVISOR_ROUTER; + } + else if (hashCode == DISABLED_HASH) + { + return AgentCollaboration::DISABLED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AgentCollaboration::NOT_SET; + } + + Aws::String GetNameForAgentCollaboration(AgentCollaboration enumValue) + { + switch(enumValue) + { + case AgentCollaboration::NOT_SET: + return {}; + case AgentCollaboration::SUPERVISOR: + return "SUPERVISOR"; + case AgentCollaboration::SUPERVISOR_ROUTER: + return "SUPERVISOR_ROUTER"; + case AgentCollaboration::DISABLED: + return "DISABLED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AgentCollaborationMapper + } // namespace Model + } // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentCollaborator.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentCollaborator.cpp new file mode 100644 index 00000000000..0e1ac0a7a89 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentCollaborator.cpp @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgent +{ +namespace Model +{ + +AgentCollaborator::AgentCollaborator() : + m_agentDescriptorHasBeenSet(false), + m_agentIdHasBeenSet(false), + m_agentVersionHasBeenSet(false), + m_clientTokenHasBeenSet(false), + m_collaborationInstructionHasBeenSet(false), + m_collaboratorIdHasBeenSet(false), + m_collaboratorNameHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_lastUpdatedAtHasBeenSet(false), + m_relayConversationHistory(RelayConversationHistory::NOT_SET), + m_relayConversationHistoryHasBeenSet(false) +{ +} + +AgentCollaborator::AgentCollaborator(JsonView jsonValue) + : AgentCollaborator() +{ + *this = jsonValue; +} + +AgentCollaborator& AgentCollaborator::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("agentDescriptor")) + { + m_agentDescriptor = jsonValue.GetObject("agentDescriptor"); + + m_agentDescriptorHasBeenSet = true; + } + + if(jsonValue.ValueExists("agentId")) + { + m_agentId = jsonValue.GetString("agentId"); + + m_agentIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("agentVersion")) + { + m_agentVersion = jsonValue.GetString("agentVersion"); + + m_agentVersionHasBeenSet = true; + } + + if(jsonValue.ValueExists("clientToken")) + { + m_clientToken = jsonValue.GetString("clientToken"); + + m_clientTokenHasBeenSet = true; + } + + if(jsonValue.ValueExists("collaborationInstruction")) + { + m_collaborationInstruction = jsonValue.GetString("collaborationInstruction"); + + m_collaborationInstructionHasBeenSet = true; + } + + if(jsonValue.ValueExists("collaboratorId")) + { + m_collaboratorId = jsonValue.GetString("collaboratorId"); + + m_collaboratorIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("collaboratorName")) + { + m_collaboratorName = jsonValue.GetString("collaboratorName"); + + m_collaboratorNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("lastUpdatedAt")) + { + m_lastUpdatedAt = jsonValue.GetString("lastUpdatedAt"); + + m_lastUpdatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("relayConversationHistory")) + { + m_relayConversationHistory = RelayConversationHistoryMapper::GetRelayConversationHistoryForName(jsonValue.GetString("relayConversationHistory")); + + m_relayConversationHistoryHasBeenSet = true; + } + + return *this; +} + +JsonValue AgentCollaborator::Jsonize() const +{ + JsonValue payload; + + if(m_agentDescriptorHasBeenSet) + { + payload.WithObject("agentDescriptor", m_agentDescriptor.Jsonize()); + + } + + if(m_agentIdHasBeenSet) + { + payload.WithString("agentId", m_agentId); + + } + + if(m_agentVersionHasBeenSet) + { + payload.WithString("agentVersion", m_agentVersion); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("clientToken", m_clientToken); + + } + + if(m_collaborationInstructionHasBeenSet) + { + payload.WithString("collaborationInstruction", m_collaborationInstruction); + + } + + if(m_collaboratorIdHasBeenSet) + { + payload.WithString("collaboratorId", m_collaboratorId); + + } + + if(m_collaboratorNameHasBeenSet) + { + payload.WithString("collaboratorName", m_collaboratorName); + + } + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_lastUpdatedAtHasBeenSet) + { + payload.WithString("lastUpdatedAt", m_lastUpdatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_relayConversationHistoryHasBeenSet) + { + payload.WithString("relayConversationHistory", RelayConversationHistoryMapper::GetNameForRelayConversationHistory(m_relayConversationHistory)); + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentCollaboratorSummary.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentCollaboratorSummary.cpp new file mode 100644 index 00000000000..42bf24893a8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentCollaboratorSummary.cpp @@ -0,0 +1,169 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgent +{ +namespace Model +{ + +AgentCollaboratorSummary::AgentCollaboratorSummary() : + m_agentDescriptorHasBeenSet(false), + m_agentIdHasBeenSet(false), + m_agentVersionHasBeenSet(false), + m_collaborationInstructionHasBeenSet(false), + m_collaboratorIdHasBeenSet(false), + m_collaboratorNameHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_lastUpdatedAtHasBeenSet(false), + m_relayConversationHistory(RelayConversationHistory::NOT_SET), + m_relayConversationHistoryHasBeenSet(false) +{ +} + +AgentCollaboratorSummary::AgentCollaboratorSummary(JsonView jsonValue) + : AgentCollaboratorSummary() +{ + *this = jsonValue; +} + +AgentCollaboratorSummary& AgentCollaboratorSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("agentDescriptor")) + { + m_agentDescriptor = jsonValue.GetObject("agentDescriptor"); + + m_agentDescriptorHasBeenSet = true; + } + + if(jsonValue.ValueExists("agentId")) + { + m_agentId = jsonValue.GetString("agentId"); + + m_agentIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("agentVersion")) + { + m_agentVersion = jsonValue.GetString("agentVersion"); + + m_agentVersionHasBeenSet = true; + } + + if(jsonValue.ValueExists("collaborationInstruction")) + { + m_collaborationInstruction = jsonValue.GetString("collaborationInstruction"); + + m_collaborationInstructionHasBeenSet = true; + } + + if(jsonValue.ValueExists("collaboratorId")) + { + m_collaboratorId = jsonValue.GetString("collaboratorId"); + + m_collaboratorIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("collaboratorName")) + { + m_collaboratorName = jsonValue.GetString("collaboratorName"); + + m_collaboratorNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("lastUpdatedAt")) + { + m_lastUpdatedAt = jsonValue.GetString("lastUpdatedAt"); + + m_lastUpdatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("relayConversationHistory")) + { + m_relayConversationHistory = RelayConversationHistoryMapper::GetRelayConversationHistoryForName(jsonValue.GetString("relayConversationHistory")); + + m_relayConversationHistoryHasBeenSet = true; + } + + return *this; +} + +JsonValue AgentCollaboratorSummary::Jsonize() const +{ + JsonValue payload; + + if(m_agentDescriptorHasBeenSet) + { + payload.WithObject("agentDescriptor", m_agentDescriptor.Jsonize()); + + } + + if(m_agentIdHasBeenSet) + { + payload.WithString("agentId", m_agentId); + + } + + if(m_agentVersionHasBeenSet) + { + payload.WithString("agentVersion", m_agentVersion); + + } + + if(m_collaborationInstructionHasBeenSet) + { + payload.WithString("collaborationInstruction", m_collaborationInstruction); + + } + + if(m_collaboratorIdHasBeenSet) + { + payload.WithString("collaboratorId", m_collaboratorId); + + } + + if(m_collaboratorNameHasBeenSet) + { + payload.WithString("collaboratorName", m_collaboratorName); + + } + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_lastUpdatedAtHasBeenSet) + { + payload.WithString("lastUpdatedAt", m_lastUpdatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_relayConversationHistoryHasBeenSet) + { + payload.WithString("relayConversationHistory", RelayConversationHistoryMapper::GetNameForRelayConversationHistory(m_relayConversationHistory)); + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentDescriptor.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentDescriptor.cpp new file mode 100644 index 00000000000..7c0086378e8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentDescriptor.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockAgent +{ +namespace Model +{ + +AgentDescriptor::AgentDescriptor() : + m_aliasArnHasBeenSet(false) +{ +} + +AgentDescriptor::AgentDescriptor(JsonView jsonValue) + : AgentDescriptor() +{ + *this = jsonValue; +} + +AgentDescriptor& AgentDescriptor::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("aliasArn")) + { + m_aliasArn = jsonValue.GetString("aliasArn"); + + m_aliasArnHasBeenSet = true; + } + + return *this; +} + +JsonValue AgentDescriptor::Jsonize() const +{ + JsonValue payload; + + if(m_aliasArnHasBeenSet) + { + payload.WithString("aliasArn", m_aliasArn); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentVersion.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentVersion.cpp index 80e008c2c8d..12eea6f0fd0 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentVersion.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentVersion.cpp @@ -20,6 +20,8 @@ namespace Model AgentVersion::AgentVersion() : m_agentArnHasBeenSet(false), + m_agentCollaboration(AgentCollaboration::NOT_SET), + m_agentCollaborationHasBeenSet(false), m_agentIdHasBeenSet(false), m_agentNameHasBeenSet(false), m_agentResourceRoleArnHasBeenSet(false), @@ -57,6 +59,13 @@ AgentVersion& AgentVersion::operator =(JsonView jsonValue) m_agentArnHasBeenSet = true; } + if(jsonValue.ValueExists("agentCollaboration")) + { + m_agentCollaboration = AgentCollaborationMapper::GetAgentCollaborationForName(jsonValue.GetString("agentCollaboration")); + + m_agentCollaborationHasBeenSet = true; + } + if(jsonValue.ValueExists("agentId")) { m_agentId = jsonValue.GetString("agentId"); @@ -195,6 +204,11 @@ JsonValue AgentVersion::Jsonize() const } + if(m_agentCollaborationHasBeenSet) + { + payload.WithString("agentCollaboration", AgentCollaborationMapper::GetNameForAgentCollaboration(m_agentCollaboration)); + } + if(m_agentIdHasBeenSet) { payload.WithString("agentId", m_agentId); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AssociateAgentCollaboratorRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AssociateAgentCollaboratorRequest.cpp new file mode 100644 index 00000000000..4b9a836dfbc --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AssociateAgentCollaboratorRequest.cpp @@ -0,0 +1,66 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BedrockAgent::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AssociateAgentCollaboratorRequest::AssociateAgentCollaboratorRequest() : + m_agentDescriptorHasBeenSet(false), + m_agentIdHasBeenSet(false), + m_agentVersionHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_collaborationInstructionHasBeenSet(false), + m_collaboratorNameHasBeenSet(false), + m_relayConversationHistory(RelayConversationHistory::NOT_SET), + m_relayConversationHistoryHasBeenSet(false) +{ +} + +Aws::String AssociateAgentCollaboratorRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_agentDescriptorHasBeenSet) + { + payload.WithObject("agentDescriptor", m_agentDescriptor.Jsonize()); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("clientToken", m_clientToken); + + } + + if(m_collaborationInstructionHasBeenSet) + { + payload.WithString("collaborationInstruction", m_collaborationInstruction); + + } + + if(m_collaboratorNameHasBeenSet) + { + payload.WithString("collaboratorName", m_collaboratorName); + + } + + if(m_relayConversationHistoryHasBeenSet) + { + payload.WithString("relayConversationHistory", RelayConversationHistoryMapper::GetNameForRelayConversationHistory(m_relayConversationHistory)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AssociateAgentCollaboratorResult.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AssociateAgentCollaboratorResult.cpp new file mode 100644 index 00000000000..fd9f1b950c0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AssociateAgentCollaboratorResult.cpp @@ -0,0 +1,48 @@ +/** + * 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::BedrockAgent::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AssociateAgentCollaboratorResult::AssociateAgentCollaboratorResult() +{ +} + +AssociateAgentCollaboratorResult::AssociateAgentCollaboratorResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +AssociateAgentCollaboratorResult& AssociateAgentCollaboratorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("agentCollaborator")) + { + m_agentCollaborator = jsonValue.GetObject("agentCollaborator"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CreateAgentRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CreateAgentRequest.cpp index 00b2ff706bf..817e37865d4 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CreateAgentRequest.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CreateAgentRequest.cpp @@ -13,6 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateAgentRequest::CreateAgentRequest() : + m_agentCollaboration(AgentCollaboration::NOT_SET), + m_agentCollaborationHasBeenSet(false), m_agentNameHasBeenSet(false), m_agentResourceRoleArnHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), @@ -37,6 +39,11 @@ Aws::String CreateAgentRequest::SerializePayload() const { JsonValue payload; + if(m_agentCollaborationHasBeenSet) + { + payload.WithString("agentCollaboration", AgentCollaborationMapper::GetNameForAgentCollaboration(m_agentCollaboration)); + } + if(m_agentNameHasBeenSet) { payload.WithString("agentName", m_agentName); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/DisassociateAgentCollaboratorRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/DisassociateAgentCollaboratorRequest.cpp new file mode 100644 index 00000000000..46486209ae9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/DisassociateAgentCollaboratorRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BedrockAgent::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DisassociateAgentCollaboratorRequest::DisassociateAgentCollaboratorRequest() : + m_agentIdHasBeenSet(false), + m_agentVersionHasBeenSet(false), + m_collaboratorIdHasBeenSet(false) +{ +} + +Aws::String DisassociateAgentCollaboratorRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/DisassociateAgentCollaboratorResult.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/DisassociateAgentCollaboratorResult.cpp new file mode 100644 index 00000000000..2363e7d9873 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/DisassociateAgentCollaboratorResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BedrockAgent::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DisassociateAgentCollaboratorResult::DisassociateAgentCollaboratorResult() +{ +} + +DisassociateAgentCollaboratorResult::DisassociateAgentCollaboratorResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DisassociateAgentCollaboratorResult& DisassociateAgentCollaboratorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/GetAgentCollaboratorRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/GetAgentCollaboratorRequest.cpp new file mode 100644 index 00000000000..28cf9c0cc13 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/GetAgentCollaboratorRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BedrockAgent::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetAgentCollaboratorRequest::GetAgentCollaboratorRequest() : + m_agentIdHasBeenSet(false), + m_agentVersionHasBeenSet(false), + m_collaboratorIdHasBeenSet(false) +{ +} + +Aws::String GetAgentCollaboratorRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/GetAgentCollaboratorResult.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/GetAgentCollaboratorResult.cpp new file mode 100644 index 00000000000..2ca61f71b28 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/GetAgentCollaboratorResult.cpp @@ -0,0 +1,48 @@ +/** + * 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::BedrockAgent::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetAgentCollaboratorResult::GetAgentCollaboratorResult() +{ +} + +GetAgentCollaboratorResult::GetAgentCollaboratorResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetAgentCollaboratorResult& GetAgentCollaboratorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("agentCollaborator")) + { + m_agentCollaborator = jsonValue.GetObject("agentCollaborator"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/ListAgentCollaboratorsRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/ListAgentCollaboratorsRequest.cpp new file mode 100644 index 00000000000..2cc9ac63ff9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/ListAgentCollaboratorsRequest.cpp @@ -0,0 +1,45 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BedrockAgent::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListAgentCollaboratorsRequest::ListAgentCollaboratorsRequest() : + m_agentIdHasBeenSet(false), + m_agentVersionHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListAgentCollaboratorsRequest::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-bedrock-agent/source/model/ListAgentCollaboratorsResult.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/ListAgentCollaboratorsResult.cpp new file mode 100644 index 00000000000..29563427297 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/ListAgentCollaboratorsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BedrockAgent::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListAgentCollaboratorsResult::ListAgentCollaboratorsResult() +{ +} + +ListAgentCollaboratorsResult::ListAgentCollaboratorsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListAgentCollaboratorsResult& ListAgentCollaboratorsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("agentCollaboratorSummaries")) + { + Aws::Utils::Array agentCollaboratorSummariesJsonList = jsonValue.GetArray("agentCollaboratorSummaries"); + for(unsigned agentCollaboratorSummariesIndex = 0; agentCollaboratorSummariesIndex < agentCollaboratorSummariesJsonList.GetLength(); ++agentCollaboratorSummariesIndex) + { + m_agentCollaboratorSummaries.push_back(agentCollaboratorSummariesJsonList[agentCollaboratorSummariesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/PromptConfiguration.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/PromptConfiguration.cpp index e60d621a852..9d0f443e3c7 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/PromptConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/PromptConfiguration.cpp @@ -20,6 +20,7 @@ namespace Model PromptConfiguration::PromptConfiguration() : m_basePromptTemplateHasBeenSet(false), + m_foundationModelHasBeenSet(false), m_inferenceConfigurationHasBeenSet(false), m_parserMode(CreationMode::NOT_SET), m_parserModeHasBeenSet(false), @@ -47,6 +48,13 @@ PromptConfiguration& PromptConfiguration::operator =(JsonView jsonValue) m_basePromptTemplateHasBeenSet = true; } + if(jsonValue.ValueExists("foundationModel")) + { + m_foundationModel = jsonValue.GetString("foundationModel"); + + m_foundationModelHasBeenSet = true; + } + if(jsonValue.ValueExists("inferenceConfiguration")) { m_inferenceConfiguration = jsonValue.GetObject("inferenceConfiguration"); @@ -95,6 +103,12 @@ JsonValue PromptConfiguration::Jsonize() const } + if(m_foundationModelHasBeenSet) + { + payload.WithString("foundationModel", m_foundationModel); + + } + if(m_inferenceConfigurationHasBeenSet) { payload.WithObject("inferenceConfiguration", m_inferenceConfiguration.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/RelayConversationHistory.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/RelayConversationHistory.cpp new file mode 100644 index 00000000000..b33f408face --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/RelayConversationHistory.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BedrockAgent + { + namespace Model + { + namespace RelayConversationHistoryMapper + { + + static const int TO_COLLABORATOR_HASH = HashingUtils::HashString("TO_COLLABORATOR"); + static const int DISABLED_HASH = HashingUtils::HashString("DISABLED"); + + + RelayConversationHistory GetRelayConversationHistoryForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == TO_COLLABORATOR_HASH) + { + return RelayConversationHistory::TO_COLLABORATOR; + } + else if (hashCode == DISABLED_HASH) + { + return RelayConversationHistory::DISABLED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return RelayConversationHistory::NOT_SET; + } + + Aws::String GetNameForRelayConversationHistory(RelayConversationHistory enumValue) + { + switch(enumValue) + { + case RelayConversationHistory::NOT_SET: + return {}; + case RelayConversationHistory::TO_COLLABORATOR: + return "TO_COLLABORATOR"; + case RelayConversationHistory::DISABLED: + return "DISABLED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace RelayConversationHistoryMapper + } // namespace Model + } // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentCollaboratorRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentCollaboratorRequest.cpp new file mode 100644 index 00000000000..92df23ac5af --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentCollaboratorRequest.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BedrockAgent::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateAgentCollaboratorRequest::UpdateAgentCollaboratorRequest() : + m_agentDescriptorHasBeenSet(false), + m_agentIdHasBeenSet(false), + m_agentVersionHasBeenSet(false), + m_collaborationInstructionHasBeenSet(false), + m_collaboratorIdHasBeenSet(false), + m_collaboratorNameHasBeenSet(false), + m_relayConversationHistory(RelayConversationHistory::NOT_SET), + m_relayConversationHistoryHasBeenSet(false) +{ +} + +Aws::String UpdateAgentCollaboratorRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_agentDescriptorHasBeenSet) + { + payload.WithObject("agentDescriptor", m_agentDescriptor.Jsonize()); + + } + + if(m_collaborationInstructionHasBeenSet) + { + payload.WithString("collaborationInstruction", m_collaborationInstruction); + + } + + if(m_collaboratorNameHasBeenSet) + { + payload.WithString("collaboratorName", m_collaboratorName); + + } + + if(m_relayConversationHistoryHasBeenSet) + { + payload.WithString("relayConversationHistory", RelayConversationHistoryMapper::GetNameForRelayConversationHistory(m_relayConversationHistory)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentCollaboratorResult.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentCollaboratorResult.cpp new file mode 100644 index 00000000000..4492f84b327 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentCollaboratorResult.cpp @@ -0,0 +1,48 @@ +/** + * 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::BedrockAgent::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateAgentCollaboratorResult::UpdateAgentCollaboratorResult() +{ +} + +UpdateAgentCollaboratorResult::UpdateAgentCollaboratorResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateAgentCollaboratorResult& UpdateAgentCollaboratorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("agentCollaborator")) + { + m_agentCollaborator = jsonValue.GetObject("agentCollaborator"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentRequest.cpp index 8d208aad2ae..fc3bd428232 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentRequest.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/UpdateAgentRequest.cpp @@ -13,6 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateAgentRequest::UpdateAgentRequest() : + m_agentCollaboration(AgentCollaboration::NOT_SET), + m_agentCollaborationHasBeenSet(false), m_agentIdHasBeenSet(false), m_agentNameHasBeenSet(false), m_agentResourceRoleArnHasBeenSet(false), @@ -35,6 +37,11 @@ Aws::String UpdateAgentRequest::SerializePayload() const { JsonValue payload; + if(m_agentCollaborationHasBeenSet) + { + payload.WithString("agentCollaboration", AgentCollaborationMapper::GetNameForAgentCollaboration(m_agentCollaboration)); + } + if(m_agentNameHasBeenSet) { payload.WithString("agentName", m_agentName); diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/BedrockRuntimeClient.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/BedrockRuntimeClient.h index eadc9631fe1..f3913a582ce 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/BedrockRuntimeClient.h +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/BedrockRuntimeClient.h @@ -78,7 +78,12 @@ namespace BedrockRuntime virtual ~BedrockRuntimeClient(); /** - *

    The action to apply a guardrail.

    See Also:

    The action to apply a guardrail.

    For troubleshooting some of the + * common errors you might encounter when using the ApplyGuardrail + * API, see Troubleshooting + * Amazon Bedrock API Error Codes in the Amazon Bedrock User + * Guide

    See Also:

    AWS * API Reference

    */ @@ -239,6 +244,32 @@ namespace BedrockRuntime return SubmitAsync(&BedrockRuntimeClient::ConverseStream, request, handler, context); } + /** + *

    Retrieve information about an asynchronous invocation.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::GetAsyncInvokeOutcome GetAsyncInvoke(const Model::GetAsyncInvokeRequest& request) const; + + /** + * A Callable wrapper for GetAsyncInvoke that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetAsyncInvokeOutcomeCallable GetAsyncInvokeCallable(const GetAsyncInvokeRequestT& request) const + { + return SubmitCallable(&BedrockRuntimeClient::GetAsyncInvoke, request); + } + + /** + * An Async wrapper for GetAsyncInvoke that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetAsyncInvokeAsync(const GetAsyncInvokeRequestT& request, const GetAsyncInvokeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BedrockRuntimeClient::GetAsyncInvoke, request, handler, context); + } + /** *

    Invokes the specified Amazon Bedrock model to run inference using the prompt * and inference parameters provided in the request body. You use model inference @@ -333,6 +364,68 @@ namespace BedrockRuntime return SubmitAsync(&BedrockRuntimeClient::InvokeModelWithResponseStream, request, handler, context); } + /** + *

    Lists asynchronous invocations.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListAsyncInvokesOutcome ListAsyncInvokes(const Model::ListAsyncInvokesRequest& request = {}) const; + + /** + * A Callable wrapper for ListAsyncInvokes that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListAsyncInvokesOutcomeCallable ListAsyncInvokesCallable(const ListAsyncInvokesRequestT& request = {}) const + { + return SubmitCallable(&BedrockRuntimeClient::ListAsyncInvokes, request); + } + + /** + * An Async wrapper for ListAsyncInvokes that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListAsyncInvokesAsync(const ListAsyncInvokesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListAsyncInvokesRequestT& request = {}) const + { + return SubmitAsync(&BedrockRuntimeClient::ListAsyncInvokes, request, handler, context); + } + + /** + *

    Starts an asynchronous invocation.

    This operation requires permission + * for the bedrock:InvokeModel action.

    To deny all + * inference access to resources that you specify in the modelId field, you need to + * deny access to the bedrock:InvokeModel and + * bedrock:InvokeModelWithResponseStream actions. Doing this also + * denies access to the resource through the Converse API actions (Converse + * and ConverseStream). + * For more information see Deny + * access for inference on specific models.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::StartAsyncInvokeOutcome StartAsyncInvoke(const Model::StartAsyncInvokeRequest& request) const; + + /** + * A Callable wrapper for StartAsyncInvoke that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::StartAsyncInvokeOutcomeCallable StartAsyncInvokeCallable(const StartAsyncInvokeRequestT& request) const + { + return SubmitCallable(&BedrockRuntimeClient::StartAsyncInvoke, request); + } + + /** + * An Async wrapper for StartAsyncInvoke that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void StartAsyncInvokeAsync(const StartAsyncInvokeRequestT& request, const StartAsyncInvokeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BedrockRuntimeClient::StartAsyncInvoke, request, handler, context); + } + void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/BedrockRuntimeErrors.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/BedrockRuntimeErrors.h index 8097007abac..e590fb41041 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/BedrockRuntimeErrors.h +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/BedrockRuntimeErrors.h @@ -47,7 +47,8 @@ enum class BedrockRuntimeErrors UNKNOWN = 100, /////////////////////////////////////////////////////////////////////////////////////////// - INTERNAL_SERVER= static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1, + CONFLICT= static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1, + INTERNAL_SERVER, MODEL_ERROR, MODEL_NOT_READY, MODEL_STREAM_ERROR, diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/BedrockRuntimeServiceClientModel.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/BedrockRuntimeServiceClientModel.h index 5b6d4d8ac58..3894b886d44 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/BedrockRuntimeServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/BedrockRuntimeServiceClientModel.h @@ -20,7 +20,11 @@ /* Service model headers required in BedrockRuntimeClient header */ #include #include +#include #include +#include +#include +#include #include /* End of service model headers required in BedrockRuntimeClient header */ @@ -65,24 +69,33 @@ namespace Aws class ApplyGuardrailRequest; class ConverseRequest; class ConverseStreamRequest; + class GetAsyncInvokeRequest; class InvokeModelRequest; class InvokeModelWithResponseStreamRequest; + class ListAsyncInvokesRequest; + class StartAsyncInvokeRequest; /* End of service model forward declarations required in BedrockRuntimeClient header */ /* Service model Outcome class definitions */ typedef Aws::Utils::Outcome ApplyGuardrailOutcome; typedef Aws::Utils::Outcome ConverseOutcome; typedef Aws::Utils::Outcome ConverseStreamOutcome; + typedef Aws::Utils::Outcome GetAsyncInvokeOutcome; typedef Aws::Utils::Outcome InvokeModelOutcome; typedef Aws::Utils::Outcome InvokeModelWithResponseStreamOutcome; + typedef Aws::Utils::Outcome ListAsyncInvokesOutcome; + typedef Aws::Utils::Outcome StartAsyncInvokeOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ typedef std::future ApplyGuardrailOutcomeCallable; typedef std::future ConverseOutcomeCallable; typedef std::future ConverseStreamOutcomeCallable; + typedef std::future GetAsyncInvokeOutcomeCallable; typedef std::future InvokeModelOutcomeCallable; typedef std::future InvokeModelWithResponseStreamOutcomeCallable; + typedef std::future ListAsyncInvokesOutcomeCallable; + typedef std::future StartAsyncInvokeOutcomeCallable; /* End of service model Outcome callable definitions */ } // namespace Model @@ -92,8 +105,11 @@ namespace Aws typedef std::function&) > ApplyGuardrailResponseReceivedHandler; typedef std::function&) > ConverseResponseReceivedHandler; typedef std::function&) > ConverseStreamResponseReceivedHandler; + typedef std::function&) > GetAsyncInvokeResponseReceivedHandler; typedef std::function&) > InvokeModelResponseReceivedHandler; typedef std::function&) > InvokeModelWithResponseStreamResponseReceivedHandler; + typedef std::function&) > ListAsyncInvokesResponseReceivedHandler; + typedef std::function&) > StartAsyncInvokeResponseReceivedHandler; /* End of service model async handlers definitions */ } // namespace BedrockRuntime } // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeOutputDataConfig.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeOutputDataConfig.h new file mode 100644 index 00000000000..cc20db12b98 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeOutputDataConfig.h @@ -0,0 +1,59 @@ +/** + * 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 BedrockRuntime +{ +namespace Model +{ + + /** + *

    Asynchronous invocation output data settings.

    See Also:

    AWS + * API Reference

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

    A storage location for the output data in an S3 bucket

    + */ + inline const AsyncInvokeS3OutputDataConfig& GetS3OutputDataConfig() const{ return m_s3OutputDataConfig; } + inline bool S3OutputDataConfigHasBeenSet() const { return m_s3OutputDataConfigHasBeenSet; } + inline void SetS3OutputDataConfig(const AsyncInvokeS3OutputDataConfig& value) { m_s3OutputDataConfigHasBeenSet = true; m_s3OutputDataConfig = value; } + inline void SetS3OutputDataConfig(AsyncInvokeS3OutputDataConfig&& value) { m_s3OutputDataConfigHasBeenSet = true; m_s3OutputDataConfig = std::move(value); } + inline AsyncInvokeOutputDataConfig& WithS3OutputDataConfig(const AsyncInvokeS3OutputDataConfig& value) { SetS3OutputDataConfig(value); return *this;} + inline AsyncInvokeOutputDataConfig& WithS3OutputDataConfig(AsyncInvokeS3OutputDataConfig&& value) { SetS3OutputDataConfig(std::move(value)); return *this;} + ///@} + private: + + AsyncInvokeS3OutputDataConfig m_s3OutputDataConfig; + bool m_s3OutputDataConfigHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeS3OutputDataConfig.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeS3OutputDataConfig.h new file mode 100644 index 00000000000..6f1dfd66687 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeS3OutputDataConfig.h @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockRuntime +{ +namespace Model +{ + + /** + *

    Asynchronous invocation output data settings.

    See Also:

    AWS + * API Reference

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

    An object URI starting with s3://.

    + */ + inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } + inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } + inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } + inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } + inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } + inline AsyncInvokeS3OutputDataConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} + inline AsyncInvokeS3OutputDataConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} + inline AsyncInvokeS3OutputDataConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} + ///@} + + ///@{ + /** + *

    A KMS encryption key ID.

    + */ + inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } + inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } + inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } + inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } + inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } + inline AsyncInvokeS3OutputDataConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} + inline AsyncInvokeS3OutputDataConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} + inline AsyncInvokeS3OutputDataConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + ///@} + + ///@{ + /** + *

    If the bucket belongs to another AWS account, specify that account's ID.

    + */ + inline const Aws::String& GetBucketOwner() const{ return m_bucketOwner; } + inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; } + inline void SetBucketOwner(const Aws::String& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = value; } + inline void SetBucketOwner(Aws::String&& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::move(value); } + inline void SetBucketOwner(const char* value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner.assign(value); } + inline AsyncInvokeS3OutputDataConfig& WithBucketOwner(const Aws::String& value) { SetBucketOwner(value); return *this;} + inline AsyncInvokeS3OutputDataConfig& WithBucketOwner(Aws::String&& value) { SetBucketOwner(std::move(value)); return *this;} + inline AsyncInvokeS3OutputDataConfig& WithBucketOwner(const char* value) { SetBucketOwner(value); return *this;} + ///@} + private: + + Aws::String m_s3Uri; + bool m_s3UriHasBeenSet = false; + + Aws::String m_kmsKeyId; + bool m_kmsKeyIdHasBeenSet = false; + + Aws::String m_bucketOwner; + bool m_bucketOwnerHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeStatus.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeStatus.h new file mode 100644 index 00000000000..c7f3f526a44 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeStatus.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BedrockRuntime +{ +namespace Model +{ + enum class AsyncInvokeStatus + { + NOT_SET, + InProgress, + Completed, + Failed + }; + +namespace AsyncInvokeStatusMapper +{ +AWS_BEDROCKRUNTIME_API AsyncInvokeStatus GetAsyncInvokeStatusForName(const Aws::String& name); + +AWS_BEDROCKRUNTIME_API Aws::String GetNameForAsyncInvokeStatus(AsyncInvokeStatus value); +} // namespace AsyncInvokeStatusMapper +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeSummary.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeSummary.h new file mode 100644 index 00000000000..1e601780c77 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/AsyncInvokeSummary.h @@ -0,0 +1,190 @@ +/** + * 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 BedrockRuntime +{ +namespace Model +{ + + /** + *

    A summary of an asynchronous invocation.

    See Also:

    AWS + * API Reference

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

    The invocation's ARN.

    + */ + inline const Aws::String& GetInvocationArn() const{ return m_invocationArn; } + inline bool InvocationArnHasBeenSet() const { return m_invocationArnHasBeenSet; } + inline void SetInvocationArn(const Aws::String& value) { m_invocationArnHasBeenSet = true; m_invocationArn = value; } + inline void SetInvocationArn(Aws::String&& value) { m_invocationArnHasBeenSet = true; m_invocationArn = std::move(value); } + inline void SetInvocationArn(const char* value) { m_invocationArnHasBeenSet = true; m_invocationArn.assign(value); } + inline AsyncInvokeSummary& WithInvocationArn(const Aws::String& value) { SetInvocationArn(value); return *this;} + inline AsyncInvokeSummary& WithInvocationArn(Aws::String&& value) { SetInvocationArn(std::move(value)); return *this;} + inline AsyncInvokeSummary& WithInvocationArn(const char* value) { SetInvocationArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The invoked model's ARN.

    + */ + inline const Aws::String& GetModelArn() const{ return m_modelArn; } + inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; } + inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; } + inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); } + inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); } + inline AsyncInvokeSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;} + inline AsyncInvokeSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;} + inline AsyncInvokeSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The invocation's idempotency token.

    + */ + inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } + inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } + inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } + inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } + inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } + inline AsyncInvokeSummary& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} + inline AsyncInvokeSummary& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} + inline AsyncInvokeSummary& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The invocation's status.

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

    An error message.

    + */ + inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; } + inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; } + inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; } + inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); } + inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); } + inline AsyncInvokeSummary& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;} + inline AsyncInvokeSummary& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;} + inline AsyncInvokeSummary& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;} + ///@} + + ///@{ + /** + *

    When the invocation was submitted.

    + */ + inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; } + inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; } + inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; } + inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); } + inline AsyncInvokeSummary& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;} + inline AsyncInvokeSummary& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    When the invocation was last modified.

    + */ + inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } + inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } + inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } + inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } + inline AsyncInvokeSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} + inline AsyncInvokeSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    When the invocation ended.

    + */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } + inline AsyncInvokeSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + inline AsyncInvokeSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The invocation's output data settings.

    + */ + inline const AsyncInvokeOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } + inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; } + inline void SetOutputDataConfig(const AsyncInvokeOutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; } + inline void SetOutputDataConfig(AsyncInvokeOutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); } + inline AsyncInvokeSummary& WithOutputDataConfig(const AsyncInvokeOutputDataConfig& value) { SetOutputDataConfig(value); return *this;} + inline AsyncInvokeSummary& WithOutputDataConfig(AsyncInvokeOutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_invocationArn; + bool m_invocationArnHasBeenSet = false; + + Aws::String m_modelArn; + bool m_modelArnHasBeenSet = false; + + Aws::String m_clientRequestToken; + bool m_clientRequestTokenHasBeenSet = false; + + AsyncInvokeStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_failureMessage; + bool m_failureMessageHasBeenSet = false; + + Aws::Utils::DateTime m_submitTime; + bool m_submitTimeHasBeenSet = false; + + Aws::Utils::DateTime m_lastModifiedTime; + bool m_lastModifiedTimeHasBeenSet = false; + + Aws::Utils::DateTime m_endTime; + bool m_endTimeHasBeenSet = false; + + AsyncInvokeOutputDataConfig m_outputDataConfig; + bool m_outputDataConfigHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ContentBlock.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ContentBlock.h index bac0a033d66..92108d700c7 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ContentBlock.h +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ContentBlock.h @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -86,6 +87,18 @@ namespace Model inline ContentBlock& WithDocument(DocumentBlock&& value) { SetDocument(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    Video to include in the message.

    + */ + inline const VideoBlock& GetVideo() const{ return m_video; } + inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; } + inline void SetVideo(const VideoBlock& value) { m_videoHasBeenSet = true; m_video = value; } + inline void SetVideo(VideoBlock&& value) { m_videoHasBeenSet = true; m_video = std::move(value); } + inline ContentBlock& WithVideo(const VideoBlock& value) { SetVideo(value); return *this;} + inline ContentBlock& WithVideo(VideoBlock&& value) { SetVideo(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Information about a tool use request from a model.

    @@ -136,6 +149,9 @@ namespace Model DocumentBlock m_document; bool m_documentHasBeenSet = false; + VideoBlock m_video; + bool m_videoHasBeenSet = false; + ToolUseBlock m_toolUse; bool m_toolUseHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ConverseRequest.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ConverseRequest.h index 2ad236b3e26..911abfcfaa8 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ConverseRequest.h +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ConverseRequest.h @@ -127,9 +127,10 @@ namespace Model ///@{ /** *

    Configuration information for the tools that the model can use when - * generating a response.

    This field is only supported by Anthropic - * Claude 3, Cohere Command R, Cohere Command R+, and Mistral Large models.

    - * + * generating a response.

    For information about models that support tool + * use, see Supported + * models and model features.

    */ inline const ToolConfiguration& GetToolConfig() const{ return m_toolConfig; } inline bool ToolConfigHasBeenSet() const { return m_toolConfigHasBeenSet; } @@ -220,6 +221,25 @@ namespace Model inline ConverseRequest& AddAdditionalModelResponseFieldPaths(const char* value) { m_additionalModelResponseFieldPathsHasBeenSet = true; m_additionalModelResponseFieldPaths.push_back(value); return *this; } ///@} + ///@{ + /** + *

    Key-value pairs that you can use to filter invocation logs.

    + */ + inline const Aws::Map& GetRequestMetadata() const{ return m_requestMetadata; } + inline bool RequestMetadataHasBeenSet() const { return m_requestMetadataHasBeenSet; } + inline void SetRequestMetadata(const Aws::Map& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata = value; } + inline void SetRequestMetadata(Aws::Map&& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata = std::move(value); } + inline ConverseRequest& WithRequestMetadata(const Aws::Map& value) { SetRequestMetadata(value); return *this;} + inline ConverseRequest& WithRequestMetadata(Aws::Map&& value) { SetRequestMetadata(std::move(value)); return *this;} + inline ConverseRequest& AddRequestMetadata(const Aws::String& key, const Aws::String& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(key, value); return *this; } + inline ConverseRequest& AddRequestMetadata(Aws::String&& key, const Aws::String& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(std::move(key), value); return *this; } + inline ConverseRequest& AddRequestMetadata(const Aws::String& key, Aws::String&& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(key, std::move(value)); return *this; } + inline ConverseRequest& AddRequestMetadata(Aws::String&& key, Aws::String&& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(std::move(key), std::move(value)); return *this; } + inline ConverseRequest& AddRequestMetadata(const char* key, Aws::String&& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(key, std::move(value)); return *this; } + inline ConverseRequest& AddRequestMetadata(Aws::String&& key, const char* value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(std::move(key), value); return *this; } + inline ConverseRequest& AddRequestMetadata(const char* key, const char* value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(key, value); return *this; } + ///@} + ///@{ /** *

    Model performance settings for the request.

    @@ -260,6 +280,9 @@ namespace Model Aws::Vector m_additionalModelResponseFieldPaths; bool m_additionalModelResponseFieldPathsHasBeenSet = false; + Aws::Map m_requestMetadata; + bool m_requestMetadataHasBeenSet = false; + PerformanceConfiguration m_performanceConfig; bool m_performanceConfigHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ConverseStreamOutput.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ConverseStreamOutput.h index e64495cc2e8..6f8f96978bb 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ConverseStreamOutput.h +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ConverseStreamOutput.h @@ -145,8 +145,10 @@ namespace Model ///@{ /** - *

    Input validation failed. Check your request parameters and retry the - * request.

    + *

    The input fails to satisfy the constraints specified by Amazon + * Bedrock. For troubleshooting this error, see ValidationError + * in the Amazon Bedrock User Guide

    */ inline const ValidationException& GetValidationException() const{ return m_validationException; } inline bool ValidationExceptionHasBeenSet() const { return m_validationExceptionHasBeenSet; } @@ -158,7 +160,10 @@ namespace Model ///@{ /** - *

    The number of requests exceeds the limit. Resubmit your request later.

    + *

    Your request was denied due to exceeding the account quotas for Amazon + * Bedrock. For troubleshooting this error, see ThrottlingException + * in the Amazon Bedrock User Guide

    */ inline const ThrottlingException& GetThrottlingException() const{ return m_throttlingException; } inline bool ThrottlingExceptionHasBeenSet() const { return m_throttlingExceptionHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ConverseStreamRequest.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ConverseStreamRequest.h index 6d50dc7bcdc..18219e81898 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ConverseStreamRequest.h +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ConverseStreamRequest.h @@ -149,8 +149,10 @@ namespace Model ///@{ /** *

    Configuration information for the tools that the model can use when - * generating a response.

    This field is only supported by Anthropic - * Claude 3 models.

    + * generating a response.

    For information about models that support + * streaming tool use, see Supported + * models and model features.

    */ inline const ToolConfiguration& GetToolConfig() const{ return m_toolConfig; } inline bool ToolConfigHasBeenSet() const { return m_toolConfigHasBeenSet; } @@ -241,6 +243,25 @@ namespace Model inline ConverseStreamRequest& AddAdditionalModelResponseFieldPaths(const char* value) { m_additionalModelResponseFieldPathsHasBeenSet = true; m_additionalModelResponseFieldPaths.push_back(value); return *this; } ///@} + ///@{ + /** + *

    Key-value pairs that you can use to filter invocation logs.

    + */ + inline const Aws::Map& GetRequestMetadata() const{ return m_requestMetadata; } + inline bool RequestMetadataHasBeenSet() const { return m_requestMetadataHasBeenSet; } + inline void SetRequestMetadata(const Aws::Map& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata = value; } + inline void SetRequestMetadata(Aws::Map&& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata = std::move(value); } + inline ConverseStreamRequest& WithRequestMetadata(const Aws::Map& value) { SetRequestMetadata(value); return *this;} + inline ConverseStreamRequest& WithRequestMetadata(Aws::Map&& value) { SetRequestMetadata(std::move(value)); return *this;} + inline ConverseStreamRequest& AddRequestMetadata(const Aws::String& key, const Aws::String& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(key, value); return *this; } + inline ConverseStreamRequest& AddRequestMetadata(Aws::String&& key, const Aws::String& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(std::move(key), value); return *this; } + inline ConverseStreamRequest& AddRequestMetadata(const Aws::String& key, Aws::String&& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(key, std::move(value)); return *this; } + inline ConverseStreamRequest& AddRequestMetadata(Aws::String&& key, Aws::String&& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(std::move(key), std::move(value)); return *this; } + inline ConverseStreamRequest& AddRequestMetadata(const char* key, Aws::String&& value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(key, std::move(value)); return *this; } + inline ConverseStreamRequest& AddRequestMetadata(Aws::String&& key, const char* value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(std::move(key), value); return *this; } + inline ConverseStreamRequest& AddRequestMetadata(const char* key, const char* value) { m_requestMetadataHasBeenSet = true; m_requestMetadata.emplace(key, value); return *this; } + ///@} + ///@{ /** *

    Model performance settings for the request.

    @@ -281,6 +302,9 @@ namespace Model Aws::Vector m_additionalModelResponseFieldPaths; bool m_additionalModelResponseFieldPathsHasBeenSet = false; + Aws::Map m_requestMetadata; + bool m_requestMetadataHasBeenSet = false; + PerformanceConfiguration m_performanceConfig; bool m_performanceConfigHasBeenSet = false; ConverseStreamHandler m_handler; diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/GetAsyncInvokeRequest.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/GetAsyncInvokeRequest.h new file mode 100644 index 00000000000..0f7714b7402 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/GetAsyncInvokeRequest.h @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace BedrockRuntime +{ +namespace Model +{ + + /** + */ + class GetAsyncInvokeRequest : public BedrockRuntimeRequest + { + public: + AWS_BEDROCKRUNTIME_API GetAsyncInvokeRequest(); + + // 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 "GetAsyncInvoke"; } + + AWS_BEDROCKRUNTIME_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The invocation's ARN.

    + */ + inline const Aws::String& GetInvocationArn() const{ return m_invocationArn; } + inline bool InvocationArnHasBeenSet() const { return m_invocationArnHasBeenSet; } + inline void SetInvocationArn(const Aws::String& value) { m_invocationArnHasBeenSet = true; m_invocationArn = value; } + inline void SetInvocationArn(Aws::String&& value) { m_invocationArnHasBeenSet = true; m_invocationArn = std::move(value); } + inline void SetInvocationArn(const char* value) { m_invocationArnHasBeenSet = true; m_invocationArn.assign(value); } + inline GetAsyncInvokeRequest& WithInvocationArn(const Aws::String& value) { SetInvocationArn(value); return *this;} + inline GetAsyncInvokeRequest& WithInvocationArn(Aws::String&& value) { SetInvocationArn(std::move(value)); return *this;} + inline GetAsyncInvokeRequest& WithInvocationArn(const char* value) { SetInvocationArn(value); return *this;} + ///@} + private: + + Aws::String m_invocationArn; + bool m_invocationArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/GetAsyncInvokeResult.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/GetAsyncInvokeResult.h new file mode 100644 index 00000000000..46e7348426e --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/GetAsyncInvokeResult.h @@ -0,0 +1,180 @@ +/** + * 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 BedrockRuntime +{ +namespace Model +{ + class GetAsyncInvokeResult + { + public: + AWS_BEDROCKRUNTIME_API GetAsyncInvokeResult(); + AWS_BEDROCKRUNTIME_API GetAsyncInvokeResult(const Aws::AmazonWebServiceResult& result); + AWS_BEDROCKRUNTIME_API GetAsyncInvokeResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The invocation's ARN.

    + */ + inline const Aws::String& GetInvocationArn() const{ return m_invocationArn; } + inline void SetInvocationArn(const Aws::String& value) { m_invocationArn = value; } + inline void SetInvocationArn(Aws::String&& value) { m_invocationArn = std::move(value); } + inline void SetInvocationArn(const char* value) { m_invocationArn.assign(value); } + inline GetAsyncInvokeResult& WithInvocationArn(const Aws::String& value) { SetInvocationArn(value); return *this;} + inline GetAsyncInvokeResult& WithInvocationArn(Aws::String&& value) { SetInvocationArn(std::move(value)); return *this;} + inline GetAsyncInvokeResult& WithInvocationArn(const char* value) { SetInvocationArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The invocation's model ARN.

    + */ + inline const Aws::String& GetModelArn() const{ return m_modelArn; } + inline void SetModelArn(const Aws::String& value) { m_modelArn = value; } + inline void SetModelArn(Aws::String&& value) { m_modelArn = std::move(value); } + inline void SetModelArn(const char* value) { m_modelArn.assign(value); } + inline GetAsyncInvokeResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;} + inline GetAsyncInvokeResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;} + inline GetAsyncInvokeResult& WithModelArn(const char* value) { SetModelArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The invocation's idempotency token.

    + */ + inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } + inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; } + inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); } + inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); } + inline GetAsyncInvokeResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} + inline GetAsyncInvokeResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} + inline GetAsyncInvokeResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The invocation's status.

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

    An error message.

    + */ + inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; } + inline void SetFailureMessage(const Aws::String& value) { m_failureMessage = value; } + inline void SetFailureMessage(Aws::String&& value) { m_failureMessage = std::move(value); } + inline void SetFailureMessage(const char* value) { m_failureMessage.assign(value); } + inline GetAsyncInvokeResult& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;} + inline GetAsyncInvokeResult& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;} + inline GetAsyncInvokeResult& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;} + ///@} + + ///@{ + /** + *

    When the invocation request was submitted.

    + */ + inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; } + inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTime = value; } + inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTime = std::move(value); } + inline GetAsyncInvokeResult& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;} + inline GetAsyncInvokeResult& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The invocation's last modified time.

    + */ + inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } + inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } + inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); } + inline GetAsyncInvokeResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} + inline GetAsyncInvokeResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    When the invocation ended.

    + */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); } + inline GetAsyncInvokeResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + inline GetAsyncInvokeResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Output data settings.

    + */ + inline const AsyncInvokeOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } + inline void SetOutputDataConfig(const AsyncInvokeOutputDataConfig& value) { m_outputDataConfig = value; } + inline void SetOutputDataConfig(AsyncInvokeOutputDataConfig&& value) { m_outputDataConfig = std::move(value); } + inline GetAsyncInvokeResult& WithOutputDataConfig(const AsyncInvokeOutputDataConfig& value) { SetOutputDataConfig(value); return *this;} + inline GetAsyncInvokeResult& WithOutputDataConfig(AsyncInvokeOutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetAsyncInvokeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetAsyncInvokeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetAsyncInvokeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_invocationArn; + + Aws::String m_modelArn; + + Aws::String m_clientRequestToken; + + AsyncInvokeStatus m_status; + + Aws::String m_failureMessage; + + Aws::Utils::DateTime m_submitTime; + + Aws::Utils::DateTime m_lastModifiedTime; + + Aws::Utils::DateTime m_endTime; + + AsyncInvokeOutputDataConfig m_outputDataConfig; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ListAsyncInvokesRequest.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ListAsyncInvokesRequest.h new file mode 100644 index 00000000000..8d1af50d999 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ListAsyncInvokesRequest.h @@ -0,0 +1,155 @@ +/** + * 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 Http +{ + class URI; +} //namespace Http +namespace BedrockRuntime +{ +namespace Model +{ + + /** + */ + class ListAsyncInvokesRequest : public BedrockRuntimeRequest + { + public: + AWS_BEDROCKRUNTIME_API ListAsyncInvokesRequest(); + + // 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 "ListAsyncInvokes"; } + + AWS_BEDROCKRUNTIME_API Aws::String SerializePayload() const override; + + AWS_BEDROCKRUNTIME_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    Include invocations submitted after this time.

    + */ + inline const Aws::Utils::DateTime& GetSubmitTimeAfter() const{ return m_submitTimeAfter; } + inline bool SubmitTimeAfterHasBeenSet() const { return m_submitTimeAfterHasBeenSet; } + inline void SetSubmitTimeAfter(const Aws::Utils::DateTime& value) { m_submitTimeAfterHasBeenSet = true; m_submitTimeAfter = value; } + inline void SetSubmitTimeAfter(Aws::Utils::DateTime&& value) { m_submitTimeAfterHasBeenSet = true; m_submitTimeAfter = std::move(value); } + inline ListAsyncInvokesRequest& WithSubmitTimeAfter(const Aws::Utils::DateTime& value) { SetSubmitTimeAfter(value); return *this;} + inline ListAsyncInvokesRequest& WithSubmitTimeAfter(Aws::Utils::DateTime&& value) { SetSubmitTimeAfter(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Include invocations submitted before this time.

    + */ + inline const Aws::Utils::DateTime& GetSubmitTimeBefore() const{ return m_submitTimeBefore; } + inline bool SubmitTimeBeforeHasBeenSet() const { return m_submitTimeBeforeHasBeenSet; } + inline void SetSubmitTimeBefore(const Aws::Utils::DateTime& value) { m_submitTimeBeforeHasBeenSet = true; m_submitTimeBefore = value; } + inline void SetSubmitTimeBefore(Aws::Utils::DateTime&& value) { m_submitTimeBeforeHasBeenSet = true; m_submitTimeBefore = std::move(value); } + inline ListAsyncInvokesRequest& WithSubmitTimeBefore(const Aws::Utils::DateTime& value) { SetSubmitTimeBefore(value); return *this;} + inline ListAsyncInvokesRequest& WithSubmitTimeBefore(Aws::Utils::DateTime&& value) { SetSubmitTimeBefore(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Filter invocations by status.

    + */ + inline const AsyncInvokeStatus& GetStatusEquals() const{ return m_statusEquals; } + inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; } + inline void SetStatusEquals(const AsyncInvokeStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; } + inline void SetStatusEquals(AsyncInvokeStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); } + inline ListAsyncInvokesRequest& WithStatusEquals(const AsyncInvokeStatus& value) { SetStatusEquals(value); return *this;} + inline ListAsyncInvokesRequest& WithStatusEquals(AsyncInvokeStatus&& value) { SetStatusEquals(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The maximum number of invocations 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 ListAsyncInvokesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

    Specify the pagination 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; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListAsyncInvokesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListAsyncInvokesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListAsyncInvokesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

    How to sort the response.

    + */ + inline const SortAsyncInvocationBy& GetSortBy() const{ return m_sortBy; } + inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; } + inline void SetSortBy(const SortAsyncInvocationBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; } + inline void SetSortBy(SortAsyncInvocationBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); } + inline ListAsyncInvokesRequest& WithSortBy(const SortAsyncInvocationBy& value) { SetSortBy(value); return *this;} + inline ListAsyncInvokesRequest& WithSortBy(SortAsyncInvocationBy&& value) { SetSortBy(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The sorting order for the response.

    + */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + inline ListAsyncInvokesRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + inline ListAsyncInvokesRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_submitTimeAfter; + bool m_submitTimeAfterHasBeenSet = false; + + Aws::Utils::DateTime m_submitTimeBefore; + bool m_submitTimeBeforeHasBeenSet = false; + + AsyncInvokeStatus m_statusEquals; + bool m_statusEqualsHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + SortAsyncInvocationBy m_sortBy; + bool m_sortByHasBeenSet = false; + + SortOrder m_sortOrder; + bool m_sortOrderHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ListAsyncInvokesResult.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ListAsyncInvokesResult.h new file mode 100644 index 00000000000..3e6f0e44a93 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ListAsyncInvokesResult.h @@ -0,0 +1,85 @@ +/** + * 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 BedrockRuntime +{ +namespace Model +{ + class ListAsyncInvokesResult + { + public: + AWS_BEDROCKRUNTIME_API ListAsyncInvokesResult(); + AWS_BEDROCKRUNTIME_API ListAsyncInvokesResult(const Aws::AmazonWebServiceResult& result); + AWS_BEDROCKRUNTIME_API ListAsyncInvokesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    Specify the pagination token from a previous request to retrieve the next + * page of results.

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

    A list of invocation summaries.

    + */ + inline const Aws::Vector& GetAsyncInvokeSummaries() const{ return m_asyncInvokeSummaries; } + inline void SetAsyncInvokeSummaries(const Aws::Vector& value) { m_asyncInvokeSummaries = value; } + inline void SetAsyncInvokeSummaries(Aws::Vector&& value) { m_asyncInvokeSummaries = std::move(value); } + inline ListAsyncInvokesResult& WithAsyncInvokeSummaries(const Aws::Vector& value) { SetAsyncInvokeSummaries(value); return *this;} + inline ListAsyncInvokesResult& WithAsyncInvokeSummaries(Aws::Vector&& value) { SetAsyncInvokeSummaries(std::move(value)); return *this;} + inline ListAsyncInvokesResult& AddAsyncInvokeSummaries(const AsyncInvokeSummary& value) { m_asyncInvokeSummaries.push_back(value); return *this; } + inline ListAsyncInvokesResult& AddAsyncInvokeSummaries(AsyncInvokeSummary&& value) { m_asyncInvokeSummaries.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListAsyncInvokesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListAsyncInvokesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListAsyncInvokesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_nextToken; + + Aws::Vector m_asyncInvokeSummaries; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/S3Location.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/S3Location.h new file mode 100644 index 00000000000..e3f43d735ee --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/S3Location.h @@ -0,0 +1,78 @@ +/** + * 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 BedrockRuntime +{ +namespace Model +{ + + /** + *

    A storage location in an S3 bucket.

    See Also:

    AWS + * API Reference

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

    An object URI starting with s3://.

    + */ + inline const Aws::String& GetUri() const{ return m_uri; } + inline bool UriHasBeenSet() const { return m_uriHasBeenSet; } + inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; } + inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); } + inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); } + inline S3Location& WithUri(const Aws::String& value) { SetUri(value); return *this;} + inline S3Location& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;} + inline S3Location& WithUri(const char* value) { SetUri(value); return *this;} + ///@} + + ///@{ + /** + *

    If the bucket belongs to another AWS account, specify that account's ID.

    + */ + inline const Aws::String& GetBucketOwner() const{ return m_bucketOwner; } + inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; } + inline void SetBucketOwner(const Aws::String& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = value; } + inline void SetBucketOwner(Aws::String&& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::move(value); } + inline void SetBucketOwner(const char* value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner.assign(value); } + inline S3Location& WithBucketOwner(const Aws::String& value) { SetBucketOwner(value); return *this;} + inline S3Location& WithBucketOwner(Aws::String&& value) { SetBucketOwner(std::move(value)); return *this;} + inline S3Location& WithBucketOwner(const char* value) { SetBucketOwner(value); return *this;} + ///@} + private: + + Aws::String m_uri; + bool m_uriHasBeenSet = false; + + Aws::String m_bucketOwner; + bool m_bucketOwnerHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/SortAsyncInvocationBy.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/SortAsyncInvocationBy.h new file mode 100644 index 00000000000..0a364807a31 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/SortAsyncInvocationBy.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BedrockRuntime +{ +namespace Model +{ + enum class SortAsyncInvocationBy + { + NOT_SET, + SubmissionTime + }; + +namespace SortAsyncInvocationByMapper +{ +AWS_BEDROCKRUNTIME_API SortAsyncInvocationBy GetSortAsyncInvocationByForName(const Aws::String& name); + +AWS_BEDROCKRUNTIME_API Aws::String GetNameForSortAsyncInvocationBy(SortAsyncInvocationBy value); +} // namespace SortAsyncInvocationByMapper +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/SortOrder.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/SortOrder.h new file mode 100644 index 00000000000..0c62b50dd15 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/SortOrder.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BedrockRuntime +{ +namespace Model +{ + enum class SortOrder + { + NOT_SET, + Ascending, + Descending + }; + +namespace SortOrderMapper +{ +AWS_BEDROCKRUNTIME_API SortOrder GetSortOrderForName(const Aws::String& name); + +AWS_BEDROCKRUNTIME_API Aws::String GetNameForSortOrder(SortOrder value); +} // namespace SortOrderMapper +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/StartAsyncInvokeRequest.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/StartAsyncInvokeRequest.h new file mode 100644 index 00000000000..090aa30a550 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/StartAsyncInvokeRequest.h @@ -0,0 +1,125 @@ +/** + * 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 BedrockRuntime +{ +namespace Model +{ + + /** + */ + class StartAsyncInvokeRequest : public BedrockRuntimeRequest + { + public: + AWS_BEDROCKRUNTIME_API StartAsyncInvokeRequest(); + + // 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 "StartAsyncInvoke"; } + + AWS_BEDROCKRUNTIME_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    Specify idempotency token to ensure that requests are not duplicated.

    + */ + inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } + inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } + inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } + inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } + inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } + inline StartAsyncInvokeRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} + inline StartAsyncInvokeRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} + inline StartAsyncInvokeRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The model to invoke.

    + */ + inline const Aws::String& GetModelId() const{ return m_modelId; } + inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; } + inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; } + inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); } + inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); } + inline StartAsyncInvokeRequest& WithModelId(const Aws::String& value) { SetModelId(value); return *this;} + inline StartAsyncInvokeRequest& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;} + inline StartAsyncInvokeRequest& WithModelId(const char* value) { SetModelId(value); return *this;} + ///@} + + ///@{ + /** + *

    Input to send to the model.

    + */ + inline Aws::Utils::DocumentView GetModelInput() const{ return m_modelInput; } + inline bool ModelInputHasBeenSet() const { return m_modelInputHasBeenSet; } + inline void SetModelInput(const Aws::Utils::Document& value) { m_modelInputHasBeenSet = true; m_modelInput = value; } + inline void SetModelInput(Aws::Utils::Document&& value) { m_modelInputHasBeenSet = true; m_modelInput = std::move(value); } + inline StartAsyncInvokeRequest& WithModelInput(const Aws::Utils::Document& value) { SetModelInput(value); return *this;} + inline StartAsyncInvokeRequest& WithModelInput(Aws::Utils::Document&& value) { SetModelInput(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Where to store the output.

    + */ + inline const AsyncInvokeOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } + inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; } + inline void SetOutputDataConfig(const AsyncInvokeOutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; } + inline void SetOutputDataConfig(AsyncInvokeOutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); } + inline StartAsyncInvokeRequest& WithOutputDataConfig(const AsyncInvokeOutputDataConfig& value) { SetOutputDataConfig(value); return *this;} + inline StartAsyncInvokeRequest& WithOutputDataConfig(AsyncInvokeOutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Tags to apply to the invocation.

    + */ + inline const Aws::Vector& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline StartAsyncInvokeRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} + inline StartAsyncInvokeRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} + inline StartAsyncInvokeRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } + inline StartAsyncInvokeRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_clientRequestToken; + bool m_clientRequestTokenHasBeenSet = false; + + Aws::String m_modelId; + bool m_modelIdHasBeenSet = false; + + Aws::Utils::Document m_modelInput; + bool m_modelInputHasBeenSet = false; + + AsyncInvokeOutputDataConfig m_outputDataConfig; + bool m_outputDataConfigHasBeenSet = false; + + Aws::Vector m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/StartAsyncInvokeResult.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/StartAsyncInvokeResult.h new file mode 100644 index 00000000000..78d6b09f0d9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/StartAsyncInvokeResult.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BedrockRuntime +{ +namespace Model +{ + class StartAsyncInvokeResult + { + public: + AWS_BEDROCKRUNTIME_API StartAsyncInvokeResult(); + AWS_BEDROCKRUNTIME_API StartAsyncInvokeResult(const Aws::AmazonWebServiceResult& result); + AWS_BEDROCKRUNTIME_API StartAsyncInvokeResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The ARN of the invocation.

    + */ + inline const Aws::String& GetInvocationArn() const{ return m_invocationArn; } + inline void SetInvocationArn(const Aws::String& value) { m_invocationArn = value; } + inline void SetInvocationArn(Aws::String&& value) { m_invocationArn = std::move(value); } + inline void SetInvocationArn(const char* value) { m_invocationArn.assign(value); } + inline StartAsyncInvokeResult& WithInvocationArn(const Aws::String& value) { SetInvocationArn(value); return *this;} + inline StartAsyncInvokeResult& WithInvocationArn(Aws::String&& value) { SetInvocationArn(std::move(value)); return *this;} + inline StartAsyncInvokeResult& WithInvocationArn(const char* value) { SetInvocationArn(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline StartAsyncInvokeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline StartAsyncInvokeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline StartAsyncInvokeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_invocationArn; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/Tag.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/Tag.h new file mode 100644 index 00000000000..c2a66b9dc4c --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/Tag.h @@ -0,0 +1,78 @@ +/** + * 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 BedrockRuntime +{ +namespace Model +{ + + /** + *

    A tag.

    See Also:

    AWS + * API Reference

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

    The tag's key.

    + */ + inline const Aws::String& GetKey() const{ return m_key; } + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + inline Tag& WithKey(const Aws::String& value) { SetKey(value); return *this;} + inline Tag& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + inline Tag& WithKey(const char* value) { SetKey(value); return *this;} + ///@} + + ///@{ + /** + *

    The tag's value.

    + */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline Tag& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline Tag& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline Tag& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_key; + bool m_keyHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ToolConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ToolConfiguration.h index 0a0242b9a80..5d2faf709c0 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ToolConfiguration.h +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ToolConfiguration.h @@ -29,9 +29,8 @@ namespace Model *

    Configuration information for the tools that you pass to a model. For more * information, see Tool - * use (function calling) in the Amazon Bedrock User Guide.

    This - * field is only supported by Anthropic Claude 3, Cohere Command R, Cohere Command - * R+, and Mistral Large models.

    See Also:

    in the Amazon Bedrock User Guide.

    See + * Also:

    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ToolResultContentBlock.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ToolResultContentBlock.h index d3c0aa81df5..2821b1d08f0 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ToolResultContentBlock.h +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ToolResultContentBlock.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -90,6 +91,18 @@ namespace Model inline ToolResultContentBlock& WithDocument(const DocumentBlock& value) { SetDocument(value); return *this;} inline ToolResultContentBlock& WithDocument(DocumentBlock&& value) { SetDocument(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    A tool result that is video.

    + */ + inline const VideoBlock& GetVideo() const{ return m_video; } + inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; } + inline void SetVideo(const VideoBlock& value) { m_videoHasBeenSet = true; m_video = value; } + inline void SetVideo(VideoBlock&& value) { m_videoHasBeenSet = true; m_video = std::move(value); } + inline ToolResultContentBlock& WithVideo(const VideoBlock& value) { SetVideo(value); return *this;} + inline ToolResultContentBlock& WithVideo(VideoBlock&& value) { SetVideo(std::move(value)); return *this;} + ///@} private: Aws::Utils::Document m_json; @@ -103,6 +116,9 @@ namespace Model DocumentBlock m_document; bool m_documentHasBeenSet = false; + + VideoBlock m_video; + bool m_videoHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/VideoBlock.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/VideoBlock.h new file mode 100644 index 00000000000..c4b021a185c --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/VideoBlock.h @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockRuntime +{ +namespace Model +{ + + /** + *

    A video block.

    See Also:

    AWS + * API Reference

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

    The block's format.

    + */ + inline const VideoFormat& GetFormat() const{ return m_format; } + inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } + inline void SetFormat(const VideoFormat& value) { m_formatHasBeenSet = true; m_format = value; } + inline void SetFormat(VideoFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } + inline VideoBlock& WithFormat(const VideoFormat& value) { SetFormat(value); return *this;} + inline VideoBlock& WithFormat(VideoFormat&& value) { SetFormat(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The block's source.

    + */ + inline const VideoSource& GetSource() const{ return m_source; } + inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } + inline void SetSource(const VideoSource& value) { m_sourceHasBeenSet = true; m_source = value; } + inline void SetSource(VideoSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } + inline VideoBlock& WithSource(const VideoSource& value) { SetSource(value); return *this;} + inline VideoBlock& WithSource(VideoSource&& value) { SetSource(std::move(value)); return *this;} + ///@} + private: + + VideoFormat m_format; + bool m_formatHasBeenSet = false; + + VideoSource m_source; + bool m_sourceHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/VideoFormat.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/VideoFormat.h new file mode 100644 index 00000000000..ba8f4d7d4b1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/VideoFormat.h @@ -0,0 +1,38 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BedrockRuntime +{ +namespace Model +{ + enum class VideoFormat + { + NOT_SET, + mkv, + mov, + mp4, + webm, + flv, + mpeg, + mpg, + wmv, + three_gp + }; + +namespace VideoFormatMapper +{ +AWS_BEDROCKRUNTIME_API VideoFormat GetVideoFormatForName(const Aws::String& name); + +AWS_BEDROCKRUNTIME_API Aws::String GetNameForVideoFormat(VideoFormat value); +} // namespace VideoFormatMapper +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/VideoSource.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/VideoSource.h new file mode 100644 index 00000000000..6435f15eeba --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/VideoSource.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BedrockRuntime +{ +namespace Model +{ + + /** + *

    A video source. You can upload a smaller video as a base64-encoded string as + * long as the encoded file is less than 25MB. You can also transfer videos up to + * 1GB in size from an S3 bucket.

    See Also:

    AWS + * API Reference

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

    Video content encoded in base64.

    + */ + inline const Aws::Utils::ByteBuffer& GetBytes() const{ return m_bytes; } + inline bool BytesHasBeenSet() const { return m_bytesHasBeenSet; } + inline void SetBytes(const Aws::Utils::ByteBuffer& value) { m_bytesHasBeenSet = true; m_bytes = value; } + inline void SetBytes(Aws::Utils::ByteBuffer&& value) { m_bytesHasBeenSet = true; m_bytes = std::move(value); } + inline VideoSource& WithBytes(const Aws::Utils::ByteBuffer& value) { SetBytes(value); return *this;} + inline VideoSource& WithBytes(Aws::Utils::ByteBuffer&& value) { SetBytes(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The location of a video object in an S3 bucket.

    + */ + inline const S3Location& GetS3Location() const{ return m_s3Location; } + inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; } + inline void SetS3Location(const S3Location& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; } + inline void SetS3Location(S3Location&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); } + inline VideoSource& WithS3Location(const S3Location& value) { SetS3Location(value); return *this;} + inline VideoSource& WithS3Location(S3Location&& value) { SetS3Location(std::move(value)); return *this;} + ///@} + private: + + Aws::Utils::ByteBuffer m_bytes; + bool m_bytesHasBeenSet = false; + + S3Location m_s3Location; + bool m_s3LocationHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/BedrockRuntimeClient.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/BedrockRuntimeClient.cpp index f15aea4cea5..bdec982db5e 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/source/BedrockRuntimeClient.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/BedrockRuntimeClient.cpp @@ -25,8 +25,11 @@ #include #include #include +#include #include #include +#include +#include #include @@ -282,6 +285,39 @@ ConverseStreamOutcome BedrockRuntimeClient::ConverseStream(ConverseStreamRequest {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetAsyncInvokeOutcome BedrockRuntimeClient::GetAsyncInvoke(const GetAsyncInvokeRequest& request) const +{ + AWS_OPERATION_GUARD(GetAsyncInvoke); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetAsyncInvoke, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.InvocationArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetAsyncInvoke", "Required field: InvocationArn, is not set"); + return GetAsyncInvokeOutcome(Aws::Client::AWSError(BedrockRuntimeErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [InvocationArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetAsyncInvoke, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetAsyncInvoke, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetAsyncInvoke", + {{ 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( + [&]()-> GetAsyncInvokeOutcome { + 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, GetAsyncInvoke, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/async-invoke/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetInvocationArn()); + return GetAsyncInvokeOutcome(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()}}); +} + InvokeModelOutcome BedrockRuntimeClient::InvokeModel(const InvokeModelRequest& request) const { AWS_OPERATION_GUARD(InvokeModel); @@ -353,3 +389,57 @@ InvokeModelWithResponseStreamOutcome BedrockRuntimeClient::InvokeModelWithRespon {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListAsyncInvokesOutcome BedrockRuntimeClient::ListAsyncInvokes(const ListAsyncInvokesRequest& request) const +{ + AWS_OPERATION_GUARD(ListAsyncInvokes); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListAsyncInvokes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListAsyncInvokes, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListAsyncInvokes, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListAsyncInvokes", + {{ 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( + [&]()-> ListAsyncInvokesOutcome { + 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, ListAsyncInvokes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/async-invoke"); + return ListAsyncInvokesOutcome(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()}}); +} + +StartAsyncInvokeOutcome BedrockRuntimeClient::StartAsyncInvoke(const StartAsyncInvokeRequest& request) const +{ + AWS_OPERATION_GUARD(StartAsyncInvoke); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartAsyncInvoke, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartAsyncInvoke, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartAsyncInvoke, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartAsyncInvoke", + {{ 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( + [&]()-> StartAsyncInvokeOutcome { + 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, StartAsyncInvoke, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/async-invoke"); + return StartAsyncInvokeOutcome(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-bedrock-runtime/source/BedrockRuntimeErrors.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/BedrockRuntimeErrors.cpp index b3d71b1e3e4..da5ffa8d2db 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/source/BedrockRuntimeErrors.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/BedrockRuntimeErrors.cpp @@ -33,6 +33,7 @@ template<> AWS_BEDROCKRUNTIME_API ModelErrorException BedrockRuntimeError::GetMo namespace BedrockRuntimeErrorMapper { +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 MODEL_TIMEOUT_HASH = HashingUtils::HashString("ModelTimeoutException"); @@ -45,7 +46,11 @@ AWSError GetErrorForName(const char* errorName) { int hashCode = HashingUtils::HashString(errorName); - if (hashCode == SERVICE_QUOTA_EXCEEDED_HASH) + if (hashCode == CONFLICT_HASH) + { + return AWSError(static_cast(BedrockRuntimeErrors::CONFLICT), RetryableType::NOT_RETRYABLE); + } + else if (hashCode == SERVICE_QUOTA_EXCEEDED_HASH) { return AWSError(static_cast(BedrockRuntimeErrors::SERVICE_QUOTA_EXCEEDED), RetryableType::NOT_RETRYABLE); } diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeOutputDataConfig.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeOutputDataConfig.cpp new file mode 100644 index 00000000000..53d3277af2d --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeOutputDataConfig.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockRuntime +{ +namespace Model +{ + +AsyncInvokeOutputDataConfig::AsyncInvokeOutputDataConfig() : + m_s3OutputDataConfigHasBeenSet(false) +{ +} + +AsyncInvokeOutputDataConfig::AsyncInvokeOutputDataConfig(JsonView jsonValue) + : AsyncInvokeOutputDataConfig() +{ + *this = jsonValue; +} + +AsyncInvokeOutputDataConfig& AsyncInvokeOutputDataConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("s3OutputDataConfig")) + { + m_s3OutputDataConfig = jsonValue.GetObject("s3OutputDataConfig"); + + m_s3OutputDataConfigHasBeenSet = true; + } + + return *this; +} + +JsonValue AsyncInvokeOutputDataConfig::Jsonize() const +{ + JsonValue payload; + + if(m_s3OutputDataConfigHasBeenSet) + { + payload.WithObject("s3OutputDataConfig", m_s3OutputDataConfig.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeS3OutputDataConfig.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeS3OutputDataConfig.cpp new file mode 100644 index 00000000000..0a39d6830e5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeS3OutputDataConfig.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockRuntime +{ +namespace Model +{ + +AsyncInvokeS3OutputDataConfig::AsyncInvokeS3OutputDataConfig() : + m_s3UriHasBeenSet(false), + m_kmsKeyIdHasBeenSet(false), + m_bucketOwnerHasBeenSet(false) +{ +} + +AsyncInvokeS3OutputDataConfig::AsyncInvokeS3OutputDataConfig(JsonView jsonValue) + : AsyncInvokeS3OutputDataConfig() +{ + *this = jsonValue; +} + +AsyncInvokeS3OutputDataConfig& AsyncInvokeS3OutputDataConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("s3Uri")) + { + m_s3Uri = jsonValue.GetString("s3Uri"); + + m_s3UriHasBeenSet = true; + } + + if(jsonValue.ValueExists("kmsKeyId")) + { + m_kmsKeyId = jsonValue.GetString("kmsKeyId"); + + m_kmsKeyIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("bucketOwner")) + { + m_bucketOwner = jsonValue.GetString("bucketOwner"); + + m_bucketOwnerHasBeenSet = true; + } + + return *this; +} + +JsonValue AsyncInvokeS3OutputDataConfig::Jsonize() const +{ + JsonValue payload; + + if(m_s3UriHasBeenSet) + { + payload.WithString("s3Uri", m_s3Uri); + + } + + if(m_kmsKeyIdHasBeenSet) + { + payload.WithString("kmsKeyId", m_kmsKeyId); + + } + + if(m_bucketOwnerHasBeenSet) + { + payload.WithString("bucketOwner", m_bucketOwner); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeStatus.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeStatus.cpp new file mode 100644 index 00000000000..e7f810f686d --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeStatus.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BedrockRuntime + { + namespace Model + { + namespace AsyncInvokeStatusMapper + { + + static const int InProgress_HASH = HashingUtils::HashString("InProgress"); + static const int Completed_HASH = HashingUtils::HashString("Completed"); + static const int Failed_HASH = HashingUtils::HashString("Failed"); + + + AsyncInvokeStatus GetAsyncInvokeStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == InProgress_HASH) + { + return AsyncInvokeStatus::InProgress; + } + else if (hashCode == Completed_HASH) + { + return AsyncInvokeStatus::Completed; + } + else if (hashCode == Failed_HASH) + { + return AsyncInvokeStatus::Failed; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AsyncInvokeStatus::NOT_SET; + } + + Aws::String GetNameForAsyncInvokeStatus(AsyncInvokeStatus enumValue) + { + switch(enumValue) + { + case AsyncInvokeStatus::NOT_SET: + return {}; + case AsyncInvokeStatus::InProgress: + return "InProgress"; + case AsyncInvokeStatus::Completed: + return "Completed"; + case AsyncInvokeStatus::Failed: + return "Failed"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AsyncInvokeStatusMapper + } // namespace Model + } // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeSummary.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeSummary.cpp new file mode 100644 index 00000000000..286433f7917 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/AsyncInvokeSummary.cpp @@ -0,0 +1,168 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockRuntime +{ +namespace Model +{ + +AsyncInvokeSummary::AsyncInvokeSummary() : + m_invocationArnHasBeenSet(false), + m_modelArnHasBeenSet(false), + m_clientRequestTokenHasBeenSet(false), + m_status(AsyncInvokeStatus::NOT_SET), + m_statusHasBeenSet(false), + m_failureMessageHasBeenSet(false), + m_submitTimeHasBeenSet(false), + m_lastModifiedTimeHasBeenSet(false), + m_endTimeHasBeenSet(false), + m_outputDataConfigHasBeenSet(false) +{ +} + +AsyncInvokeSummary::AsyncInvokeSummary(JsonView jsonValue) + : AsyncInvokeSummary() +{ + *this = jsonValue; +} + +AsyncInvokeSummary& AsyncInvokeSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("invocationArn")) + { + m_invocationArn = jsonValue.GetString("invocationArn"); + + m_invocationArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("modelArn")) + { + m_modelArn = jsonValue.GetString("modelArn"); + + m_modelArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("clientRequestToken")) + { + m_clientRequestToken = jsonValue.GetString("clientRequestToken"); + + m_clientRequestTokenHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = AsyncInvokeStatusMapper::GetAsyncInvokeStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("failureMessage")) + { + m_failureMessage = jsonValue.GetString("failureMessage"); + + m_failureMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("submitTime")) + { + m_submitTime = jsonValue.GetString("submitTime"); + + m_submitTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("lastModifiedTime")) + { + m_lastModifiedTime = jsonValue.GetString("lastModifiedTime"); + + m_lastModifiedTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("endTime")) + { + m_endTime = jsonValue.GetString("endTime"); + + m_endTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("outputDataConfig")) + { + m_outputDataConfig = jsonValue.GetObject("outputDataConfig"); + + m_outputDataConfigHasBeenSet = true; + } + + return *this; +} + +JsonValue AsyncInvokeSummary::Jsonize() const +{ + JsonValue payload; + + if(m_invocationArnHasBeenSet) + { + payload.WithString("invocationArn", m_invocationArn); + + } + + if(m_modelArnHasBeenSet) + { + payload.WithString("modelArn", m_modelArn); + + } + + if(m_clientRequestTokenHasBeenSet) + { + payload.WithString("clientRequestToken", m_clientRequestToken); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", AsyncInvokeStatusMapper::GetNameForAsyncInvokeStatus(m_status)); + } + + if(m_failureMessageHasBeenSet) + { + payload.WithString("failureMessage", m_failureMessage); + + } + + if(m_submitTimeHasBeenSet) + { + payload.WithString("submitTime", m_submitTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_lastModifiedTimeHasBeenSet) + { + payload.WithString("lastModifiedTime", m_lastModifiedTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_endTimeHasBeenSet) + { + payload.WithString("endTime", m_endTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_outputDataConfigHasBeenSet) + { + payload.WithObject("outputDataConfig", m_outputDataConfig.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ContentBlock.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ContentBlock.cpp index 9168ec991bc..e084f9424fe 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ContentBlock.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ContentBlock.cpp @@ -22,6 +22,7 @@ ContentBlock::ContentBlock() : m_textHasBeenSet(false), m_imageHasBeenSet(false), m_documentHasBeenSet(false), + m_videoHasBeenSet(false), m_toolUseHasBeenSet(false), m_toolResultHasBeenSet(false), m_guardContentHasBeenSet(false) @@ -57,6 +58,13 @@ ContentBlock& ContentBlock::operator =(JsonView jsonValue) m_documentHasBeenSet = true; } + if(jsonValue.ValueExists("video")) + { + m_video = jsonValue.GetObject("video"); + + m_videoHasBeenSet = true; + } + if(jsonValue.ValueExists("toolUse")) { m_toolUse = jsonValue.GetObject("toolUse"); @@ -103,6 +111,12 @@ JsonValue ContentBlock::Jsonize() const } + if(m_videoHasBeenSet) + { + payload.WithObject("video", m_video.Jsonize()); + + } + if(m_toolUseHasBeenSet) { payload.WithObject("toolUse", m_toolUse.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ConverseRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ConverseRequest.cpp index 2dcda15e6b8..33f3e00632e 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ConverseRequest.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ConverseRequest.cpp @@ -22,6 +22,7 @@ ConverseRequest::ConverseRequest() : m_additionalModelRequestFieldsHasBeenSet(false), m_promptVariablesHasBeenSet(false), m_additionalModelResponseFieldPathsHasBeenSet(false), + m_requestMetadataHasBeenSet(false), m_performanceConfigHasBeenSet(false) { } @@ -100,6 +101,17 @@ Aws::String ConverseRequest::SerializePayload() const } + if(m_requestMetadataHasBeenSet) + { + JsonValue requestMetadataJsonMap; + for(auto& requestMetadataItem : m_requestMetadata) + { + requestMetadataJsonMap.WithString(requestMetadataItem.first, requestMetadataItem.second); + } + payload.WithObject("requestMetadata", std::move(requestMetadataJsonMap)); + + } + if(m_performanceConfigHasBeenSet) { payload.WithObject("performanceConfig", m_performanceConfig.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ConverseStreamRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ConverseStreamRequest.cpp index e912fdeed2d..1c7d1e27682 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ConverseStreamRequest.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ConverseStreamRequest.cpp @@ -22,6 +22,7 @@ ConverseStreamRequest::ConverseStreamRequest() : m_additionalModelRequestFieldsHasBeenSet(false), m_promptVariablesHasBeenSet(false), m_additionalModelResponseFieldPathsHasBeenSet(false), + m_requestMetadataHasBeenSet(false), m_performanceConfigHasBeenSet(false), m_handler(), m_decoder(Aws::Utils::Event::EventStreamDecoder(&m_handler)) { @@ -101,6 +102,17 @@ Aws::String ConverseStreamRequest::SerializePayload() const } + if(m_requestMetadataHasBeenSet) + { + JsonValue requestMetadataJsonMap; + for(auto& requestMetadataItem : m_requestMetadata) + { + requestMetadataJsonMap.WithString(requestMetadataItem.first, requestMetadataItem.second); + } + payload.WithObject("requestMetadata", std::move(requestMetadataJsonMap)); + + } + if(m_performanceConfigHasBeenSet) { payload.WithObject("performanceConfig", m_performanceConfig.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/GetAsyncInvokeRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/GetAsyncInvokeRequest.cpp new file mode 100644 index 00000000000..0567b4806bc --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/GetAsyncInvokeRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BedrockRuntime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetAsyncInvokeRequest::GetAsyncInvokeRequest() : + m_invocationArnHasBeenSet(false) +{ +} + +Aws::String GetAsyncInvokeRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/GetAsyncInvokeResult.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/GetAsyncInvokeResult.cpp new file mode 100644 index 00000000000..e5b0c068593 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/GetAsyncInvokeResult.cpp @@ -0,0 +1,98 @@ +/** + * 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::BedrockRuntime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetAsyncInvokeResult::GetAsyncInvokeResult() : + m_status(AsyncInvokeStatus::NOT_SET) +{ +} + +GetAsyncInvokeResult::GetAsyncInvokeResult(const Aws::AmazonWebServiceResult& result) + : GetAsyncInvokeResult() +{ + *this = result; +} + +GetAsyncInvokeResult& GetAsyncInvokeResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("invocationArn")) + { + m_invocationArn = jsonValue.GetString("invocationArn"); + + } + + if(jsonValue.ValueExists("modelArn")) + { + m_modelArn = jsonValue.GetString("modelArn"); + + } + + if(jsonValue.ValueExists("clientRequestToken")) + { + m_clientRequestToken = jsonValue.GetString("clientRequestToken"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = AsyncInvokeStatusMapper::GetAsyncInvokeStatusForName(jsonValue.GetString("status")); + + } + + if(jsonValue.ValueExists("failureMessage")) + { + m_failureMessage = jsonValue.GetString("failureMessage"); + + } + + if(jsonValue.ValueExists("submitTime")) + { + m_submitTime = jsonValue.GetString("submitTime"); + + } + + if(jsonValue.ValueExists("lastModifiedTime")) + { + m_lastModifiedTime = jsonValue.GetString("lastModifiedTime"); + + } + + if(jsonValue.ValueExists("endTime")) + { + m_endTime = jsonValue.GetString("endTime"); + + } + + if(jsonValue.ValueExists("outputDataConfig")) + { + m_outputDataConfig = jsonValue.GetObject("outputDataConfig"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ListAsyncInvokesRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ListAsyncInvokesRequest.cpp new file mode 100644 index 00000000000..6fd226823e7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ListAsyncInvokesRequest.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::BedrockRuntime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListAsyncInvokesRequest::ListAsyncInvokesRequest() : + m_submitTimeAfterHasBeenSet(false), + m_submitTimeBeforeHasBeenSet(false), + m_statusEquals(AsyncInvokeStatus::NOT_SET), + m_statusEqualsHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_sortBy(SortAsyncInvocationBy::NOT_SET), + m_sortByHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false) +{ +} + +Aws::String ListAsyncInvokesRequest::SerializePayload() const +{ + return {}; +} + +void ListAsyncInvokesRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_submitTimeAfterHasBeenSet) + { + ss << m_submitTimeAfter.ToGmtString(Aws::Utils::DateFormat::ISO_8601); + uri.AddQueryStringParameter("submitTimeAfter", ss.str()); + ss.str(""); + } + + if(m_submitTimeBeforeHasBeenSet) + { + ss << m_submitTimeBefore.ToGmtString(Aws::Utils::DateFormat::ISO_8601); + uri.AddQueryStringParameter("submitTimeBefore", ss.str()); + ss.str(""); + } + + if(m_statusEqualsHasBeenSet) + { + ss << AsyncInvokeStatusMapper::GetNameForAsyncInvokeStatus(m_statusEquals); + uri.AddQueryStringParameter("statusEquals", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_sortByHasBeenSet) + { + ss << SortAsyncInvocationByMapper::GetNameForSortAsyncInvocationBy(m_sortBy); + uri.AddQueryStringParameter("sortBy", ss.str()); + ss.str(""); + } + + if(m_sortOrderHasBeenSet) + { + ss << SortOrderMapper::GetNameForSortOrder(m_sortOrder); + uri.AddQueryStringParameter("sortOrder", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ListAsyncInvokesResult.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ListAsyncInvokesResult.cpp new file mode 100644 index 00000000000..9f084d1bcd6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ListAsyncInvokesResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BedrockRuntime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListAsyncInvokesResult::ListAsyncInvokesResult() +{ +} + +ListAsyncInvokesResult::ListAsyncInvokesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListAsyncInvokesResult& ListAsyncInvokesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("asyncInvokeSummaries")) + { + Aws::Utils::Array asyncInvokeSummariesJsonList = jsonValue.GetArray("asyncInvokeSummaries"); + for(unsigned asyncInvokeSummariesIndex = 0; asyncInvokeSummariesIndex < asyncInvokeSummariesJsonList.GetLength(); ++asyncInvokeSummariesIndex) + { + m_asyncInvokeSummaries.push_back(asyncInvokeSummariesJsonList[asyncInvokeSummariesIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/S3Location.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/S3Location.cpp new file mode 100644 index 00000000000..19bf92d87d0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/S3Location.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockRuntime +{ +namespace Model +{ + +S3Location::S3Location() : + m_uriHasBeenSet(false), + m_bucketOwnerHasBeenSet(false) +{ +} + +S3Location::S3Location(JsonView jsonValue) + : S3Location() +{ + *this = jsonValue; +} + +S3Location& S3Location::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("uri")) + { + m_uri = jsonValue.GetString("uri"); + + m_uriHasBeenSet = true; + } + + if(jsonValue.ValueExists("bucketOwner")) + { + m_bucketOwner = jsonValue.GetString("bucketOwner"); + + m_bucketOwnerHasBeenSet = true; + } + + return *this; +} + +JsonValue S3Location::Jsonize() const +{ + JsonValue payload; + + if(m_uriHasBeenSet) + { + payload.WithString("uri", m_uri); + + } + + if(m_bucketOwnerHasBeenSet) + { + payload.WithString("bucketOwner", m_bucketOwner); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/SortAsyncInvocationBy.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/SortAsyncInvocationBy.cpp new file mode 100644 index 00000000000..3636bdfb127 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/SortAsyncInvocationBy.cpp @@ -0,0 +1,65 @@ +/** + * 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 BedrockRuntime + { + namespace Model + { + namespace SortAsyncInvocationByMapper + { + + static const int SubmissionTime_HASH = HashingUtils::HashString("SubmissionTime"); + + + SortAsyncInvocationBy GetSortAsyncInvocationByForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SubmissionTime_HASH) + { + return SortAsyncInvocationBy::SubmissionTime; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SortAsyncInvocationBy::NOT_SET; + } + + Aws::String GetNameForSortAsyncInvocationBy(SortAsyncInvocationBy enumValue) + { + switch(enumValue) + { + case SortAsyncInvocationBy::NOT_SET: + return {}; + case SortAsyncInvocationBy::SubmissionTime: + return "SubmissionTime"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SortAsyncInvocationByMapper + } // namespace Model + } // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/SortOrder.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/SortOrder.cpp new file mode 100644 index 00000000000..daa776d9269 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/SortOrder.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BedrockRuntime + { + namespace Model + { + namespace SortOrderMapper + { + + static const int Ascending_HASH = HashingUtils::HashString("Ascending"); + static const int Descending_HASH = HashingUtils::HashString("Descending"); + + + SortOrder GetSortOrderForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == Ascending_HASH) + { + return SortOrder::Ascending; + } + else if (hashCode == Descending_HASH) + { + return SortOrder::Descending; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SortOrder::NOT_SET; + } + + Aws::String GetNameForSortOrder(SortOrder enumValue) + { + switch(enumValue) + { + case SortOrder::NOT_SET: + return {}; + case SortOrder::Ascending: + return "Ascending"; + case SortOrder::Descending: + return "Descending"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SortOrderMapper + } // namespace Model + } // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/StartAsyncInvokeRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/StartAsyncInvokeRequest.cpp new file mode 100644 index 00000000000..f42888c73ec --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/StartAsyncInvokeRequest.cpp @@ -0,0 +1,71 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BedrockRuntime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +StartAsyncInvokeRequest::StartAsyncInvokeRequest() : + m_clientRequestToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientRequestTokenHasBeenSet(true), + m_modelIdHasBeenSet(false), + m_modelInputHasBeenSet(false), + m_outputDataConfigHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String StartAsyncInvokeRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_clientRequestTokenHasBeenSet) + { + payload.WithString("clientRequestToken", m_clientRequestToken); + + } + + if(m_modelIdHasBeenSet) + { + payload.WithString("modelId", m_modelId); + + } + + if(m_modelInputHasBeenSet) + { + if(!m_modelInput.View().IsNull()) + { + payload.WithObject("modelInput", JsonValue(m_modelInput.View())); + } + } + + if(m_outputDataConfigHasBeenSet) + { + payload.WithObject("outputDataConfig", m_outputDataConfig.Jsonize()); + + } + + 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-bedrock-runtime/source/model/StartAsyncInvokeResult.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/StartAsyncInvokeResult.cpp new file mode 100644 index 00000000000..90651b5b983 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/StartAsyncInvokeResult.cpp @@ -0,0 +1,48 @@ +/** + * 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::BedrockRuntime::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +StartAsyncInvokeResult::StartAsyncInvokeResult() +{ +} + +StartAsyncInvokeResult::StartAsyncInvokeResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +StartAsyncInvokeResult& StartAsyncInvokeResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("invocationArn")) + { + m_invocationArn = jsonValue.GetString("invocationArn"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/Tag.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/Tag.cpp new file mode 100644 index 00000000000..4dba328ff6c --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/Tag.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockRuntime +{ +namespace Model +{ + +Tag::Tag() : + m_keyHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +Tag::Tag(JsonView jsonValue) + : Tag() +{ + *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 BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ToolResultContentBlock.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ToolResultContentBlock.cpp index b4fa3c39e1f..70febdb5fe1 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ToolResultContentBlock.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ToolResultContentBlock.cpp @@ -22,7 +22,8 @@ ToolResultContentBlock::ToolResultContentBlock() : m_jsonHasBeenSet(false), m_textHasBeenSet(false), m_imageHasBeenSet(false), - m_documentHasBeenSet(false) + m_documentHasBeenSet(false), + m_videoHasBeenSet(false) { } @@ -62,6 +63,13 @@ ToolResultContentBlock& ToolResultContentBlock::operator =(JsonView jsonValue) m_documentHasBeenSet = true; } + if(jsonValue.ValueExists("video")) + { + m_video = jsonValue.GetObject("video"); + + m_videoHasBeenSet = true; + } + return *this; } @@ -95,6 +103,12 @@ JsonValue ToolResultContentBlock::Jsonize() const } + if(m_videoHasBeenSet) + { + payload.WithObject("video", m_video.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/VideoBlock.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/VideoBlock.cpp new file mode 100644 index 00000000000..e7a92c6068a --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/VideoBlock.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockRuntime +{ +namespace Model +{ + +VideoBlock::VideoBlock() : + m_format(VideoFormat::NOT_SET), + m_formatHasBeenSet(false), + m_sourceHasBeenSet(false) +{ +} + +VideoBlock::VideoBlock(JsonView jsonValue) + : VideoBlock() +{ + *this = jsonValue; +} + +VideoBlock& VideoBlock::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("format")) + { + m_format = VideoFormatMapper::GetVideoFormatForName(jsonValue.GetString("format")); + + m_formatHasBeenSet = true; + } + + if(jsonValue.ValueExists("source")) + { + m_source = jsonValue.GetObject("source"); + + m_sourceHasBeenSet = true; + } + + return *this; +} + +JsonValue VideoBlock::Jsonize() const +{ + JsonValue payload; + + if(m_formatHasBeenSet) + { + payload.WithString("format", VideoFormatMapper::GetNameForVideoFormat(m_format)); + } + + if(m_sourceHasBeenSet) + { + payload.WithObject("source", m_source.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/VideoFormat.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/VideoFormat.cpp new file mode 100644 index 00000000000..ffb153312ba --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/VideoFormat.cpp @@ -0,0 +1,121 @@ +/** + * 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 BedrockRuntime + { + namespace Model + { + namespace VideoFormatMapper + { + + static const int mkv_HASH = HashingUtils::HashString("mkv"); + static const int mov_HASH = HashingUtils::HashString("mov"); + static const int mp4_HASH = HashingUtils::HashString("mp4"); + static const int webm_HASH = HashingUtils::HashString("webm"); + static const int flv_HASH = HashingUtils::HashString("flv"); + static const int mpeg_HASH = HashingUtils::HashString("mpeg"); + static const int mpg_HASH = HashingUtils::HashString("mpg"); + static const int wmv_HASH = HashingUtils::HashString("wmv"); + static const int three_gp_HASH = HashingUtils::HashString("three_gp"); + + + VideoFormat GetVideoFormatForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == mkv_HASH) + { + return VideoFormat::mkv; + } + else if (hashCode == mov_HASH) + { + return VideoFormat::mov; + } + else if (hashCode == mp4_HASH) + { + return VideoFormat::mp4; + } + else if (hashCode == webm_HASH) + { + return VideoFormat::webm; + } + else if (hashCode == flv_HASH) + { + return VideoFormat::flv; + } + else if (hashCode == mpeg_HASH) + { + return VideoFormat::mpeg; + } + else if (hashCode == mpg_HASH) + { + return VideoFormat::mpg; + } + else if (hashCode == wmv_HASH) + { + return VideoFormat::wmv; + } + else if (hashCode == three_gp_HASH) + { + return VideoFormat::three_gp; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return VideoFormat::NOT_SET; + } + + Aws::String GetNameForVideoFormat(VideoFormat enumValue) + { + switch(enumValue) + { + case VideoFormat::NOT_SET: + return {}; + case VideoFormat::mkv: + return "mkv"; + case VideoFormat::mov: + return "mov"; + case VideoFormat::mp4: + return "mp4"; + case VideoFormat::webm: + return "webm"; + case VideoFormat::flv: + return "flv"; + case VideoFormat::mpeg: + return "mpeg"; + case VideoFormat::mpg: + return "mpg"; + case VideoFormat::wmv: + return "wmv"; + case VideoFormat::three_gp: + return "three_gp"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace VideoFormatMapper + } // namespace Model + } // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/VideoSource.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/VideoSource.cpp new file mode 100644 index 00000000000..5beb471102c --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/VideoSource.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BedrockRuntime +{ +namespace Model +{ + +VideoSource::VideoSource() : + m_bytesHasBeenSet(false), + m_s3LocationHasBeenSet(false) +{ +} + +VideoSource::VideoSource(JsonView jsonValue) + : VideoSource() +{ + *this = jsonValue; +} + +VideoSource& VideoSource::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("bytes")) + { + m_bytes = HashingUtils::Base64Decode(jsonValue.GetString("bytes")); + m_bytesHasBeenSet = true; + } + + if(jsonValue.ValueExists("s3Location")) + { + m_s3Location = jsonValue.GetObject("s3Location"); + + m_s3LocationHasBeenSet = true; + } + + return *this; +} + +JsonValue VideoSource::Jsonize() const +{ + JsonValue payload; + + if(m_bytesHasBeenSet) + { + payload.WithString("bytes", HashingUtils::Base64Encode(m_bytes)); + } + + if(m_s3LocationHasBeenSet) + { + payload.WithObject("s3Location", m_s3Location.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace BedrockRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h index 932a4dcb8ca..1f12149f9fe 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h @@ -148,8 +148,8 @@ namespace Bedrock * configure the messages to be returned to the user if a user input or model * response is in violation of the policies defined in the guardrail.

    For * more information, see Guardrails - * for Amazon Bedrock in the Amazon Bedrock User Guide.

    See + * href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">Amazon + * Bedrock Guardrails in the Amazon Bedrock User Guide.

    See * Also:

    AWS * API Reference

    @@ -822,8 +822,8 @@ namespace Bedrock /** *

    Gets details about a batch inference job. For more information, see View - * details about a batch inference job

    See Also:

    Monitor + * batch inference jobs

    See Also:

    AWS * API Reference

    */ @@ -1173,7 +1173,7 @@ namespace Bedrock /** *

    Lists all batch inference jobs in the account. For more information, see View + * href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-view.html">View * details about a batch inference job.

    See Also:

    AWS * API Reference

    @@ -1342,7 +1342,7 @@ namespace Bedrock /** *

    Stops a batch inference job. You're only charged for tokens that were already * processed. For more information, see Stop + * href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-stop.html">Stop * a batch inference job.

    See Also:

    AWS * API Reference

    diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelCustomizationJobRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelCustomizationJobRequest.h index 21c10201f7a..89a28ba6b11 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelCustomizationJobRequest.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelCustomizationJobRequest.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -245,6 +246,18 @@ namespace Model inline CreateModelCustomizationJobRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;} inline CreateModelCustomizationJobRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    The customization configuration for the model customization job.

    + */ + inline const CustomizationConfig& GetCustomizationConfig() const{ return m_customizationConfig; } + inline bool CustomizationConfigHasBeenSet() const { return m_customizationConfigHasBeenSet; } + inline void SetCustomizationConfig(const CustomizationConfig& value) { m_customizationConfigHasBeenSet = true; m_customizationConfig = value; } + inline void SetCustomizationConfig(CustomizationConfig&& value) { m_customizationConfigHasBeenSet = true; m_customizationConfig = std::move(value); } + inline CreateModelCustomizationJobRequest& WithCustomizationConfig(const CustomizationConfig& value) { SetCustomizationConfig(value); return *this;} + inline CreateModelCustomizationJobRequest& WithCustomizationConfig(CustomizationConfig&& value) { SetCustomizationConfig(std::move(value)); return *this;} + ///@} private: Aws::String m_jobName; @@ -288,6 +301,9 @@ namespace Model VpcConfig m_vpcConfig; bool m_vpcConfigHasBeenSet = false; + + CustomizationConfig m_customizationConfig; + bool m_customizationConfigHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelInvocationJobRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelInvocationJobRequest.h index dc976c22a68..f338ceaf793 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelInvocationJobRequest.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelInvocationJobRequest.h @@ -131,7 +131,7 @@ namespace Model /** *

    The configuration of the Virtual Private Cloud (VPC) for the data in the * batch inference job. For more information, see Protect + * href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc">Protect * batch inference jobs using a VPC.

    */ inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; } diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CustomizationConfig.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CustomizationConfig.h new file mode 100644 index 00000000000..a15e081f774 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CustomizationConfig.h @@ -0,0 +1,59 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + + /** + *

    A model customization configuration

    See Also:

    AWS + * API Reference

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

    The distillation configuration for the custom model.

    + */ + inline const DistillationConfig& GetDistillationConfig() const{ return m_distillationConfig; } + inline bool DistillationConfigHasBeenSet() const { return m_distillationConfigHasBeenSet; } + inline void SetDistillationConfig(const DistillationConfig& value) { m_distillationConfigHasBeenSet = true; m_distillationConfig = value; } + inline void SetDistillationConfig(DistillationConfig&& value) { m_distillationConfigHasBeenSet = true; m_distillationConfig = std::move(value); } + inline CustomizationConfig& WithDistillationConfig(const DistillationConfig& value) { SetDistillationConfig(value); return *this;} + inline CustomizationConfig& WithDistillationConfig(DistillationConfig&& value) { SetDistillationConfig(std::move(value)); return *this;} + ///@} + private: + + DistillationConfig m_distillationConfig; + bool m_distillationConfigHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CustomizationType.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CustomizationType.h index 2e8ee14fecb..dbb4631858e 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CustomizationType.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CustomizationType.h @@ -17,7 +17,8 @@ namespace Model { NOT_SET, FINE_TUNING, - CONTINUED_PRE_TRAINING + CONTINUED_PRE_TRAINING, + DISTILLATION }; namespace CustomizationTypeMapper diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/DistillationConfig.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/DistillationConfig.h new file mode 100644 index 00000000000..488b1e3ce55 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/DistillationConfig.h @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Bedrock +{ +namespace Model +{ + + /** + *

    Settings for distilling a foundation model into a smaller and more efficient + * model.

    See Also:

    AWS + * API Reference

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

    The teacher model configuration.

    + */ + inline const TeacherModelConfig& GetTeacherModelConfig() const{ return m_teacherModelConfig; } + inline bool TeacherModelConfigHasBeenSet() const { return m_teacherModelConfigHasBeenSet; } + inline void SetTeacherModelConfig(const TeacherModelConfig& value) { m_teacherModelConfigHasBeenSet = true; m_teacherModelConfig = value; } + inline void SetTeacherModelConfig(TeacherModelConfig&& value) { m_teacherModelConfigHasBeenSet = true; m_teacherModelConfig = std::move(value); } + inline DistillationConfig& WithTeacherModelConfig(const TeacherModelConfig& value) { SetTeacherModelConfig(value); return *this;} + inline DistillationConfig& WithTeacherModelConfig(TeacherModelConfig&& value) { SetTeacherModelConfig(std::move(value)); return *this;} + ///@} + private: + + TeacherModelConfig m_teacherModelConfig; + bool m_teacherModelConfigHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetCustomModelResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetCustomModelResult.h index ad65524bc24..1ea6904e45d 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetCustomModelResult.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetCustomModelResult.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -219,6 +220,17 @@ namespace Model inline GetCustomModelResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The customization configuration for the custom model.

    + */ + inline const CustomizationConfig& GetCustomizationConfig() const{ return m_customizationConfig; } + inline void SetCustomizationConfig(const CustomizationConfig& value) { m_customizationConfig = value; } + inline void SetCustomizationConfig(CustomizationConfig&& value) { m_customizationConfig = std::move(value); } + inline GetCustomModelResult& WithCustomizationConfig(const CustomizationConfig& value) { SetCustomizationConfig(value); return *this;} + inline GetCustomModelResult& WithCustomizationConfig(CustomizationConfig&& value) { SetCustomizationConfig(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -259,6 +271,8 @@ namespace Model Aws::Utils::DateTime m_creationTime; + CustomizationConfig m_customizationConfig; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelCustomizationJobResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelCustomizationJobResult.h index 3d1019affc3..a36bd729054 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelCustomizationJobResult.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelCustomizationJobResult.h @@ -16,6 +16,7 @@ #include #include #include +#include #include #include @@ -308,6 +309,17 @@ namespace Model inline GetModelCustomizationJobResult& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The customization configuration for the model customization job.

    + */ + inline const CustomizationConfig& GetCustomizationConfig() const{ return m_customizationConfig; } + inline void SetCustomizationConfig(const CustomizationConfig& value) { m_customizationConfig = value; } + inline void SetCustomizationConfig(CustomizationConfig&& value) { m_customizationConfig = std::move(value); } + inline GetModelCustomizationJobResult& WithCustomizationConfig(const CustomizationConfig& value) { SetCustomizationConfig(value); return *this;} + inline GetModelCustomizationJobResult& WithCustomizationConfig(CustomizationConfig&& value) { SetCustomizationConfig(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -362,6 +374,8 @@ namespace Model VpcConfig m_vpcConfig; + CustomizationConfig m_customizationConfig; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelInvocationJobResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelInvocationJobResult.h index 2bba4eea617..c0fc0c19cda 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelInvocationJobResult.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelInvocationJobResult.h @@ -112,7 +112,34 @@ namespace Model ///@{ /** - *

    The status of the batch inference job.

    + *

    The status of the batch inference job.

    The following statuses are + * possible:

    • Submitted – This job has been submitted to a queue + * for validation.

    • Validating – This job is being validated for + * the requirements described in Format + * and upload your batch inference data. The criteria include the + * following:

      • Your IAM service role has access to the Amazon S3 + * buckets containing your files.

      • Your files are .jsonl files and + * each individual record is a JSON object in the correct format. Note that + * validation doesn't check if the modelInput value matches the + * request body for the model.

      • Your files fulfill the + * requirements for file size and number of records. For more information, see Quotas + * for Amazon Bedrock.

    • Scheduled – This job has + * been validated and is now in a queue. The job will automatically start when it + * reaches its turn.

    • Expired – This job timed out because it was + * scheduled but didn't begin before the set timeout duration. Submit a new job + * request.

    • InProgress – This job has begun. You can start + * viewing the results in the output S3 location.

    • Completed – + * This job has successfully completed. View the output files in the output S3 + * location.

    • PartiallyCompleted – This job has partially + * completed. Not all of your records could be processed in time. View the output + * files in the output S3 location.

    • Failed – This job has failed. + * Check the failure message for any further details. For further assistance, reach + * out to the Amazon Web + * Services Support Center.

    • Stopped – This job was stopped by + * a user.

    • Stopping – This job is being stopped by a user.

      + *
    */ inline const ModelInvocationJobStatus& GetStatus() const{ return m_status; } inline void SetStatus(const ModelInvocationJobStatus& value) { m_status = value; } @@ -194,7 +221,7 @@ namespace Model /** *

    The configuration of the Virtual Private Cloud (VPC) for the data in the * batch inference job. For more information, see Protect + * href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc">Protect * batch inference jobs using a VPC.

    */ inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; } diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/InvocationLogSource.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/InvocationLogSource.h new file mode 100644 index 00000000000..3b9f358804d --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/InvocationLogSource.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Bedrock +{ +namespace Model +{ + + /** + *

    A storage location for invocation logs.

    See Also:

    AWS + * API Reference

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

    The URI of an invocation log in a bucket.

    + */ + inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } + inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } + inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } + inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } + inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } + inline InvocationLogSource& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} + inline InvocationLogSource& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} + inline InvocationLogSource& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} + ///@} + private: + + Aws::String m_s3Uri; + bool m_s3UriHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/InvocationLogsConfig.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/InvocationLogsConfig.h new file mode 100644 index 00000000000..3f8ced01e29 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/InvocationLogsConfig.h @@ -0,0 +1,90 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + + /** + *

    Settings for using invocation logs to customize a model.

    See + * Also:

    AWS + * API Reference

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

    Whether to use the model's response for training, or just the prompt. The + * default value is False.

    + */ + inline bool GetUsePromptResponse() const{ return m_usePromptResponse; } + inline bool UsePromptResponseHasBeenSet() const { return m_usePromptResponseHasBeenSet; } + inline void SetUsePromptResponse(bool value) { m_usePromptResponseHasBeenSet = true; m_usePromptResponse = value; } + inline InvocationLogsConfig& WithUsePromptResponse(bool value) { SetUsePromptResponse(value); return *this;} + ///@} + + ///@{ + /** + *

    The source of the invocation logs.

    + */ + inline const InvocationLogSource& GetInvocationLogSource() const{ return m_invocationLogSource; } + inline bool InvocationLogSourceHasBeenSet() const { return m_invocationLogSourceHasBeenSet; } + inline void SetInvocationLogSource(const InvocationLogSource& value) { m_invocationLogSourceHasBeenSet = true; m_invocationLogSource = value; } + inline void SetInvocationLogSource(InvocationLogSource&& value) { m_invocationLogSourceHasBeenSet = true; m_invocationLogSource = std::move(value); } + inline InvocationLogsConfig& WithInvocationLogSource(const InvocationLogSource& value) { SetInvocationLogSource(value); return *this;} + inline InvocationLogsConfig& WithInvocationLogSource(InvocationLogSource&& value) { SetInvocationLogSource(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Rules for filtering invocation logs based on request metadata.

    + */ + inline const RequestMetadataFilters& GetRequestMetadataFilters() const{ return m_requestMetadataFilters; } + inline bool RequestMetadataFiltersHasBeenSet() const { return m_requestMetadataFiltersHasBeenSet; } + inline void SetRequestMetadataFilters(const RequestMetadataFilters& value) { m_requestMetadataFiltersHasBeenSet = true; m_requestMetadataFilters = value; } + inline void SetRequestMetadataFilters(RequestMetadataFilters&& value) { m_requestMetadataFiltersHasBeenSet = true; m_requestMetadataFilters = std::move(value); } + inline InvocationLogsConfig& WithRequestMetadataFilters(const RequestMetadataFilters& value) { SetRequestMetadataFilters(value); return *this;} + inline InvocationLogsConfig& WithRequestMetadataFilters(RequestMetadataFilters&& value) { SetRequestMetadataFilters(std::move(value)); return *this;} + ///@} + private: + + bool m_usePromptResponse; + bool m_usePromptResponseHasBeenSet = false; + + InvocationLogSource m_invocationLogSource; + bool m_invocationLogSourceHasBeenSet = false; + + RequestMetadataFilters m_requestMetadataFilters; + bool m_requestMetadataFiltersHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelInvocationJobsRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelInvocationJobsRequest.h index 42b9d9fe098..1c0cd5e6f23 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelInvocationJobsRequest.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelInvocationJobsRequest.h @@ -71,7 +71,34 @@ namespace Model ///@{ /** *

    Specify a status to filter for batch inference jobs whose statuses match the - * string you specify.

    + * string you specify.

    The following statuses are possible:

    • + *

      Submitted – This job has been submitted to a queue for validation.

    • + *
    • Validating – This job is being validated for the requirements described + * in Format + * and upload your batch inference data. The criteria include the + * following:

      • Your IAM service role has access to the Amazon S3 + * buckets containing your files.

      • Your files are .jsonl files and + * each individual record is a JSON object in the correct format. Note that + * validation doesn't check if the modelInput value matches the + * request body for the model.

      • Your files fulfill the + * requirements for file size and number of records. For more information, see Quotas + * for Amazon Bedrock.

    • Scheduled – This job has + * been validated and is now in a queue. The job will automatically start when it + * reaches its turn.

    • Expired – This job timed out because it was + * scheduled but didn't begin before the set timeout duration. Submit a new job + * request.

    • InProgress – This job has begun. You can start + * viewing the results in the output S3 location.

    • Completed – + * This job has successfully completed. View the output files in the output S3 + * location.

    • PartiallyCompleted – This job has partially + * completed. Not all of your records could be processed in time. View the output + * files in the output S3 location.

    • Failed – This job has failed. + * Check the failure message for any further details. For further assistance, reach + * out to the Amazon Web + * Services Support Center.

    • Stopped – This job was stopped by + * a user.

    • Stopping – This job is being stopped by a user.

      + *
    */ inline const ModelInvocationJobStatus& GetStatusEquals() const{ return m_statusEquals; } inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/LoggingConfig.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/LoggingConfig.h index 0b4cbd469f9..8c3e685a730 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/LoggingConfig.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/LoggingConfig.h @@ -91,6 +91,16 @@ namespace Model inline void SetEmbeddingDataDeliveryEnabled(bool value) { m_embeddingDataDeliveryEnabledHasBeenSet = true; m_embeddingDataDeliveryEnabled = value; } inline LoggingConfig& WithEmbeddingDataDeliveryEnabled(bool value) { SetEmbeddingDataDeliveryEnabled(value); return *this;} ///@} + + ///@{ + /** + *

    Set to include video data in the log delivery.

    + */ + inline bool GetVideoDataDeliveryEnabled() const{ return m_videoDataDeliveryEnabled; } + inline bool VideoDataDeliveryEnabledHasBeenSet() const { return m_videoDataDeliveryEnabledHasBeenSet; } + inline void SetVideoDataDeliveryEnabled(bool value) { m_videoDataDeliveryEnabledHasBeenSet = true; m_videoDataDeliveryEnabled = value; } + inline LoggingConfig& WithVideoDataDeliveryEnabled(bool value) { SetVideoDataDeliveryEnabled(value); return *this;} + ///@} private: CloudWatchConfig m_cloudWatchConfig; @@ -107,6 +117,9 @@ namespace Model bool m_embeddingDataDeliveryEnabled; bool m_embeddingDataDeliveryEnabledHasBeenSet = false; + + bool m_videoDataDeliveryEnabled; + bool m_videoDataDeliveryEnabledHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelCustomization.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelCustomization.h index 325bd003044..1d48e80f00c 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelCustomization.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelCustomization.h @@ -17,7 +17,8 @@ namespace Model { NOT_SET, FINE_TUNING, - CONTINUED_PRE_TRAINING + CONTINUED_PRE_TRAINING, + DISTILLATION }; namespace ModelCustomizationMapper diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobSummary.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobSummary.h index dc72ed66b52..55004edf233 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobSummary.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobSummary.h @@ -122,7 +122,34 @@ namespace Model ///@{ /** - *

    The status of the batch inference job.

    + *

    The status of the batch inference job.

    The following statuses are + * possible:

    • Submitted – This job has been submitted to a queue + * for validation.

    • Validating – This job is being validated for + * the requirements described in Format + * and upload your batch inference data. The criteria include the + * following:

      • Your IAM service role has access to the Amazon S3 + * buckets containing your files.

      • Your files are .jsonl files and + * each individual record is a JSON object in the correct format. Note that + * validation doesn't check if the modelInput value matches the + * request body for the model.

      • Your files fulfill the + * requirements for file size and number of records. For more information, see Quotas + * for Amazon Bedrock.

    • Scheduled – This job has + * been validated and is now in a queue. The job will automatically start when it + * reaches its turn.

    • Expired – This job timed out because it was + * scheduled but didn't begin before the set timeout duration. Submit a new job + * request.

    • InProgress – This job has begun. You can start + * viewing the results in the output S3 location.

    • Completed – + * This job has successfully completed. View the output files in the output S3 + * location.

    • PartiallyCompleted – This job has partially + * completed. Not all of your records could be processed in time. View the output + * files in the output S3 location.

    • Failed – This job has failed. + * Check the failure message for any further details. For further assistance, reach + * out to the Amazon Web + * Services Support Center.

    • Stopped – This job was stopped by + * a user.

    • Stopping – This job is being stopped by a user.

      + *
    */ inline const ModelInvocationJobStatus& GetStatus() const{ return m_status; } inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } @@ -211,7 +238,7 @@ namespace Model /** *

    The configuration of the Virtual Private Cloud (VPC) for the data in the * batch inference job. For more information, see Protect + * href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc">Protect * batch inference jobs using a VPC.

    */ inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; } diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/RequestMetadataBaseFilters.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/RequestMetadataBaseFilters.h new file mode 100644 index 00000000000..ac7508ea5d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/RequestMetadataBaseFilters.h @@ -0,0 +1,90 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + + /** + *

    A mapping of a metadata key to a value that it should or should not + * equal.

    See Also:

    AWS + * API Reference

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

    Include results where the key equals the value.

    + */ + inline const Aws::Map& GetEquals() const{ return m_equals; } + inline bool EqualsHasBeenSet() const { return m_equalsHasBeenSet; } + inline void SetEquals(const Aws::Map& value) { m_equalsHasBeenSet = true; m_equals = value; } + inline void SetEquals(Aws::Map&& value) { m_equalsHasBeenSet = true; m_equals = std::move(value); } + inline RequestMetadataBaseFilters& WithEquals(const Aws::Map& value) { SetEquals(value); return *this;} + inline RequestMetadataBaseFilters& WithEquals(Aws::Map&& value) { SetEquals(std::move(value)); return *this;} + inline RequestMetadataBaseFilters& AddEquals(const Aws::String& key, const Aws::String& value) { m_equalsHasBeenSet = true; m_equals.emplace(key, value); return *this; } + inline RequestMetadataBaseFilters& AddEquals(Aws::String&& key, const Aws::String& value) { m_equalsHasBeenSet = true; m_equals.emplace(std::move(key), value); return *this; } + inline RequestMetadataBaseFilters& AddEquals(const Aws::String& key, Aws::String&& value) { m_equalsHasBeenSet = true; m_equals.emplace(key, std::move(value)); return *this; } + inline RequestMetadataBaseFilters& AddEquals(Aws::String&& key, Aws::String&& value) { m_equalsHasBeenSet = true; m_equals.emplace(std::move(key), std::move(value)); return *this; } + inline RequestMetadataBaseFilters& AddEquals(const char* key, Aws::String&& value) { m_equalsHasBeenSet = true; m_equals.emplace(key, std::move(value)); return *this; } + inline RequestMetadataBaseFilters& AddEquals(Aws::String&& key, const char* value) { m_equalsHasBeenSet = true; m_equals.emplace(std::move(key), value); return *this; } + inline RequestMetadataBaseFilters& AddEquals(const char* key, const char* value) { m_equalsHasBeenSet = true; m_equals.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Include results where the key does not equal the value.

    + */ + inline const Aws::Map& GetNotEquals() const{ return m_notEquals; } + inline bool NotEqualsHasBeenSet() const { return m_notEqualsHasBeenSet; } + inline void SetNotEquals(const Aws::Map& value) { m_notEqualsHasBeenSet = true; m_notEquals = value; } + inline void SetNotEquals(Aws::Map&& value) { m_notEqualsHasBeenSet = true; m_notEquals = std::move(value); } + inline RequestMetadataBaseFilters& WithNotEquals(const Aws::Map& value) { SetNotEquals(value); return *this;} + inline RequestMetadataBaseFilters& WithNotEquals(Aws::Map&& value) { SetNotEquals(std::move(value)); return *this;} + inline RequestMetadataBaseFilters& AddNotEquals(const Aws::String& key, const Aws::String& value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(key, value); return *this; } + inline RequestMetadataBaseFilters& AddNotEquals(Aws::String&& key, const Aws::String& value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(std::move(key), value); return *this; } + inline RequestMetadataBaseFilters& AddNotEquals(const Aws::String& key, Aws::String&& value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(key, std::move(value)); return *this; } + inline RequestMetadataBaseFilters& AddNotEquals(Aws::String&& key, Aws::String&& value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(std::move(key), std::move(value)); return *this; } + inline RequestMetadataBaseFilters& AddNotEquals(const char* key, Aws::String&& value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(key, std::move(value)); return *this; } + inline RequestMetadataBaseFilters& AddNotEquals(Aws::String&& key, const char* value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(std::move(key), value); return *this; } + inline RequestMetadataBaseFilters& AddNotEquals(const char* key, const char* value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(key, value); return *this; } + ///@} + private: + + Aws::Map m_equals; + bool m_equalsHasBeenSet = false; + + Aws::Map m_notEquals; + bool m_notEqualsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/RequestMetadataFilters.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/RequestMetadataFilters.h new file mode 100644 index 00000000000..5659165a1ad --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/RequestMetadataFilters.h @@ -0,0 +1,128 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + + /** + *

    Rules for filtering invocation logs. A filter can be a mapping of a metadata + * key to a value that it should or should not equal (a base filter), or a list of + * base filters that are all applied with AND or OR + * logical operators

    See Also:

    AWS + * API Reference

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

    Include results where the key equals the value.

    + */ + inline const Aws::Map& GetEquals() const{ return m_equals; } + inline bool EqualsHasBeenSet() const { return m_equalsHasBeenSet; } + inline void SetEquals(const Aws::Map& value) { m_equalsHasBeenSet = true; m_equals = value; } + inline void SetEquals(Aws::Map&& value) { m_equalsHasBeenSet = true; m_equals = std::move(value); } + inline RequestMetadataFilters& WithEquals(const Aws::Map& value) { SetEquals(value); return *this;} + inline RequestMetadataFilters& WithEquals(Aws::Map&& value) { SetEquals(std::move(value)); return *this;} + inline RequestMetadataFilters& AddEquals(const Aws::String& key, const Aws::String& value) { m_equalsHasBeenSet = true; m_equals.emplace(key, value); return *this; } + inline RequestMetadataFilters& AddEquals(Aws::String&& key, const Aws::String& value) { m_equalsHasBeenSet = true; m_equals.emplace(std::move(key), value); return *this; } + inline RequestMetadataFilters& AddEquals(const Aws::String& key, Aws::String&& value) { m_equalsHasBeenSet = true; m_equals.emplace(key, std::move(value)); return *this; } + inline RequestMetadataFilters& AddEquals(Aws::String&& key, Aws::String&& value) { m_equalsHasBeenSet = true; m_equals.emplace(std::move(key), std::move(value)); return *this; } + inline RequestMetadataFilters& AddEquals(const char* key, Aws::String&& value) { m_equalsHasBeenSet = true; m_equals.emplace(key, std::move(value)); return *this; } + inline RequestMetadataFilters& AddEquals(Aws::String&& key, const char* value) { m_equalsHasBeenSet = true; m_equals.emplace(std::move(key), value); return *this; } + inline RequestMetadataFilters& AddEquals(const char* key, const char* value) { m_equalsHasBeenSet = true; m_equals.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Include results where the key does not equal the value.

    + */ + inline const Aws::Map& GetNotEquals() const{ return m_notEquals; } + inline bool NotEqualsHasBeenSet() const { return m_notEqualsHasBeenSet; } + inline void SetNotEquals(const Aws::Map& value) { m_notEqualsHasBeenSet = true; m_notEquals = value; } + inline void SetNotEquals(Aws::Map&& value) { m_notEqualsHasBeenSet = true; m_notEquals = std::move(value); } + inline RequestMetadataFilters& WithNotEquals(const Aws::Map& value) { SetNotEquals(value); return *this;} + inline RequestMetadataFilters& WithNotEquals(Aws::Map&& value) { SetNotEquals(std::move(value)); return *this;} + inline RequestMetadataFilters& AddNotEquals(const Aws::String& key, const Aws::String& value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(key, value); return *this; } + inline RequestMetadataFilters& AddNotEquals(Aws::String&& key, const Aws::String& value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(std::move(key), value); return *this; } + inline RequestMetadataFilters& AddNotEquals(const Aws::String& key, Aws::String&& value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(key, std::move(value)); return *this; } + inline RequestMetadataFilters& AddNotEquals(Aws::String&& key, Aws::String&& value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(std::move(key), std::move(value)); return *this; } + inline RequestMetadataFilters& AddNotEquals(const char* key, Aws::String&& value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(key, std::move(value)); return *this; } + inline RequestMetadataFilters& AddNotEquals(Aws::String&& key, const char* value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(std::move(key), value); return *this; } + inline RequestMetadataFilters& AddNotEquals(const char* key, const char* value) { m_notEqualsHasBeenSet = true; m_notEquals.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Include results where all of the based filters match.

    + */ + inline const Aws::Vector& GetAndAll() const{ return m_andAll; } + inline bool AndAllHasBeenSet() const { return m_andAllHasBeenSet; } + inline void SetAndAll(const Aws::Vector& value) { m_andAllHasBeenSet = true; m_andAll = value; } + inline void SetAndAll(Aws::Vector&& value) { m_andAllHasBeenSet = true; m_andAll = std::move(value); } + inline RequestMetadataFilters& WithAndAll(const Aws::Vector& value) { SetAndAll(value); return *this;} + inline RequestMetadataFilters& WithAndAll(Aws::Vector&& value) { SetAndAll(std::move(value)); return *this;} + inline RequestMetadataFilters& AddAndAll(const RequestMetadataBaseFilters& value) { m_andAllHasBeenSet = true; m_andAll.push_back(value); return *this; } + inline RequestMetadataFilters& AddAndAll(RequestMetadataBaseFilters&& value) { m_andAllHasBeenSet = true; m_andAll.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    Include results where any of the base filters match.

    + */ + inline const Aws::Vector& GetOrAll() const{ return m_orAll; } + inline bool OrAllHasBeenSet() const { return m_orAllHasBeenSet; } + inline void SetOrAll(const Aws::Vector& value) { m_orAllHasBeenSet = true; m_orAll = value; } + inline void SetOrAll(Aws::Vector&& value) { m_orAllHasBeenSet = true; m_orAll = std::move(value); } + inline RequestMetadataFilters& WithOrAll(const Aws::Vector& value) { SetOrAll(value); return *this;} + inline RequestMetadataFilters& WithOrAll(Aws::Vector&& value) { SetOrAll(std::move(value)); return *this;} + inline RequestMetadataFilters& AddOrAll(const RequestMetadataBaseFilters& value) { m_orAllHasBeenSet = true; m_orAll.push_back(value); return *this; } + inline RequestMetadataFilters& AddOrAll(RequestMetadataBaseFilters&& value) { m_orAllHasBeenSet = true; m_orAll.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::Map m_equals; + bool m_equalsHasBeenSet = false; + + Aws::Map m_notEquals; + bool m_notEqualsHasBeenSet = false; + + Aws::Vector m_andAll; + bool m_andAllHasBeenSet = false; + + Aws::Vector m_orAll; + bool m_orAllHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/TeacherModelConfig.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/TeacherModelConfig.h new file mode 100644 index 00000000000..a2920957ced --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/TeacherModelConfig.h @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Bedrock +{ +namespace Model +{ + + /** + *

    Details about a teacher model used for model customization.

    See + * Also:

    AWS + * API Reference

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

    The identifier of the teacher model.

    + */ + inline const Aws::String& GetTeacherModelIdentifier() const{ return m_teacherModelIdentifier; } + inline bool TeacherModelIdentifierHasBeenSet() const { return m_teacherModelIdentifierHasBeenSet; } + inline void SetTeacherModelIdentifier(const Aws::String& value) { m_teacherModelIdentifierHasBeenSet = true; m_teacherModelIdentifier = value; } + inline void SetTeacherModelIdentifier(Aws::String&& value) { m_teacherModelIdentifierHasBeenSet = true; m_teacherModelIdentifier = std::move(value); } + inline void SetTeacherModelIdentifier(const char* value) { m_teacherModelIdentifierHasBeenSet = true; m_teacherModelIdentifier.assign(value); } + inline TeacherModelConfig& WithTeacherModelIdentifier(const Aws::String& value) { SetTeacherModelIdentifier(value); return *this;} + inline TeacherModelConfig& WithTeacherModelIdentifier(Aws::String&& value) { SetTeacherModelIdentifier(std::move(value)); return *this;} + inline TeacherModelConfig& WithTeacherModelIdentifier(const char* value) { SetTeacherModelIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The maximum number of tokens requested when the customization job invokes the + * teacher model.

    + */ + inline int GetMaxResponseLengthForInference() const{ return m_maxResponseLengthForInference; } + inline bool MaxResponseLengthForInferenceHasBeenSet() const { return m_maxResponseLengthForInferenceHasBeenSet; } + inline void SetMaxResponseLengthForInference(int value) { m_maxResponseLengthForInferenceHasBeenSet = true; m_maxResponseLengthForInference = value; } + inline TeacherModelConfig& WithMaxResponseLengthForInference(int value) { SetMaxResponseLengthForInference(value); return *this;} + ///@} + private: + + Aws::String m_teacherModelIdentifier; + bool m_teacherModelIdentifierHasBeenSet = false; + + int m_maxResponseLengthForInference; + bool m_maxResponseLengthForInferenceHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/TrainingDataConfig.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/TrainingDataConfig.h index 0c93f482a9c..b888ed8b35e 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/TrainingDataConfig.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/TrainingDataConfig.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include namespace Aws @@ -50,10 +51,25 @@ namespace Model inline TrainingDataConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} inline TrainingDataConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} ///@} + + ///@{ + /** + *

    Settings for using invocation logs to customize a model.

    + */ + inline const InvocationLogsConfig& GetInvocationLogsConfig() const{ return m_invocationLogsConfig; } + inline bool InvocationLogsConfigHasBeenSet() const { return m_invocationLogsConfigHasBeenSet; } + inline void SetInvocationLogsConfig(const InvocationLogsConfig& value) { m_invocationLogsConfigHasBeenSet = true; m_invocationLogsConfig = value; } + inline void SetInvocationLogsConfig(InvocationLogsConfig&& value) { m_invocationLogsConfigHasBeenSet = true; m_invocationLogsConfig = std::move(value); } + inline TrainingDataConfig& WithInvocationLogsConfig(const InvocationLogsConfig& value) { SetInvocationLogsConfig(value); return *this;} + inline TrainingDataConfig& WithInvocationLogsConfig(InvocationLogsConfig&& value) { SetInvocationLogsConfig(std::move(value)); return *this;} + ///@} private: Aws::String m_s3Uri; bool m_s3UriHasBeenSet = false; + + InvocationLogsConfig m_invocationLogsConfig; + bool m_invocationLogsConfigHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelCustomizationJobRequest.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelCustomizationJobRequest.cpp index 05e4cb66fee..cafe8271b59 100644 --- a/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelCustomizationJobRequest.cpp +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelCustomizationJobRequest.cpp @@ -28,7 +28,8 @@ CreateModelCustomizationJobRequest::CreateModelCustomizationJobRequest() : m_validationDataConfigHasBeenSet(false), m_outputDataConfigHasBeenSet(false), m_hyperParametersHasBeenSet(false), - m_vpcConfigHasBeenSet(false) + m_vpcConfigHasBeenSet(false), + m_customizationConfigHasBeenSet(false) { } @@ -134,6 +135,12 @@ Aws::String CreateModelCustomizationJobRequest::SerializePayload() const } + if(m_customizationConfigHasBeenSet) + { + payload.WithObject("customizationConfig", m_customizationConfig.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/CustomizationConfig.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/CustomizationConfig.cpp new file mode 100644 index 00000000000..85214c803f3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/CustomizationConfig.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Bedrock +{ +namespace Model +{ + +CustomizationConfig::CustomizationConfig() : + m_distillationConfigHasBeenSet(false) +{ +} + +CustomizationConfig::CustomizationConfig(JsonView jsonValue) + : CustomizationConfig() +{ + *this = jsonValue; +} + +CustomizationConfig& CustomizationConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("distillationConfig")) + { + m_distillationConfig = jsonValue.GetObject("distillationConfig"); + + m_distillationConfigHasBeenSet = true; + } + + return *this; +} + +JsonValue CustomizationConfig::Jsonize() const +{ + JsonValue payload; + + if(m_distillationConfigHasBeenSet) + { + payload.WithObject("distillationConfig", m_distillationConfig.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/CustomizationType.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/CustomizationType.cpp index 5e24e950726..622fe18075d 100644 --- a/generated/src/aws-cpp-sdk-bedrock/source/model/CustomizationType.cpp +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/CustomizationType.cpp @@ -22,6 +22,7 @@ namespace Aws static const int FINE_TUNING_HASH = HashingUtils::HashString("FINE_TUNING"); static const int CONTINUED_PRE_TRAINING_HASH = HashingUtils::HashString("CONTINUED_PRE_TRAINING"); + static const int DISTILLATION_HASH = HashingUtils::HashString("DISTILLATION"); CustomizationType GetCustomizationTypeForName(const Aws::String& name) @@ -35,6 +36,10 @@ namespace Aws { return CustomizationType::CONTINUED_PRE_TRAINING; } + else if (hashCode == DISTILLATION_HASH) + { + return CustomizationType::DISTILLATION; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -55,6 +60,8 @@ namespace Aws return "FINE_TUNING"; case CustomizationType::CONTINUED_PRE_TRAINING: return "CONTINUED_PRE_TRAINING"; + case CustomizationType::DISTILLATION: + return "DISTILLATION"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/DistillationConfig.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/DistillationConfig.cpp new file mode 100644 index 00000000000..82b4a17399d --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/DistillationConfig.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Bedrock +{ +namespace Model +{ + +DistillationConfig::DistillationConfig() : + m_teacherModelConfigHasBeenSet(false) +{ +} + +DistillationConfig::DistillationConfig(JsonView jsonValue) + : DistillationConfig() +{ + *this = jsonValue; +} + +DistillationConfig& DistillationConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("teacherModelConfig")) + { + m_teacherModelConfig = jsonValue.GetObject("teacherModelConfig"); + + m_teacherModelConfigHasBeenSet = true; + } + + return *this; +} + +JsonValue DistillationConfig::Jsonize() const +{ + JsonValue payload; + + if(m_teacherModelConfigHasBeenSet) + { + payload.WithObject("teacherModelConfig", m_teacherModelConfig.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/GetCustomModelResult.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/GetCustomModelResult.cpp index 54f232784d6..95fdb12c098 100644 --- a/generated/src/aws-cpp-sdk-bedrock/source/model/GetCustomModelResult.cpp +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/GetCustomModelResult.cpp @@ -121,6 +121,12 @@ GetCustomModelResult& GetCustomModelResult::operator =(const Aws::AmazonWebServi } + if(jsonValue.ValueExists("customizationConfig")) + { + m_customizationConfig = jsonValue.GetObject("customizationConfig"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/GetModelCustomizationJobResult.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/GetModelCustomizationJobResult.cpp index ce31eb75abd..d23e17edd37 100644 --- a/generated/src/aws-cpp-sdk-bedrock/source/model/GetModelCustomizationJobResult.cpp +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/GetModelCustomizationJobResult.cpp @@ -164,6 +164,12 @@ GetModelCustomizationJobResult& GetModelCustomizationJobResult::operator =(const } + if(jsonValue.ValueExists("customizationConfig")) + { + m_customizationConfig = jsonValue.GetObject("customizationConfig"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/InvocationLogSource.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/InvocationLogSource.cpp new file mode 100644 index 00000000000..909b978fca0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/InvocationLogSource.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Bedrock +{ +namespace Model +{ + +InvocationLogSource::InvocationLogSource() : + m_s3UriHasBeenSet(false) +{ +} + +InvocationLogSource::InvocationLogSource(JsonView jsonValue) + : InvocationLogSource() +{ + *this = jsonValue; +} + +InvocationLogSource& InvocationLogSource::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("s3Uri")) + { + m_s3Uri = jsonValue.GetString("s3Uri"); + + m_s3UriHasBeenSet = true; + } + + return *this; +} + +JsonValue InvocationLogSource::Jsonize() const +{ + JsonValue payload; + + if(m_s3UriHasBeenSet) + { + payload.WithString("s3Uri", m_s3Uri); + + } + + return payload; +} + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/InvocationLogsConfig.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/InvocationLogsConfig.cpp new file mode 100644 index 00000000000..77b4a57a7fd --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/InvocationLogsConfig.cpp @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Bedrock +{ +namespace Model +{ + +InvocationLogsConfig::InvocationLogsConfig() : + m_usePromptResponse(false), + m_usePromptResponseHasBeenSet(false), + m_invocationLogSourceHasBeenSet(false), + m_requestMetadataFiltersHasBeenSet(false) +{ +} + +InvocationLogsConfig::InvocationLogsConfig(JsonView jsonValue) + : InvocationLogsConfig() +{ + *this = jsonValue; +} + +InvocationLogsConfig& InvocationLogsConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("usePromptResponse")) + { + m_usePromptResponse = jsonValue.GetBool("usePromptResponse"); + + m_usePromptResponseHasBeenSet = true; + } + + if(jsonValue.ValueExists("invocationLogSource")) + { + m_invocationLogSource = jsonValue.GetObject("invocationLogSource"); + + m_invocationLogSourceHasBeenSet = true; + } + + if(jsonValue.ValueExists("requestMetadataFilters")) + { + m_requestMetadataFilters = jsonValue.GetObject("requestMetadataFilters"); + + m_requestMetadataFiltersHasBeenSet = true; + } + + return *this; +} + +JsonValue InvocationLogsConfig::Jsonize() const +{ + JsonValue payload; + + if(m_usePromptResponseHasBeenSet) + { + payload.WithBool("usePromptResponse", m_usePromptResponse); + + } + + if(m_invocationLogSourceHasBeenSet) + { + payload.WithObject("invocationLogSource", m_invocationLogSource.Jsonize()); + + } + + if(m_requestMetadataFiltersHasBeenSet) + { + payload.WithObject("requestMetadataFilters", m_requestMetadataFilters.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/LoggingConfig.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/LoggingConfig.cpp index 7188764da6c..ea2e29b3551 100644 --- a/generated/src/aws-cpp-sdk-bedrock/source/model/LoggingConfig.cpp +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/LoggingConfig.cpp @@ -26,7 +26,9 @@ LoggingConfig::LoggingConfig() : m_imageDataDeliveryEnabled(false), m_imageDataDeliveryEnabledHasBeenSet(false), m_embeddingDataDeliveryEnabled(false), - m_embeddingDataDeliveryEnabledHasBeenSet(false) + m_embeddingDataDeliveryEnabledHasBeenSet(false), + m_videoDataDeliveryEnabled(false), + m_videoDataDeliveryEnabledHasBeenSet(false) { } @@ -73,6 +75,13 @@ LoggingConfig& LoggingConfig::operator =(JsonView jsonValue) m_embeddingDataDeliveryEnabledHasBeenSet = true; } + if(jsonValue.ValueExists("videoDataDeliveryEnabled")) + { + m_videoDataDeliveryEnabled = jsonValue.GetBool("videoDataDeliveryEnabled"); + + m_videoDataDeliveryEnabledHasBeenSet = true; + } + return *this; } @@ -110,6 +119,12 @@ JsonValue LoggingConfig::Jsonize() const } + if(m_videoDataDeliveryEnabledHasBeenSet) + { + payload.WithBool("videoDataDeliveryEnabled", m_videoDataDeliveryEnabled); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/ModelCustomization.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelCustomization.cpp index d3aa81fa4f6..8cb97656e40 100644 --- a/generated/src/aws-cpp-sdk-bedrock/source/model/ModelCustomization.cpp +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelCustomization.cpp @@ -22,6 +22,7 @@ namespace Aws static const int FINE_TUNING_HASH = HashingUtils::HashString("FINE_TUNING"); static const int CONTINUED_PRE_TRAINING_HASH = HashingUtils::HashString("CONTINUED_PRE_TRAINING"); + static const int DISTILLATION_HASH = HashingUtils::HashString("DISTILLATION"); ModelCustomization GetModelCustomizationForName(const Aws::String& name) @@ -35,6 +36,10 @@ namespace Aws { return ModelCustomization::CONTINUED_PRE_TRAINING; } + else if (hashCode == DISTILLATION_HASH) + { + return ModelCustomization::DISTILLATION; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -55,6 +60,8 @@ namespace Aws return "FINE_TUNING"; case ModelCustomization::CONTINUED_PRE_TRAINING: return "CONTINUED_PRE_TRAINING"; + case ModelCustomization::DISTILLATION: + return "DISTILLATION"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/RequestMetadataBaseFilters.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/RequestMetadataBaseFilters.cpp new file mode 100644 index 00000000000..9be7f8508d1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/RequestMetadataBaseFilters.cpp @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Bedrock +{ +namespace Model +{ + +RequestMetadataBaseFilters::RequestMetadataBaseFilters() : + m_equalsHasBeenSet(false), + m_notEqualsHasBeenSet(false) +{ +} + +RequestMetadataBaseFilters::RequestMetadataBaseFilters(JsonView jsonValue) + : RequestMetadataBaseFilters() +{ + *this = jsonValue; +} + +RequestMetadataBaseFilters& RequestMetadataBaseFilters::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("equals")) + { + Aws::Map equalsJsonMap = jsonValue.GetObject("equals").GetAllObjects(); + for(auto& equalsItem : equalsJsonMap) + { + m_equals[equalsItem.first] = equalsItem.second.AsString(); + } + m_equalsHasBeenSet = true; + } + + if(jsonValue.ValueExists("notEquals")) + { + Aws::Map notEqualsJsonMap = jsonValue.GetObject("notEquals").GetAllObjects(); + for(auto& notEqualsItem : notEqualsJsonMap) + { + m_notEquals[notEqualsItem.first] = notEqualsItem.second.AsString(); + } + m_notEqualsHasBeenSet = true; + } + + return *this; +} + +JsonValue RequestMetadataBaseFilters::Jsonize() const +{ + JsonValue payload; + + if(m_equalsHasBeenSet) + { + JsonValue equalsJsonMap; + for(auto& equalsItem : m_equals) + { + equalsJsonMap.WithString(equalsItem.first, equalsItem.second); + } + payload.WithObject("equals", std::move(equalsJsonMap)); + + } + + if(m_notEqualsHasBeenSet) + { + JsonValue notEqualsJsonMap; + for(auto& notEqualsItem : m_notEquals) + { + notEqualsJsonMap.WithString(notEqualsItem.first, notEqualsItem.second); + } + payload.WithObject("notEquals", std::move(notEqualsJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/RequestMetadataFilters.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/RequestMetadataFilters.cpp new file mode 100644 index 00000000000..207d4356dc4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/RequestMetadataFilters.cpp @@ -0,0 +1,133 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Bedrock +{ +namespace Model +{ + +RequestMetadataFilters::RequestMetadataFilters() : + m_equalsHasBeenSet(false), + m_notEqualsHasBeenSet(false), + m_andAllHasBeenSet(false), + m_orAllHasBeenSet(false) +{ +} + +RequestMetadataFilters::RequestMetadataFilters(JsonView jsonValue) + : RequestMetadataFilters() +{ + *this = jsonValue; +} + +RequestMetadataFilters& RequestMetadataFilters::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("equals")) + { + Aws::Map equalsJsonMap = jsonValue.GetObject("equals").GetAllObjects(); + for(auto& equalsItem : equalsJsonMap) + { + m_equals[equalsItem.first] = equalsItem.second.AsString(); + } + m_equalsHasBeenSet = true; + } + + if(jsonValue.ValueExists("notEquals")) + { + Aws::Map notEqualsJsonMap = jsonValue.GetObject("notEquals").GetAllObjects(); + for(auto& notEqualsItem : notEqualsJsonMap) + { + m_notEquals[notEqualsItem.first] = notEqualsItem.second.AsString(); + } + m_notEqualsHasBeenSet = true; + } + + if(jsonValue.ValueExists("andAll")) + { + Aws::Utils::Array andAllJsonList = jsonValue.GetArray("andAll"); + for(unsigned andAllIndex = 0; andAllIndex < andAllJsonList.GetLength(); ++andAllIndex) + { + m_andAll.push_back(andAllJsonList[andAllIndex].AsObject()); + } + m_andAllHasBeenSet = true; + } + + if(jsonValue.ValueExists("orAll")) + { + Aws::Utils::Array orAllJsonList = jsonValue.GetArray("orAll"); + for(unsigned orAllIndex = 0; orAllIndex < orAllJsonList.GetLength(); ++orAllIndex) + { + m_orAll.push_back(orAllJsonList[orAllIndex].AsObject()); + } + m_orAllHasBeenSet = true; + } + + return *this; +} + +JsonValue RequestMetadataFilters::Jsonize() const +{ + JsonValue payload; + + if(m_equalsHasBeenSet) + { + JsonValue equalsJsonMap; + for(auto& equalsItem : m_equals) + { + equalsJsonMap.WithString(equalsItem.first, equalsItem.second); + } + payload.WithObject("equals", std::move(equalsJsonMap)); + + } + + if(m_notEqualsHasBeenSet) + { + JsonValue notEqualsJsonMap; + for(auto& notEqualsItem : m_notEquals) + { + notEqualsJsonMap.WithString(notEqualsItem.first, notEqualsItem.second); + } + payload.WithObject("notEquals", std::move(notEqualsJsonMap)); + + } + + if(m_andAllHasBeenSet) + { + Aws::Utils::Array andAllJsonList(m_andAll.size()); + for(unsigned andAllIndex = 0; andAllIndex < andAllJsonList.GetLength(); ++andAllIndex) + { + andAllJsonList[andAllIndex].AsObject(m_andAll[andAllIndex].Jsonize()); + } + payload.WithArray("andAll", std::move(andAllJsonList)); + + } + + if(m_orAllHasBeenSet) + { + Aws::Utils::Array orAllJsonList(m_orAll.size()); + for(unsigned orAllIndex = 0; orAllIndex < orAllJsonList.GetLength(); ++orAllIndex) + { + orAllJsonList[orAllIndex].AsObject(m_orAll[orAllIndex].Jsonize()); + } + payload.WithArray("orAll", std::move(orAllJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/TeacherModelConfig.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/TeacherModelConfig.cpp new file mode 100644 index 00000000000..d3bfea5a461 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/TeacherModelConfig.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Bedrock +{ +namespace Model +{ + +TeacherModelConfig::TeacherModelConfig() : + m_teacherModelIdentifierHasBeenSet(false), + m_maxResponseLengthForInference(0), + m_maxResponseLengthForInferenceHasBeenSet(false) +{ +} + +TeacherModelConfig::TeacherModelConfig(JsonView jsonValue) + : TeacherModelConfig() +{ + *this = jsonValue; +} + +TeacherModelConfig& TeacherModelConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("teacherModelIdentifier")) + { + m_teacherModelIdentifier = jsonValue.GetString("teacherModelIdentifier"); + + m_teacherModelIdentifierHasBeenSet = true; + } + + if(jsonValue.ValueExists("maxResponseLengthForInference")) + { + m_maxResponseLengthForInference = jsonValue.GetInteger("maxResponseLengthForInference"); + + m_maxResponseLengthForInferenceHasBeenSet = true; + } + + return *this; +} + +JsonValue TeacherModelConfig::Jsonize() const +{ + JsonValue payload; + + if(m_teacherModelIdentifierHasBeenSet) + { + payload.WithString("teacherModelIdentifier", m_teacherModelIdentifier); + + } + + if(m_maxResponseLengthForInferenceHasBeenSet) + { + payload.WithInteger("maxResponseLengthForInference", m_maxResponseLengthForInference); + + } + + return payload; +} + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/TrainingDataConfig.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/TrainingDataConfig.cpp index 8f9d40e7c06..21eae290704 100644 --- a/generated/src/aws-cpp-sdk-bedrock/source/model/TrainingDataConfig.cpp +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/TrainingDataConfig.cpp @@ -19,7 +19,8 @@ namespace Model { TrainingDataConfig::TrainingDataConfig() : - m_s3UriHasBeenSet(false) + m_s3UriHasBeenSet(false), + m_invocationLogsConfigHasBeenSet(false) { } @@ -38,6 +39,13 @@ TrainingDataConfig& TrainingDataConfig::operator =(JsonView jsonValue) m_s3UriHasBeenSet = true; } + if(jsonValue.ValueExists("invocationLogsConfig")) + { + m_invocationLogsConfig = jsonValue.GetObject("invocationLogsConfig"); + + m_invocationLogsConfigHasBeenSet = true; + } + return *this; } @@ -51,6 +59,12 @@ JsonValue TrainingDataConfig::Jsonize() const } + if(m_invocationLogsConfigHasBeenSet) + { + payload.WithObject("invocationLogsConfig", m_invocationLogsConfig.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneClient.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneClient.h index a8adb9b09d3..1d3fbf2cd2e 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneClient.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneClient.h @@ -362,6 +362,33 @@ namespace DataZone return SubmitAsync(&DataZoneClient::CreateAssetType, request, handler, context); } + /** + *

    Creates a new connection. In Amazon DataZone, a connection enables you to + * connect your resources (domains, projects, and environments) to external + * resources and services.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateConnectionOutcome CreateConnection(const Model::CreateConnectionRequest& request) const; + + /** + * A Callable wrapper for CreateConnection that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateConnectionOutcomeCallable CreateConnectionCallable(const CreateConnectionRequestT& request) const + { + return SubmitCallable(&DataZoneClient::CreateConnection, request); + } + + /** + * An Async wrapper for CreateConnection that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateConnectionAsync(const CreateConnectionRequestT& request, const CreateConnectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::CreateConnection, request, handler, context); + } + /** *

    Creates a data product.

    See Also:

    AWS @@ -741,6 +768,31 @@ namespace DataZone return SubmitAsync(&DataZoneClient::CreateProjectMembership, request, handler, context); } + /** + *

    Creates a project profile.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateProjectProfileOutcome CreateProjectProfile(const Model::CreateProjectProfileRequest& request) const; + + /** + * A Callable wrapper for CreateProjectProfile that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateProjectProfileOutcomeCallable CreateProjectProfileCallable(const CreateProjectProfileRequestT& request) const + { + return SubmitCallable(&DataZoneClient::CreateProjectProfile, request); + } + + /** + * An Async wrapper for CreateProjectProfile that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateProjectProfileAsync(const CreateProjectProfileRequestT& request, const CreateProjectProfileResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::CreateProjectProfile, request, handler, context); + } + /** *

    Creates a rule in Amazon DataZone. A rule is a formal agreement that enforces * specific requirements across user workflows (e.g., publishing assets to the @@ -951,6 +1003,33 @@ namespace DataZone return SubmitAsync(&DataZoneClient::DeleteAssetType, request, handler, context); } + /** + *

    Deletes and connection. In Amazon DataZone, a connection enables you to + * connect your resources (domains, projects, and environments) to external + * resources and services.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteConnectionOutcome DeleteConnection(const Model::DeleteConnectionRequest& request) const; + + /** + * A Callable wrapper for DeleteConnection that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteConnectionOutcomeCallable DeleteConnectionCallable(const DeleteConnectionRequestT& request) const + { + return SubmitCallable(&DataZoneClient::DeleteConnection, request); + } + + /** + * An Async wrapper for DeleteConnection that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteConnectionAsync(const DeleteConnectionRequestT& request, const DeleteConnectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::DeleteConnection, request, handler, context); + } + /** *

    Deletes a data product in Amazon DataZone.

    See Also:

    AWS @@ -1308,6 +1387,31 @@ namespace DataZone return SubmitAsync(&DataZoneClient::DeleteProjectMembership, request, handler, context); } + /** + *

    Deletes a project profile.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteProjectProfileOutcome DeleteProjectProfile(const Model::DeleteProjectProfileRequest& request) const; + + /** + * A Callable wrapper for DeleteProjectProfile that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteProjectProfileOutcomeCallable DeleteProjectProfileCallable(const DeleteProjectProfileRequestT& request) const + { + return SubmitCallable(&DataZoneClient::DeleteProjectProfile, request); + } + + /** + * An Async wrapper for DeleteProjectProfile that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteProjectProfileAsync(const DeleteProjectProfileRequestT& request, const DeleteProjectProfileResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::DeleteProjectProfile, request, handler, context); + } + /** *

    Deletes a rule in Amazon DataZone. A rule is a formal agreement that enforces * specific requirements across user workflows (e.g., publishing assets to the @@ -1545,6 +1649,33 @@ namespace DataZone return SubmitAsync(&DataZoneClient::GetAssetType, request, handler, context); } + /** + *

    Gets a connection. In Amazon DataZone, a connection enables you to connect + * your resources (domains, projects, and environments) to external resources and + * services.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetConnectionOutcome GetConnection(const Model::GetConnectionRequest& request) const; + + /** + * A Callable wrapper for GetConnection that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetConnectionOutcomeCallable GetConnectionCallable(const GetConnectionRequestT& request) const + { + return SubmitCallable(&DataZoneClient::GetConnection, request); + } + + /** + * An Async wrapper for GetConnection that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetConnectionAsync(const GetConnectionRequestT& request, const GetConnectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::GetConnection, request, handler, context); + } + /** *

    Gets the data product.

    See Also:

    AWS @@ -1949,6 +2080,56 @@ namespace DataZone return SubmitAsync(&DataZoneClient::GetIamPortalLoginUrl, request, handler, context); } + /** + *

    The details of the job run.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetJobRunOutcome GetJobRun(const Model::GetJobRunRequest& request) const; + + /** + * A Callable wrapper for GetJobRun that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetJobRunOutcomeCallable GetJobRunCallable(const GetJobRunRequestT& request) const + { + return SubmitCallable(&DataZoneClient::GetJobRun, request); + } + + /** + * An Async wrapper for GetJobRun that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetJobRunAsync(const GetJobRunRequestT& request, const GetJobRunResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::GetJobRun, request, handler, context); + } + + /** + *

    Describes the lineage event.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetLineageEventOutcome GetLineageEvent(const Model::GetLineageEventRequest& request) const; + + /** + * A Callable wrapper for GetLineageEvent that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetLineageEventOutcomeCallable GetLineageEventCallable(const GetLineageEventRequestT& request) const + { + return SubmitCallable(&DataZoneClient::GetLineageEvent, request); + } + + /** + * An Async wrapper for GetLineageEvent that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetLineageEventAsync(const GetLineageEventRequestT& request, const GetLineageEventResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::GetLineageEvent, request, handler, context); + } + /** *

    Gets the data lineage node.

    See Also:

    AWS @@ -2052,6 +2233,31 @@ namespace DataZone return SubmitAsync(&DataZoneClient::GetProject, request, handler, context); } + /** + *

    The details of the project profile.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetProjectProfileOutcome GetProjectProfile(const Model::GetProjectProfileRequest& request) const; + + /** + * A Callable wrapper for GetProjectProfile that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetProjectProfileOutcomeCallable GetProjectProfileCallable(const GetProjectProfileRequestT& request) const + { + return SubmitCallable(&DataZoneClient::GetProjectProfile, request); + } + + /** + * An Async wrapper for GetProjectProfile that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetProjectProfileAsync(const GetProjectProfileRequestT& request, const GetProjectProfileResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::GetProjectProfile, request, handler, context); + } + /** *

    Gets the details of a rule in Amazon DataZone. A rule is a formal agreement * that enforces specific requirements across user workflows (e.g., publishing @@ -2286,6 +2492,33 @@ namespace DataZone return SubmitAsync(&DataZoneClient::ListAssetRevisions, request, handler, context); } + /** + *

    Lists connections. In Amazon DataZone, a connection enables you to connect + * your resources (domains, projects, and environments) to external resources and + * services.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListConnectionsOutcome ListConnections(const Model::ListConnectionsRequest& request) const; + + /** + * A Callable wrapper for ListConnections that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListConnectionsOutcomeCallable ListConnectionsCallable(const ListConnectionsRequestT& request) const + { + return SubmitCallable(&DataZoneClient::ListConnections, request); + } + + /** + * An Async wrapper for ListConnections that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListConnectionsAsync(const ListConnectionsRequestT& request, const ListConnectionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::ListConnections, request, handler, context); + } + /** *

    Lists data product revisions.

    See Also:

    AWS @@ -2589,6 +2822,56 @@ namespace DataZone return SubmitAsync(&DataZoneClient::ListEnvironments, request, handler, context); } + /** + *

    Lists job runs.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListJobRunsOutcome ListJobRuns(const Model::ListJobRunsRequest& request) const; + + /** + * A Callable wrapper for ListJobRuns that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListJobRunsOutcomeCallable ListJobRunsCallable(const ListJobRunsRequestT& request) const + { + return SubmitCallable(&DataZoneClient::ListJobRuns, request); + } + + /** + * An Async wrapper for ListJobRuns that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListJobRunsAsync(const ListJobRunsRequestT& request, const ListJobRunsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::ListJobRuns, request, handler, context); + } + + /** + *

    Lists lineage events.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListLineageEventsOutcome ListLineageEvents(const Model::ListLineageEventsRequest& request) const; + + /** + * A Callable wrapper for ListLineageEvents that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListLineageEventsOutcomeCallable ListLineageEventsCallable(const ListLineageEventsRequestT& request) const + { + return SubmitCallable(&DataZoneClient::ListLineageEvents, request); + } + + /** + * An Async wrapper for ListLineageEvents that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListLineageEventsAsync(const ListLineageEventsRequestT& request, const ListLineageEventsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::ListLineageEvents, request, handler, context); + } + /** *

    Lists the history of the specified data lineage node.

    See * Also:

    Lists project profiles.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListProjectProfilesOutcome ListProjectProfiles(const Model::ListProjectProfilesRequest& request) const; + + /** + * A Callable wrapper for ListProjectProfiles that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListProjectProfilesOutcomeCallable ListProjectProfilesCallable(const ListProjectProfilesRequestT& request) const + { + return SubmitCallable(&DataZoneClient::ListProjectProfiles, request); + } + + /** + * An Async wrapper for ListProjectProfiles that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListProjectProfilesAsync(const ListProjectProfilesRequestT& request, const ListProjectProfilesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::ListProjectProfiles, request, handler, context); + } + /** *

    Lists Amazon DataZone projects.

    See Also:

    AWS @@ -3379,6 +3687,33 @@ namespace DataZone return SubmitAsync(&DataZoneClient::UpdateAssetFilter, request, handler, context); } + /** + *

    Updates a connection. In Amazon DataZone, a connection enables you to connect + * your resources (domains, projects, and environments) to external resources and + * services.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::UpdateConnectionOutcome UpdateConnection(const Model::UpdateConnectionRequest& request) const; + + /** + * A Callable wrapper for UpdateConnection that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateConnectionOutcomeCallable UpdateConnectionCallable(const UpdateConnectionRequestT& request) const + { + return SubmitCallable(&DataZoneClient::UpdateConnection, request); + } + + /** + * An Async wrapper for UpdateConnection that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateConnectionAsync(const UpdateConnectionRequestT& request, const UpdateConnectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::UpdateConnection, request, handler, context); + } + /** *

    Updates the specified data source in Amazon DataZone.

    See * Also:

    Updates a project profile.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::UpdateProjectProfileOutcome UpdateProjectProfile(const Model::UpdateProjectProfileRequest& request) const; + + /** + * A Callable wrapper for UpdateProjectProfile that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateProjectProfileOutcomeCallable UpdateProjectProfileCallable(const UpdateProjectProfileRequestT& request) const + { + return SubmitCallable(&DataZoneClient::UpdateProjectProfile, request); + } + + /** + * An Async wrapper for UpdateProjectProfile that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateProjectProfileAsync(const UpdateProjectProfileRequestT& request, const UpdateProjectProfileResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::UpdateProjectProfile, request, handler, context); + } + /** *

    Updates a rule. In Amazon DataZone, a rule is a formal agreement that * enforces specific requirements across user workflows (e.g., publishing assets to diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneServiceClientModel.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneServiceClientModel.h index a422ae16051..faa9787682d 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneServiceClientModel.h @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include @@ -44,6 +45,7 @@ #include #include #include +#include #include #include #include @@ -51,6 +53,7 @@ #include #include #include +#include #include #include #include @@ -62,6 +65,7 @@ #include #include #include +#include #include #include #include @@ -69,6 +73,7 @@ #include #include #include +#include #include #include #include @@ -85,10 +90,13 @@ #include #include #include +#include +#include #include #include #include #include +#include #include #include #include @@ -98,6 +106,7 @@ #include #include #include +#include #include #include #include @@ -110,11 +119,14 @@ #include #include #include +#include +#include #include #include #include #include #include +#include #include #include #include @@ -141,6 +153,7 @@ #include #include #include +#include #include #include #include @@ -151,6 +164,7 @@ #include #include #include +#include #include #include #include @@ -209,6 +223,7 @@ namespace Aws class CreateAssetFilterRequest; class CreateAssetRevisionRequest; class CreateAssetTypeRequest; + class CreateConnectionRequest; class CreateDataProductRequest; class CreateDataProductRevisionRequest; class CreateDataSourceRequest; @@ -224,6 +239,7 @@ namespace Aws class CreateListingChangeSetRequest; class CreateProjectRequest; class CreateProjectMembershipRequest; + class CreateProjectProfileRequest; class CreateRuleRequest; class CreateSubscriptionGrantRequest; class CreateSubscriptionRequestRequest; @@ -232,6 +248,7 @@ namespace Aws class DeleteAssetRequest; class DeleteAssetFilterRequest; class DeleteAssetTypeRequest; + class DeleteConnectionRequest; class DeleteDataProductRequest; class DeleteDataSourceRequest; class DeleteDomainRequest; @@ -246,6 +263,7 @@ namespace Aws class DeleteListingRequest; class DeleteProjectRequest; class DeleteProjectMembershipRequest; + class DeleteProjectProfileRequest; class DeleteRuleRequest; class DeleteSubscriptionGrantRequest; class DeleteSubscriptionRequestRequest; @@ -255,6 +273,7 @@ namespace Aws class GetAssetRequest; class GetAssetFilterRequest; class GetAssetTypeRequest; + class GetConnectionRequest; class GetDataProductRequest; class GetDataSourceRequest; class GetDataSourceRunRequest; @@ -271,10 +290,13 @@ namespace Aws class GetGlossaryTermRequest; class GetGroupProfileRequest; class GetIamPortalLoginUrlRequest; + class GetJobRunRequest; + class GetLineageEventRequest; class GetLineageNodeRequest; class GetListingRequest; class GetMetadataGenerationRunRequest; class GetProjectRequest; + class GetProjectProfileRequest; class GetRuleRequest; class GetSubscriptionRequest; class GetSubscriptionGrantRequest; @@ -284,6 +306,7 @@ namespace Aws class GetUserProfileRequest; class ListAssetFiltersRequest; class ListAssetRevisionsRequest; + class ListConnectionsRequest; class ListDataProductRevisionsRequest; class ListDataSourceRunActivitiesRequest; class ListDataSourceRunsRequest; @@ -296,11 +319,14 @@ namespace Aws class ListEnvironmentBlueprintsRequest; class ListEnvironmentProfilesRequest; class ListEnvironmentsRequest; + class ListJobRunsRequest; + class ListLineageEventsRequest; class ListLineageNodeHistoryRequest; class ListMetadataGenerationRunsRequest; class ListNotificationsRequest; class ListPolicyGrantsRequest; class ListProjectMembershipsRequest; + class ListProjectProfilesRequest; class ListProjectsRequest; class ListRulesRequest; class ListSubscriptionGrantsRequest; @@ -327,6 +353,7 @@ namespace Aws class TagResourceRequest; class UntagResourceRequest; class UpdateAssetFilterRequest; + class UpdateConnectionRequest; class UpdateDataSourceRequest; class UpdateDomainRequest; class UpdateDomainUnitRequest; @@ -337,6 +364,7 @@ namespace Aws class UpdateGlossaryTermRequest; class UpdateGroupProfileRequest; class UpdateProjectRequest; + class UpdateProjectProfileRequest; class UpdateRuleRequest; class UpdateSubscriptionGrantStatusRequest; class UpdateSubscriptionRequestRequest; @@ -356,6 +384,7 @@ namespace Aws typedef Aws::Utils::Outcome CreateAssetFilterOutcome; typedef Aws::Utils::Outcome CreateAssetRevisionOutcome; typedef Aws::Utils::Outcome CreateAssetTypeOutcome; + typedef Aws::Utils::Outcome CreateConnectionOutcome; typedef Aws::Utils::Outcome CreateDataProductOutcome; typedef Aws::Utils::Outcome CreateDataProductRevisionOutcome; typedef Aws::Utils::Outcome CreateDataSourceOutcome; @@ -371,6 +400,7 @@ namespace Aws typedef Aws::Utils::Outcome CreateListingChangeSetOutcome; typedef Aws::Utils::Outcome CreateProjectOutcome; typedef Aws::Utils::Outcome CreateProjectMembershipOutcome; + typedef Aws::Utils::Outcome CreateProjectProfileOutcome; typedef Aws::Utils::Outcome CreateRuleOutcome; typedef Aws::Utils::Outcome CreateSubscriptionGrantOutcome; typedef Aws::Utils::Outcome CreateSubscriptionRequestOutcome; @@ -379,6 +409,7 @@ namespace Aws typedef Aws::Utils::Outcome DeleteAssetOutcome; typedef Aws::Utils::Outcome DeleteAssetFilterOutcome; typedef Aws::Utils::Outcome DeleteAssetTypeOutcome; + typedef Aws::Utils::Outcome DeleteConnectionOutcome; typedef Aws::Utils::Outcome DeleteDataProductOutcome; typedef Aws::Utils::Outcome DeleteDataSourceOutcome; typedef Aws::Utils::Outcome DeleteDomainOutcome; @@ -393,6 +424,7 @@ namespace Aws typedef Aws::Utils::Outcome DeleteListingOutcome; typedef Aws::Utils::Outcome DeleteProjectOutcome; typedef Aws::Utils::Outcome DeleteProjectMembershipOutcome; + typedef Aws::Utils::Outcome DeleteProjectProfileOutcome; typedef Aws::Utils::Outcome DeleteRuleOutcome; typedef Aws::Utils::Outcome DeleteSubscriptionGrantOutcome; typedef Aws::Utils::Outcome DeleteSubscriptionRequestOutcome; @@ -402,6 +434,7 @@ namespace Aws typedef Aws::Utils::Outcome GetAssetOutcome; typedef Aws::Utils::Outcome GetAssetFilterOutcome; typedef Aws::Utils::Outcome GetAssetTypeOutcome; + typedef Aws::Utils::Outcome GetConnectionOutcome; typedef Aws::Utils::Outcome GetDataProductOutcome; typedef Aws::Utils::Outcome GetDataSourceOutcome; typedef Aws::Utils::Outcome GetDataSourceRunOutcome; @@ -418,10 +451,13 @@ namespace Aws typedef Aws::Utils::Outcome GetGlossaryTermOutcome; typedef Aws::Utils::Outcome GetGroupProfileOutcome; typedef Aws::Utils::Outcome GetIamPortalLoginUrlOutcome; + typedef Aws::Utils::Outcome GetJobRunOutcome; + typedef Aws::Utils::Outcome GetLineageEventOutcome; typedef Aws::Utils::Outcome GetLineageNodeOutcome; typedef Aws::Utils::Outcome GetListingOutcome; typedef Aws::Utils::Outcome GetMetadataGenerationRunOutcome; typedef Aws::Utils::Outcome GetProjectOutcome; + typedef Aws::Utils::Outcome GetProjectProfileOutcome; typedef Aws::Utils::Outcome GetRuleOutcome; typedef Aws::Utils::Outcome GetSubscriptionOutcome; typedef Aws::Utils::Outcome GetSubscriptionGrantOutcome; @@ -431,6 +467,7 @@ namespace Aws typedef Aws::Utils::Outcome GetUserProfileOutcome; typedef Aws::Utils::Outcome ListAssetFiltersOutcome; typedef Aws::Utils::Outcome ListAssetRevisionsOutcome; + typedef Aws::Utils::Outcome ListConnectionsOutcome; typedef Aws::Utils::Outcome ListDataProductRevisionsOutcome; typedef Aws::Utils::Outcome ListDataSourceRunActivitiesOutcome; typedef Aws::Utils::Outcome ListDataSourceRunsOutcome; @@ -443,11 +480,14 @@ namespace Aws typedef Aws::Utils::Outcome ListEnvironmentBlueprintsOutcome; typedef Aws::Utils::Outcome ListEnvironmentProfilesOutcome; typedef Aws::Utils::Outcome ListEnvironmentsOutcome; + typedef Aws::Utils::Outcome ListJobRunsOutcome; + typedef Aws::Utils::Outcome ListLineageEventsOutcome; typedef Aws::Utils::Outcome ListLineageNodeHistoryOutcome; typedef Aws::Utils::Outcome ListMetadataGenerationRunsOutcome; typedef Aws::Utils::Outcome ListNotificationsOutcome; typedef Aws::Utils::Outcome ListPolicyGrantsOutcome; typedef Aws::Utils::Outcome ListProjectMembershipsOutcome; + typedef Aws::Utils::Outcome ListProjectProfilesOutcome; typedef Aws::Utils::Outcome ListProjectsOutcome; typedef Aws::Utils::Outcome ListRulesOutcome; typedef Aws::Utils::Outcome ListSubscriptionGrantsOutcome; @@ -474,6 +514,7 @@ namespace Aws typedef Aws::Utils::Outcome TagResourceOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; typedef Aws::Utils::Outcome UpdateAssetFilterOutcome; + typedef Aws::Utils::Outcome UpdateConnectionOutcome; typedef Aws::Utils::Outcome UpdateDataSourceOutcome; typedef Aws::Utils::Outcome UpdateDomainOutcome; typedef Aws::Utils::Outcome UpdateDomainUnitOutcome; @@ -484,6 +525,7 @@ namespace Aws typedef Aws::Utils::Outcome UpdateGlossaryTermOutcome; typedef Aws::Utils::Outcome UpdateGroupProfileOutcome; typedef Aws::Utils::Outcome UpdateProjectOutcome; + typedef Aws::Utils::Outcome UpdateProjectProfileOutcome; typedef Aws::Utils::Outcome UpdateRuleOutcome; typedef Aws::Utils::Outcome UpdateSubscriptionGrantStatusOutcome; typedef Aws::Utils::Outcome UpdateSubscriptionRequestOutcome; @@ -503,6 +545,7 @@ namespace Aws typedef std::future CreateAssetFilterOutcomeCallable; typedef std::future CreateAssetRevisionOutcomeCallable; typedef std::future CreateAssetTypeOutcomeCallable; + typedef std::future CreateConnectionOutcomeCallable; typedef std::future CreateDataProductOutcomeCallable; typedef std::future CreateDataProductRevisionOutcomeCallable; typedef std::future CreateDataSourceOutcomeCallable; @@ -518,6 +561,7 @@ namespace Aws typedef std::future CreateListingChangeSetOutcomeCallable; typedef std::future CreateProjectOutcomeCallable; typedef std::future CreateProjectMembershipOutcomeCallable; + typedef std::future CreateProjectProfileOutcomeCallable; typedef std::future CreateRuleOutcomeCallable; typedef std::future CreateSubscriptionGrantOutcomeCallable; typedef std::future CreateSubscriptionRequestOutcomeCallable; @@ -526,6 +570,7 @@ namespace Aws typedef std::future DeleteAssetOutcomeCallable; typedef std::future DeleteAssetFilterOutcomeCallable; typedef std::future DeleteAssetTypeOutcomeCallable; + typedef std::future DeleteConnectionOutcomeCallable; typedef std::future DeleteDataProductOutcomeCallable; typedef std::future DeleteDataSourceOutcomeCallable; typedef std::future DeleteDomainOutcomeCallable; @@ -540,6 +585,7 @@ namespace Aws typedef std::future DeleteListingOutcomeCallable; typedef std::future DeleteProjectOutcomeCallable; typedef std::future DeleteProjectMembershipOutcomeCallable; + typedef std::future DeleteProjectProfileOutcomeCallable; typedef std::future DeleteRuleOutcomeCallable; typedef std::future DeleteSubscriptionGrantOutcomeCallable; typedef std::future DeleteSubscriptionRequestOutcomeCallable; @@ -549,6 +595,7 @@ namespace Aws typedef std::future GetAssetOutcomeCallable; typedef std::future GetAssetFilterOutcomeCallable; typedef std::future GetAssetTypeOutcomeCallable; + typedef std::future GetConnectionOutcomeCallable; typedef std::future GetDataProductOutcomeCallable; typedef std::future GetDataSourceOutcomeCallable; typedef std::future GetDataSourceRunOutcomeCallable; @@ -565,10 +612,13 @@ namespace Aws typedef std::future GetGlossaryTermOutcomeCallable; typedef std::future GetGroupProfileOutcomeCallable; typedef std::future GetIamPortalLoginUrlOutcomeCallable; + typedef std::future GetJobRunOutcomeCallable; + typedef std::future GetLineageEventOutcomeCallable; typedef std::future GetLineageNodeOutcomeCallable; typedef std::future GetListingOutcomeCallable; typedef std::future GetMetadataGenerationRunOutcomeCallable; typedef std::future GetProjectOutcomeCallable; + typedef std::future GetProjectProfileOutcomeCallable; typedef std::future GetRuleOutcomeCallable; typedef std::future GetSubscriptionOutcomeCallable; typedef std::future GetSubscriptionGrantOutcomeCallable; @@ -578,6 +628,7 @@ namespace Aws typedef std::future GetUserProfileOutcomeCallable; typedef std::future ListAssetFiltersOutcomeCallable; typedef std::future ListAssetRevisionsOutcomeCallable; + typedef std::future ListConnectionsOutcomeCallable; typedef std::future ListDataProductRevisionsOutcomeCallable; typedef std::future ListDataSourceRunActivitiesOutcomeCallable; typedef std::future ListDataSourceRunsOutcomeCallable; @@ -590,11 +641,14 @@ namespace Aws typedef std::future ListEnvironmentBlueprintsOutcomeCallable; typedef std::future ListEnvironmentProfilesOutcomeCallable; typedef std::future ListEnvironmentsOutcomeCallable; + typedef std::future ListJobRunsOutcomeCallable; + typedef std::future ListLineageEventsOutcomeCallable; typedef std::future ListLineageNodeHistoryOutcomeCallable; typedef std::future ListMetadataGenerationRunsOutcomeCallable; typedef std::future ListNotificationsOutcomeCallable; typedef std::future ListPolicyGrantsOutcomeCallable; typedef std::future ListProjectMembershipsOutcomeCallable; + typedef std::future ListProjectProfilesOutcomeCallable; typedef std::future ListProjectsOutcomeCallable; typedef std::future ListRulesOutcomeCallable; typedef std::future ListSubscriptionGrantsOutcomeCallable; @@ -621,6 +675,7 @@ namespace Aws typedef std::future TagResourceOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; typedef std::future UpdateAssetFilterOutcomeCallable; + typedef std::future UpdateConnectionOutcomeCallable; typedef std::future UpdateDataSourceOutcomeCallable; typedef std::future UpdateDomainOutcomeCallable; typedef std::future UpdateDomainUnitOutcomeCallable; @@ -631,6 +686,7 @@ namespace Aws typedef std::future UpdateGlossaryTermOutcomeCallable; typedef std::future UpdateGroupProfileOutcomeCallable; typedef std::future UpdateProjectOutcomeCallable; + typedef std::future UpdateProjectProfileOutcomeCallable; typedef std::future UpdateRuleOutcomeCallable; typedef std::future UpdateSubscriptionGrantStatusOutcomeCallable; typedef std::future UpdateSubscriptionRequestOutcomeCallable; @@ -653,6 +709,7 @@ namespace Aws typedef std::function&) > CreateAssetFilterResponseReceivedHandler; typedef std::function&) > CreateAssetRevisionResponseReceivedHandler; typedef std::function&) > CreateAssetTypeResponseReceivedHandler; + typedef std::function&) > CreateConnectionResponseReceivedHandler; typedef std::function&) > CreateDataProductResponseReceivedHandler; typedef std::function&) > CreateDataProductRevisionResponseReceivedHandler; typedef std::function&) > CreateDataSourceResponseReceivedHandler; @@ -668,6 +725,7 @@ namespace Aws typedef std::function&) > CreateListingChangeSetResponseReceivedHandler; typedef std::function&) > CreateProjectResponseReceivedHandler; typedef std::function&) > CreateProjectMembershipResponseReceivedHandler; + typedef std::function&) > CreateProjectProfileResponseReceivedHandler; typedef std::function&) > CreateRuleResponseReceivedHandler; typedef std::function&) > CreateSubscriptionGrantResponseReceivedHandler; typedef std::function&) > CreateSubscriptionRequestResponseReceivedHandler; @@ -676,6 +734,7 @@ namespace Aws typedef std::function&) > DeleteAssetResponseReceivedHandler; typedef std::function&) > DeleteAssetFilterResponseReceivedHandler; typedef std::function&) > DeleteAssetTypeResponseReceivedHandler; + typedef std::function&) > DeleteConnectionResponseReceivedHandler; typedef std::function&) > DeleteDataProductResponseReceivedHandler; typedef std::function&) > DeleteDataSourceResponseReceivedHandler; typedef std::function&) > DeleteDomainResponseReceivedHandler; @@ -690,6 +749,7 @@ namespace Aws typedef std::function&) > DeleteListingResponseReceivedHandler; typedef std::function&) > DeleteProjectResponseReceivedHandler; typedef std::function&) > DeleteProjectMembershipResponseReceivedHandler; + typedef std::function&) > DeleteProjectProfileResponseReceivedHandler; typedef std::function&) > DeleteRuleResponseReceivedHandler; typedef std::function&) > DeleteSubscriptionGrantResponseReceivedHandler; typedef std::function&) > DeleteSubscriptionRequestResponseReceivedHandler; @@ -699,6 +759,7 @@ namespace Aws typedef std::function&) > GetAssetResponseReceivedHandler; typedef std::function&) > GetAssetFilterResponseReceivedHandler; typedef std::function&) > GetAssetTypeResponseReceivedHandler; + typedef std::function&) > GetConnectionResponseReceivedHandler; typedef std::function&) > GetDataProductResponseReceivedHandler; typedef std::function&) > GetDataSourceResponseReceivedHandler; typedef std::function&) > GetDataSourceRunResponseReceivedHandler; @@ -715,10 +776,13 @@ namespace Aws typedef std::function&) > GetGlossaryTermResponseReceivedHandler; typedef std::function&) > GetGroupProfileResponseReceivedHandler; typedef std::function&) > GetIamPortalLoginUrlResponseReceivedHandler; + typedef std::function&) > GetJobRunResponseReceivedHandler; + typedef std::function&) > GetLineageEventResponseReceivedHandler; typedef std::function&) > GetLineageNodeResponseReceivedHandler; typedef std::function&) > GetListingResponseReceivedHandler; typedef std::function&) > GetMetadataGenerationRunResponseReceivedHandler; typedef std::function&) > GetProjectResponseReceivedHandler; + typedef std::function&) > GetProjectProfileResponseReceivedHandler; typedef std::function&) > GetRuleResponseReceivedHandler; typedef std::function&) > GetSubscriptionResponseReceivedHandler; typedef std::function&) > GetSubscriptionGrantResponseReceivedHandler; @@ -728,6 +792,7 @@ namespace Aws typedef std::function&) > GetUserProfileResponseReceivedHandler; typedef std::function&) > ListAssetFiltersResponseReceivedHandler; typedef std::function&) > ListAssetRevisionsResponseReceivedHandler; + typedef std::function&) > ListConnectionsResponseReceivedHandler; typedef std::function&) > ListDataProductRevisionsResponseReceivedHandler; typedef std::function&) > ListDataSourceRunActivitiesResponseReceivedHandler; typedef std::function&) > ListDataSourceRunsResponseReceivedHandler; @@ -740,11 +805,14 @@ namespace Aws typedef std::function&) > ListEnvironmentBlueprintsResponseReceivedHandler; typedef std::function&) > ListEnvironmentProfilesResponseReceivedHandler; typedef std::function&) > ListEnvironmentsResponseReceivedHandler; + typedef std::function&) > ListJobRunsResponseReceivedHandler; + typedef std::function&) > ListLineageEventsResponseReceivedHandler; typedef std::function&) > ListLineageNodeHistoryResponseReceivedHandler; typedef std::function&) > ListMetadataGenerationRunsResponseReceivedHandler; typedef std::function&) > ListNotificationsResponseReceivedHandler; typedef std::function&) > ListPolicyGrantsResponseReceivedHandler; typedef std::function&) > ListProjectMembershipsResponseReceivedHandler; + typedef std::function&) > ListProjectProfilesResponseReceivedHandler; typedef std::function&) > ListProjectsResponseReceivedHandler; typedef std::function&) > ListRulesResponseReceivedHandler; typedef std::function&) > ListSubscriptionGrantsResponseReceivedHandler; @@ -771,6 +839,7 @@ namespace Aws typedef std::function&) > TagResourceResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; typedef std::function&) > UpdateAssetFilterResponseReceivedHandler; + typedef std::function&) > UpdateConnectionResponseReceivedHandler; typedef std::function&) > UpdateDataSourceResponseReceivedHandler; typedef std::function&) > UpdateDomainResponseReceivedHandler; typedef std::function&) > UpdateDomainUnitResponseReceivedHandler; @@ -781,6 +850,7 @@ namespace Aws typedef std::function&) > UpdateGlossaryTermResponseReceivedHandler; typedef std::function&) > UpdateGroupProfileResponseReceivedHandler; typedef std::function&) > UpdateProjectResponseReceivedHandler; + typedef std::function&) > UpdateProjectProfileResponseReceivedHandler; typedef std::function&) > UpdateRuleResponseReceivedHandler; typedef std::function&) > UpdateSubscriptionGrantStatusResponseReceivedHandler; typedef std::function&) > UpdateSubscriptionRequestResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AthenaPropertiesInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AthenaPropertiesInput.h new file mode 100644 index 00000000000..52fa26aee57 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AthenaPropertiesInput.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The Amazon Athena properties of a connection.

    See Also:

    AWS + * API Reference

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

    The Amazon Athena workgroup name of a connection.

    + */ + inline const Aws::String& GetWorkgroupName() const{ return m_workgroupName; } + inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; } + inline void SetWorkgroupName(const Aws::String& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = value; } + inline void SetWorkgroupName(Aws::String&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::move(value); } + inline void SetWorkgroupName(const char* value) { m_workgroupNameHasBeenSet = true; m_workgroupName.assign(value); } + inline AthenaPropertiesInput& WithWorkgroupName(const Aws::String& value) { SetWorkgroupName(value); return *this;} + inline AthenaPropertiesInput& WithWorkgroupName(Aws::String&& value) { SetWorkgroupName(std::move(value)); return *this;} + inline AthenaPropertiesInput& WithWorkgroupName(const char* value) { SetWorkgroupName(value); return *this;} + ///@} + private: + + Aws::String m_workgroupName; + bool m_workgroupNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AthenaPropertiesOutput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AthenaPropertiesOutput.h new file mode 100644 index 00000000000..87c0640d564 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AthenaPropertiesOutput.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The Amazon Athena properties of a connection.

    See Also:

    AWS + * API Reference

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

    The Amazon Athena workgroup name of a connection.

    + */ + inline const Aws::String& GetWorkgroupName() const{ return m_workgroupName; } + inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; } + inline void SetWorkgroupName(const Aws::String& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = value; } + inline void SetWorkgroupName(Aws::String&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::move(value); } + inline void SetWorkgroupName(const char* value) { m_workgroupNameHasBeenSet = true; m_workgroupName.assign(value); } + inline AthenaPropertiesOutput& WithWorkgroupName(const Aws::String& value) { SetWorkgroupName(value); return *this;} + inline AthenaPropertiesOutput& WithWorkgroupName(Aws::String&& value) { SetWorkgroupName(std::move(value)); return *this;} + inline AthenaPropertiesOutput& WithWorkgroupName(const char* value) { SetWorkgroupName(value); return *this;} + ///@} + private: + + Aws::String m_workgroupName; + bool m_workgroupNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AthenaPropertiesPatch.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AthenaPropertiesPatch.h new file mode 100644 index 00000000000..083aef56ea3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AthenaPropertiesPatch.h @@ -0,0 +1,62 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Amazon Athena properties patch of a connection.

    See Also:

    + * AWS + * API Reference

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

    The Amazon Athena workgroup name of a connection.

    + */ + inline const Aws::String& GetWorkgroupName() const{ return m_workgroupName; } + inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; } + inline void SetWorkgroupName(const Aws::String& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = value; } + inline void SetWorkgroupName(Aws::String&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::move(value); } + inline void SetWorkgroupName(const char* value) { m_workgroupNameHasBeenSet = true; m_workgroupName.assign(value); } + inline AthenaPropertiesPatch& WithWorkgroupName(const Aws::String& value) { SetWorkgroupName(value); return *this;} + inline AthenaPropertiesPatch& WithWorkgroupName(Aws::String&& value) { SetWorkgroupName(std::move(value)); return *this;} + inline AthenaPropertiesPatch& WithWorkgroupName(const char* value) { SetWorkgroupName(value); return *this;} + ///@} + private: + + Aws::String m_workgroupName; + bool m_workgroupNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationConfiguration.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationConfiguration.h new file mode 100644 index 00000000000..8db76d13d2c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationConfiguration.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The authentication configuration of a connection.

    See Also:

    + * AWS + * API Reference

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

    The authentication type of a connection.

    + */ + inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; } + inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; } + inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; } + inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); } + inline AuthenticationConfiguration& WithAuthenticationType(const AuthenticationType& value) { SetAuthenticationType(value); return *this;} + inline AuthenticationConfiguration& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The oAuth2 properties of a connection.

    + */ + inline const OAuth2Properties& GetOAuth2Properties() const{ return m_oAuth2Properties; } + inline bool OAuth2PropertiesHasBeenSet() const { return m_oAuth2PropertiesHasBeenSet; } + inline void SetOAuth2Properties(const OAuth2Properties& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = value; } + inline void SetOAuth2Properties(OAuth2Properties&& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = std::move(value); } + inline AuthenticationConfiguration& WithOAuth2Properties(const OAuth2Properties& value) { SetOAuth2Properties(value); return *this;} + inline AuthenticationConfiguration& WithOAuth2Properties(OAuth2Properties&& value) { SetOAuth2Properties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The secret ARN of a connection.

    + */ + inline const Aws::String& GetSecretArn() const{ return m_secretArn; } + inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; } + inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; } + inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); } + inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); } + inline AuthenticationConfiguration& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;} + inline AuthenticationConfiguration& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;} + inline AuthenticationConfiguration& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} + ///@} + private: + + AuthenticationType m_authenticationType; + bool m_authenticationTypeHasBeenSet = false; + + OAuth2Properties m_oAuth2Properties; + bool m_oAuth2PropertiesHasBeenSet = false; + + Aws::String m_secretArn; + bool m_secretArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationConfigurationInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationConfigurationInput.h new file mode 100644 index 00000000000..67634a5c420 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationConfigurationInput.h @@ -0,0 +1,150 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The authentication configuration of a connection.

    See Also:

    + * AWS + * API Reference

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

    The authentication type of a connection.

    + */ + inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; } + inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; } + inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; } + inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); } + inline AuthenticationConfigurationInput& WithAuthenticationType(const AuthenticationType& value) { SetAuthenticationType(value); return *this;} + inline AuthenticationConfigurationInput& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The basic authentication credentials of a connection.

    + */ + inline const BasicAuthenticationCredentials& GetBasicAuthenticationCredentials() const{ return m_basicAuthenticationCredentials; } + inline bool BasicAuthenticationCredentialsHasBeenSet() const { return m_basicAuthenticationCredentialsHasBeenSet; } + inline void SetBasicAuthenticationCredentials(const BasicAuthenticationCredentials& value) { m_basicAuthenticationCredentialsHasBeenSet = true; m_basicAuthenticationCredentials = value; } + inline void SetBasicAuthenticationCredentials(BasicAuthenticationCredentials&& value) { m_basicAuthenticationCredentialsHasBeenSet = true; m_basicAuthenticationCredentials = std::move(value); } + inline AuthenticationConfigurationInput& WithBasicAuthenticationCredentials(const BasicAuthenticationCredentials& value) { SetBasicAuthenticationCredentials(value); return *this;} + inline AuthenticationConfigurationInput& WithBasicAuthenticationCredentials(BasicAuthenticationCredentials&& value) { SetBasicAuthenticationCredentials(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The custom authentication credentials of a connection.

    + */ + inline const Aws::Map& GetCustomAuthenticationCredentials() const{ return m_customAuthenticationCredentials; } + inline bool CustomAuthenticationCredentialsHasBeenSet() const { return m_customAuthenticationCredentialsHasBeenSet; } + inline void SetCustomAuthenticationCredentials(const Aws::Map& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials = value; } + inline void SetCustomAuthenticationCredentials(Aws::Map&& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials = std::move(value); } + inline AuthenticationConfigurationInput& WithCustomAuthenticationCredentials(const Aws::Map& value) { SetCustomAuthenticationCredentials(value); return *this;} + inline AuthenticationConfigurationInput& WithCustomAuthenticationCredentials(Aws::Map&& value) { SetCustomAuthenticationCredentials(std::move(value)); return *this;} + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(const Aws::String& key, const Aws::String& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(key, value); return *this; } + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(Aws::String&& key, const Aws::String& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(std::move(key), value); return *this; } + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(const Aws::String& key, Aws::String&& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(key, std::move(value)); return *this; } + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(Aws::String&& key, Aws::String&& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(std::move(key), std::move(value)); return *this; } + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(const char* key, Aws::String&& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(key, std::move(value)); return *this; } + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(Aws::String&& key, const char* value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(std::move(key), value); return *this; } + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(const char* key, const char* value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The KMS key ARN of a connection.

    + */ + inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } + inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } + inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } + inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } + inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } + inline AuthenticationConfigurationInput& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} + inline AuthenticationConfigurationInput& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} + inline AuthenticationConfigurationInput& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The oAuth2 properties of a connection.

    + */ + inline const OAuth2Properties& GetOAuth2Properties() const{ return m_oAuth2Properties; } + inline bool OAuth2PropertiesHasBeenSet() const { return m_oAuth2PropertiesHasBeenSet; } + inline void SetOAuth2Properties(const OAuth2Properties& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = value; } + inline void SetOAuth2Properties(OAuth2Properties&& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = std::move(value); } + inline AuthenticationConfigurationInput& WithOAuth2Properties(const OAuth2Properties& value) { SetOAuth2Properties(value); return *this;} + inline AuthenticationConfigurationInput& WithOAuth2Properties(OAuth2Properties&& value) { SetOAuth2Properties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The secret ARN of a connection.

    + */ + inline const Aws::String& GetSecretArn() const{ return m_secretArn; } + inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; } + inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; } + inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); } + inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); } + inline AuthenticationConfigurationInput& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;} + inline AuthenticationConfigurationInput& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;} + inline AuthenticationConfigurationInput& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} + ///@} + private: + + AuthenticationType m_authenticationType; + bool m_authenticationTypeHasBeenSet = false; + + BasicAuthenticationCredentials m_basicAuthenticationCredentials; + bool m_basicAuthenticationCredentialsHasBeenSet = false; + + Aws::Map m_customAuthenticationCredentials; + bool m_customAuthenticationCredentialsHasBeenSet = false; + + Aws::String m_kmsKeyArn; + bool m_kmsKeyArnHasBeenSet = false; + + OAuth2Properties m_oAuth2Properties; + bool m_oAuth2PropertiesHasBeenSet = false; + + Aws::String m_secretArn; + bool m_secretArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationConfigurationPatch.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationConfigurationPatch.h new file mode 100644 index 00000000000..1ed7ca0600f --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationConfigurationPatch.h @@ -0,0 +1,78 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The authentication configuration patch of a connection.

    See + * Also:

    AWS + * API Reference

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

    The basic authentication credentials of a connection.

    + */ + inline const BasicAuthenticationCredentials& GetBasicAuthenticationCredentials() const{ return m_basicAuthenticationCredentials; } + inline bool BasicAuthenticationCredentialsHasBeenSet() const { return m_basicAuthenticationCredentialsHasBeenSet; } + inline void SetBasicAuthenticationCredentials(const BasicAuthenticationCredentials& value) { m_basicAuthenticationCredentialsHasBeenSet = true; m_basicAuthenticationCredentials = value; } + inline void SetBasicAuthenticationCredentials(BasicAuthenticationCredentials&& value) { m_basicAuthenticationCredentialsHasBeenSet = true; m_basicAuthenticationCredentials = std::move(value); } + inline AuthenticationConfigurationPatch& WithBasicAuthenticationCredentials(const BasicAuthenticationCredentials& value) { SetBasicAuthenticationCredentials(value); return *this;} + inline AuthenticationConfigurationPatch& WithBasicAuthenticationCredentials(BasicAuthenticationCredentials&& value) { SetBasicAuthenticationCredentials(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The secret ARN of a connection.

    + */ + inline const Aws::String& GetSecretArn() const{ return m_secretArn; } + inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; } + inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; } + inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); } + inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); } + inline AuthenticationConfigurationPatch& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;} + inline AuthenticationConfigurationPatch& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;} + inline AuthenticationConfigurationPatch& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} + ///@} + private: + + BasicAuthenticationCredentials m_basicAuthenticationCredentials; + bool m_basicAuthenticationCredentialsHasBeenSet = false; + + Aws::String m_secretArn; + bool m_secretArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationType.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationType.h new file mode 100644 index 00000000000..eff683243c7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthenticationType.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class AuthenticationType + { + NOT_SET, + BASIC, + OAUTH2, + CUSTOM + }; + +namespace AuthenticationTypeMapper +{ +AWS_DATAZONE_API AuthenticationType GetAuthenticationTypeForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForAuthenticationType(AuthenticationType value); +} // namespace AuthenticationTypeMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthorizationCodeProperties.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthorizationCodeProperties.h new file mode 100644 index 00000000000..3cf70d82943 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AuthorizationCodeProperties.h @@ -0,0 +1,79 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The authorization code properties of a connection.

    See Also:

    + * AWS + * API Reference

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

    The authorization code of a connection.

    + */ + inline const Aws::String& GetAuthorizationCode() const{ return m_authorizationCode; } + inline bool AuthorizationCodeHasBeenSet() const { return m_authorizationCodeHasBeenSet; } + inline void SetAuthorizationCode(const Aws::String& value) { m_authorizationCodeHasBeenSet = true; m_authorizationCode = value; } + inline void SetAuthorizationCode(Aws::String&& value) { m_authorizationCodeHasBeenSet = true; m_authorizationCode = std::move(value); } + inline void SetAuthorizationCode(const char* value) { m_authorizationCodeHasBeenSet = true; m_authorizationCode.assign(value); } + inline AuthorizationCodeProperties& WithAuthorizationCode(const Aws::String& value) { SetAuthorizationCode(value); return *this;} + inline AuthorizationCodeProperties& WithAuthorizationCode(Aws::String&& value) { SetAuthorizationCode(std::move(value)); return *this;} + inline AuthorizationCodeProperties& WithAuthorizationCode(const char* value) { SetAuthorizationCode(value); return *this;} + ///@} + + ///@{ + /** + *

    The redirect URI of a connection.

    + */ + inline const Aws::String& GetRedirectUri() const{ return m_redirectUri; } + inline bool RedirectUriHasBeenSet() const { return m_redirectUriHasBeenSet; } + inline void SetRedirectUri(const Aws::String& value) { m_redirectUriHasBeenSet = true; m_redirectUri = value; } + inline void SetRedirectUri(Aws::String&& value) { m_redirectUriHasBeenSet = true; m_redirectUri = std::move(value); } + inline void SetRedirectUri(const char* value) { m_redirectUriHasBeenSet = true; m_redirectUri.assign(value); } + inline AuthorizationCodeProperties& WithRedirectUri(const Aws::String& value) { SetRedirectUri(value); return *this;} + inline AuthorizationCodeProperties& WithRedirectUri(Aws::String&& value) { SetRedirectUri(std::move(value)); return *this;} + inline AuthorizationCodeProperties& WithRedirectUri(const char* value) { SetRedirectUri(value); return *this;} + ///@} + private: + + Aws::String m_authorizationCode; + bool m_authorizationCodeHasBeenSet = false; + + Aws::String m_redirectUri; + bool m_redirectUriHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AwsAccount.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AwsAccount.h new file mode 100644 index 00000000000..c05da75494a --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AwsAccount.h @@ -0,0 +1,78 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The account ID of a project.

    See Also:

    AWS + * API Reference

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

    The account ID of a project.

    + */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline AwsAccount& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline AwsAccount& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline AwsAccount& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The account ID path of a project.

    + */ + inline const Aws::String& GetAwsAccountIdPath() const{ return m_awsAccountIdPath; } + inline bool AwsAccountIdPathHasBeenSet() const { return m_awsAccountIdPathHasBeenSet; } + inline void SetAwsAccountIdPath(const Aws::String& value) { m_awsAccountIdPathHasBeenSet = true; m_awsAccountIdPath = value; } + inline void SetAwsAccountIdPath(Aws::String&& value) { m_awsAccountIdPathHasBeenSet = true; m_awsAccountIdPath = std::move(value); } + inline void SetAwsAccountIdPath(const char* value) { m_awsAccountIdPathHasBeenSet = true; m_awsAccountIdPath.assign(value); } + inline AwsAccount& WithAwsAccountIdPath(const Aws::String& value) { SetAwsAccountIdPath(value); return *this;} + inline AwsAccount& WithAwsAccountIdPath(Aws::String&& value) { SetAwsAccountIdPath(std::move(value)); return *this;} + inline AwsAccount& WithAwsAccountIdPath(const char* value) { SetAwsAccountIdPath(value); return *this;} + ///@} + private: + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + + Aws::String m_awsAccountIdPath; + bool m_awsAccountIdPathHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AwsLocation.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AwsLocation.h new file mode 100644 index 00000000000..6fb56b189eb --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AwsLocation.h @@ -0,0 +1,112 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The location of a project.

    See Also:

    AWS + * API Reference

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

    The access role of a connection.

    + */ + inline const Aws::String& GetAccessRole() const{ return m_accessRole; } + inline bool AccessRoleHasBeenSet() const { return m_accessRoleHasBeenSet; } + inline void SetAccessRole(const Aws::String& value) { m_accessRoleHasBeenSet = true; m_accessRole = value; } + inline void SetAccessRole(Aws::String&& value) { m_accessRoleHasBeenSet = true; m_accessRole = std::move(value); } + inline void SetAccessRole(const char* value) { m_accessRoleHasBeenSet = true; m_accessRole.assign(value); } + inline AwsLocation& WithAccessRole(const Aws::String& value) { SetAccessRole(value); return *this;} + inline AwsLocation& WithAccessRole(Aws::String&& value) { SetAccessRole(std::move(value)); return *this;} + inline AwsLocation& WithAccessRole(const char* value) { SetAccessRole(value); return *this;} + ///@} + + ///@{ + /** + *

    The account ID of a connection.

    + */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline AwsLocation& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline AwsLocation& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline AwsLocation& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Region of a connection.

    + */ + inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; } + inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; } + inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; } + inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); } + inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); } + inline AwsLocation& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;} + inline AwsLocation& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;} + inline AwsLocation& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;} + ///@} + + ///@{ + /** + *

    The IAM connection ID of a connection.

    + */ + inline const Aws::String& GetIamConnectionId() const{ return m_iamConnectionId; } + inline bool IamConnectionIdHasBeenSet() const { return m_iamConnectionIdHasBeenSet; } + inline void SetIamConnectionId(const Aws::String& value) { m_iamConnectionIdHasBeenSet = true; m_iamConnectionId = value; } + inline void SetIamConnectionId(Aws::String&& value) { m_iamConnectionIdHasBeenSet = true; m_iamConnectionId = std::move(value); } + inline void SetIamConnectionId(const char* value) { m_iamConnectionIdHasBeenSet = true; m_iamConnectionId.assign(value); } + inline AwsLocation& WithIamConnectionId(const Aws::String& value) { SetIamConnectionId(value); return *this;} + inline AwsLocation& WithIamConnectionId(Aws::String&& value) { SetIamConnectionId(std::move(value)); return *this;} + inline AwsLocation& WithIamConnectionId(const char* value) { SetIamConnectionId(value); return *this;} + ///@} + private: + + Aws::String m_accessRole; + bool m_accessRoleHasBeenSet = false; + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + + Aws::String m_awsRegion; + bool m_awsRegionHasBeenSet = false; + + Aws::String m_iamConnectionId; + bool m_iamConnectionIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/BasicAuthenticationCredentials.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/BasicAuthenticationCredentials.h new file mode 100644 index 00000000000..a6935918fa1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/BasicAuthenticationCredentials.h @@ -0,0 +1,79 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The basic authentication credentials of a connection.

    See + * Also:

    AWS + * API Reference

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

    The password for a connection.

    + */ + inline const Aws::String& GetPassword() const{ return m_password; } + inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } + inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } + inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } + inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } + inline BasicAuthenticationCredentials& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} + inline BasicAuthenticationCredentials& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} + inline BasicAuthenticationCredentials& WithPassword(const char* value) { SetPassword(value); return *this;} + ///@} + + ///@{ + /** + *

    The user name for the connecion.

    + */ + inline const Aws::String& GetUserName() const{ return m_userName; } + inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; } + inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; } + inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); } + inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); } + inline BasicAuthenticationCredentials& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} + inline BasicAuthenticationCredentials& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} + inline BasicAuthenticationCredentials& WithUserName(const char* value) { SetUserName(value); return *this;} + ///@} + private: + + Aws::String m_password; + bool m_passwordHasBeenSet = false; + + Aws::String m_userName; + bool m_userNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ComputeEnvironments.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ComputeEnvironments.h new file mode 100644 index 00000000000..9560f8f1fc8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ComputeEnvironments.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class ComputeEnvironments + { + NOT_SET, + SPARK, + ATHENA, + PYTHON + }; + +namespace ComputeEnvironmentsMapper +{ +AWS_DATAZONE_API ComputeEnvironments GetComputeEnvironmentsForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForComputeEnvironments(ComputeEnvironments value); +} // namespace ComputeEnvironmentsMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionCredentials.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionCredentials.h new file mode 100644 index 00000000000..7c6cd932600 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionCredentials.h @@ -0,0 +1,111 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The credentials of a connection.

    See Also:

    AWS + * API Reference

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

    The access key ID of a connection.

    + */ + inline const Aws::String& GetAccessKeyId() const{ return m_accessKeyId; } + inline bool AccessKeyIdHasBeenSet() const { return m_accessKeyIdHasBeenSet; } + inline void SetAccessKeyId(const Aws::String& value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId = value; } + inline void SetAccessKeyId(Aws::String&& value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId = std::move(value); } + inline void SetAccessKeyId(const char* value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId.assign(value); } + inline ConnectionCredentials& WithAccessKeyId(const Aws::String& value) { SetAccessKeyId(value); return *this;} + inline ConnectionCredentials& WithAccessKeyId(Aws::String&& value) { SetAccessKeyId(std::move(value)); return *this;} + inline ConnectionCredentials& WithAccessKeyId(const char* value) { SetAccessKeyId(value); return *this;} + ///@} + + ///@{ + /** + *

    The expiration of the connection credentials.

    + */ + inline const Aws::Utils::DateTime& GetExpiration() const{ return m_expiration; } + inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } + inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expirationHasBeenSet = true; m_expiration = value; } + inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); } + inline ConnectionCredentials& WithExpiration(const Aws::Utils::DateTime& value) { SetExpiration(value); return *this;} + inline ConnectionCredentials& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The secret access key of a connection.

    + */ + inline const Aws::String& GetSecretAccessKey() const{ return m_secretAccessKey; } + inline bool SecretAccessKeyHasBeenSet() const { return m_secretAccessKeyHasBeenSet; } + inline void SetSecretAccessKey(const Aws::String& value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey = value; } + inline void SetSecretAccessKey(Aws::String&& value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey = std::move(value); } + inline void SetSecretAccessKey(const char* value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey.assign(value); } + inline ConnectionCredentials& WithSecretAccessKey(const Aws::String& value) { SetSecretAccessKey(value); return *this;} + inline ConnectionCredentials& WithSecretAccessKey(Aws::String&& value) { SetSecretAccessKey(std::move(value)); return *this;} + inline ConnectionCredentials& WithSecretAccessKey(const char* value) { SetSecretAccessKey(value); return *this;} + ///@} + + ///@{ + /** + *

    The session token of a connection credentials.

    + */ + inline const Aws::String& GetSessionToken() const{ return m_sessionToken; } + inline bool SessionTokenHasBeenSet() const { return m_sessionTokenHasBeenSet; } + inline void SetSessionToken(const Aws::String& value) { m_sessionTokenHasBeenSet = true; m_sessionToken = value; } + inline void SetSessionToken(Aws::String&& value) { m_sessionTokenHasBeenSet = true; m_sessionToken = std::move(value); } + inline void SetSessionToken(const char* value) { m_sessionTokenHasBeenSet = true; m_sessionToken.assign(value); } + inline ConnectionCredentials& WithSessionToken(const Aws::String& value) { SetSessionToken(value); return *this;} + inline ConnectionCredentials& WithSessionToken(Aws::String&& value) { SetSessionToken(std::move(value)); return *this;} + inline ConnectionCredentials& WithSessionToken(const char* value) { SetSessionToken(value); return *this;} + ///@} + private: + + Aws::String m_accessKeyId; + bool m_accessKeyIdHasBeenSet = false; + + Aws::Utils::DateTime m_expiration; + bool m_expirationHasBeenSet = false; + + Aws::String m_secretAccessKey; + bool m_secretAccessKeyHasBeenSet = false; + + Aws::String m_sessionToken; + bool m_sessionTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionPropertiesInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionPropertiesInput.h new file mode 100644 index 00000000000..3d9b208b458 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionPropertiesInput.h @@ -0,0 +1,155 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The properties of a connection.

    See Also:

    AWS + * API Reference

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

    The Amazon Athena properties of a connection.

    + */ + inline const AthenaPropertiesInput& GetAthenaProperties() const{ return m_athenaProperties; } + inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; } + inline void SetAthenaProperties(const AthenaPropertiesInput& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = value; } + inline void SetAthenaProperties(AthenaPropertiesInput&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = std::move(value); } + inline ConnectionPropertiesInput& WithAthenaProperties(const AthenaPropertiesInput& value) { SetAthenaProperties(value); return *this;} + inline ConnectionPropertiesInput& WithAthenaProperties(AthenaPropertiesInput&& value) { SetAthenaProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Web Services Glue properties of a connection.

    + */ + inline const GluePropertiesInput& GetGlueProperties() const{ return m_glueProperties; } + inline bool GluePropertiesHasBeenSet() const { return m_gluePropertiesHasBeenSet; } + inline void SetGlueProperties(const GluePropertiesInput& value) { m_gluePropertiesHasBeenSet = true; m_glueProperties = value; } + inline void SetGlueProperties(GluePropertiesInput&& value) { m_gluePropertiesHasBeenSet = true; m_glueProperties = std::move(value); } + inline ConnectionPropertiesInput& WithGlueProperties(const GluePropertiesInput& value) { SetGlueProperties(value); return *this;} + inline ConnectionPropertiesInput& WithGlueProperties(GluePropertiesInput&& value) { SetGlueProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The hyper pod properties of a connection.

    + */ + inline const HyperPodPropertiesInput& GetHyperPodProperties() const{ return m_hyperPodProperties; } + inline bool HyperPodPropertiesHasBeenSet() const { return m_hyperPodPropertiesHasBeenSet; } + inline void SetHyperPodProperties(const HyperPodPropertiesInput& value) { m_hyperPodPropertiesHasBeenSet = true; m_hyperPodProperties = value; } + inline void SetHyperPodProperties(HyperPodPropertiesInput&& value) { m_hyperPodPropertiesHasBeenSet = true; m_hyperPodProperties = std::move(value); } + inline ConnectionPropertiesInput& WithHyperPodProperties(const HyperPodPropertiesInput& value) { SetHyperPodProperties(value); return *this;} + inline ConnectionPropertiesInput& WithHyperPodProperties(HyperPodPropertiesInput&& value) { SetHyperPodProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The IAM properties of a connection.

    + */ + inline const IamPropertiesInput& GetIamProperties() const{ return m_iamProperties; } + inline bool IamPropertiesHasBeenSet() const { return m_iamPropertiesHasBeenSet; } + inline void SetIamProperties(const IamPropertiesInput& value) { m_iamPropertiesHasBeenSet = true; m_iamProperties = value; } + inline void SetIamProperties(IamPropertiesInput&& value) { m_iamPropertiesHasBeenSet = true; m_iamProperties = std::move(value); } + inline ConnectionPropertiesInput& WithIamProperties(const IamPropertiesInput& value) { SetIamProperties(value); return *this;} + inline ConnectionPropertiesInput& WithIamProperties(IamPropertiesInput&& value) { SetIamProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Redshift properties of a connection.

    + */ + inline const RedshiftPropertiesInput& GetRedshiftProperties() const{ return m_redshiftProperties; } + inline bool RedshiftPropertiesHasBeenSet() const { return m_redshiftPropertiesHasBeenSet; } + inline void SetRedshiftProperties(const RedshiftPropertiesInput& value) { m_redshiftPropertiesHasBeenSet = true; m_redshiftProperties = value; } + inline void SetRedshiftProperties(RedshiftPropertiesInput&& value) { m_redshiftPropertiesHasBeenSet = true; m_redshiftProperties = std::move(value); } + inline ConnectionPropertiesInput& WithRedshiftProperties(const RedshiftPropertiesInput& value) { SetRedshiftProperties(value); return *this;} + inline ConnectionPropertiesInput& WithRedshiftProperties(RedshiftPropertiesInput&& value) { SetRedshiftProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Spark EMR properties of a connection.

    + */ + inline const SparkEmrPropertiesInput& GetSparkEmrProperties() const{ return m_sparkEmrProperties; } + inline bool SparkEmrPropertiesHasBeenSet() const { return m_sparkEmrPropertiesHasBeenSet; } + inline void SetSparkEmrProperties(const SparkEmrPropertiesInput& value) { m_sparkEmrPropertiesHasBeenSet = true; m_sparkEmrProperties = value; } + inline void SetSparkEmrProperties(SparkEmrPropertiesInput&& value) { m_sparkEmrPropertiesHasBeenSet = true; m_sparkEmrProperties = std::move(value); } + inline ConnectionPropertiesInput& WithSparkEmrProperties(const SparkEmrPropertiesInput& value) { SetSparkEmrProperties(value); return *this;} + inline ConnectionPropertiesInput& WithSparkEmrProperties(SparkEmrPropertiesInput&& value) { SetSparkEmrProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Spark Amazon Web Services Glue properties of a connection.

    + */ + inline const SparkGluePropertiesInput& GetSparkGlueProperties() const{ return m_sparkGlueProperties; } + inline bool SparkGluePropertiesHasBeenSet() const { return m_sparkGluePropertiesHasBeenSet; } + inline void SetSparkGlueProperties(const SparkGluePropertiesInput& value) { m_sparkGluePropertiesHasBeenSet = true; m_sparkGlueProperties = value; } + inline void SetSparkGlueProperties(SparkGluePropertiesInput&& value) { m_sparkGluePropertiesHasBeenSet = true; m_sparkGlueProperties = std::move(value); } + inline ConnectionPropertiesInput& WithSparkGlueProperties(const SparkGluePropertiesInput& value) { SetSparkGlueProperties(value); return *this;} + inline ConnectionPropertiesInput& WithSparkGlueProperties(SparkGluePropertiesInput&& value) { SetSparkGlueProperties(std::move(value)); return *this;} + ///@} + private: + + AthenaPropertiesInput m_athenaProperties; + bool m_athenaPropertiesHasBeenSet = false; + + GluePropertiesInput m_glueProperties; + bool m_gluePropertiesHasBeenSet = false; + + HyperPodPropertiesInput m_hyperPodProperties; + bool m_hyperPodPropertiesHasBeenSet = false; + + IamPropertiesInput m_iamProperties; + bool m_iamPropertiesHasBeenSet = false; + + RedshiftPropertiesInput m_redshiftProperties; + bool m_redshiftPropertiesHasBeenSet = false; + + SparkEmrPropertiesInput m_sparkEmrProperties; + bool m_sparkEmrPropertiesHasBeenSet = false; + + SparkGluePropertiesInput m_sparkGlueProperties; + bool m_sparkGluePropertiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionPropertiesOutput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionPropertiesOutput.h new file mode 100644 index 00000000000..a857f65c6cc --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionPropertiesOutput.h @@ -0,0 +1,155 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The properties of a connection.

    See Also:

    AWS + * API Reference

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

    The Amazon Athena properties of a connection.

    + */ + inline const AthenaPropertiesOutput& GetAthenaProperties() const{ return m_athenaProperties; } + inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; } + inline void SetAthenaProperties(const AthenaPropertiesOutput& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = value; } + inline void SetAthenaProperties(AthenaPropertiesOutput&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = std::move(value); } + inline ConnectionPropertiesOutput& WithAthenaProperties(const AthenaPropertiesOutput& value) { SetAthenaProperties(value); return *this;} + inline ConnectionPropertiesOutput& WithAthenaProperties(AthenaPropertiesOutput&& value) { SetAthenaProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Web Services Glue properties of a connection.

    + */ + inline const GluePropertiesOutput& GetGlueProperties() const{ return m_glueProperties; } + inline bool GluePropertiesHasBeenSet() const { return m_gluePropertiesHasBeenSet; } + inline void SetGlueProperties(const GluePropertiesOutput& value) { m_gluePropertiesHasBeenSet = true; m_glueProperties = value; } + inline void SetGlueProperties(GluePropertiesOutput&& value) { m_gluePropertiesHasBeenSet = true; m_glueProperties = std::move(value); } + inline ConnectionPropertiesOutput& WithGlueProperties(const GluePropertiesOutput& value) { SetGlueProperties(value); return *this;} + inline ConnectionPropertiesOutput& WithGlueProperties(GluePropertiesOutput&& value) { SetGlueProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The hyper pod properties of a connection.

    + */ + inline const HyperPodPropertiesOutput& GetHyperPodProperties() const{ return m_hyperPodProperties; } + inline bool HyperPodPropertiesHasBeenSet() const { return m_hyperPodPropertiesHasBeenSet; } + inline void SetHyperPodProperties(const HyperPodPropertiesOutput& value) { m_hyperPodPropertiesHasBeenSet = true; m_hyperPodProperties = value; } + inline void SetHyperPodProperties(HyperPodPropertiesOutput&& value) { m_hyperPodPropertiesHasBeenSet = true; m_hyperPodProperties = std::move(value); } + inline ConnectionPropertiesOutput& WithHyperPodProperties(const HyperPodPropertiesOutput& value) { SetHyperPodProperties(value); return *this;} + inline ConnectionPropertiesOutput& WithHyperPodProperties(HyperPodPropertiesOutput&& value) { SetHyperPodProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The IAM properties of a connection.

    + */ + inline const IamPropertiesOutput& GetIamProperties() const{ return m_iamProperties; } + inline bool IamPropertiesHasBeenSet() const { return m_iamPropertiesHasBeenSet; } + inline void SetIamProperties(const IamPropertiesOutput& value) { m_iamPropertiesHasBeenSet = true; m_iamProperties = value; } + inline void SetIamProperties(IamPropertiesOutput&& value) { m_iamPropertiesHasBeenSet = true; m_iamProperties = std::move(value); } + inline ConnectionPropertiesOutput& WithIamProperties(const IamPropertiesOutput& value) { SetIamProperties(value); return *this;} + inline ConnectionPropertiesOutput& WithIamProperties(IamPropertiesOutput&& value) { SetIamProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Redshift properties of a connection.

    + */ + inline const RedshiftPropertiesOutput& GetRedshiftProperties() const{ return m_redshiftProperties; } + inline bool RedshiftPropertiesHasBeenSet() const { return m_redshiftPropertiesHasBeenSet; } + inline void SetRedshiftProperties(const RedshiftPropertiesOutput& value) { m_redshiftPropertiesHasBeenSet = true; m_redshiftProperties = value; } + inline void SetRedshiftProperties(RedshiftPropertiesOutput&& value) { m_redshiftPropertiesHasBeenSet = true; m_redshiftProperties = std::move(value); } + inline ConnectionPropertiesOutput& WithRedshiftProperties(const RedshiftPropertiesOutput& value) { SetRedshiftProperties(value); return *this;} + inline ConnectionPropertiesOutput& WithRedshiftProperties(RedshiftPropertiesOutput&& value) { SetRedshiftProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Spark EMR properties of a connection.

    + */ + inline const SparkEmrPropertiesOutput& GetSparkEmrProperties() const{ return m_sparkEmrProperties; } + inline bool SparkEmrPropertiesHasBeenSet() const { return m_sparkEmrPropertiesHasBeenSet; } + inline void SetSparkEmrProperties(const SparkEmrPropertiesOutput& value) { m_sparkEmrPropertiesHasBeenSet = true; m_sparkEmrProperties = value; } + inline void SetSparkEmrProperties(SparkEmrPropertiesOutput&& value) { m_sparkEmrPropertiesHasBeenSet = true; m_sparkEmrProperties = std::move(value); } + inline ConnectionPropertiesOutput& WithSparkEmrProperties(const SparkEmrPropertiesOutput& value) { SetSparkEmrProperties(value); return *this;} + inline ConnectionPropertiesOutput& WithSparkEmrProperties(SparkEmrPropertiesOutput&& value) { SetSparkEmrProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Spark Amazon Web Services Glue properties of a connection.

    + */ + inline const SparkGluePropertiesOutput& GetSparkGlueProperties() const{ return m_sparkGlueProperties; } + inline bool SparkGluePropertiesHasBeenSet() const { return m_sparkGluePropertiesHasBeenSet; } + inline void SetSparkGlueProperties(const SparkGluePropertiesOutput& value) { m_sparkGluePropertiesHasBeenSet = true; m_sparkGlueProperties = value; } + inline void SetSparkGlueProperties(SparkGluePropertiesOutput&& value) { m_sparkGluePropertiesHasBeenSet = true; m_sparkGlueProperties = std::move(value); } + inline ConnectionPropertiesOutput& WithSparkGlueProperties(const SparkGluePropertiesOutput& value) { SetSparkGlueProperties(value); return *this;} + inline ConnectionPropertiesOutput& WithSparkGlueProperties(SparkGluePropertiesOutput&& value) { SetSparkGlueProperties(std::move(value)); return *this;} + ///@} + private: + + AthenaPropertiesOutput m_athenaProperties; + bool m_athenaPropertiesHasBeenSet = false; + + GluePropertiesOutput m_glueProperties; + bool m_gluePropertiesHasBeenSet = false; + + HyperPodPropertiesOutput m_hyperPodProperties; + bool m_hyperPodPropertiesHasBeenSet = false; + + IamPropertiesOutput m_iamProperties; + bool m_iamPropertiesHasBeenSet = false; + + RedshiftPropertiesOutput m_redshiftProperties; + bool m_redshiftPropertiesHasBeenSet = false; + + SparkEmrPropertiesOutput m_sparkEmrProperties; + bool m_sparkEmrPropertiesHasBeenSet = false; + + SparkGluePropertiesOutput m_sparkGlueProperties; + bool m_sparkGluePropertiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionPropertiesPatch.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionPropertiesPatch.h new file mode 100644 index 00000000000..d3f8deabbff --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionPropertiesPatch.h @@ -0,0 +1,123 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The connection properties patch.

    See Also:

    AWS + * API Reference

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

    The Amazon Athena properties of a connection properties patch.

    + */ + inline const AthenaPropertiesPatch& GetAthenaProperties() const{ return m_athenaProperties; } + inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; } + inline void SetAthenaProperties(const AthenaPropertiesPatch& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = value; } + inline void SetAthenaProperties(AthenaPropertiesPatch&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = std::move(value); } + inline ConnectionPropertiesPatch& WithAthenaProperties(const AthenaPropertiesPatch& value) { SetAthenaProperties(value); return *this;} + inline ConnectionPropertiesPatch& WithAthenaProperties(AthenaPropertiesPatch&& value) { SetAthenaProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Web Services Glue properties of a connection properties patch.

    + */ + inline const GluePropertiesPatch& GetGlueProperties() const{ return m_glueProperties; } + inline bool GluePropertiesHasBeenSet() const { return m_gluePropertiesHasBeenSet; } + inline void SetGlueProperties(const GluePropertiesPatch& value) { m_gluePropertiesHasBeenSet = true; m_glueProperties = value; } + inline void SetGlueProperties(GluePropertiesPatch&& value) { m_gluePropertiesHasBeenSet = true; m_glueProperties = std::move(value); } + inline ConnectionPropertiesPatch& WithGlueProperties(const GluePropertiesPatch& value) { SetGlueProperties(value); return *this;} + inline ConnectionPropertiesPatch& WithGlueProperties(GluePropertiesPatch&& value) { SetGlueProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The IAM properties of a connection properties patch.

    + */ + inline const IamPropertiesPatch& GetIamProperties() const{ return m_iamProperties; } + inline bool IamPropertiesHasBeenSet() const { return m_iamPropertiesHasBeenSet; } + inline void SetIamProperties(const IamPropertiesPatch& value) { m_iamPropertiesHasBeenSet = true; m_iamProperties = value; } + inline void SetIamProperties(IamPropertiesPatch&& value) { m_iamPropertiesHasBeenSet = true; m_iamProperties = std::move(value); } + inline ConnectionPropertiesPatch& WithIamProperties(const IamPropertiesPatch& value) { SetIamProperties(value); return *this;} + inline ConnectionPropertiesPatch& WithIamProperties(IamPropertiesPatch&& value) { SetIamProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Redshift properties of a connection properties patch.

    + */ + inline const RedshiftPropertiesPatch& GetRedshiftProperties() const{ return m_redshiftProperties; } + inline bool RedshiftPropertiesHasBeenSet() const { return m_redshiftPropertiesHasBeenSet; } + inline void SetRedshiftProperties(const RedshiftPropertiesPatch& value) { m_redshiftPropertiesHasBeenSet = true; m_redshiftProperties = value; } + inline void SetRedshiftProperties(RedshiftPropertiesPatch&& value) { m_redshiftPropertiesHasBeenSet = true; m_redshiftProperties = std::move(value); } + inline ConnectionPropertiesPatch& WithRedshiftProperties(const RedshiftPropertiesPatch& value) { SetRedshiftProperties(value); return *this;} + inline ConnectionPropertiesPatch& WithRedshiftProperties(RedshiftPropertiesPatch&& value) { SetRedshiftProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Spark EMR properties of a connection properties patch.

    + */ + inline const SparkEmrPropertiesPatch& GetSparkEmrProperties() const{ return m_sparkEmrProperties; } + inline bool SparkEmrPropertiesHasBeenSet() const { return m_sparkEmrPropertiesHasBeenSet; } + inline void SetSparkEmrProperties(const SparkEmrPropertiesPatch& value) { m_sparkEmrPropertiesHasBeenSet = true; m_sparkEmrProperties = value; } + inline void SetSparkEmrProperties(SparkEmrPropertiesPatch&& value) { m_sparkEmrPropertiesHasBeenSet = true; m_sparkEmrProperties = std::move(value); } + inline ConnectionPropertiesPatch& WithSparkEmrProperties(const SparkEmrPropertiesPatch& value) { SetSparkEmrProperties(value); return *this;} + inline ConnectionPropertiesPatch& WithSparkEmrProperties(SparkEmrPropertiesPatch&& value) { SetSparkEmrProperties(std::move(value)); return *this;} + ///@} + private: + + AthenaPropertiesPatch m_athenaProperties; + bool m_athenaPropertiesHasBeenSet = false; + + GluePropertiesPatch m_glueProperties; + bool m_gluePropertiesHasBeenSet = false; + + IamPropertiesPatch m_iamProperties; + bool m_iamPropertiesHasBeenSet = false; + + RedshiftPropertiesPatch m_redshiftProperties; + bool m_redshiftPropertiesHasBeenSet = false; + + SparkEmrPropertiesPatch m_sparkEmrProperties; + bool m_sparkEmrPropertiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionStatus.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionStatus.h new file mode 100644 index 00000000000..ff1b67e20b1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionStatus.h @@ -0,0 +1,37 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class ConnectionStatus + { + NOT_SET, + CREATING, + CREATE_FAILED, + DELETING, + DELETE_FAILED, + READY, + UPDATING, + UPDATE_FAILED, + DELETED + }; + +namespace ConnectionStatusMapper +{ +AWS_DATAZONE_API ConnectionStatus GetConnectionStatusForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForConnectionStatus(ConnectionStatus value); +} // namespace ConnectionStatusMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionSummary.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionSummary.h new file mode 100644 index 00000000000..5e23602db68 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionSummary.h @@ -0,0 +1,197 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The summary of a connection.

    See Also:

    AWS + * API Reference

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

    The ID of a connection.

    + */ + inline const Aws::String& GetConnectionId() const{ return m_connectionId; } + inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; } + inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; } + inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); } + inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); } + inline ConnectionSummary& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} + inline ConnectionSummary& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} + inline ConnectionSummary& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} + ///@} + + ///@{ + /** + *

    The domain ID of a connection.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } + inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } + inline ConnectionSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline ConnectionSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline ConnectionSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The domain unit ID of a connection.

    + */ + inline const Aws::String& GetDomainUnitId() const{ return m_domainUnitId; } + inline bool DomainUnitIdHasBeenSet() const { return m_domainUnitIdHasBeenSet; } + inline void SetDomainUnitId(const Aws::String& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = value; } + inline void SetDomainUnitId(Aws::String&& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = std::move(value); } + inline void SetDomainUnitId(const char* value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId.assign(value); } + inline ConnectionSummary& WithDomainUnitId(const Aws::String& value) { SetDomainUnitId(value); return *this;} + inline ConnectionSummary& WithDomainUnitId(Aws::String&& value) { SetDomainUnitId(std::move(value)); return *this;} + inline ConnectionSummary& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;} + ///@} + + ///@{ + /** + *

    The environment ID of a connection.

    + */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + inline ConnectionSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + inline ConnectionSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + inline ConnectionSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + ///@} + + ///@{ + /** + *

    The connection name.

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

    The connection physical endpoints.

    + */ + inline const Aws::Vector& GetPhysicalEndpoints() const{ return m_physicalEndpoints; } + inline bool PhysicalEndpointsHasBeenSet() const { return m_physicalEndpointsHasBeenSet; } + inline void SetPhysicalEndpoints(const Aws::Vector& value) { m_physicalEndpointsHasBeenSet = true; m_physicalEndpoints = value; } + inline void SetPhysicalEndpoints(Aws::Vector&& value) { m_physicalEndpointsHasBeenSet = true; m_physicalEndpoints = std::move(value); } + inline ConnectionSummary& WithPhysicalEndpoints(const Aws::Vector& value) { SetPhysicalEndpoints(value); return *this;} + inline ConnectionSummary& WithPhysicalEndpoints(Aws::Vector&& value) { SetPhysicalEndpoints(std::move(value)); return *this;} + inline ConnectionSummary& AddPhysicalEndpoints(const PhysicalEndpoint& value) { m_physicalEndpointsHasBeenSet = true; m_physicalEndpoints.push_back(value); return *this; } + inline ConnectionSummary& AddPhysicalEndpoints(PhysicalEndpoint&& value) { m_physicalEndpointsHasBeenSet = true; m_physicalEndpoints.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The connection project ID.

    + */ + inline const Aws::String& GetProjectId() const{ return m_projectId; } + inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; } + inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; } + inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); } + inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); } + inline ConnectionSummary& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;} + inline ConnectionSummary& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;} + inline ConnectionSummary& WithProjectId(const char* value) { SetProjectId(value); return *this;} + ///@} + + ///@{ + /** + *

    The connection props.

    + */ + inline const ConnectionPropertiesOutput& GetProps() const{ return m_props; } + inline bool PropsHasBeenSet() const { return m_propsHasBeenSet; } + inline void SetProps(const ConnectionPropertiesOutput& value) { m_propsHasBeenSet = true; m_props = value; } + inline void SetProps(ConnectionPropertiesOutput&& value) { m_propsHasBeenSet = true; m_props = std::move(value); } + inline ConnectionSummary& WithProps(const ConnectionPropertiesOutput& value) { SetProps(value); return *this;} + inline ConnectionSummary& WithProps(ConnectionPropertiesOutput&& value) { SetProps(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The connection type.

    + */ + inline const ConnectionType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const ConnectionType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(ConnectionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline ConnectionSummary& WithType(const ConnectionType& value) { SetType(value); return *this;} + inline ConnectionSummary& WithType(ConnectionType&& value) { SetType(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_connectionId; + bool m_connectionIdHasBeenSet = false; + + Aws::String m_domainId; + bool m_domainIdHasBeenSet = false; + + Aws::String m_domainUnitId; + bool m_domainUnitIdHasBeenSet = false; + + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::Vector m_physicalEndpoints; + bool m_physicalEndpointsHasBeenSet = false; + + Aws::String m_projectId; + bool m_projectIdHasBeenSet = false; + + ConnectionPropertiesOutput m_props; + bool m_propsHasBeenSet = false; + + ConnectionType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionType.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionType.h new file mode 100644 index 00000000000..a2e0010d0d0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ConnectionType.h @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class ConnectionType + { + NOT_SET, + ATHENA, + BIGQUERY, + DATABRICKS, + DOCUMENTDB, + DYNAMODB, + HYPERPOD, + IAM, + MYSQL, + OPENSEARCH, + ORACLE, + POSTGRESQL, + REDSHIFT, + SAPHANA, + SNOWFLAKE, + SPARK, + SQLSERVER, + TERADATA, + VERTICA, + WORKFLOWS_MWAA + }; + +namespace ConnectionTypeMapper +{ +AWS_DATAZONE_API ConnectionType GetConnectionTypeForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForConnectionType(ConnectionType value); +} // namespace ConnectionTypeMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateConnectionRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateConnectionRequest.h new file mode 100644 index 00000000000..55f0972ccfb --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateConnectionRequest.h @@ -0,0 +1,158 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + */ + class CreateConnectionRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API CreateConnectionRequest(); + + // 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 "CreateConnection"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The location where the connection is created.

    + */ + inline const AwsLocation& GetAwsLocation() const{ return m_awsLocation; } + inline bool AwsLocationHasBeenSet() const { return m_awsLocationHasBeenSet; } + inline void SetAwsLocation(const AwsLocation& value) { m_awsLocationHasBeenSet = true; m_awsLocation = value; } + inline void SetAwsLocation(AwsLocation&& value) { m_awsLocationHasBeenSet = true; m_awsLocation = std::move(value); } + inline CreateConnectionRequest& WithAwsLocation(const AwsLocation& value) { SetAwsLocation(value); return *this;} + inline CreateConnectionRequest& WithAwsLocation(AwsLocation&& value) { SetAwsLocation(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A unique, case-sensitive identifier that is provided to ensure the + * idempotency of the request.

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

    A connection description.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline CreateConnectionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateConnectionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateConnectionRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain where the connection is created.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline CreateConnectionRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline CreateConnectionRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline CreateConnectionRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the environment where the connection is created.

    + */ + inline const Aws::String& GetEnvironmentIdentifier() const{ return m_environmentIdentifier; } + inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; } + inline void SetEnvironmentIdentifier(const Aws::String& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = value; } + inline void SetEnvironmentIdentifier(Aws::String&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::move(value); } + inline void SetEnvironmentIdentifier(const char* value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier.assign(value); } + inline CreateConnectionRequest& WithEnvironmentIdentifier(const Aws::String& value) { SetEnvironmentIdentifier(value); return *this;} + inline CreateConnectionRequest& WithEnvironmentIdentifier(Aws::String&& value) { SetEnvironmentIdentifier(std::move(value)); return *this;} + inline CreateConnectionRequest& WithEnvironmentIdentifier(const char* value) { SetEnvironmentIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The connection name.

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

    The connection props.

    + */ + inline const ConnectionPropertiesInput& GetProps() const{ return m_props; } + inline bool PropsHasBeenSet() const { return m_propsHasBeenSet; } + inline void SetProps(const ConnectionPropertiesInput& value) { m_propsHasBeenSet = true; m_props = value; } + inline void SetProps(ConnectionPropertiesInput&& value) { m_propsHasBeenSet = true; m_props = std::move(value); } + inline CreateConnectionRequest& WithProps(const ConnectionPropertiesInput& value) { SetProps(value); return *this;} + inline CreateConnectionRequest& WithProps(ConnectionPropertiesInput&& value) { SetProps(std::move(value)); return *this;} + ///@} + private: + + AwsLocation m_awsLocation; + bool m_awsLocationHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_environmentIdentifier; + bool m_environmentIdentifierHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + ConnectionPropertiesInput m_props; + bool m_propsHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateConnectionResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateConnectionResult.h new file mode 100644 index 00000000000..e416669f383 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateConnectionResult.h @@ -0,0 +1,202 @@ +/** + * 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 DataZone +{ +namespace Model +{ + class CreateConnectionResult + { + public: + AWS_DATAZONE_API CreateConnectionResult(); + AWS_DATAZONE_API CreateConnectionResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API CreateConnectionResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The ID of the connection.

    + */ + inline const Aws::String& GetConnectionId() const{ return m_connectionId; } + inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; } + inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); } + inline void SetConnectionId(const char* value) { m_connectionId.assign(value); } + inline CreateConnectionResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} + inline CreateConnectionResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} + inline CreateConnectionResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} + ///@} + + ///@{ + /** + *

    The connection description.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline CreateConnectionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateConnectionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateConnectionResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain where the connection is created.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + inline CreateConnectionResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline CreateConnectionResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline CreateConnectionResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain unit where the connection is created.

    + */ + inline const Aws::String& GetDomainUnitId() const{ return m_domainUnitId; } + inline void SetDomainUnitId(const Aws::String& value) { m_domainUnitId = value; } + inline void SetDomainUnitId(Aws::String&& value) { m_domainUnitId = std::move(value); } + inline void SetDomainUnitId(const char* value) { m_domainUnitId.assign(value); } + inline CreateConnectionResult& WithDomainUnitId(const Aws::String& value) { SetDomainUnitId(value); return *this;} + inline CreateConnectionResult& WithDomainUnitId(Aws::String&& value) { SetDomainUnitId(std::move(value)); return *this;} + inline CreateConnectionResult& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the environment where the connection is created.

    + */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; } + inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); } + inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); } + inline CreateConnectionResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + inline CreateConnectionResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + inline CreateConnectionResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + ///@} + + ///@{ + /** + *

    The connection name.

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

    The physical endpoints of the connection.

    + */ + inline const Aws::Vector& GetPhysicalEndpoints() const{ return m_physicalEndpoints; } + inline void SetPhysicalEndpoints(const Aws::Vector& value) { m_physicalEndpoints = value; } + inline void SetPhysicalEndpoints(Aws::Vector&& value) { m_physicalEndpoints = std::move(value); } + inline CreateConnectionResult& WithPhysicalEndpoints(const Aws::Vector& value) { SetPhysicalEndpoints(value); return *this;} + inline CreateConnectionResult& WithPhysicalEndpoints(Aws::Vector&& value) { SetPhysicalEndpoints(std::move(value)); return *this;} + inline CreateConnectionResult& AddPhysicalEndpoints(const PhysicalEndpoint& value) { m_physicalEndpoints.push_back(value); return *this; } + inline CreateConnectionResult& AddPhysicalEndpoints(PhysicalEndpoint&& value) { m_physicalEndpoints.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The ID of the project where the connection is created.

    + */ + inline const Aws::String& GetProjectId() const{ return m_projectId; } + inline void SetProjectId(const Aws::String& value) { m_projectId = value; } + inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); } + inline void SetProjectId(const char* value) { m_projectId.assign(value); } + inline CreateConnectionResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;} + inline CreateConnectionResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;} + inline CreateConnectionResult& WithProjectId(const char* value) { SetProjectId(value); return *this;} + ///@} + + ///@{ + /** + *

    The connection props.

    + */ + inline const ConnectionPropertiesOutput& GetProps() const{ return m_props; } + inline void SetProps(const ConnectionPropertiesOutput& value) { m_props = value; } + inline void SetProps(ConnectionPropertiesOutput&& value) { m_props = std::move(value); } + inline CreateConnectionResult& WithProps(const ConnectionPropertiesOutput& value) { SetProps(value); return *this;} + inline CreateConnectionResult& WithProps(ConnectionPropertiesOutput&& value) { SetProps(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The connection type.

    + */ + inline const ConnectionType& GetType() const{ return m_type; } + inline void SetType(const ConnectionType& value) { m_type = value; } + inline void SetType(ConnectionType&& value) { m_type = std::move(value); } + inline CreateConnectionResult& WithType(const ConnectionType& value) { SetType(value); return *this;} + inline CreateConnectionResult& WithType(ConnectionType&& value) { SetType(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline CreateConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_connectionId; + + Aws::String m_description; + + Aws::String m_domainId; + + Aws::String m_domainUnitId; + + Aws::String m_environmentId; + + Aws::String m_name; + + Aws::Vector m_physicalEndpoints; + + Aws::String m_projectId; + + ConnectionPropertiesOutput m_props; + + ConnectionType m_type; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDataSourceRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDataSourceRequest.h index fde0215816d..bce00cc323a 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDataSourceRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDataSourceRequest.h @@ -82,6 +82,20 @@ namespace Model inline CreateDataSourceRequest& WithConfiguration(DataSourceConfigurationInput&& value) { SetConfiguration(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The ID of the connection.

    + */ + inline const Aws::String& GetConnectionIdentifier() const{ return m_connectionIdentifier; } + inline bool ConnectionIdentifierHasBeenSet() const { return m_connectionIdentifierHasBeenSet; } + inline void SetConnectionIdentifier(const Aws::String& value) { m_connectionIdentifierHasBeenSet = true; m_connectionIdentifier = value; } + inline void SetConnectionIdentifier(Aws::String&& value) { m_connectionIdentifierHasBeenSet = true; m_connectionIdentifier = std::move(value); } + inline void SetConnectionIdentifier(const char* value) { m_connectionIdentifierHasBeenSet = true; m_connectionIdentifier.assign(value); } + inline CreateDataSourceRequest& WithConnectionIdentifier(const Aws::String& value) { SetConnectionIdentifier(value); return *this;} + inline CreateDataSourceRequest& WithConnectionIdentifier(Aws::String&& value) { SetConnectionIdentifier(std::move(value)); return *this;} + inline CreateDataSourceRequest& WithConnectionIdentifier(const char* value) { SetConnectionIdentifier(value); return *this;} + ///@} + ///@{ /** *

    The description of the data source.

    @@ -226,6 +240,9 @@ namespace Model DataSourceConfigurationInput m_configuration; bool m_configurationHasBeenSet = false; + Aws::String m_connectionIdentifier; + bool m_connectionIdentifierHasBeenSet = false; + Aws::String m_description; bool m_descriptionHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDataSourceResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDataSourceResult.h index a8cb72a8fa6..1b4a5c25833 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDataSourceResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDataSourceResult.h @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -67,6 +67,19 @@ namespace Model inline CreateDataSourceResult& WithConfiguration(DataSourceConfigurationOutput&& value) { SetConfiguration(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The ID of the connection.

    + */ + inline const Aws::String& GetConnectionId() const{ return m_connectionId; } + inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; } + inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); } + inline void SetConnectionId(const char* value) { m_connectionId.assign(value); } + inline CreateDataSourceResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} + inline CreateDataSourceResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} + inline CreateDataSourceResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} + ///@} + ///@{ /** *

    The timestamp of when the data source was created.

    @@ -298,6 +311,8 @@ namespace Model DataSourceConfigurationOutput m_configuration; + Aws::String m_connectionId; + Aws::Utils::DateTime m_createdAt; Aws::String m_description; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDomainRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDomainRequest.h index ea82ee8c4ee..2ae2578ebc3 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDomainRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDomainRequest.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -80,6 +81,18 @@ namespace Model inline CreateDomainRequest& WithDomainExecutionRole(const char* value) { SetDomainExecutionRole(value); return *this;} ///@} + ///@{ + /** + *

    The version of the domain that is created.

    + */ + inline const DomainVersion& GetDomainVersion() const{ return m_domainVersion; } + inline bool DomainVersionHasBeenSet() const { return m_domainVersionHasBeenSet; } + inline void SetDomainVersion(const DomainVersion& value) { m_domainVersionHasBeenSet = true; m_domainVersion = value; } + inline void SetDomainVersion(DomainVersion&& value) { m_domainVersionHasBeenSet = true; m_domainVersion = std::move(value); } + inline CreateDomainRequest& WithDomainVersion(const DomainVersion& value) { SetDomainVersion(value); return *this;} + inline CreateDomainRequest& WithDomainVersion(DomainVersion&& value) { SetDomainVersion(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The identifier of the Amazon Web Services Key Management Service (KMS) key @@ -110,6 +123,20 @@ namespace Model inline CreateDomainRequest& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

    The service role of the domain that is created.

    + */ + inline const Aws::String& GetServiceRole() const{ return m_serviceRole; } + inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; } + inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; } + inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); } + inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); } + inline CreateDomainRequest& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;} + inline CreateDomainRequest& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;} + inline CreateDomainRequest& WithServiceRole(const char* value) { SetServiceRole(value); return *this;} + ///@} + ///@{ /** *

    The single-sign on configuration of the Amazon DataZone domain.

    @@ -151,12 +178,18 @@ namespace Model Aws::String m_domainExecutionRole; bool m_domainExecutionRoleHasBeenSet = false; + DomainVersion m_domainVersion; + bool m_domainVersionHasBeenSet = false; + Aws::String m_kmsKeyIdentifier; bool m_kmsKeyIdentifierHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; + Aws::String m_serviceRole; + bool m_serviceRoleHasBeenSet = false; + SingleSignOn m_singleSignOn; bool m_singleSignOnHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDomainResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDomainResult.h index 371c640902e..848dcc86c89 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDomainResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateDomainResult.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -76,6 +77,17 @@ namespace Model inline CreateDomainResult& WithDomainExecutionRole(const char* value) { SetDomainExecutionRole(value); return *this;} ///@} + ///@{ + /** + *

    The version of the domain that is created.

    + */ + inline const DomainVersion& GetDomainVersion() const{ return m_domainVersion; } + inline void SetDomainVersion(const DomainVersion& value) { m_domainVersion = value; } + inline void SetDomainVersion(DomainVersion&& value) { m_domainVersion = std::move(value); } + inline CreateDomainResult& WithDomainVersion(const DomainVersion& value) { SetDomainVersion(value); return *this;} + inline CreateDomainResult& WithDomainVersion(DomainVersion&& value) { SetDomainVersion(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The identifier of the Amazon DataZone domain.

    @@ -143,6 +155,19 @@ namespace Model inline CreateDomainResult& WithRootDomainUnitId(const char* value) { SetRootDomainUnitId(value); return *this;} ///@} + ///@{ + /** + *

    Te service role of the domain that is created.

    + */ + inline const Aws::String& GetServiceRole() const{ return m_serviceRole; } + inline void SetServiceRole(const Aws::String& value) { m_serviceRole = value; } + inline void SetServiceRole(Aws::String&& value) { m_serviceRole = std::move(value); } + inline void SetServiceRole(const char* value) { m_serviceRole.assign(value); } + inline CreateDomainResult& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;} + inline CreateDomainResult& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;} + inline CreateDomainResult& WithServiceRole(const char* value) { SetServiceRole(value); return *this;} + ///@} + ///@{ /** *

    The single-sign on configuration of the Amazon DataZone domain.

    @@ -201,6 +226,8 @@ namespace Model Aws::String m_domainExecutionRole; + DomainVersion m_domainVersion; + Aws::String m_id; Aws::String m_kmsKeyIdentifier; @@ -211,6 +238,8 @@ namespace Model Aws::String m_rootDomainUnitId; + Aws::String m_serviceRole; + SingleSignOn m_singleSignOn; DomainStatus m_status; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateEnvironmentRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateEnvironmentRequest.h index 4314d4d2993..1e568a4fbf8 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateEnvironmentRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateEnvironmentRequest.h @@ -34,6 +34,16 @@ namespace Model AWS_DATAZONE_API Aws::String SerializePayload() const override; + ///@{ + /** + *

    The deployment order of the environment.

    + */ + inline int GetDeploymentOrder() const{ return m_deploymentOrder; } + inline bool DeploymentOrderHasBeenSet() const { return m_deploymentOrderHasBeenSet; } + inline void SetDeploymentOrder(int value) { m_deploymentOrderHasBeenSet = true; m_deploymentOrder = value; } + inline CreateEnvironmentRequest& WithDeploymentOrder(int value) { SetDeploymentOrder(value); return *this;} + ///@} + ///@{ /** *

    The description of the Amazon DataZone environment.

    @@ -105,6 +115,20 @@ namespace Model inline CreateEnvironmentRequest& WithEnvironmentBlueprintIdentifier(const char* value) { SetEnvironmentBlueprintIdentifier(value); return *this;} ///@} + ///@{ + /** + *

    The configuration ID of the environment.

    + */ + inline const Aws::String& GetEnvironmentConfigurationId() const{ return m_environmentConfigurationId; } + inline bool EnvironmentConfigurationIdHasBeenSet() const { return m_environmentConfigurationIdHasBeenSet; } + inline void SetEnvironmentConfigurationId(const Aws::String& value) { m_environmentConfigurationIdHasBeenSet = true; m_environmentConfigurationId = value; } + inline void SetEnvironmentConfigurationId(Aws::String&& value) { m_environmentConfigurationIdHasBeenSet = true; m_environmentConfigurationId = std::move(value); } + inline void SetEnvironmentConfigurationId(const char* value) { m_environmentConfigurationIdHasBeenSet = true; m_environmentConfigurationId.assign(value); } + inline CreateEnvironmentRequest& WithEnvironmentConfigurationId(const Aws::String& value) { SetEnvironmentConfigurationId(value); return *this;} + inline CreateEnvironmentRequest& WithEnvironmentConfigurationId(Aws::String&& value) { SetEnvironmentConfigurationId(std::move(value)); return *this;} + inline CreateEnvironmentRequest& WithEnvironmentConfigurationId(const char* value) { SetEnvironmentConfigurationId(value); return *this;} + ///@} + ///@{ /** *

    The identifier of the environment profile that is used to create this Amazon @@ -179,6 +203,9 @@ namespace Model ///@} private: + int m_deploymentOrder; + bool m_deploymentOrderHasBeenSet = false; + Aws::String m_description; bool m_descriptionHasBeenSet = false; @@ -194,6 +221,9 @@ namespace Model Aws::String m_environmentBlueprintIdentifier; bool m_environmentBlueprintIdentifierHasBeenSet = false; + Aws::String m_environmentConfigurationId; + bool m_environmentConfigurationIdHasBeenSet = false; + Aws::String m_environmentProfileIdentifier; bool m_environmentProfileIdentifierHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectFromProjectProfilePolicyGrantDetail.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectFromProjectProfilePolicyGrantDetail.h new file mode 100644 index 00000000000..5c0c7dedc6f --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectFromProjectProfilePolicyGrantDetail.h @@ -0,0 +1,79 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    Specifies whether to create a project from project profile policy grant + * details.

    See Also:

    AWS + * API Reference

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

    Specifies whether to include child domain units when creating a project from + * project profile policy grant details

    + */ + inline bool GetIncludeChildDomainUnits() const{ return m_includeChildDomainUnits; } + inline bool IncludeChildDomainUnitsHasBeenSet() const { return m_includeChildDomainUnitsHasBeenSet; } + inline void SetIncludeChildDomainUnits(bool value) { m_includeChildDomainUnitsHasBeenSet = true; m_includeChildDomainUnits = value; } + inline CreateProjectFromProjectProfilePolicyGrantDetail& WithIncludeChildDomainUnits(bool value) { SetIncludeChildDomainUnits(value); return *this;} + ///@} + + ///@{ + /** + *

    Specifies project profiles when creating a project from project profile + * policy grant details

    + */ + inline const Aws::Vector& GetProjectProfiles() const{ return m_projectProfiles; } + inline bool ProjectProfilesHasBeenSet() const { return m_projectProfilesHasBeenSet; } + inline void SetProjectProfiles(const Aws::Vector& value) { m_projectProfilesHasBeenSet = true; m_projectProfiles = value; } + inline void SetProjectProfiles(Aws::Vector&& value) { m_projectProfilesHasBeenSet = true; m_projectProfiles = std::move(value); } + inline CreateProjectFromProjectProfilePolicyGrantDetail& WithProjectProfiles(const Aws::Vector& value) { SetProjectProfiles(value); return *this;} + inline CreateProjectFromProjectProfilePolicyGrantDetail& WithProjectProfiles(Aws::Vector&& value) { SetProjectProfiles(std::move(value)); return *this;} + inline CreateProjectFromProjectProfilePolicyGrantDetail& AddProjectProfiles(const Aws::String& value) { m_projectProfilesHasBeenSet = true; m_projectProfiles.push_back(value); return *this; } + inline CreateProjectFromProjectProfilePolicyGrantDetail& AddProjectProfiles(Aws::String&& value) { m_projectProfilesHasBeenSet = true; m_projectProfiles.push_back(std::move(value)); return *this; } + inline CreateProjectFromProjectProfilePolicyGrantDetail& AddProjectProfiles(const char* value) { m_projectProfilesHasBeenSet = true; m_projectProfiles.push_back(value); return *this; } + ///@} + private: + + bool m_includeChildDomainUnits; + bool m_includeChildDomainUnitsHasBeenSet = false; + + Aws::Vector m_projectProfiles; + bool m_projectProfilesHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectProfileRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectProfileRequest.h new file mode 100644 index 00000000000..a43ad7be1fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectProfileRequest.h @@ -0,0 +1,142 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + + /** + */ + class CreateProjectProfileRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API CreateProjectProfileRequest(); + + // 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 "CreateProjectProfile"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    A description of a project profile.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline CreateProjectProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateProjectProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateProjectProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    A domain ID of the project profile.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline CreateProjectProfileRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline CreateProjectProfileRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline CreateProjectProfileRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    A domain unit ID of the project profile.

    + */ + inline const Aws::String& GetDomainUnitIdentifier() const{ return m_domainUnitIdentifier; } + inline bool DomainUnitIdentifierHasBeenSet() const { return m_domainUnitIdentifierHasBeenSet; } + inline void SetDomainUnitIdentifier(const Aws::String& value) { m_domainUnitIdentifierHasBeenSet = true; m_domainUnitIdentifier = value; } + inline void SetDomainUnitIdentifier(Aws::String&& value) { m_domainUnitIdentifierHasBeenSet = true; m_domainUnitIdentifier = std::move(value); } + inline void SetDomainUnitIdentifier(const char* value) { m_domainUnitIdentifierHasBeenSet = true; m_domainUnitIdentifier.assign(value); } + inline CreateProjectProfileRequest& WithDomainUnitIdentifier(const Aws::String& value) { SetDomainUnitIdentifier(value); return *this;} + inline CreateProjectProfileRequest& WithDomainUnitIdentifier(Aws::String&& value) { SetDomainUnitIdentifier(std::move(value)); return *this;} + inline CreateProjectProfileRequest& WithDomainUnitIdentifier(const char* value) { SetDomainUnitIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    Environment configurations of the project profile.

    + */ + inline const Aws::Vector& GetEnvironmentConfigurations() const{ return m_environmentConfigurations; } + inline bool EnvironmentConfigurationsHasBeenSet() const { return m_environmentConfigurationsHasBeenSet; } + inline void SetEnvironmentConfigurations(const Aws::Vector& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations = value; } + inline void SetEnvironmentConfigurations(Aws::Vector&& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations = std::move(value); } + inline CreateProjectProfileRequest& WithEnvironmentConfigurations(const Aws::Vector& value) { SetEnvironmentConfigurations(value); return *this;} + inline CreateProjectProfileRequest& WithEnvironmentConfigurations(Aws::Vector&& value) { SetEnvironmentConfigurations(std::move(value)); return *this;} + inline CreateProjectProfileRequest& AddEnvironmentConfigurations(const EnvironmentConfiguration& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations.push_back(value); return *this; } + inline CreateProjectProfileRequest& AddEnvironmentConfigurations(EnvironmentConfiguration&& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    Project profile name.

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

    Project profile status.

    + */ + inline const Status& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline CreateProjectProfileRequest& WithStatus(const Status& value) { SetStatus(value); return *this;} + inline CreateProjectProfileRequest& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_domainUnitIdentifier; + bool m_domainUnitIdentifierHasBeenSet = false; + + Aws::Vector m_environmentConfigurations; + bool m_environmentConfigurationsHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Status m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectProfileResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectProfileResult.h new file mode 100644 index 00000000000..f5ccfb3ca64 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectProfileResult.h @@ -0,0 +1,200 @@ +/** + * 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 DataZone +{ +namespace Model +{ + class CreateProjectProfileResult + { + public: + AWS_DATAZONE_API CreateProjectProfileResult(); + AWS_DATAZONE_API CreateProjectProfileResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API CreateProjectProfileResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    A timestamp at which a project profile is created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline CreateProjectProfileResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline CreateProjectProfileResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A user who created a project profile.

    + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline CreateProjectProfileResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline CreateProjectProfileResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline CreateProjectProfileResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    A project profile description.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline CreateProjectProfileResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateProjectProfileResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateProjectProfileResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain where a project profile is created.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + inline CreateProjectProfileResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline CreateProjectProfileResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline CreateProjectProfileResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain unit where a project profile is created.

    + */ + inline const Aws::String& GetDomainUnitId() const{ return m_domainUnitId; } + inline void SetDomainUnitId(const Aws::String& value) { m_domainUnitId = value; } + inline void SetDomainUnitId(Aws::String&& value) { m_domainUnitId = std::move(value); } + inline void SetDomainUnitId(const char* value) { m_domainUnitId.assign(value); } + inline CreateProjectProfileResult& WithDomainUnitId(const Aws::String& value) { SetDomainUnitId(value); return *this;} + inline CreateProjectProfileResult& WithDomainUnitId(Aws::String&& value) { SetDomainUnitId(std::move(value)); return *this;} + inline CreateProjectProfileResult& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;} + ///@} + + ///@{ + /** + *

    Environment configurations of a project profile.

    + */ + inline const Aws::Vector& GetEnvironmentConfigurations() const{ return m_environmentConfigurations; } + inline void SetEnvironmentConfigurations(const Aws::Vector& value) { m_environmentConfigurations = value; } + inline void SetEnvironmentConfigurations(Aws::Vector&& value) { m_environmentConfigurations = std::move(value); } + inline CreateProjectProfileResult& WithEnvironmentConfigurations(const Aws::Vector& value) { SetEnvironmentConfigurations(value); return *this;} + inline CreateProjectProfileResult& WithEnvironmentConfigurations(Aws::Vector&& value) { SetEnvironmentConfigurations(std::move(value)); return *this;} + inline CreateProjectProfileResult& AddEnvironmentConfigurations(const EnvironmentConfiguration& value) { m_environmentConfigurations.push_back(value); return *this; } + inline CreateProjectProfileResult& AddEnvironmentConfigurations(EnvironmentConfiguration&& value) { m_environmentConfigurations.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    Project profile ID.

    + */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline CreateProjectProfileResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline CreateProjectProfileResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline CreateProjectProfileResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

    A timestamp when a project profile was last updated.

    + */ + inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } + inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; } + inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); } + inline CreateProjectProfileResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} + inline CreateProjectProfileResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Project profile name.

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

    Project profile status.

    + */ + inline const Status& GetStatus() const{ return m_status; } + inline void SetStatus(const Status& value) { m_status = value; } + inline void SetStatus(Status&& value) { m_status = std::move(value); } + inline CreateProjectProfileResult& WithStatus(const Status& value) { SetStatus(value); return *this;} + inline CreateProjectProfileResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline CreateProjectProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateProjectProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateProjectProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_description; + + Aws::String m_domainId; + + Aws::String m_domainUnitId; + + Aws::Vector m_environmentConfigurations; + + Aws::String m_id; + + Aws::Utils::DateTime m_lastUpdatedAt; + + Aws::String m_name; + + Status m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectRequest.h index 906868fa956..f4a0c5237b9 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectRequest.h @@ -8,6 +8,7 @@ #include #include #include +#include #include namespace Aws @@ -104,6 +105,34 @@ namespace Model inline CreateProjectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline CreateProjectRequest& WithName(const char* value) { SetName(value); return *this;} ///@} + + ///@{ + /** + *

    The ID of the project profile.

    + */ + inline const Aws::String& GetProjectProfileId() const{ return m_projectProfileId; } + inline bool ProjectProfileIdHasBeenSet() const { return m_projectProfileIdHasBeenSet; } + inline void SetProjectProfileId(const Aws::String& value) { m_projectProfileIdHasBeenSet = true; m_projectProfileId = value; } + inline void SetProjectProfileId(Aws::String&& value) { m_projectProfileIdHasBeenSet = true; m_projectProfileId = std::move(value); } + inline void SetProjectProfileId(const char* value) { m_projectProfileIdHasBeenSet = true; m_projectProfileId.assign(value); } + inline CreateProjectRequest& WithProjectProfileId(const Aws::String& value) { SetProjectProfileId(value); return *this;} + inline CreateProjectRequest& WithProjectProfileId(Aws::String&& value) { SetProjectProfileId(std::move(value)); return *this;} + inline CreateProjectRequest& WithProjectProfileId(const char* value) { SetProjectProfileId(value); return *this;} + ///@} + + ///@{ + /** + *

    The user parameters of the project.

    + */ + inline const Aws::Vector& GetUserParameters() const{ return m_userParameters; } + inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; } + inline void SetUserParameters(const Aws::Vector& value) { m_userParametersHasBeenSet = true; m_userParameters = value; } + inline void SetUserParameters(Aws::Vector&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::move(value); } + inline CreateProjectRequest& WithUserParameters(const Aws::Vector& value) { SetUserParameters(value); return *this;} + inline CreateProjectRequest& WithUserParameters(Aws::Vector&& value) { SetUserParameters(std::move(value)); return *this;} + inline CreateProjectRequest& AddUserParameters(const EnvironmentConfigurationUserParameter& value) { m_userParametersHasBeenSet = true; m_userParameters.push_back(value); return *this; } + inline CreateProjectRequest& AddUserParameters(EnvironmentConfigurationUserParameter&& value) { m_userParametersHasBeenSet = true; m_userParameters.push_back(std::move(value)); return *this; } + ///@} private: Aws::String m_description; @@ -120,6 +149,12 @@ namespace Model Aws::String m_name; bool m_nameHasBeenSet = false; + + Aws::String m_projectProfileId; + bool m_projectProfileIdHasBeenSet = false; + + Aws::Vector m_userParameters; + bool m_userParametersHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectResult.h index fcf169e07be..27609905fff 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectResult.h @@ -7,9 +7,11 @@ #include #include #include +#include #include #include #include +#include #include namespace Aws @@ -100,6 +102,17 @@ namespace Model inline CreateProjectResult& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;} ///@} + ///@{ + /** + *

    The environment deployment details.

    + */ + inline const EnvironmentDeploymentDetails& GetEnvironmentDeploymentDetails() const{ return m_environmentDeploymentDetails; } + inline void SetEnvironmentDeploymentDetails(const EnvironmentDeploymentDetails& value) { m_environmentDeploymentDetails = value; } + inline void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetails&& value) { m_environmentDeploymentDetails = std::move(value); } + inline CreateProjectResult& WithEnvironmentDeploymentDetails(const EnvironmentDeploymentDetails& value) { SetEnvironmentDeploymentDetails(value); return *this;} + inline CreateProjectResult& WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetails&& value) { SetEnvironmentDeploymentDetails(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Specifies the error message that is returned if the operation cannot be @@ -165,6 +178,19 @@ namespace Model inline CreateProjectResult& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

    The project profile ID.

    + */ + inline const Aws::String& GetProjectProfileId() const{ return m_projectProfileId; } + inline void SetProjectProfileId(const Aws::String& value) { m_projectProfileId = value; } + inline void SetProjectProfileId(Aws::String&& value) { m_projectProfileId = std::move(value); } + inline void SetProjectProfileId(const char* value) { m_projectProfileId.assign(value); } + inline CreateProjectResult& WithProjectProfileId(const Aws::String& value) { SetProjectProfileId(value); return *this;} + inline CreateProjectResult& WithProjectProfileId(Aws::String&& value) { SetProjectProfileId(std::move(value)); return *this;} + inline CreateProjectResult& WithProjectProfileId(const char* value) { SetProjectProfileId(value); return *this;} + ///@} + ///@{ /** *

    The status of the Amazon DataZone project that was created.

    @@ -176,6 +202,19 @@ namespace Model inline CreateProjectResult& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The user parameters of the project.

    + */ + inline const Aws::Vector& GetUserParameters() const{ return m_userParameters; } + inline void SetUserParameters(const Aws::Vector& value) { m_userParameters = value; } + inline void SetUserParameters(Aws::Vector&& value) { m_userParameters = std::move(value); } + inline CreateProjectResult& WithUserParameters(const Aws::Vector& value) { SetUserParameters(value); return *this;} + inline CreateProjectResult& WithUserParameters(Aws::Vector&& value) { SetUserParameters(std::move(value)); return *this;} + inline CreateProjectResult& AddUserParameters(const EnvironmentConfigurationUserParameter& value) { m_userParameters.push_back(value); return *this; } + inline CreateProjectResult& AddUserParameters(EnvironmentConfigurationUserParameter&& value) { m_userParameters.push_back(std::move(value)); return *this; } + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -198,6 +237,8 @@ namespace Model Aws::String m_domainUnitId; + EnvironmentDeploymentDetails m_environmentDeploymentDetails; + Aws::Vector m_failureReasons; Aws::Vector m_glossaryTerms; @@ -208,8 +249,12 @@ namespace Model Aws::String m_name; + Aws::String m_projectProfileId; + ProjectStatus m_projectStatus; + Aws::Vector m_userParameters; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceConfigurationInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceConfigurationInput.h index 17e7cc7d6ea..dad0e00a5f7 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceConfigurationInput.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceConfigurationInput.h @@ -7,6 +7,7 @@ #include #include #include +#include #include namespace Aws @@ -61,6 +62,18 @@ namespace Model inline DataSourceConfigurationInput& WithRedshiftRunConfiguration(const RedshiftRunConfigurationInput& value) { SetRedshiftRunConfiguration(value); return *this;} inline DataSourceConfigurationInput& WithRedshiftRunConfiguration(RedshiftRunConfigurationInput&& value) { SetRedshiftRunConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    The Amazon SageMaker run configuration.

    + */ + inline const SageMakerRunConfigurationInput& GetSageMakerRunConfiguration() const{ return m_sageMakerRunConfiguration; } + inline bool SageMakerRunConfigurationHasBeenSet() const { return m_sageMakerRunConfigurationHasBeenSet; } + inline void SetSageMakerRunConfiguration(const SageMakerRunConfigurationInput& value) { m_sageMakerRunConfigurationHasBeenSet = true; m_sageMakerRunConfiguration = value; } + inline void SetSageMakerRunConfiguration(SageMakerRunConfigurationInput&& value) { m_sageMakerRunConfigurationHasBeenSet = true; m_sageMakerRunConfiguration = std::move(value); } + inline DataSourceConfigurationInput& WithSageMakerRunConfiguration(const SageMakerRunConfigurationInput& value) { SetSageMakerRunConfiguration(value); return *this;} + inline DataSourceConfigurationInput& WithSageMakerRunConfiguration(SageMakerRunConfigurationInput&& value) { SetSageMakerRunConfiguration(std::move(value)); return *this;} + ///@} private: GlueRunConfigurationInput m_glueRunConfiguration; @@ -68,6 +81,9 @@ namespace Model RedshiftRunConfigurationInput m_redshiftRunConfiguration; bool m_redshiftRunConfigurationHasBeenSet = false; + + SageMakerRunConfigurationInput m_sageMakerRunConfiguration; + bool m_sageMakerRunConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceConfigurationOutput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceConfigurationOutput.h index 7ca7f20475d..46a214ca9de 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceConfigurationOutput.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceConfigurationOutput.h @@ -7,6 +7,7 @@ #include #include #include +#include #include namespace Aws @@ -61,6 +62,18 @@ namespace Model inline DataSourceConfigurationOutput& WithRedshiftRunConfiguration(const RedshiftRunConfigurationOutput& value) { SetRedshiftRunConfiguration(value); return *this;} inline DataSourceConfigurationOutput& WithRedshiftRunConfiguration(RedshiftRunConfigurationOutput&& value) { SetRedshiftRunConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    The Amazon SageMaker run configuration.

    + */ + inline const SageMakerRunConfigurationOutput& GetSageMakerRunConfiguration() const{ return m_sageMakerRunConfiguration; } + inline bool SageMakerRunConfigurationHasBeenSet() const { return m_sageMakerRunConfigurationHasBeenSet; } + inline void SetSageMakerRunConfiguration(const SageMakerRunConfigurationOutput& value) { m_sageMakerRunConfigurationHasBeenSet = true; m_sageMakerRunConfiguration = value; } + inline void SetSageMakerRunConfiguration(SageMakerRunConfigurationOutput&& value) { m_sageMakerRunConfigurationHasBeenSet = true; m_sageMakerRunConfiguration = std::move(value); } + inline DataSourceConfigurationOutput& WithSageMakerRunConfiguration(const SageMakerRunConfigurationOutput& value) { SetSageMakerRunConfiguration(value); return *this;} + inline DataSourceConfigurationOutput& WithSageMakerRunConfiguration(SageMakerRunConfigurationOutput&& value) { SetSageMakerRunConfiguration(std::move(value)); return *this;} + ///@} private: GlueRunConfigurationOutput m_glueRunConfiguration; @@ -68,6 +81,9 @@ namespace Model RedshiftRunConfigurationOutput m_redshiftRunConfiguration; bool m_redshiftRunConfigurationHasBeenSet = false; + + SageMakerRunConfigurationOutput m_sageMakerRunConfiguration; + bool m_sageMakerRunConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceRunActivity.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceRunActivity.h index 88b198cd1ba..9e3f9cc7b48 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceRunActivity.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceRunActivity.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -116,6 +117,18 @@ namespace Model inline DataSourceRunActivity& WithErrorMessage(DataSourceErrorMessage&& value) { SetErrorMessage(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The data lineage summary.

    + */ + inline const LineageInfo& GetLineageSummary() const{ return m_lineageSummary; } + inline bool LineageSummaryHasBeenSet() const { return m_lineageSummaryHasBeenSet; } + inline void SetLineageSummary(const LineageInfo& value) { m_lineageSummaryHasBeenSet = true; m_lineageSummary = value; } + inline void SetLineageSummary(LineageInfo&& value) { m_lineageSummaryHasBeenSet = true; m_lineageSummary = std::move(value); } + inline DataSourceRunActivity& WithLineageSummary(const LineageInfo& value) { SetLineageSummary(value); return *this;} + inline DataSourceRunActivity& WithLineageSummary(LineageInfo&& value) { SetLineageSummary(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The project ID included in the data source run activity.

    @@ -189,6 +202,9 @@ namespace Model DataSourceErrorMessage m_errorMessage; bool m_errorMessageHasBeenSet = false; + LineageInfo m_lineageSummary; + bool m_lineageSummaryHasBeenSet = false; + Aws::String m_projectId; bool m_projectIdHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceRunLineageSummary.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceRunLineageSummary.h new file mode 100644 index 00000000000..57b4f695a7e --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceRunLineageSummary.h @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The run lineage summary of a data source.

    See Also:

    AWS + * API Reference

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

    The import status that's part of the run lineage summary of a data + * source.

    + */ + inline const LineageImportStatus& GetImportStatus() const{ return m_importStatus; } + inline bool ImportStatusHasBeenSet() const { return m_importStatusHasBeenSet; } + inline void SetImportStatus(const LineageImportStatus& value) { m_importStatusHasBeenSet = true; m_importStatus = value; } + inline void SetImportStatus(LineageImportStatus&& value) { m_importStatusHasBeenSet = true; m_importStatus = std::move(value); } + inline DataSourceRunLineageSummary& WithImportStatus(const LineageImportStatus& value) { SetImportStatus(value); return *this;} + inline DataSourceRunLineageSummary& WithImportStatus(LineageImportStatus&& value) { SetImportStatus(std::move(value)); return *this;} + ///@} + private: + + LineageImportStatus m_importStatus; + bool m_importStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceRunSummary.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceRunSummary.h index 23d81640162..bc066571604 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceRunSummary.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceRunSummary.h @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -92,6 +93,18 @@ namespace Model inline DataSourceRunSummary& WithId(const char* value) { SetId(value); return *this;} ///@} + ///@{ + /** + *

    The run lineage summary of a data source.

    + */ + inline const DataSourceRunLineageSummary& GetLineageSummary() const{ return m_lineageSummary; } + inline bool LineageSummaryHasBeenSet() const { return m_lineageSummaryHasBeenSet; } + inline void SetLineageSummary(const DataSourceRunLineageSummary& value) { m_lineageSummaryHasBeenSet = true; m_lineageSummary = value; } + inline void SetLineageSummary(DataSourceRunLineageSummary&& value) { m_lineageSummaryHasBeenSet = true; m_lineageSummary = std::move(value); } + inline DataSourceRunSummary& WithLineageSummary(const DataSourceRunLineageSummary& value) { SetLineageSummary(value); return *this;} + inline DataSourceRunSummary& WithLineageSummary(DataSourceRunLineageSummary&& value) { SetLineageSummary(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The project ID of the data source run.

    @@ -189,6 +202,9 @@ namespace Model Aws::String m_id; bool m_idHasBeenSet = false; + DataSourceRunLineageSummary m_lineageSummary; + bool m_lineageSummaryHasBeenSet = false; + Aws::String m_projectId; bool m_projectIdHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceSummary.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceSummary.h index 193c98cecf8..f733b6cb246 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceSummary.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DataSourceSummary.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include #include @@ -43,6 +43,20 @@ namespace Model AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

    The connection ID that's part of the data source summary.

    + */ + inline const Aws::String& GetConnectionId() const{ return m_connectionId; } + inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; } + inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; } + inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); } + inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); } + inline DataSourceSummary& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} + inline DataSourceSummary& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} + inline DataSourceSummary& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} + ///@} + ///@{ /** *

    The timestamp of when the data source was created.

    @@ -69,6 +83,20 @@ namespace Model inline DataSourceSummary& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;} ///@} + ///@{ + /** + *

    The data source description.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline DataSourceSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline DataSourceSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline DataSourceSummary& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + ///@{ /** *

    The ID of the Amazon DataZone domain in which the data source exists.

    @@ -216,12 +244,18 @@ namespace Model ///@} private: + Aws::String m_connectionId; + bool m_connectionIdHasBeenSet = false; + Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_dataSourceId; bool m_dataSourceIdHasBeenSet = false; + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + Aws::String m_domainId; bool m_domainIdHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteConnectionRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteConnectionRequest.h new file mode 100644 index 00000000000..ee157090273 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteConnectionRequest.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + + /** + */ + class DeleteConnectionRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API DeleteConnectionRequest(); + + // 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 "DeleteConnection"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The ID of the domain where the connection is deleted.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline DeleteConnectionRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline DeleteConnectionRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline DeleteConnectionRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the connection that is deleted.

    + */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline DeleteConnectionRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline DeleteConnectionRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline DeleteConnectionRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteConnectionResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteConnectionResult.h new file mode 100644 index 00000000000..15650dff50a --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteConnectionResult.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + class DeleteConnectionResult + { + public: + AWS_DATAZONE_API DeleteConnectionResult(); + AWS_DATAZONE_API DeleteConnectionResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API DeleteConnectionResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The status of the action.

    + */ + inline const Aws::String& GetStatus() const{ return m_status; } + inline void SetStatus(const Aws::String& value) { m_status = value; } + inline void SetStatus(Aws::String&& value) { m_status = std::move(value); } + inline void SetStatus(const char* value) { m_status.assign(value); } + inline DeleteConnectionResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} + inline DeleteConnectionResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} + inline DeleteConnectionResult& WithStatus(const char* value) { SetStatus(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DeleteConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DeleteConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DeleteConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteDataSourceRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteDataSourceRequest.h index cc11aa47424..1dc6873927e 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteDataSourceRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteDataSourceRequest.h @@ -8,7 +8,6 @@ #include #include #include -#include namespace Aws { @@ -39,21 +38,6 @@ namespace Model AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - ///@{ - /** - *

    A unique, case-sensitive identifier that is provided to ensure the - * idempotency of the request.

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

    The ID of the Amazon DataZone domain in which the data source is deleted.

    @@ -94,9 +78,6 @@ namespace Model ///@} private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; - Aws::String m_domainIdentifier; bool m_domainIdentifierHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteDataSourceResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteDataSourceResult.h index a3b4eda40f9..0c60981d73c 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteDataSourceResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteDataSourceResult.h @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -66,6 +66,19 @@ namespace Model inline DeleteDataSourceResult& WithConfiguration(DataSourceConfigurationOutput&& value) { SetConfiguration(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The ID of the connection that is deleted.

    + */ + inline const Aws::String& GetConnectionId() const{ return m_connectionId; } + inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; } + inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); } + inline void SetConnectionId(const char* value) { m_connectionId.assign(value); } + inline DeleteDataSourceResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} + inline DeleteDataSourceResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} + inline DeleteDataSourceResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} + ///@} + ///@{ /** *

    The timestamp of when this data source was created.

    @@ -307,6 +320,8 @@ namespace Model DataSourceConfigurationOutput m_configuration; + Aws::String m_connectionId; + Aws::Utils::DateTime m_createdAt; Aws::String m_description; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteProjectProfileRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteProjectProfileRequest.h new file mode 100644 index 00000000000..2e4ebbb4280 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteProjectProfileRequest.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + + /** + */ + class DeleteProjectProfileRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API DeleteProjectProfileRequest(); + + // 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 "DeleteProjectProfile"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The ID of the domain where a project profile is deleted.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline DeleteProjectProfileRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline DeleteProjectProfileRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline DeleteProjectProfileRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the project profile that is deleted.

    + */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline DeleteProjectProfileRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline DeleteProjectProfileRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline DeleteProjectProfileRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteProjectProfileResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteProjectProfileResult.h new file mode 100644 index 00000000000..84166b8ae14 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteProjectProfileResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + class DeleteProjectProfileResult + { + public: + AWS_DATAZONE_API DeleteProjectProfileResult(); + AWS_DATAZONE_API DeleteProjectProfileResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API DeleteProjectProfileResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DeleteProjectProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DeleteProjectProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DeleteProjectProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeploymentMode.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeploymentMode.h new file mode 100644 index 00000000000..1a630ad8598 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeploymentMode.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class DeploymentMode + { + NOT_SET, + ON_CREATE, + ON_DEMAND + }; + +namespace DeploymentModeMapper +{ +AWS_DATAZONE_API DeploymentMode GetDeploymentModeForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForDeploymentMode(DeploymentMode value); +} // namespace DeploymentModeMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DomainSummary.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DomainSummary.h index 91e4a3de52c..c9fb6e198ed 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DomainSummary.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DomainSummary.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include @@ -79,6 +80,18 @@ namespace Model inline DomainSummary& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} + ///@{ + /** + *

    The domain version.

    + */ + inline const DomainVersion& GetDomainVersion() const{ return m_domainVersion; } + inline bool DomainVersionHasBeenSet() const { return m_domainVersionHasBeenSet; } + inline void SetDomainVersion(const DomainVersion& value) { m_domainVersionHasBeenSet = true; m_domainVersion = value; } + inline void SetDomainVersion(DomainVersion&& value) { m_domainVersionHasBeenSet = true; m_domainVersion = std::move(value); } + inline DomainSummary& WithDomainVersion(const DomainVersion& value) { SetDomainVersion(value); return *this;} + inline DomainSummary& WithDomainVersion(DomainVersion&& value) { SetDomainVersion(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The ID of the Amazon DataZone domain.

    @@ -170,6 +183,9 @@ namespace Model Aws::String m_description; bool m_descriptionHasBeenSet = false; + DomainVersion m_domainVersion; + bool m_domainVersionHasBeenSet = false; + Aws::String m_id; bool m_idHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DomainVersion.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DomainVersion.h new file mode 100644 index 00000000000..91a75fce729 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DomainVersion.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class DomainVersion + { + NOT_SET, + V1, + V2 + }; + +namespace DomainVersionMapper +{ +AWS_DATAZONE_API DomainVersion GetDomainVersionForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForDomainVersion(DomainVersion value); +} // namespace DomainVersionMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentBlueprintConfigurationItem.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentBlueprintConfigurationItem.h index 1534c17d352..4ff7ccde2e1 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentBlueprintConfigurationItem.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentBlueprintConfigurationItem.h @@ -99,6 +99,20 @@ namespace Model inline EnvironmentBlueprintConfigurationItem& WithEnvironmentBlueprintId(const char* value) { SetEnvironmentBlueprintId(value); return *this;} ///@} + ///@{ + /** + *

    The environment role permission boundary.

    + */ + inline const Aws::String& GetEnvironmentRolePermissionBoundary() const{ return m_environmentRolePermissionBoundary; } + inline bool EnvironmentRolePermissionBoundaryHasBeenSet() const { return m_environmentRolePermissionBoundaryHasBeenSet; } + inline void SetEnvironmentRolePermissionBoundary(const Aws::String& value) { m_environmentRolePermissionBoundaryHasBeenSet = true; m_environmentRolePermissionBoundary = value; } + inline void SetEnvironmentRolePermissionBoundary(Aws::String&& value) { m_environmentRolePermissionBoundaryHasBeenSet = true; m_environmentRolePermissionBoundary = std::move(value); } + inline void SetEnvironmentRolePermissionBoundary(const char* value) { m_environmentRolePermissionBoundaryHasBeenSet = true; m_environmentRolePermissionBoundary.assign(value); } + inline EnvironmentBlueprintConfigurationItem& WithEnvironmentRolePermissionBoundary(const Aws::String& value) { SetEnvironmentRolePermissionBoundary(value); return *this;} + inline EnvironmentBlueprintConfigurationItem& WithEnvironmentRolePermissionBoundary(Aws::String&& value) { SetEnvironmentRolePermissionBoundary(std::move(value)); return *this;} + inline EnvironmentBlueprintConfigurationItem& WithEnvironmentRolePermissionBoundary(const char* value) { SetEnvironmentRolePermissionBoundary(value); return *this;} + ///@} + ///@{ /** *

    The ARN of the manage access role specified in the environment blueprint @@ -186,6 +200,9 @@ namespace Model Aws::String m_environmentBlueprintId; bool m_environmentBlueprintIdHasBeenSet = false; + Aws::String m_environmentRolePermissionBoundary; + bool m_environmentRolePermissionBoundaryHasBeenSet = false; + Aws::String m_manageAccessRoleArn; bool m_manageAccessRoleArnHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfiguration.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfiguration.h new file mode 100644 index 00000000000..d2a90020a55 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfiguration.h @@ -0,0 +1,189 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The configuration of an environment.

    See Also:

    AWS + * API Reference

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

    The Amazon Web Services account of the environment.

    + */ + inline const AwsAccount& GetAwsAccount() const{ return m_awsAccount; } + inline bool AwsAccountHasBeenSet() const { return m_awsAccountHasBeenSet; } + inline void SetAwsAccount(const AwsAccount& value) { m_awsAccountHasBeenSet = true; m_awsAccount = value; } + inline void SetAwsAccount(AwsAccount&& value) { m_awsAccountHasBeenSet = true; m_awsAccount = std::move(value); } + inline EnvironmentConfiguration& WithAwsAccount(const AwsAccount& value) { SetAwsAccount(value); return *this;} + inline EnvironmentConfiguration& WithAwsAccount(AwsAccount&& value) { SetAwsAccount(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Web Services Region of the environment.

    + */ + inline const Region& GetAwsRegion() const{ return m_awsRegion; } + inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; } + inline void SetAwsRegion(const Region& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; } + inline void SetAwsRegion(Region&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); } + inline EnvironmentConfiguration& WithAwsRegion(const Region& value) { SetAwsRegion(value); return *this;} + inline EnvironmentConfiguration& WithAwsRegion(Region&& value) { SetAwsRegion(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The configuration parameters of the environment.

    + */ + inline const EnvironmentConfigurationParametersDetails& GetConfigurationParameters() const{ return m_configurationParameters; } + inline bool ConfigurationParametersHasBeenSet() const { return m_configurationParametersHasBeenSet; } + inline void SetConfigurationParameters(const EnvironmentConfigurationParametersDetails& value) { m_configurationParametersHasBeenSet = true; m_configurationParameters = value; } + inline void SetConfigurationParameters(EnvironmentConfigurationParametersDetails&& value) { m_configurationParametersHasBeenSet = true; m_configurationParameters = std::move(value); } + inline EnvironmentConfiguration& WithConfigurationParameters(const EnvironmentConfigurationParametersDetails& value) { SetConfigurationParameters(value); return *this;} + inline EnvironmentConfiguration& WithConfigurationParameters(EnvironmentConfigurationParametersDetails&& value) { SetConfigurationParameters(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The deployment mode of the environment.

    + */ + inline const DeploymentMode& GetDeploymentMode() const{ return m_deploymentMode; } + inline bool DeploymentModeHasBeenSet() const { return m_deploymentModeHasBeenSet; } + inline void SetDeploymentMode(const DeploymentMode& value) { m_deploymentModeHasBeenSet = true; m_deploymentMode = value; } + inline void SetDeploymentMode(DeploymentMode&& value) { m_deploymentModeHasBeenSet = true; m_deploymentMode = std::move(value); } + inline EnvironmentConfiguration& WithDeploymentMode(const DeploymentMode& value) { SetDeploymentMode(value); return *this;} + inline EnvironmentConfiguration& WithDeploymentMode(DeploymentMode&& value) { SetDeploymentMode(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The deployment order of the environment.

    + */ + inline int GetDeploymentOrder() const{ return m_deploymentOrder; } + inline bool DeploymentOrderHasBeenSet() const { return m_deploymentOrderHasBeenSet; } + inline void SetDeploymentOrder(int value) { m_deploymentOrderHasBeenSet = true; m_deploymentOrder = value; } + inline EnvironmentConfiguration& WithDeploymentOrder(int value) { SetDeploymentOrder(value); return *this;} + ///@} + + ///@{ + /** + *

    The environment description.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline EnvironmentConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline EnvironmentConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline EnvironmentConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The environment blueprint ID.

    + */ + inline const Aws::String& GetEnvironmentBlueprintId() const{ return m_environmentBlueprintId; } + inline bool EnvironmentBlueprintIdHasBeenSet() const { return m_environmentBlueprintIdHasBeenSet; } + inline void SetEnvironmentBlueprintId(const Aws::String& value) { m_environmentBlueprintIdHasBeenSet = true; m_environmentBlueprintId = value; } + inline void SetEnvironmentBlueprintId(Aws::String&& value) { m_environmentBlueprintIdHasBeenSet = true; m_environmentBlueprintId = std::move(value); } + inline void SetEnvironmentBlueprintId(const char* value) { m_environmentBlueprintIdHasBeenSet = true; m_environmentBlueprintId.assign(value); } + inline EnvironmentConfiguration& WithEnvironmentBlueprintId(const Aws::String& value) { SetEnvironmentBlueprintId(value); return *this;} + inline EnvironmentConfiguration& WithEnvironmentBlueprintId(Aws::String&& value) { SetEnvironmentBlueprintId(std::move(value)); return *this;} + inline EnvironmentConfiguration& WithEnvironmentBlueprintId(const char* value) { SetEnvironmentBlueprintId(value); return *this;} + ///@} + + ///@{ + /** + *

    The environment ID.

    + */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline EnvironmentConfiguration& WithId(const Aws::String& value) { SetId(value); return *this;} + inline EnvironmentConfiguration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline EnvironmentConfiguration& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The environment name.

    + */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline EnvironmentConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;} + inline EnvironmentConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline EnvironmentConfiguration& WithName(const char* value) { SetName(value); return *this;} + ///@} + private: + + AwsAccount m_awsAccount; + bool m_awsAccountHasBeenSet = false; + + Region m_awsRegion; + bool m_awsRegionHasBeenSet = false; + + EnvironmentConfigurationParametersDetails m_configurationParameters; + bool m_configurationParametersHasBeenSet = false; + + DeploymentMode m_deploymentMode; + bool m_deploymentModeHasBeenSet = false; + + int m_deploymentOrder; + bool m_deploymentOrderHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_environmentBlueprintId; + bool m_environmentBlueprintIdHasBeenSet = false; + + Aws::String m_id; + bool m_idHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfigurationParameter.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfigurationParameter.h new file mode 100644 index 00000000000..f46b4044a2b --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfigurationParameter.h @@ -0,0 +1,91 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The environment configuration parameter.

    See Also:

    AWS + * API Reference

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

    Specifies whether the environment parameter is editable.

    + */ + inline bool GetIsEditable() const{ return m_isEditable; } + inline bool IsEditableHasBeenSet() const { return m_isEditableHasBeenSet; } + inline void SetIsEditable(bool value) { m_isEditableHasBeenSet = true; m_isEditable = value; } + inline EnvironmentConfigurationParameter& WithIsEditable(bool value) { SetIsEditable(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the environment configuration parameter.

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

    The value of the environment configuration parameter.

    + */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline EnvironmentConfigurationParameter& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline EnvironmentConfigurationParameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline EnvironmentConfigurationParameter& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + bool m_isEditable; + bool m_isEditableHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfigurationParametersDetails.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfigurationParametersDetails.h new file mode 100644 index 00000000000..cbce72b3850 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfigurationParametersDetails.h @@ -0,0 +1,98 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The details of the environment configuration parameter.

    See + * Also:

    AWS + * API Reference

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

    The parameter overrides.

    + */ + inline const Aws::Vector& GetParameterOverrides() const{ return m_parameterOverrides; } + inline bool ParameterOverridesHasBeenSet() const { return m_parameterOverridesHasBeenSet; } + inline void SetParameterOverrides(const Aws::Vector& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides = value; } + inline void SetParameterOverrides(Aws::Vector&& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides = std::move(value); } + inline EnvironmentConfigurationParametersDetails& WithParameterOverrides(const Aws::Vector& value) { SetParameterOverrides(value); return *this;} + inline EnvironmentConfigurationParametersDetails& WithParameterOverrides(Aws::Vector&& value) { SetParameterOverrides(std::move(value)); return *this;} + inline EnvironmentConfigurationParametersDetails& AddParameterOverrides(const EnvironmentConfigurationParameter& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides.push_back(value); return *this; } + inline EnvironmentConfigurationParametersDetails& AddParameterOverrides(EnvironmentConfigurationParameter&& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The resolved environment configuration parameters.

    + */ + inline const Aws::Vector& GetResolvedParameters() const{ return m_resolvedParameters; } + inline bool ResolvedParametersHasBeenSet() const { return m_resolvedParametersHasBeenSet; } + inline void SetResolvedParameters(const Aws::Vector& value) { m_resolvedParametersHasBeenSet = true; m_resolvedParameters = value; } + inline void SetResolvedParameters(Aws::Vector&& value) { m_resolvedParametersHasBeenSet = true; m_resolvedParameters = std::move(value); } + inline EnvironmentConfigurationParametersDetails& WithResolvedParameters(const Aws::Vector& value) { SetResolvedParameters(value); return *this;} + inline EnvironmentConfigurationParametersDetails& WithResolvedParameters(Aws::Vector&& value) { SetResolvedParameters(std::move(value)); return *this;} + inline EnvironmentConfigurationParametersDetails& AddResolvedParameters(const EnvironmentConfigurationParameter& value) { m_resolvedParametersHasBeenSet = true; m_resolvedParameters.push_back(value); return *this; } + inline EnvironmentConfigurationParametersDetails& AddResolvedParameters(EnvironmentConfigurationParameter&& value) { m_resolvedParametersHasBeenSet = true; m_resolvedParameters.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    Ssm path environment configuration parameters.

    + */ + inline const Aws::String& GetSsmPath() const{ return m_ssmPath; } + inline bool SsmPathHasBeenSet() const { return m_ssmPathHasBeenSet; } + inline void SetSsmPath(const Aws::String& value) { m_ssmPathHasBeenSet = true; m_ssmPath = value; } + inline void SetSsmPath(Aws::String&& value) { m_ssmPathHasBeenSet = true; m_ssmPath = std::move(value); } + inline void SetSsmPath(const char* value) { m_ssmPathHasBeenSet = true; m_ssmPath.assign(value); } + inline EnvironmentConfigurationParametersDetails& WithSsmPath(const Aws::String& value) { SetSsmPath(value); return *this;} + inline EnvironmentConfigurationParametersDetails& WithSsmPath(Aws::String&& value) { SetSsmPath(std::move(value)); return *this;} + inline EnvironmentConfigurationParametersDetails& WithSsmPath(const char* value) { SetSsmPath(value); return *this;} + ///@} + private: + + Aws::Vector m_parameterOverrides; + bool m_parameterOverridesHasBeenSet = false; + + Aws::Vector m_resolvedParameters; + bool m_resolvedParametersHasBeenSet = false; + + Aws::String m_ssmPath; + bool m_ssmPathHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfigurationUserParameter.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfigurationUserParameter.h new file mode 100644 index 00000000000..dfb090adaae --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentConfigurationUserParameter.h @@ -0,0 +1,80 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The environment configuration user parameters.

    See Also:

    AWS + * API Reference

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

    The environment configuration name.

    + */ + inline const Aws::String& GetEnvironmentConfigurationName() const{ return m_environmentConfigurationName; } + inline bool EnvironmentConfigurationNameHasBeenSet() const { return m_environmentConfigurationNameHasBeenSet; } + inline void SetEnvironmentConfigurationName(const Aws::String& value) { m_environmentConfigurationNameHasBeenSet = true; m_environmentConfigurationName = value; } + inline void SetEnvironmentConfigurationName(Aws::String&& value) { m_environmentConfigurationNameHasBeenSet = true; m_environmentConfigurationName = std::move(value); } + inline void SetEnvironmentConfigurationName(const char* value) { m_environmentConfigurationNameHasBeenSet = true; m_environmentConfigurationName.assign(value); } + inline EnvironmentConfigurationUserParameter& WithEnvironmentConfigurationName(const Aws::String& value) { SetEnvironmentConfigurationName(value); return *this;} + inline EnvironmentConfigurationUserParameter& WithEnvironmentConfigurationName(Aws::String&& value) { SetEnvironmentConfigurationName(std::move(value)); return *this;} + inline EnvironmentConfigurationUserParameter& WithEnvironmentConfigurationName(const char* value) { SetEnvironmentConfigurationName(value); return *this;} + ///@} + + ///@{ + /** + *

    The environment parameters.

    + */ + inline const Aws::Vector& GetEnvironmentParameters() const{ return m_environmentParameters; } + inline bool EnvironmentParametersHasBeenSet() const { return m_environmentParametersHasBeenSet; } + inline void SetEnvironmentParameters(const Aws::Vector& value) { m_environmentParametersHasBeenSet = true; m_environmentParameters = value; } + inline void SetEnvironmentParameters(Aws::Vector&& value) { m_environmentParametersHasBeenSet = true; m_environmentParameters = std::move(value); } + inline EnvironmentConfigurationUserParameter& WithEnvironmentParameters(const Aws::Vector& value) { SetEnvironmentParameters(value); return *this;} + inline EnvironmentConfigurationUserParameter& WithEnvironmentParameters(Aws::Vector&& value) { SetEnvironmentParameters(std::move(value)); return *this;} + inline EnvironmentConfigurationUserParameter& AddEnvironmentParameters(const EnvironmentParameter& value) { m_environmentParametersHasBeenSet = true; m_environmentParameters.push_back(value); return *this; } + inline EnvironmentConfigurationUserParameter& AddEnvironmentParameters(EnvironmentParameter&& value) { m_environmentParametersHasBeenSet = true; m_environmentParameters.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_environmentConfigurationName; + bool m_environmentConfigurationNameHasBeenSet = false; + + Aws::Vector m_environmentParameters; + bool m_environmentParametersHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentDeploymentDetails.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentDeploymentDetails.h new file mode 100644 index 00000000000..5e6a2882d66 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentDeploymentDetails.h @@ -0,0 +1,84 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The environment deployment details.

    See Also:

    AWS + * API Reference

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

    Environment failure reasons.

    + */ + inline const Aws::Map>& GetEnvironmentFailureReasons() const{ return m_environmentFailureReasons; } + inline bool EnvironmentFailureReasonsHasBeenSet() const { return m_environmentFailureReasonsHasBeenSet; } + inline void SetEnvironmentFailureReasons(const Aws::Map>& value) { m_environmentFailureReasonsHasBeenSet = true; m_environmentFailureReasons = value; } + inline void SetEnvironmentFailureReasons(Aws::Map>&& value) { m_environmentFailureReasonsHasBeenSet = true; m_environmentFailureReasons = std::move(value); } + inline EnvironmentDeploymentDetails& WithEnvironmentFailureReasons(const Aws::Map>& value) { SetEnvironmentFailureReasons(value); return *this;} + inline EnvironmentDeploymentDetails& WithEnvironmentFailureReasons(Aws::Map>&& value) { SetEnvironmentFailureReasons(std::move(value)); return *this;} + inline EnvironmentDeploymentDetails& AddEnvironmentFailureReasons(const Aws::String& key, const Aws::Vector& value) { m_environmentFailureReasonsHasBeenSet = true; m_environmentFailureReasons.emplace(key, value); return *this; } + inline EnvironmentDeploymentDetails& AddEnvironmentFailureReasons(Aws::String&& key, const Aws::Vector& value) { m_environmentFailureReasonsHasBeenSet = true; m_environmentFailureReasons.emplace(std::move(key), value); return *this; } + inline EnvironmentDeploymentDetails& AddEnvironmentFailureReasons(const Aws::String& key, Aws::Vector&& value) { m_environmentFailureReasonsHasBeenSet = true; m_environmentFailureReasons.emplace(key, std::move(value)); return *this; } + inline EnvironmentDeploymentDetails& AddEnvironmentFailureReasons(Aws::String&& key, Aws::Vector&& value) { m_environmentFailureReasonsHasBeenSet = true; m_environmentFailureReasons.emplace(std::move(key), std::move(value)); return *this; } + inline EnvironmentDeploymentDetails& AddEnvironmentFailureReasons(const char* key, Aws::Vector&& value) { m_environmentFailureReasonsHasBeenSet = true; m_environmentFailureReasons.emplace(key, std::move(value)); return *this; } + inline EnvironmentDeploymentDetails& AddEnvironmentFailureReasons(const char* key, const Aws::Vector& value) { m_environmentFailureReasonsHasBeenSet = true; m_environmentFailureReasons.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The overall deployment status of the environment.

    + */ + inline const OverallDeploymentStatus& GetOverallDeploymentStatus() const{ return m_overallDeploymentStatus; } + inline bool OverallDeploymentStatusHasBeenSet() const { return m_overallDeploymentStatusHasBeenSet; } + inline void SetOverallDeploymentStatus(const OverallDeploymentStatus& value) { m_overallDeploymentStatusHasBeenSet = true; m_overallDeploymentStatus = value; } + inline void SetOverallDeploymentStatus(OverallDeploymentStatus&& value) { m_overallDeploymentStatusHasBeenSet = true; m_overallDeploymentStatus = std::move(value); } + inline EnvironmentDeploymentDetails& WithOverallDeploymentStatus(const OverallDeploymentStatus& value) { SetOverallDeploymentStatus(value); return *this;} + inline EnvironmentDeploymentDetails& WithOverallDeploymentStatus(OverallDeploymentStatus&& value) { SetOverallDeploymentStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::Map> m_environmentFailureReasons; + bool m_environmentFailureReasonsHasBeenSet = false; + + OverallDeploymentStatus m_overallDeploymentStatus; + bool m_overallDeploymentStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EventSummary.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EventSummary.h new file mode 100644 index 00000000000..0583bd68e9d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EventSummary.h @@ -0,0 +1,59 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The event summary.

    See Also:

    AWS + * API Reference

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

    The open lineage run event summary.

    + */ + inline const OpenLineageRunEventSummary& GetOpenLineageRunEventSummary() const{ return m_openLineageRunEventSummary; } + inline bool OpenLineageRunEventSummaryHasBeenSet() const { return m_openLineageRunEventSummaryHasBeenSet; } + inline void SetOpenLineageRunEventSummary(const OpenLineageRunEventSummary& value) { m_openLineageRunEventSummaryHasBeenSet = true; m_openLineageRunEventSummary = value; } + inline void SetOpenLineageRunEventSummary(OpenLineageRunEventSummary&& value) { m_openLineageRunEventSummaryHasBeenSet = true; m_openLineageRunEventSummary = std::move(value); } + inline EventSummary& WithOpenLineageRunEventSummary(const OpenLineageRunEventSummary& value) { SetOpenLineageRunEventSummary(value); return *this;} + inline EventSummary& WithOpenLineageRunEventSummary(OpenLineageRunEventSummary&& value) { SetOpenLineageRunEventSummary(std::move(value)); return *this;} + ///@} + private: + + OpenLineageRunEventSummary m_openLineageRunEventSummary; + bool m_openLineageRunEventSummaryHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetConnectionRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetConnectionRequest.h new file mode 100644 index 00000000000..acc7fc94187 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetConnectionRequest.h @@ -0,0 +1,92 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + */ + class GetConnectionRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API GetConnectionRequest(); + + // 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 "GetConnection"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The ID of the domain where we get the connection.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline GetConnectionRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline GetConnectionRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline GetConnectionRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The connection ID.

    + */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline GetConnectionRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline GetConnectionRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline GetConnectionRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    Specifies whether a connection has a secret.

    + */ + inline bool GetWithSecret() const{ return m_withSecret; } + inline bool WithSecretHasBeenSet() const { return m_withSecretHasBeenSet; } + inline void SetWithSecret(bool value) { m_withSecretHasBeenSet = true; m_withSecret = value; } + inline GetConnectionRequest& WithWithSecret(bool value) { SetWithSecret(value); return *this;} + ///@} + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + + bool m_withSecret; + bool m_withSecretHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetConnectionResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetConnectionResult.h new file mode 100644 index 00000000000..5c8c0784d6d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetConnectionResult.h @@ -0,0 +1,231 @@ +/** + * 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 DataZone +{ +namespace Model +{ + class GetConnectionResult + { + public: + AWS_DATAZONE_API GetConnectionResult(); + AWS_DATAZONE_API GetConnectionResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API GetConnectionResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    Connection credentials.

    + */ + inline const ConnectionCredentials& GetConnectionCredentials() const{ return m_connectionCredentials; } + inline void SetConnectionCredentials(const ConnectionCredentials& value) { m_connectionCredentials = value; } + inline void SetConnectionCredentials(ConnectionCredentials&& value) { m_connectionCredentials = std::move(value); } + inline GetConnectionResult& WithConnectionCredentials(const ConnectionCredentials& value) { SetConnectionCredentials(value); return *this;} + inline GetConnectionResult& WithConnectionCredentials(ConnectionCredentials&& value) { SetConnectionCredentials(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the connection.

    + */ + inline const Aws::String& GetConnectionId() const{ return m_connectionId; } + inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; } + inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); } + inline void SetConnectionId(const char* value) { m_connectionId.assign(value); } + inline GetConnectionResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} + inline GetConnectionResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} + inline GetConnectionResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} + ///@} + + ///@{ + /** + *

    Connection description.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline GetConnectionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline GetConnectionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline GetConnectionResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The domain ID of the connection.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + inline GetConnectionResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline GetConnectionResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline GetConnectionResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The domain unit ID of the connection.

    + */ + inline const Aws::String& GetDomainUnitId() const{ return m_domainUnitId; } + inline void SetDomainUnitId(const Aws::String& value) { m_domainUnitId = value; } + inline void SetDomainUnitId(Aws::String&& value) { m_domainUnitId = std::move(value); } + inline void SetDomainUnitId(const char* value) { m_domainUnitId.assign(value); } + inline GetConnectionResult& WithDomainUnitId(const Aws::String& value) { SetDomainUnitId(value); return *this;} + inline GetConnectionResult& WithDomainUnitId(Aws::String&& value) { SetDomainUnitId(std::move(value)); return *this;} + inline GetConnectionResult& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the environment.

    + */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; } + inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); } + inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); } + inline GetConnectionResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + inline GetConnectionResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + inline GetConnectionResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + ///@} + + ///@{ + /** + *

    The environment user role.

    + */ + inline const Aws::String& GetEnvironmentUserRole() const{ return m_environmentUserRole; } + inline void SetEnvironmentUserRole(const Aws::String& value) { m_environmentUserRole = value; } + inline void SetEnvironmentUserRole(Aws::String&& value) { m_environmentUserRole = std::move(value); } + inline void SetEnvironmentUserRole(const char* value) { m_environmentUserRole.assign(value); } + inline GetConnectionResult& WithEnvironmentUserRole(const Aws::String& value) { SetEnvironmentUserRole(value); return *this;} + inline GetConnectionResult& WithEnvironmentUserRole(Aws::String&& value) { SetEnvironmentUserRole(std::move(value)); return *this;} + inline GetConnectionResult& WithEnvironmentUserRole(const char* value) { SetEnvironmentUserRole(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the connection.

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

    The physical endpoints of the connection.

    + */ + inline const Aws::Vector& GetPhysicalEndpoints() const{ return m_physicalEndpoints; } + inline void SetPhysicalEndpoints(const Aws::Vector& value) { m_physicalEndpoints = value; } + inline void SetPhysicalEndpoints(Aws::Vector&& value) { m_physicalEndpoints = std::move(value); } + inline GetConnectionResult& WithPhysicalEndpoints(const Aws::Vector& value) { SetPhysicalEndpoints(value); return *this;} + inline GetConnectionResult& WithPhysicalEndpoints(Aws::Vector&& value) { SetPhysicalEndpoints(std::move(value)); return *this;} + inline GetConnectionResult& AddPhysicalEndpoints(const PhysicalEndpoint& value) { m_physicalEndpoints.push_back(value); return *this; } + inline GetConnectionResult& AddPhysicalEndpoints(PhysicalEndpoint&& value) { m_physicalEndpoints.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The ID of the project.

    + */ + inline const Aws::String& GetProjectId() const{ return m_projectId; } + inline void SetProjectId(const Aws::String& value) { m_projectId = value; } + inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); } + inline void SetProjectId(const char* value) { m_projectId.assign(value); } + inline GetConnectionResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;} + inline GetConnectionResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;} + inline GetConnectionResult& WithProjectId(const char* value) { SetProjectId(value); return *this;} + ///@} + + ///@{ + /** + *

    Connection props.

    + */ + inline const ConnectionPropertiesOutput& GetProps() const{ return m_props; } + inline void SetProps(const ConnectionPropertiesOutput& value) { m_props = value; } + inline void SetProps(ConnectionPropertiesOutput&& value) { m_props = std::move(value); } + inline GetConnectionResult& WithProps(const ConnectionPropertiesOutput& value) { SetProps(value); return *this;} + inline GetConnectionResult& WithProps(ConnectionPropertiesOutput&& value) { SetProps(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The type of the connection.

    + */ + inline const ConnectionType& GetType() const{ return m_type; } + inline void SetType(const ConnectionType& value) { m_type = value; } + inline void SetType(ConnectionType&& value) { m_type = std::move(value); } + inline GetConnectionResult& WithType(const ConnectionType& value) { SetType(value); return *this;} + inline GetConnectionResult& WithType(ConnectionType&& value) { SetType(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + ConnectionCredentials m_connectionCredentials; + + Aws::String m_connectionId; + + Aws::String m_description; + + Aws::String m_domainId; + + Aws::String m_domainUnitId; + + Aws::String m_environmentId; + + Aws::String m_environmentUserRole; + + Aws::String m_name; + + Aws::Vector m_physicalEndpoints; + + Aws::String m_projectId; + + ConnectionPropertiesOutput m_props; + + ConnectionType m_type; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDataSourceResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDataSourceResult.h index fecfa4954a1..4fdffc6c241 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDataSourceResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDataSourceResult.h @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -67,6 +67,19 @@ namespace Model inline GetDataSourceResult& WithConfiguration(DataSourceConfigurationOutput&& value) { SetConfiguration(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The ID of the connection.

    + */ + inline const Aws::String& GetConnectionId() const{ return m_connectionId; } + inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; } + inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); } + inline void SetConnectionId(const char* value) { m_connectionId.assign(value); } + inline GetDataSourceResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} + inline GetDataSourceResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} + inline GetDataSourceResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} + ///@} + ///@{ /** *

    The timestamp of when the data source was created.

    @@ -317,6 +330,8 @@ namespace Model DataSourceConfigurationOutput m_configuration; + Aws::String m_connectionId; + Aws::Utils::DateTime m_createdAt; Aws::String m_description; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDataSourceRunResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDataSourceRunResult.h index aa61483fed6..162e87b68de 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDataSourceRunResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDataSourceRunResult.h @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -112,6 +113,17 @@ namespace Model inline GetDataSourceRunResult& WithId(const char* value) { SetId(value); return *this;} ///@} + ///@{ + /** + *

    The summary of the data lineage.

    + */ + inline const DataSourceRunLineageSummary& GetLineageSummary() const{ return m_lineageSummary; } + inline void SetLineageSummary(const DataSourceRunLineageSummary& value) { m_lineageSummary = value; } + inline void SetLineageSummary(DataSourceRunLineageSummary&& value) { m_lineageSummary = std::move(value); } + inline GetDataSourceRunResult& WithLineageSummary(const DataSourceRunLineageSummary& value) { SetLineageSummary(value); return *this;} + inline GetDataSourceRunResult& WithLineageSummary(DataSourceRunLineageSummary&& value) { SetLineageSummary(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The ID of the project in which this data source run occured.

    @@ -215,6 +227,8 @@ namespace Model Aws::String m_id; + DataSourceRunLineageSummary m_lineageSummary; + Aws::String m_projectId; RunStatisticsForAssets m_runStatisticsForAssets; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDomainResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDomainResult.h index c2d5755f9d1..6a71627802c 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDomainResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDomainResult.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -87,6 +88,17 @@ namespace Model inline GetDomainResult& WithDomainExecutionRole(const char* value) { SetDomainExecutionRole(value); return *this;} ///@} + ///@{ + /** + *

    The version of the domain.

    + */ + inline const DomainVersion& GetDomainVersion() const{ return m_domainVersion; } + inline void SetDomainVersion(const DomainVersion& value) { m_domainVersion = value; } + inline void SetDomainVersion(DomainVersion&& value) { m_domainVersion = std::move(value); } + inline GetDomainResult& WithDomainVersion(const DomainVersion& value) { SetDomainVersion(value); return *this;} + inline GetDomainResult& WithDomainVersion(DomainVersion&& value) { SetDomainVersion(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The identifier of the specified Amazon DataZone domain.

    @@ -165,6 +177,19 @@ namespace Model inline GetDomainResult& WithRootDomainUnitId(const char* value) { SetRootDomainUnitId(value); return *this;} ///@} + ///@{ + /** + *

    The service role of the domain.

    + */ + inline const Aws::String& GetServiceRole() const{ return m_serviceRole; } + inline void SetServiceRole(const Aws::String& value) { m_serviceRole = value; } + inline void SetServiceRole(Aws::String&& value) { m_serviceRole = std::move(value); } + inline void SetServiceRole(const char* value) { m_serviceRole.assign(value); } + inline GetDomainResult& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;} + inline GetDomainResult& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;} + inline GetDomainResult& WithServiceRole(const char* value) { SetServiceRole(value); return *this;} + ///@} + ///@{ /** *

    The single sing-on option of the specified Amazon DataZone domain.

    @@ -225,6 +250,8 @@ namespace Model Aws::String m_domainExecutionRole; + DomainVersion m_domainVersion; + Aws::String m_id; Aws::String m_kmsKeyIdentifier; @@ -237,6 +264,8 @@ namespace Model Aws::String m_rootDomainUnitId; + Aws::String m_serviceRole; + SingleSignOn m_singleSignOn; DomainStatus m_status; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetEnvironmentBlueprintConfigurationResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetEnvironmentBlueprintConfigurationResult.h index e7b5b8317af..50b9643b5ce 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetEnvironmentBlueprintConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetEnvironmentBlueprintConfigurationResult.h @@ -87,6 +87,19 @@ namespace Model inline GetEnvironmentBlueprintConfigurationResult& WithEnvironmentBlueprintId(const char* value) { SetEnvironmentBlueprintId(value); return *this;} ///@} + ///@{ + /** + *

    The environment role permissions boundary.

    + */ + inline const Aws::String& GetEnvironmentRolePermissionBoundary() const{ return m_environmentRolePermissionBoundary; } + inline void SetEnvironmentRolePermissionBoundary(const Aws::String& value) { m_environmentRolePermissionBoundary = value; } + inline void SetEnvironmentRolePermissionBoundary(Aws::String&& value) { m_environmentRolePermissionBoundary = std::move(value); } + inline void SetEnvironmentRolePermissionBoundary(const char* value) { m_environmentRolePermissionBoundary.assign(value); } + inline GetEnvironmentBlueprintConfigurationResult& WithEnvironmentRolePermissionBoundary(const Aws::String& value) { SetEnvironmentRolePermissionBoundary(value); return *this;} + inline GetEnvironmentBlueprintConfigurationResult& WithEnvironmentRolePermissionBoundary(Aws::String&& value) { SetEnvironmentRolePermissionBoundary(std::move(value)); return *this;} + inline GetEnvironmentBlueprintConfigurationResult& WithEnvironmentRolePermissionBoundary(const char* value) { SetEnvironmentRolePermissionBoundary(value); return *this;} + ///@} + ///@{ /** *

    The ARN of the manage access role with which this blueprint is created.

    @@ -174,6 +187,8 @@ namespace Model Aws::String m_environmentBlueprintId; + Aws::String m_environmentRolePermissionBoundary; + Aws::String m_manageAccessRoleArn; Aws::Vector m_provisioningConfigurations; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetJobRunRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetJobRunRequest.h new file mode 100644 index 00000000000..b4b693899fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetJobRunRequest.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + + /** + */ + class GetJobRunRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API GetJobRunRequest(); + + // 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 "GetJobRun"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The ID of the domain.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline GetJobRunRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline GetJobRunRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline GetJobRunRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the job run.

    + */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline GetJobRunRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline GetJobRunRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline GetJobRunRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetJobRunResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetJobRunResult.h new file mode 100644 index 00000000000..d5b5c6b50da --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetJobRunResult.h @@ -0,0 +1,222 @@ +/** + * 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 DataZone +{ +namespace Model +{ + class GetJobRunResult + { + public: + AWS_DATAZONE_API GetJobRunResult(); + AWS_DATAZONE_API GetJobRunResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API GetJobRunResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The timestamp of when the job run was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetJobRunResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetJobRunResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The user who created the job run.

    + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetJobRunResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetJobRunResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetJobRunResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    The details of the job run.

    + */ + inline const JobRunDetails& GetDetails() const{ return m_details; } + inline void SetDetails(const JobRunDetails& value) { m_details = value; } + inline void SetDetails(JobRunDetails&& value) { m_details = std::move(value); } + inline GetJobRunResult& WithDetails(const JobRunDetails& value) { SetDetails(value); return *this;} + inline GetJobRunResult& WithDetails(JobRunDetails&& value) { SetDetails(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + inline GetJobRunResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline GetJobRunResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline GetJobRunResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The timestamp of when the job run ended.

    + */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); } + inline GetJobRunResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + inline GetJobRunResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The error generated if the action is not completed successfully.

    + */ + inline const JobRunError& GetError() const{ return m_error; } + inline void SetError(const JobRunError& value) { m_error = value; } + inline void SetError(JobRunError&& value) { m_error = std::move(value); } + inline GetJobRunResult& WithError(const JobRunError& value) { SetError(value); return *this;} + inline GetJobRunResult& WithError(JobRunError&& value) { SetError(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the job run.

    + */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline GetJobRunResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline GetJobRunResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline GetJobRunResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the job run.

    + */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline void SetJobId(const Aws::String& value) { m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobId.assign(value); } + inline GetJobRunResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline GetJobRunResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline GetJobRunResult& WithJobId(const char* value) { SetJobId(value); return *this;} + ///@} + + ///@{ + /** + *

    The type of the job run.

    + */ + inline const JobType& GetJobType() const{ return m_jobType; } + inline void SetJobType(const JobType& value) { m_jobType = value; } + inline void SetJobType(JobType&& value) { m_jobType = std::move(value); } + inline GetJobRunResult& WithJobType(const JobType& value) { SetJobType(value); return *this;} + inline GetJobRunResult& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The mode of the job run.

    + */ + inline const JobRunMode& GetRunMode() const{ return m_runMode; } + inline void SetRunMode(const JobRunMode& value) { m_runMode = value; } + inline void SetRunMode(JobRunMode&& value) { m_runMode = std::move(value); } + inline GetJobRunResult& WithRunMode(const JobRunMode& value) { SetRunMode(value); return *this;} + inline GetJobRunResult& WithRunMode(JobRunMode&& value) { SetRunMode(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The timestamp of when the job run started.

    + */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); } + inline GetJobRunResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + inline GetJobRunResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The status of the job run.

    + */ + inline const JobRunStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const JobRunStatus& value) { m_status = value; } + inline void SetStatus(JobRunStatus&& value) { m_status = std::move(value); } + inline GetJobRunResult& WithStatus(const JobRunStatus& value) { SetStatus(value); return *this;} + inline GetJobRunResult& WithStatus(JobRunStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetJobRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetJobRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetJobRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + JobRunDetails m_details; + + Aws::String m_domainId; + + Aws::Utils::DateTime m_endTime; + + JobRunError m_error; + + Aws::String m_id; + + Aws::String m_jobId; + + JobType m_jobType; + + JobRunMode m_runMode; + + Aws::Utils::DateTime m_startTime; + + JobRunStatus m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetLineageEventRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetLineageEventRequest.h new file mode 100644 index 00000000000..84a7419365f --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetLineageEventRequest.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + + /** + */ + class GetLineageEventRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API GetLineageEventRequest(); + + // 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 "GetLineageEvent"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The ID of the domain.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline GetLineageEventRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline GetLineageEventRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline GetLineageEventRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the lineage event.

    + */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline GetLineageEventRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline GetLineageEventRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline GetLineageEventRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetLineageEventResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetLineageEventResult.h new file mode 100644 index 00000000000..2c5b3ad5a5c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetLineageEventResult.h @@ -0,0 +1,154 @@ +/** + * 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 DataZone +{ +namespace Model +{ + class GetLineageEventResult + { + public: + AWS_DATAZONE_API GetLineageEventResult(); + //We have to define these because Microsoft doesn't auto generate them + AWS_DATAZONE_API GetLineageEventResult(GetLineageEventResult&&); + AWS_DATAZONE_API GetLineageEventResult& operator=(GetLineageEventResult&&); + //we delete these because Microsoft doesn't handle move generation correctly + //and we therefore don't trust them to get it right here either. + GetLineageEventResult(const GetLineageEventResult&) = delete; + GetLineageEventResult& operator=(const GetLineageEventResult&) = delete; + + + AWS_DATAZONE_API GetLineageEventResult(Aws::AmazonWebServiceResult&& result); + AWS_DATAZONE_API GetLineageEventResult& operator=(Aws::AmazonWebServiceResult&& result); + + + + ///@{ + /** + *

    The timestamp of when the lineage event was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetLineageEventResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetLineageEventResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The user who created the lineage event.

    + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetLineageEventResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetLineageEventResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetLineageEventResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + inline GetLineageEventResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline GetLineageEventResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline GetLineageEventResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The lineage event details.

    + */ + inline Aws::IOStream& GetEvent() const { return m_event.GetUnderlyingStream(); } + inline void ReplaceBody(Aws::IOStream* body) { m_event = Aws::Utils::Stream::ResponseStream(body); } + + ///@} + + ///@{ + /** + *

    The time of the lineage event.

    + */ + inline const Aws::Utils::DateTime& GetEventTime() const{ return m_eventTime; } + inline void SetEventTime(const Aws::Utils::DateTime& value) { m_eventTime = value; } + inline void SetEventTime(Aws::Utils::DateTime&& value) { m_eventTime = std::move(value); } + inline GetLineageEventResult& WithEventTime(const Aws::Utils::DateTime& value) { SetEventTime(value); return *this;} + inline GetLineageEventResult& WithEventTime(Aws::Utils::DateTime&& value) { SetEventTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the lineage event.

    + */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline GetLineageEventResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline GetLineageEventResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline GetLineageEventResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The progressing status of the lineage event.

    + */ + inline const LineageEventProcessingStatus& GetProcessingStatus() const{ return m_processingStatus; } + inline void SetProcessingStatus(const LineageEventProcessingStatus& value) { m_processingStatus = value; } + inline void SetProcessingStatus(LineageEventProcessingStatus&& value) { m_processingStatus = std::move(value); } + inline GetLineageEventResult& WithProcessingStatus(const LineageEventProcessingStatus& value) { SetProcessingStatus(value); return *this;} + inline GetLineageEventResult& WithProcessingStatus(LineageEventProcessingStatus&& value) { SetProcessingStatus(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetLineageEventResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetLineageEventResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetLineageEventResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_domainId; + + Aws::Utils::Stream::ResponseStream m_event; + + Aws::Utils::DateTime m_eventTime; + + Aws::String m_id; + + LineageEventProcessingStatus m_processingStatus; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectProfileRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectProfileRequest.h new file mode 100644 index 00000000000..896a14a8295 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectProfileRequest.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + + /** + */ + class GetProjectProfileRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API GetProjectProfileRequest(); + + // 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 "GetProjectProfile"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The ID of the domain.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline GetProjectProfileRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline GetProjectProfileRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline GetProjectProfileRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the project profile.

    + */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline GetProjectProfileRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline GetProjectProfileRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline GetProjectProfileRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectProfileResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectProfileResult.h new file mode 100644 index 00000000000..39e37b7845f --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectProfileResult.h @@ -0,0 +1,200 @@ +/** + * 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 DataZone +{ +namespace Model +{ + class GetProjectProfileResult + { + public: + AWS_DATAZONE_API GetProjectProfileResult(); + AWS_DATAZONE_API GetProjectProfileResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API GetProjectProfileResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The timestamp of when the project profile was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetProjectProfileResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetProjectProfileResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The user who created the project profile.

    + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetProjectProfileResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetProjectProfileResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetProjectProfileResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    The description of the project profile.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline GetProjectProfileResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline GetProjectProfileResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline GetProjectProfileResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain of the project profile.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + inline GetProjectProfileResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline GetProjectProfileResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline GetProjectProfileResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain unit of the project profile.

    + */ + inline const Aws::String& GetDomainUnitId() const{ return m_domainUnitId; } + inline void SetDomainUnitId(const Aws::String& value) { m_domainUnitId = value; } + inline void SetDomainUnitId(Aws::String&& value) { m_domainUnitId = std::move(value); } + inline void SetDomainUnitId(const char* value) { m_domainUnitId.assign(value); } + inline GetProjectProfileResult& WithDomainUnitId(const Aws::String& value) { SetDomainUnitId(value); return *this;} + inline GetProjectProfileResult& WithDomainUnitId(Aws::String&& value) { SetDomainUnitId(std::move(value)); return *this;} + inline GetProjectProfileResult& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;} + ///@} + + ///@{ + /** + *

    The environment configurations of the project profile.

    + */ + inline const Aws::Vector& GetEnvironmentConfigurations() const{ return m_environmentConfigurations; } + inline void SetEnvironmentConfigurations(const Aws::Vector& value) { m_environmentConfigurations = value; } + inline void SetEnvironmentConfigurations(Aws::Vector&& value) { m_environmentConfigurations = std::move(value); } + inline GetProjectProfileResult& WithEnvironmentConfigurations(const Aws::Vector& value) { SetEnvironmentConfigurations(value); return *this;} + inline GetProjectProfileResult& WithEnvironmentConfigurations(Aws::Vector&& value) { SetEnvironmentConfigurations(std::move(value)); return *this;} + inline GetProjectProfileResult& AddEnvironmentConfigurations(const EnvironmentConfiguration& value) { m_environmentConfigurations.push_back(value); return *this; } + inline GetProjectProfileResult& AddEnvironmentConfigurations(EnvironmentConfiguration&& value) { m_environmentConfigurations.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The ID of the project profile.

    + */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline GetProjectProfileResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline GetProjectProfileResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline GetProjectProfileResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The timestamp of when project profile was last updated.

    + */ + inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } + inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; } + inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); } + inline GetProjectProfileResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} + inline GetProjectProfileResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The name of the project profile.

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

    The status of the project profile.

    + */ + inline const Status& GetStatus() const{ return m_status; } + inline void SetStatus(const Status& value) { m_status = value; } + inline void SetStatus(Status&& value) { m_status = std::move(value); } + inline GetProjectProfileResult& WithStatus(const Status& value) { SetStatus(value); return *this;} + inline GetProjectProfileResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetProjectProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetProjectProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetProjectProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_description; + + Aws::String m_domainId; + + Aws::String m_domainUnitId; + + Aws::Vector m_environmentConfigurations; + + Aws::String m_id; + + Aws::Utils::DateTime m_lastUpdatedAt; + + Aws::String m_name; + + Status m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectResult.h index b6276ab70e8..937319df539 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectResult.h @@ -7,9 +7,11 @@ #include #include #include +#include #include #include #include +#include #include namespace Aws @@ -99,6 +101,17 @@ namespace Model inline GetProjectResult& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;} ///@} + ///@{ + /** + *

    The environment deployment status of a project.

    + */ + inline const EnvironmentDeploymentDetails& GetEnvironmentDeploymentDetails() const{ return m_environmentDeploymentDetails; } + inline void SetEnvironmentDeploymentDetails(const EnvironmentDeploymentDetails& value) { m_environmentDeploymentDetails = value; } + inline void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetails&& value) { m_environmentDeploymentDetails = std::move(value); } + inline GetProjectResult& WithEnvironmentDeploymentDetails(const EnvironmentDeploymentDetails& value) { SetEnvironmentDeploymentDetails(value); return *this;} + inline GetProjectResult& WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetails&& value) { SetEnvironmentDeploymentDetails(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Specifies the error message that is returned if the operation cannot be @@ -164,6 +177,19 @@ namespace Model inline GetProjectResult& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

    The ID of the project profile of a project.

    + */ + inline const Aws::String& GetProjectProfileId() const{ return m_projectProfileId; } + inline void SetProjectProfileId(const Aws::String& value) { m_projectProfileId = value; } + inline void SetProjectProfileId(Aws::String&& value) { m_projectProfileId = std::move(value); } + inline void SetProjectProfileId(const char* value) { m_projectProfileId.assign(value); } + inline GetProjectResult& WithProjectProfileId(const Aws::String& value) { SetProjectProfileId(value); return *this;} + inline GetProjectResult& WithProjectProfileId(Aws::String&& value) { SetProjectProfileId(std::move(value)); return *this;} + inline GetProjectResult& WithProjectProfileId(const char* value) { SetProjectProfileId(value); return *this;} + ///@} + ///@{ /** *

    The status of the project.

    @@ -175,6 +201,19 @@ namespace Model inline GetProjectResult& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The user parameters of a project.

    + */ + inline const Aws::Vector& GetUserParameters() const{ return m_userParameters; } + inline void SetUserParameters(const Aws::Vector& value) { m_userParameters = value; } + inline void SetUserParameters(Aws::Vector&& value) { m_userParameters = std::move(value); } + inline GetProjectResult& WithUserParameters(const Aws::Vector& value) { SetUserParameters(value); return *this;} + inline GetProjectResult& WithUserParameters(Aws::Vector&& value) { SetUserParameters(std::move(value)); return *this;} + inline GetProjectResult& AddUserParameters(const EnvironmentConfigurationUserParameter& value) { m_userParameters.push_back(value); return *this; } + inline GetProjectResult& AddUserParameters(EnvironmentConfigurationUserParameter&& value) { m_userParameters.push_back(std::move(value)); return *this; } + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -197,6 +236,8 @@ namespace Model Aws::String m_domainUnitId; + EnvironmentDeploymentDetails m_environmentDeploymentDetails; + Aws::Vector m_failureReasons; Aws::Vector m_glossaryTerms; @@ -207,8 +248,12 @@ namespace Model Aws::String m_name; + Aws::String m_projectProfileId; + ProjectStatus m_projectStatus; + Aws::Vector m_userParameters; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnection.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnection.h new file mode 100644 index 00000000000..8505b4531f7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnection.h @@ -0,0 +1,365 @@ +/** + * 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 Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The Amazon Web Services Glue connection.

    See Also:

    AWS + * API Reference

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

    The Amazon Athena properties of the Amazon Web Services Glue connection.

    + */ + inline const Aws::Map& GetAthenaProperties() const{ return m_athenaProperties; } + inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; } + inline void SetAthenaProperties(const Aws::Map& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = value; } + inline void SetAthenaProperties(Aws::Map&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = std::move(value); } + inline GlueConnection& WithAthenaProperties(const Aws::Map& value) { SetAthenaProperties(value); return *this;} + inline GlueConnection& WithAthenaProperties(Aws::Map&& value) { SetAthenaProperties(std::move(value)); return *this;} + inline GlueConnection& AddAthenaProperties(const Aws::String& key, const Aws::String& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, value); return *this; } + inline GlueConnection& AddAthenaProperties(Aws::String&& key, const Aws::String& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(std::move(key), value); return *this; } + inline GlueConnection& AddAthenaProperties(const Aws::String& key, Aws::String&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnection& AddAthenaProperties(Aws::String&& key, Aws::String&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(std::move(key), std::move(value)); return *this; } + inline GlueConnection& AddAthenaProperties(const char* key, Aws::String&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnection& AddAthenaProperties(Aws::String&& key, const char* value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(std::move(key), value); return *this; } + inline GlueConnection& AddAthenaProperties(const char* key, const char* value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The authentication configuration of the Amazon Web Services Glue + * connection.

    + */ + inline const AuthenticationConfiguration& GetAuthenticationConfiguration() const{ return m_authenticationConfiguration; } + inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; } + inline void SetAuthenticationConfiguration(const AuthenticationConfiguration& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = value; } + inline void SetAuthenticationConfiguration(AuthenticationConfiguration&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::move(value); } + inline GlueConnection& WithAuthenticationConfiguration(const AuthenticationConfiguration& value) { SetAuthenticationConfiguration(value); return *this;} + inline GlueConnection& WithAuthenticationConfiguration(AuthenticationConfiguration&& value) { SetAuthenticationConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The compatible compute environments of the Amazon Web Services Glue + * connection.

    + */ + inline const Aws::Vector& GetCompatibleComputeEnvironments() const{ return m_compatibleComputeEnvironments; } + inline bool CompatibleComputeEnvironmentsHasBeenSet() const { return m_compatibleComputeEnvironmentsHasBeenSet; } + inline void SetCompatibleComputeEnvironments(const Aws::Vector& value) { m_compatibleComputeEnvironmentsHasBeenSet = true; m_compatibleComputeEnvironments = value; } + inline void SetCompatibleComputeEnvironments(Aws::Vector&& value) { m_compatibleComputeEnvironmentsHasBeenSet = true; m_compatibleComputeEnvironments = std::move(value); } + inline GlueConnection& WithCompatibleComputeEnvironments(const Aws::Vector& value) { SetCompatibleComputeEnvironments(value); return *this;} + inline GlueConnection& WithCompatibleComputeEnvironments(Aws::Vector&& value) { SetCompatibleComputeEnvironments(std::move(value)); return *this;} + inline GlueConnection& AddCompatibleComputeEnvironments(const ComputeEnvironments& value) { m_compatibleComputeEnvironmentsHasBeenSet = true; m_compatibleComputeEnvironments.push_back(value); return *this; } + inline GlueConnection& AddCompatibleComputeEnvironments(ComputeEnvironments&& value) { m_compatibleComputeEnvironmentsHasBeenSet = true; m_compatibleComputeEnvironments.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The properties of the Amazon Web Services Glue connection.

    + */ + inline const Aws::Map& GetConnectionProperties() const{ return m_connectionProperties; } + inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; } + inline void SetConnectionProperties(const Aws::Map& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = value; } + inline void SetConnectionProperties(Aws::Map&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = std::move(value); } + inline GlueConnection& WithConnectionProperties(const Aws::Map& value) { SetConnectionProperties(value); return *this;} + inline GlueConnection& WithConnectionProperties(Aws::Map&& value) { SetConnectionProperties(std::move(value)); return *this;} + inline GlueConnection& AddConnectionProperties(const Aws::String& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; } + inline GlueConnection& AddConnectionProperties(Aws::String&& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; } + inline GlueConnection& AddConnectionProperties(const Aws::String& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnection& AddConnectionProperties(Aws::String&& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), std::move(value)); return *this; } + inline GlueConnection& AddConnectionProperties(const char* key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnection& AddConnectionProperties(Aws::String&& key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; } + inline GlueConnection& AddConnectionProperties(const char* key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The connection schema version of the Amazon Web Services Glue connection.

    + */ + inline int GetConnectionSchemaVersion() const{ return m_connectionSchemaVersion; } + inline bool ConnectionSchemaVersionHasBeenSet() const { return m_connectionSchemaVersionHasBeenSet; } + inline void SetConnectionSchemaVersion(int value) { m_connectionSchemaVersionHasBeenSet = true; m_connectionSchemaVersion = value; } + inline GlueConnection& WithConnectionSchemaVersion(int value) { SetConnectionSchemaVersion(value); return *this;} + ///@} + + ///@{ + /** + *

    The type of the Amazon Web Services Glue connection.

    + */ + inline const ConnectionType& GetConnectionType() const{ return m_connectionType; } + inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; } + inline void SetConnectionType(const ConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; } + inline void SetConnectionType(ConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); } + inline GlueConnection& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;} + inline GlueConnection& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The creation time of the Amazon Web Services Glue connection.

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

    The description of the Amazon Web Services Glue connection.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline GlueConnection& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline GlueConnection& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline GlueConnection& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The last validation time of the Amazon Web Services Glue connection.

    + */ + inline const Aws::Utils::DateTime& GetLastConnectionValidationTime() const{ return m_lastConnectionValidationTime; } + inline bool LastConnectionValidationTimeHasBeenSet() const { return m_lastConnectionValidationTimeHasBeenSet; } + inline void SetLastConnectionValidationTime(const Aws::Utils::DateTime& value) { m_lastConnectionValidationTimeHasBeenSet = true; m_lastConnectionValidationTime = value; } + inline void SetLastConnectionValidationTime(Aws::Utils::DateTime&& value) { m_lastConnectionValidationTimeHasBeenSet = true; m_lastConnectionValidationTime = std::move(value); } + inline GlueConnection& WithLastConnectionValidationTime(const Aws::Utils::DateTime& value) { SetLastConnectionValidationTime(value); return *this;} + inline GlueConnection& WithLastConnectionValidationTime(Aws::Utils::DateTime&& value) { SetLastConnectionValidationTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The user who last updated the Amazon Web Services Glue connection.

    + */ + inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; } + inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; } + inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = value; } + inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::move(value); } + inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy.assign(value); } + inline GlueConnection& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;} + inline GlueConnection& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;} + inline GlueConnection& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    The timestamp at which the Amazon Web Services Glue connection was last + * updated.

    + */ + inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } + inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } + inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } + inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } + inline GlueConnection& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} + inline GlueConnection& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The match criteria of the Amazon Web Services Glue connection.

    + */ + inline const Aws::Vector& GetMatchCriteria() const{ return m_matchCriteria; } + inline bool MatchCriteriaHasBeenSet() const { return m_matchCriteriaHasBeenSet; } + inline void SetMatchCriteria(const Aws::Vector& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria = value; } + inline void SetMatchCriteria(Aws::Vector&& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria = std::move(value); } + inline GlueConnection& WithMatchCriteria(const Aws::Vector& value) { SetMatchCriteria(value); return *this;} + inline GlueConnection& WithMatchCriteria(Aws::Vector&& value) { SetMatchCriteria(std::move(value)); return *this;} + inline GlueConnection& AddMatchCriteria(const Aws::String& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(value); return *this; } + inline GlueConnection& AddMatchCriteria(Aws::String&& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(std::move(value)); return *this; } + inline GlueConnection& AddMatchCriteria(const char* value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The name of the Amazon Web Services Glue connection.

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

    The physical connection requirements of the Amazon Web Services Glue + * connection.

    + */ + inline const PhysicalConnectionRequirements& GetPhysicalConnectionRequirements() const{ return m_physicalConnectionRequirements; } + inline bool PhysicalConnectionRequirementsHasBeenSet() const { return m_physicalConnectionRequirementsHasBeenSet; } + inline void SetPhysicalConnectionRequirements(const PhysicalConnectionRequirements& value) { m_physicalConnectionRequirementsHasBeenSet = true; m_physicalConnectionRequirements = value; } + inline void SetPhysicalConnectionRequirements(PhysicalConnectionRequirements&& value) { m_physicalConnectionRequirementsHasBeenSet = true; m_physicalConnectionRequirements = std::move(value); } + inline GlueConnection& WithPhysicalConnectionRequirements(const PhysicalConnectionRequirements& value) { SetPhysicalConnectionRequirements(value); return *this;} + inline GlueConnection& WithPhysicalConnectionRequirements(PhysicalConnectionRequirements&& value) { SetPhysicalConnectionRequirements(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Python properties of the Amazon Web Services Glue connection.

    + */ + inline const Aws::Map& GetPythonProperties() const{ return m_pythonProperties; } + inline bool PythonPropertiesHasBeenSet() const { return m_pythonPropertiesHasBeenSet; } + inline void SetPythonProperties(const Aws::Map& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties = value; } + inline void SetPythonProperties(Aws::Map&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties = std::move(value); } + inline GlueConnection& WithPythonProperties(const Aws::Map& value) { SetPythonProperties(value); return *this;} + inline GlueConnection& WithPythonProperties(Aws::Map&& value) { SetPythonProperties(std::move(value)); return *this;} + inline GlueConnection& AddPythonProperties(const Aws::String& key, const Aws::String& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, value); return *this; } + inline GlueConnection& AddPythonProperties(Aws::String&& key, const Aws::String& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::move(key), value); return *this; } + inline GlueConnection& AddPythonProperties(const Aws::String& key, Aws::String&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnection& AddPythonProperties(Aws::String&& key, Aws::String&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::move(key), std::move(value)); return *this; } + inline GlueConnection& AddPythonProperties(const char* key, Aws::String&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnection& AddPythonProperties(Aws::String&& key, const char* value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::move(key), value); return *this; } + inline GlueConnection& AddPythonProperties(const char* key, const char* value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The Spark properties of the Amazon Web Services Glue connection.

    + */ + inline const Aws::Map& GetSparkProperties() const{ return m_sparkProperties; } + inline bool SparkPropertiesHasBeenSet() const { return m_sparkPropertiesHasBeenSet; } + inline void SetSparkProperties(const Aws::Map& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties = value; } + inline void SetSparkProperties(Aws::Map&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties = std::move(value); } + inline GlueConnection& WithSparkProperties(const Aws::Map& value) { SetSparkProperties(value); return *this;} + inline GlueConnection& WithSparkProperties(Aws::Map&& value) { SetSparkProperties(std::move(value)); return *this;} + inline GlueConnection& AddSparkProperties(const Aws::String& key, const Aws::String& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, value); return *this; } + inline GlueConnection& AddSparkProperties(Aws::String&& key, const Aws::String& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::move(key), value); return *this; } + inline GlueConnection& AddSparkProperties(const Aws::String& key, Aws::String&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnection& AddSparkProperties(Aws::String&& key, Aws::String&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::move(key), std::move(value)); return *this; } + inline GlueConnection& AddSparkProperties(const char* key, Aws::String&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnection& AddSparkProperties(Aws::String&& key, const char* value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::move(key), value); return *this; } + inline GlueConnection& AddSparkProperties(const char* key, const char* value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The status of the Amazon Web Services Glue connection.

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

    The status reason of the Amazon Web Services Glue connection.

    + */ + inline const Aws::String& GetStatusReason() const{ return m_statusReason; } + inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } + inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } + inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } + inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); } + inline GlueConnection& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} + inline GlueConnection& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} + inline GlueConnection& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} + ///@} + private: + + Aws::Map m_athenaProperties; + bool m_athenaPropertiesHasBeenSet = false; + + AuthenticationConfiguration m_authenticationConfiguration; + bool m_authenticationConfigurationHasBeenSet = false; + + Aws::Vector m_compatibleComputeEnvironments; + bool m_compatibleComputeEnvironmentsHasBeenSet = false; + + Aws::Map m_connectionProperties; + bool m_connectionPropertiesHasBeenSet = false; + + int m_connectionSchemaVersion; + bool m_connectionSchemaVersionHasBeenSet = false; + + ConnectionType m_connectionType; + bool m_connectionTypeHasBeenSet = false; + + Aws::Utils::DateTime m_creationTime; + bool m_creationTimeHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::Utils::DateTime m_lastConnectionValidationTime; + bool m_lastConnectionValidationTimeHasBeenSet = false; + + Aws::String m_lastUpdatedBy; + bool m_lastUpdatedByHasBeenSet = false; + + Aws::Utils::DateTime m_lastUpdatedTime; + bool m_lastUpdatedTimeHasBeenSet = false; + + Aws::Vector m_matchCriteria; + bool m_matchCriteriaHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + PhysicalConnectionRequirements m_physicalConnectionRequirements; + bool m_physicalConnectionRequirementsHasBeenSet = false; + + Aws::Map m_pythonProperties; + bool m_pythonPropertiesHasBeenSet = false; + + Aws::Map m_sparkProperties; + bool m_sparkPropertiesHasBeenSet = false; + + ConnectionStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_statusReason; + bool m_statusReasonHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnectionInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnectionInput.h new file mode 100644 index 00000000000..1646f10634c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnectionInput.h @@ -0,0 +1,268 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Amazon Web Services Glue connecton input.

    See Also:

    AWS + * API Reference

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

    The Amazon Athena properties of the Amazon Web Services Glue connection.

    + */ + inline const Aws::Map& GetAthenaProperties() const{ return m_athenaProperties; } + inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; } + inline void SetAthenaProperties(const Aws::Map& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = value; } + inline void SetAthenaProperties(Aws::Map&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = std::move(value); } + inline GlueConnectionInput& WithAthenaProperties(const Aws::Map& value) { SetAthenaProperties(value); return *this;} + inline GlueConnectionInput& WithAthenaProperties(Aws::Map&& value) { SetAthenaProperties(std::move(value)); return *this;} + inline GlueConnectionInput& AddAthenaProperties(const Aws::String& key, const Aws::String& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, value); return *this; } + inline GlueConnectionInput& AddAthenaProperties(Aws::String&& key, const Aws::String& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(std::move(key), value); return *this; } + inline GlueConnectionInput& AddAthenaProperties(const Aws::String& key, Aws::String&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnectionInput& AddAthenaProperties(Aws::String&& key, Aws::String&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(std::move(key), std::move(value)); return *this; } + inline GlueConnectionInput& AddAthenaProperties(const char* key, Aws::String&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnectionInput& AddAthenaProperties(Aws::String&& key, const char* value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(std::move(key), value); return *this; } + inline GlueConnectionInput& AddAthenaProperties(const char* key, const char* value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The authentication configuration of the Amazon Web Services Glue + * connection.

    + */ + inline const AuthenticationConfigurationInput& GetAuthenticationConfiguration() const{ return m_authenticationConfiguration; } + inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; } + inline void SetAuthenticationConfiguration(const AuthenticationConfigurationInput& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = value; } + inline void SetAuthenticationConfiguration(AuthenticationConfigurationInput&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::move(value); } + inline GlueConnectionInput& WithAuthenticationConfiguration(const AuthenticationConfigurationInput& value) { SetAuthenticationConfiguration(value); return *this;} + inline GlueConnectionInput& WithAuthenticationConfiguration(AuthenticationConfigurationInput&& value) { SetAuthenticationConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The connection properties of the Amazon Web Services Glue connection.

    + */ + inline const Aws::Map& GetConnectionProperties() const{ return m_connectionProperties; } + inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; } + inline void SetConnectionProperties(const Aws::Map& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = value; } + inline void SetConnectionProperties(Aws::Map&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = std::move(value); } + inline GlueConnectionInput& WithConnectionProperties(const Aws::Map& value) { SetConnectionProperties(value); return *this;} + inline GlueConnectionInput& WithConnectionProperties(Aws::Map&& value) { SetConnectionProperties(std::move(value)); return *this;} + inline GlueConnectionInput& AddConnectionProperties(const Aws::String& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; } + inline GlueConnectionInput& AddConnectionProperties(Aws::String&& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; } + inline GlueConnectionInput& AddConnectionProperties(const Aws::String& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnectionInput& AddConnectionProperties(Aws::String&& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), std::move(value)); return *this; } + inline GlueConnectionInput& AddConnectionProperties(const char* key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnectionInput& AddConnectionProperties(Aws::String&& key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; } + inline GlueConnectionInput& AddConnectionProperties(const char* key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The connection type of the Amazon Web Services Glue connection.

    + */ + inline const GlueConnectionType& GetConnectionType() const{ return m_connectionType; } + inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; } + inline void SetConnectionType(const GlueConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; } + inline void SetConnectionType(GlueConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); } + inline GlueConnectionInput& WithConnectionType(const GlueConnectionType& value) { SetConnectionType(value); return *this;} + inline GlueConnectionInput& WithConnectionType(GlueConnectionType&& value) { SetConnectionType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The description of the Amazon Web Services Glue connection.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline GlueConnectionInput& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline GlueConnectionInput& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline GlueConnectionInput& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The match criteria of the Amazon Web Services Glue connection.

    + */ + inline const Aws::String& GetMatchCriteria() const{ return m_matchCriteria; } + inline bool MatchCriteriaHasBeenSet() const { return m_matchCriteriaHasBeenSet; } + inline void SetMatchCriteria(const Aws::String& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria = value; } + inline void SetMatchCriteria(Aws::String&& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria = std::move(value); } + inline void SetMatchCriteria(const char* value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.assign(value); } + inline GlueConnectionInput& WithMatchCriteria(const Aws::String& value) { SetMatchCriteria(value); return *this;} + inline GlueConnectionInput& WithMatchCriteria(Aws::String&& value) { SetMatchCriteria(std::move(value)); return *this;} + inline GlueConnectionInput& WithMatchCriteria(const char* value) { SetMatchCriteria(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the Amazon Web Services Glue connection.

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

    The physical connection requirements for the Amazon Web Services Glue + * connection.

    + */ + inline const PhysicalConnectionRequirements& GetPhysicalConnectionRequirements() const{ return m_physicalConnectionRequirements; } + inline bool PhysicalConnectionRequirementsHasBeenSet() const { return m_physicalConnectionRequirementsHasBeenSet; } + inline void SetPhysicalConnectionRequirements(const PhysicalConnectionRequirements& value) { m_physicalConnectionRequirementsHasBeenSet = true; m_physicalConnectionRequirements = value; } + inline void SetPhysicalConnectionRequirements(PhysicalConnectionRequirements&& value) { m_physicalConnectionRequirementsHasBeenSet = true; m_physicalConnectionRequirements = std::move(value); } + inline GlueConnectionInput& WithPhysicalConnectionRequirements(const PhysicalConnectionRequirements& value) { SetPhysicalConnectionRequirements(value); return *this;} + inline GlueConnectionInput& WithPhysicalConnectionRequirements(PhysicalConnectionRequirements&& value) { SetPhysicalConnectionRequirements(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Python properties of the Amazon Web Services Glue connection.

    + */ + inline const Aws::Map& GetPythonProperties() const{ return m_pythonProperties; } + inline bool PythonPropertiesHasBeenSet() const { return m_pythonPropertiesHasBeenSet; } + inline void SetPythonProperties(const Aws::Map& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties = value; } + inline void SetPythonProperties(Aws::Map&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties = std::move(value); } + inline GlueConnectionInput& WithPythonProperties(const Aws::Map& value) { SetPythonProperties(value); return *this;} + inline GlueConnectionInput& WithPythonProperties(Aws::Map&& value) { SetPythonProperties(std::move(value)); return *this;} + inline GlueConnectionInput& AddPythonProperties(const Aws::String& key, const Aws::String& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, value); return *this; } + inline GlueConnectionInput& AddPythonProperties(Aws::String&& key, const Aws::String& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::move(key), value); return *this; } + inline GlueConnectionInput& AddPythonProperties(const Aws::String& key, Aws::String&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnectionInput& AddPythonProperties(Aws::String&& key, Aws::String&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::move(key), std::move(value)); return *this; } + inline GlueConnectionInput& AddPythonProperties(const char* key, Aws::String&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnectionInput& AddPythonProperties(Aws::String&& key, const char* value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::move(key), value); return *this; } + inline GlueConnectionInput& AddPythonProperties(const char* key, const char* value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The Spark properties of the Amazon Web Services Glue connection.

    + */ + inline const Aws::Map& GetSparkProperties() const{ return m_sparkProperties; } + inline bool SparkPropertiesHasBeenSet() const { return m_sparkPropertiesHasBeenSet; } + inline void SetSparkProperties(const Aws::Map& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties = value; } + inline void SetSparkProperties(Aws::Map&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties = std::move(value); } + inline GlueConnectionInput& WithSparkProperties(const Aws::Map& value) { SetSparkProperties(value); return *this;} + inline GlueConnectionInput& WithSparkProperties(Aws::Map&& value) { SetSparkProperties(std::move(value)); return *this;} + inline GlueConnectionInput& AddSparkProperties(const Aws::String& key, const Aws::String& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, value); return *this; } + inline GlueConnectionInput& AddSparkProperties(Aws::String&& key, const Aws::String& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::move(key), value); return *this; } + inline GlueConnectionInput& AddSparkProperties(const Aws::String& key, Aws::String&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnectionInput& AddSparkProperties(Aws::String&& key, Aws::String&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::move(key), std::move(value)); return *this; } + inline GlueConnectionInput& AddSparkProperties(const char* key, Aws::String&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnectionInput& AddSparkProperties(Aws::String&& key, const char* value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::move(key), value); return *this; } + inline GlueConnectionInput& AddSparkProperties(const char* key, const char* value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Speciefies whether to validate credentials of the Amazon Web Services Glue + * connection.

    + */ + inline bool GetValidateCredentials() const{ return m_validateCredentials; } + inline bool ValidateCredentialsHasBeenSet() const { return m_validateCredentialsHasBeenSet; } + inline void SetValidateCredentials(bool value) { m_validateCredentialsHasBeenSet = true; m_validateCredentials = value; } + inline GlueConnectionInput& WithValidateCredentials(bool value) { SetValidateCredentials(value); return *this;} + ///@} + + ///@{ + /** + *

    Speciefies whether to validate for compute environments of the Amazon Web + * Services Glue connection.

    + */ + inline const Aws::Vector& GetValidateForComputeEnvironments() const{ return m_validateForComputeEnvironments; } + inline bool ValidateForComputeEnvironmentsHasBeenSet() const { return m_validateForComputeEnvironmentsHasBeenSet; } + inline void SetValidateForComputeEnvironments(const Aws::Vector& value) { m_validateForComputeEnvironmentsHasBeenSet = true; m_validateForComputeEnvironments = value; } + inline void SetValidateForComputeEnvironments(Aws::Vector&& value) { m_validateForComputeEnvironmentsHasBeenSet = true; m_validateForComputeEnvironments = std::move(value); } + inline GlueConnectionInput& WithValidateForComputeEnvironments(const Aws::Vector& value) { SetValidateForComputeEnvironments(value); return *this;} + inline GlueConnectionInput& WithValidateForComputeEnvironments(Aws::Vector&& value) { SetValidateForComputeEnvironments(std::move(value)); return *this;} + inline GlueConnectionInput& AddValidateForComputeEnvironments(const ComputeEnvironments& value) { m_validateForComputeEnvironmentsHasBeenSet = true; m_validateForComputeEnvironments.push_back(value); return *this; } + inline GlueConnectionInput& AddValidateForComputeEnvironments(ComputeEnvironments&& value) { m_validateForComputeEnvironmentsHasBeenSet = true; m_validateForComputeEnvironments.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::Map m_athenaProperties; + bool m_athenaPropertiesHasBeenSet = false; + + AuthenticationConfigurationInput m_authenticationConfiguration; + bool m_authenticationConfigurationHasBeenSet = false; + + Aws::Map m_connectionProperties; + bool m_connectionPropertiesHasBeenSet = false; + + GlueConnectionType m_connectionType; + bool m_connectionTypeHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_matchCriteria; + bool m_matchCriteriaHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + PhysicalConnectionRequirements m_physicalConnectionRequirements; + bool m_physicalConnectionRequirementsHasBeenSet = false; + + Aws::Map m_pythonProperties; + bool m_pythonPropertiesHasBeenSet = false; + + Aws::Map m_sparkProperties; + bool m_sparkPropertiesHasBeenSet = false; + + bool m_validateCredentials; + bool m_validateCredentialsHasBeenSet = false; + + Aws::Vector m_validateForComputeEnvironments; + bool m_validateForComputeEnvironmentsHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnectionPatch.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnectionPatch.h new file mode 100644 index 00000000000..28149d6ac51 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnectionPatch.h @@ -0,0 +1,101 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Amazon Web Services Glue connection patch.

    See Also:

    AWS + * API Reference

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

    The authentication configuration of the Amazon Web Services Glue connection + * patch.

    + */ + inline const AuthenticationConfigurationPatch& GetAuthenticationConfiguration() const{ return m_authenticationConfiguration; } + inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; } + inline void SetAuthenticationConfiguration(const AuthenticationConfigurationPatch& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = value; } + inline void SetAuthenticationConfiguration(AuthenticationConfigurationPatch&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::move(value); } + inline GlueConnectionPatch& WithAuthenticationConfiguration(const AuthenticationConfigurationPatch& value) { SetAuthenticationConfiguration(value); return *this;} + inline GlueConnectionPatch& WithAuthenticationConfiguration(AuthenticationConfigurationPatch&& value) { SetAuthenticationConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The properties of the Amazon Web Services Glue connection patch.

    + */ + inline const Aws::Map& GetConnectionProperties() const{ return m_connectionProperties; } + inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; } + inline void SetConnectionProperties(const Aws::Map& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = value; } + inline void SetConnectionProperties(Aws::Map&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = std::move(value); } + inline GlueConnectionPatch& WithConnectionProperties(const Aws::Map& value) { SetConnectionProperties(value); return *this;} + inline GlueConnectionPatch& WithConnectionProperties(Aws::Map&& value) { SetConnectionProperties(std::move(value)); return *this;} + inline GlueConnectionPatch& AddConnectionProperties(const Aws::String& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; } + inline GlueConnectionPatch& AddConnectionProperties(Aws::String&& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; } + inline GlueConnectionPatch& AddConnectionProperties(const Aws::String& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnectionPatch& AddConnectionProperties(Aws::String&& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), std::move(value)); return *this; } + inline GlueConnectionPatch& AddConnectionProperties(const char* key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, std::move(value)); return *this; } + inline GlueConnectionPatch& AddConnectionProperties(Aws::String&& key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; } + inline GlueConnectionPatch& AddConnectionProperties(const char* key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The description of the Amazon Web Services Glue connection patch.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline GlueConnectionPatch& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline GlueConnectionPatch& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline GlueConnectionPatch& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + private: + + AuthenticationConfigurationPatch m_authenticationConfiguration; + bool m_authenticationConfigurationHasBeenSet = false; + + Aws::Map m_connectionProperties; + bool m_connectionPropertiesHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnectionType.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnectionType.h new file mode 100644 index 00000000000..605eb5d66bc --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueConnectionType.h @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class GlueConnectionType + { + NOT_SET, + SNOWFLAKE, + BIGQUERY, + DOCUMENTDB, + DYNAMODB, + MYSQL, + OPENSEARCH, + ORACLE, + POSTGRESQL, + REDSHIFT, + SAPHANA, + SQLSERVER, + TERADATA, + VERTICA + }; + +namespace GlueConnectionTypeMapper +{ +AWS_DATAZONE_API GlueConnectionType GetGlueConnectionTypeForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForGlueConnectionType(GlueConnectionType value); +} // namespace GlueConnectionTypeMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueOAuth2Credentials.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueOAuth2Credentials.h new file mode 100644 index 00000000000..c2a23905533 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueOAuth2Credentials.h @@ -0,0 +1,112 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The GlueOAuth2 credentials of a connection.

    See Also:

    AWS + * API Reference

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

    The access token of a connection.

    + */ + inline const Aws::String& GetAccessToken() const{ return m_accessToken; } + inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; } + inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; } + inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); } + inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); } + inline GlueOAuth2Credentials& WithAccessToken(const Aws::String& value) { SetAccessToken(value); return *this;} + inline GlueOAuth2Credentials& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;} + inline GlueOAuth2Credentials& WithAccessToken(const char* value) { SetAccessToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The jwt token of the connection.

    + */ + inline const Aws::String& GetJwtToken() const{ return m_jwtToken; } + inline bool JwtTokenHasBeenSet() const { return m_jwtTokenHasBeenSet; } + inline void SetJwtToken(const Aws::String& value) { m_jwtTokenHasBeenSet = true; m_jwtToken = value; } + inline void SetJwtToken(Aws::String&& value) { m_jwtTokenHasBeenSet = true; m_jwtToken = std::move(value); } + inline void SetJwtToken(const char* value) { m_jwtTokenHasBeenSet = true; m_jwtToken.assign(value); } + inline GlueOAuth2Credentials& WithJwtToken(const Aws::String& value) { SetJwtToken(value); return *this;} + inline GlueOAuth2Credentials& WithJwtToken(Aws::String&& value) { SetJwtToken(std::move(value)); return *this;} + inline GlueOAuth2Credentials& WithJwtToken(const char* value) { SetJwtToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The refresh token of the connection.

    + */ + inline const Aws::String& GetRefreshToken() const{ return m_refreshToken; } + inline bool RefreshTokenHasBeenSet() const { return m_refreshTokenHasBeenSet; } + inline void SetRefreshToken(const Aws::String& value) { m_refreshTokenHasBeenSet = true; m_refreshToken = value; } + inline void SetRefreshToken(Aws::String&& value) { m_refreshTokenHasBeenSet = true; m_refreshToken = std::move(value); } + inline void SetRefreshToken(const char* value) { m_refreshTokenHasBeenSet = true; m_refreshToken.assign(value); } + inline GlueOAuth2Credentials& WithRefreshToken(const Aws::String& value) { SetRefreshToken(value); return *this;} + inline GlueOAuth2Credentials& WithRefreshToken(Aws::String&& value) { SetRefreshToken(std::move(value)); return *this;} + inline GlueOAuth2Credentials& WithRefreshToken(const char* value) { SetRefreshToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The user managed client application client secret of the connection.

    + */ + inline const Aws::String& GetUserManagedClientApplicationClientSecret() const{ return m_userManagedClientApplicationClientSecret; } + inline bool UserManagedClientApplicationClientSecretHasBeenSet() const { return m_userManagedClientApplicationClientSecretHasBeenSet; } + inline void SetUserManagedClientApplicationClientSecret(const Aws::String& value) { m_userManagedClientApplicationClientSecretHasBeenSet = true; m_userManagedClientApplicationClientSecret = value; } + inline void SetUserManagedClientApplicationClientSecret(Aws::String&& value) { m_userManagedClientApplicationClientSecretHasBeenSet = true; m_userManagedClientApplicationClientSecret = std::move(value); } + inline void SetUserManagedClientApplicationClientSecret(const char* value) { m_userManagedClientApplicationClientSecretHasBeenSet = true; m_userManagedClientApplicationClientSecret.assign(value); } + inline GlueOAuth2Credentials& WithUserManagedClientApplicationClientSecret(const Aws::String& value) { SetUserManagedClientApplicationClientSecret(value); return *this;} + inline GlueOAuth2Credentials& WithUserManagedClientApplicationClientSecret(Aws::String&& value) { SetUserManagedClientApplicationClientSecret(std::move(value)); return *this;} + inline GlueOAuth2Credentials& WithUserManagedClientApplicationClientSecret(const char* value) { SetUserManagedClientApplicationClientSecret(value); return *this;} + ///@} + private: + + Aws::String m_accessToken; + bool m_accessTokenHasBeenSet = false; + + Aws::String m_jwtToken; + bool m_jwtTokenHasBeenSet = false; + + Aws::String m_refreshToken; + bool m_refreshTokenHasBeenSet = false; + + Aws::String m_userManagedClientApplicationClientSecret; + bool m_userManagedClientApplicationClientSecretHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GluePropertiesInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GluePropertiesInput.h new file mode 100644 index 00000000000..11a01f8d1e8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GluePropertiesInput.h @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The Amazon Web Services Glue properties of a connection.

    See + * Also:

    AWS + * API Reference

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

    The Amazon Web Services Glue connection.

    + */ + inline const GlueConnectionInput& GetGlueConnectionInput() const{ return m_glueConnectionInput; } + inline bool GlueConnectionInputHasBeenSet() const { return m_glueConnectionInputHasBeenSet; } + inline void SetGlueConnectionInput(const GlueConnectionInput& value) { m_glueConnectionInputHasBeenSet = true; m_glueConnectionInput = value; } + inline void SetGlueConnectionInput(GlueConnectionInput&& value) { m_glueConnectionInputHasBeenSet = true; m_glueConnectionInput = std::move(value); } + inline GluePropertiesInput& WithGlueConnectionInput(const GlueConnectionInput& value) { SetGlueConnectionInput(value); return *this;} + inline GluePropertiesInput& WithGlueConnectionInput(GlueConnectionInput&& value) { SetGlueConnectionInput(std::move(value)); return *this;} + ///@} + private: + + GlueConnectionInput m_glueConnectionInput; + bool m_glueConnectionInputHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GluePropertiesOutput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GluePropertiesOutput.h new file mode 100644 index 00000000000..256aa946c81 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GluePropertiesOutput.h @@ -0,0 +1,78 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The properties of the Amazon Web Services Glue connection.

    See + * Also:

    AWS + * API Reference

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

    The error message generated if the action is not completed successfully.

    + */ + inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } + inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } + inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } + inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } + inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } + inline GluePropertiesOutput& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} + inline GluePropertiesOutput& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} + inline GluePropertiesOutput& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} + ///@} + + ///@{ + /** + *

    The status of a connection.

    + */ + inline const ConnectionStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const ConnectionStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(ConnectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline GluePropertiesOutput& WithStatus(const ConnectionStatus& value) { SetStatus(value); return *this;} + inline GluePropertiesOutput& WithStatus(ConnectionStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_errorMessage; + bool m_errorMessageHasBeenSet = false; + + ConnectionStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GluePropertiesPatch.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GluePropertiesPatch.h new file mode 100644 index 00000000000..7e0ff84a9b1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GluePropertiesPatch.h @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The Amazon Web Services Glue properties patch of a connection.

    See + * Also:

    AWS + * API Reference

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

    The Amazon Web Services Glue properties patch of a connection.

    + */ + inline const GlueConnectionPatch& GetGlueConnectionInput() const{ return m_glueConnectionInput; } + inline bool GlueConnectionInputHasBeenSet() const { return m_glueConnectionInputHasBeenSet; } + inline void SetGlueConnectionInput(const GlueConnectionPatch& value) { m_glueConnectionInputHasBeenSet = true; m_glueConnectionInput = value; } + inline void SetGlueConnectionInput(GlueConnectionPatch&& value) { m_glueConnectionInputHasBeenSet = true; m_glueConnectionInput = std::move(value); } + inline GluePropertiesPatch& WithGlueConnectionInput(const GlueConnectionPatch& value) { SetGlueConnectionInput(value); return *this;} + inline GluePropertiesPatch& WithGlueConnectionInput(GlueConnectionPatch&& value) { SetGlueConnectionInput(std::move(value)); return *this;} + ///@} + private: + + GlueConnectionPatch m_glueConnectionInput; + bool m_glueConnectionInputHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueRunConfigurationInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueRunConfigurationInput.h index b0d22b05474..323f22b97ba 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueRunConfigurationInput.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueRunConfigurationInput.h @@ -51,6 +51,20 @@ namespace Model inline GlueRunConfigurationInput& WithAutoImportDataQualityResult(bool value) { SetAutoImportDataQualityResult(value); return *this;} ///@} + ///@{ + /** + *

    The catalog name in the Amazon Web Services Glue run configuration.

    + */ + inline const Aws::String& GetCatalogName() const{ return m_catalogName; } + inline bool CatalogNameHasBeenSet() const { return m_catalogNameHasBeenSet; } + inline void SetCatalogName(const Aws::String& value) { m_catalogNameHasBeenSet = true; m_catalogName = value; } + inline void SetCatalogName(Aws::String&& value) { m_catalogNameHasBeenSet = true; m_catalogName = std::move(value); } + inline void SetCatalogName(const char* value) { m_catalogNameHasBeenSet = true; m_catalogName.assign(value); } + inline GlueRunConfigurationInput& WithCatalogName(const Aws::String& value) { SetCatalogName(value); return *this;} + inline GlueRunConfigurationInput& WithCatalogName(Aws::String&& value) { SetCatalogName(std::move(value)); return *this;} + inline GlueRunConfigurationInput& WithCatalogName(const char* value) { SetCatalogName(value); return *this;} + ///@} + ///@{ /** *

    The data access role included in the configuration details of the Amazon Web @@ -85,6 +99,9 @@ namespace Model bool m_autoImportDataQualityResult; bool m_autoImportDataQualityResultHasBeenSet = false; + Aws::String m_catalogName; + bool m_catalogNameHasBeenSet = false; + Aws::String m_dataAccessRole; bool m_dataAccessRoleHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueRunConfigurationOutput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueRunConfigurationOutput.h index c69d7b7d1b3..d54aa4e9ea2 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueRunConfigurationOutput.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GlueRunConfigurationOutput.h @@ -66,6 +66,20 @@ namespace Model inline GlueRunConfigurationOutput& WithAutoImportDataQualityResult(bool value) { SetAutoImportDataQualityResult(value); return *this;} ///@} + ///@{ + /** + *

    The catalog name in the Amazon Web Services Glue run configuration.

    + */ + inline const Aws::String& GetCatalogName() const{ return m_catalogName; } + inline bool CatalogNameHasBeenSet() const { return m_catalogNameHasBeenSet; } + inline void SetCatalogName(const Aws::String& value) { m_catalogNameHasBeenSet = true; m_catalogName = value; } + inline void SetCatalogName(Aws::String&& value) { m_catalogNameHasBeenSet = true; m_catalogName = std::move(value); } + inline void SetCatalogName(const char* value) { m_catalogNameHasBeenSet = true; m_catalogName.assign(value); } + inline GlueRunConfigurationOutput& WithCatalogName(const Aws::String& value) { SetCatalogName(value); return *this;} + inline GlueRunConfigurationOutput& WithCatalogName(Aws::String&& value) { SetCatalogName(std::move(value)); return *this;} + inline GlueRunConfigurationOutput& WithCatalogName(const char* value) { SetCatalogName(value); return *this;} + ///@} + ///@{ /** *

    The data access role included in the configuration details of the Amazon Web @@ -118,6 +132,9 @@ namespace Model bool m_autoImportDataQualityResult; bool m_autoImportDataQualityResultHasBeenSet = false; + Aws::String m_catalogName; + bool m_catalogNameHasBeenSet = false; + Aws::String m_dataAccessRole; bool m_dataAccessRoleHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GovernanceType.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GovernanceType.h new file mode 100644 index 00000000000..5cca83169ab --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GovernanceType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class GovernanceType + { + NOT_SET, + AWS_MANAGED, + USER_MANAGED + }; + +namespace GovernanceTypeMapper +{ +AWS_DATAZONE_API GovernanceType GetGovernanceTypeForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForGovernanceType(GovernanceType value); +} // namespace GovernanceTypeMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/HyperPodOrchestrator.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/HyperPodOrchestrator.h new file mode 100644 index 00000000000..6f98327f1ef --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/HyperPodOrchestrator.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class HyperPodOrchestrator + { + NOT_SET, + EKS, + SLURM + }; + +namespace HyperPodOrchestratorMapper +{ +AWS_DATAZONE_API HyperPodOrchestrator GetHyperPodOrchestratorForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForHyperPodOrchestrator(HyperPodOrchestrator value); +} // namespace HyperPodOrchestratorMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/HyperPodPropertiesInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/HyperPodPropertiesInput.h new file mode 100644 index 00000000000..ab8f0e63b4b --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/HyperPodPropertiesInput.h @@ -0,0 +1,62 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The hyper pod properties of a Amazon Web Services Glue properties + * patch.

    See Also:

    AWS + * API Reference

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

    The cluster name the hyper pod properties.

    + */ + inline const Aws::String& GetClusterName() const{ return m_clusterName; } + inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } + inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } + inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } + inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } + inline HyperPodPropertiesInput& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} + inline HyperPodPropertiesInput& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} + inline HyperPodPropertiesInput& WithClusterName(const char* value) { SetClusterName(value); return *this;} + ///@} + private: + + Aws::String m_clusterName; + bool m_clusterNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/HyperPodPropertiesOutput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/HyperPodPropertiesOutput.h new file mode 100644 index 00000000000..705b672dc9d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/HyperPodPropertiesOutput.h @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The hyper pod properties of a Amazon Web Services Glue properties + * patch.

    See Also:

    AWS + * API Reference

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

    The cluster ARN of the hyper pod properties.

    + */ + inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } + inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } + inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } + inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } + inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } + inline HyperPodPropertiesOutput& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} + inline HyperPodPropertiesOutput& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} + inline HyperPodPropertiesOutput& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The cluster name the hyper pod properties.

    + */ + inline const Aws::String& GetClusterName() const{ return m_clusterName; } + inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } + inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } + inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } + inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } + inline HyperPodPropertiesOutput& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} + inline HyperPodPropertiesOutput& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} + inline HyperPodPropertiesOutput& WithClusterName(const char* value) { SetClusterName(value); return *this;} + ///@} + + ///@{ + /** + *

    The orchestrator of the hyper pod properties.

    + */ + inline const HyperPodOrchestrator& GetOrchestrator() const{ return m_orchestrator; } + inline bool OrchestratorHasBeenSet() const { return m_orchestratorHasBeenSet; } + inline void SetOrchestrator(const HyperPodOrchestrator& value) { m_orchestratorHasBeenSet = true; m_orchestrator = value; } + inline void SetOrchestrator(HyperPodOrchestrator&& value) { m_orchestratorHasBeenSet = true; m_orchestrator = std::move(value); } + inline HyperPodPropertiesOutput& WithOrchestrator(const HyperPodOrchestrator& value) { SetOrchestrator(value); return *this;} + inline HyperPodPropertiesOutput& WithOrchestrator(HyperPodOrchestrator&& value) { SetOrchestrator(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_clusterArn; + bool m_clusterArnHasBeenSet = false; + + Aws::String m_clusterName; + bool m_clusterNameHasBeenSet = false; + + HyperPodOrchestrator m_orchestrator; + bool m_orchestratorHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamPropertiesInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamPropertiesInput.h new file mode 100644 index 00000000000..61cb9f954db --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamPropertiesInput.h @@ -0,0 +1,56 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The IAM properties of a connection.

    See Also:

    AWS + * API Reference

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

    Specifies whether Amazon Web Services Glue lineage sync is enabled for a + * connection.

    + */ + inline bool GetGlueLineageSyncEnabled() const{ return m_glueLineageSyncEnabled; } + inline bool GlueLineageSyncEnabledHasBeenSet() const { return m_glueLineageSyncEnabledHasBeenSet; } + inline void SetGlueLineageSyncEnabled(bool value) { m_glueLineageSyncEnabledHasBeenSet = true; m_glueLineageSyncEnabled = value; } + inline IamPropertiesInput& WithGlueLineageSyncEnabled(bool value) { SetGlueLineageSyncEnabled(value); return *this;} + ///@} + private: + + bool m_glueLineageSyncEnabled; + bool m_glueLineageSyncEnabledHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamPropertiesOutput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamPropertiesOutput.h new file mode 100644 index 00000000000..ecc846ca09b --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamPropertiesOutput.h @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The IAM properties of a connection.

    See Also:

    AWS + * API Reference

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

    The environment ID of the connection.

    + */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + inline IamPropertiesOutput& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + inline IamPropertiesOutput& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + inline IamPropertiesOutput& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + ///@} + + ///@{ + /** + *

    Specifies whether Amazon Web Services Glue lineage sync is enabled for a + * connection.

    + */ + inline bool GetGlueLineageSyncEnabled() const{ return m_glueLineageSyncEnabled; } + inline bool GlueLineageSyncEnabledHasBeenSet() const { return m_glueLineageSyncEnabledHasBeenSet; } + inline void SetGlueLineageSyncEnabled(bool value) { m_glueLineageSyncEnabledHasBeenSet = true; m_glueLineageSyncEnabled = value; } + inline IamPropertiesOutput& WithGlueLineageSyncEnabled(bool value) { SetGlueLineageSyncEnabled(value); return *this;} + ///@} + private: + + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; + + bool m_glueLineageSyncEnabled; + bool m_glueLineageSyncEnabledHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamPropertiesPatch.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamPropertiesPatch.h new file mode 100644 index 00000000000..6b4b8178eb6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IamPropertiesPatch.h @@ -0,0 +1,56 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The IAM properties patch of a connection.

    See Also:

    AWS + * API Reference

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

    Specifies whether Amazon Web Services Glue lineage sync is enabled for a + * connection.

    + */ + inline bool GetGlueLineageSyncEnabled() const{ return m_glueLineageSyncEnabled; } + inline bool GlueLineageSyncEnabledHasBeenSet() const { return m_glueLineageSyncEnabledHasBeenSet; } + inline void SetGlueLineageSyncEnabled(bool value) { m_glueLineageSyncEnabledHasBeenSet = true; m_glueLineageSyncEnabled = value; } + inline IamPropertiesPatch& WithGlueLineageSyncEnabled(bool value) { SetGlueLineageSyncEnabled(value); return *this;} + ///@} + private: + + bool m_glueLineageSyncEnabled; + bool m_glueLineageSyncEnabledHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunDetails.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunDetails.h new file mode 100644 index 00000000000..11afec39b29 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunDetails.h @@ -0,0 +1,59 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The details of a job run.

    See Also:

    AWS + * API Reference

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

    The data lineage details of a job run.

    + */ + inline const LineageRunDetails& GetLineageRunDetails() const{ return m_lineageRunDetails; } + inline bool LineageRunDetailsHasBeenSet() const { return m_lineageRunDetailsHasBeenSet; } + inline void SetLineageRunDetails(const LineageRunDetails& value) { m_lineageRunDetailsHasBeenSet = true; m_lineageRunDetails = value; } + inline void SetLineageRunDetails(LineageRunDetails&& value) { m_lineageRunDetailsHasBeenSet = true; m_lineageRunDetails = std::move(value); } + inline JobRunDetails& WithLineageRunDetails(const LineageRunDetails& value) { SetLineageRunDetails(value); return *this;} + inline JobRunDetails& WithLineageRunDetails(LineageRunDetails&& value) { SetLineageRunDetails(std::move(value)); return *this;} + ///@} + private: + + LineageRunDetails m_lineageRunDetails; + bool m_lineageRunDetailsHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunError.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunError.h new file mode 100644 index 00000000000..72de34d2abd --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunError.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The job run error.

    See Also:

    AWS + * API Reference

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

    The job run error message.

    + */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline JobRunError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline JobRunError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline JobRunError& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + private: + + Aws::String m_message; + bool m_messageHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunMode.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunMode.h new file mode 100644 index 00000000000..c843bbe27bd --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunMode.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class JobRunMode + { + NOT_SET, + SCHEDULED, + ON_DEMAND + }; + +namespace JobRunModeMapper +{ +AWS_DATAZONE_API JobRunMode GetJobRunModeForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForJobRunMode(JobRunMode value); +} // namespace JobRunModeMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunStatus.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunStatus.h new file mode 100644 index 00000000000..cd8f663b882 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunStatus.h @@ -0,0 +1,37 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class JobRunStatus + { + NOT_SET, + SCHEDULED, + IN_PROGRESS, + SUCCESS, + PARTIALLY_SUCCEEDED, + FAILED, + ABORTED, + TIMED_OUT, + CANCELED + }; + +namespace JobRunStatusMapper +{ +AWS_DATAZONE_API JobRunStatus GetJobRunStatusForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForJobRunStatus(JobRunStatus value); +} // namespace JobRunStatusMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunSummary.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunSummary.h new file mode 100644 index 00000000000..6ee885c8695 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobRunSummary.h @@ -0,0 +1,222 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The job run summary.

    See Also:

    AWS + * API Reference

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

    The timestamp at which job run was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline JobRunSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline JobRunSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The user who created the job run.

    + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline JobRunSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline JobRunSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline JobRunSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    The domain ID of the job run.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } + inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } + inline JobRunSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline JobRunSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline JobRunSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The end time of a job run.

    + */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } + inline JobRunSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + inline JobRunSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The error of a job run.

    + */ + inline const JobRunError& GetError() const{ return m_error; } + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + inline void SetError(const JobRunError& value) { m_errorHasBeenSet = true; m_error = value; } + inline void SetError(JobRunError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + inline JobRunSummary& WithError(const JobRunError& value) { SetError(value); return *this;} + inline JobRunSummary& WithError(JobRunError&& value) { SetError(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The job ID of a job run.

    + */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + inline JobRunSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline JobRunSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline JobRunSummary& WithJobId(const char* value) { SetJobId(value); return *this;} + ///@} + + ///@{ + /** + *

    The job type of a job run.

    + */ + inline const JobType& GetJobType() const{ return m_jobType; } + inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; } + inline void SetJobType(const JobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; } + inline void SetJobType(JobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); } + inline JobRunSummary& WithJobType(const JobType& value) { SetJobType(value); return *this;} + inline JobRunSummary& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The run ID of a job run.

    + */ + inline const Aws::String& GetRunId() const{ return m_runId; } + inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; } + inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; } + inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); } + inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); } + inline JobRunSummary& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} + inline JobRunSummary& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;} + inline JobRunSummary& WithRunId(const char* value) { SetRunId(value); return *this;} + ///@} + + ///@{ + /** + *

    The run mode of a job run.

    + */ + inline const JobRunMode& GetRunMode() const{ return m_runMode; } + inline bool RunModeHasBeenSet() const { return m_runModeHasBeenSet; } + inline void SetRunMode(const JobRunMode& value) { m_runModeHasBeenSet = true; m_runMode = value; } + inline void SetRunMode(JobRunMode&& value) { m_runModeHasBeenSet = true; m_runMode = std::move(value); } + inline JobRunSummary& WithRunMode(const JobRunMode& value) { SetRunMode(value); return *this;} + inline JobRunSummary& WithRunMode(JobRunMode&& value) { SetRunMode(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The start time of a job run.

    + */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + inline JobRunSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + inline JobRunSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The status of a job run.

    + */ + inline const JobRunStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const JobRunStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(JobRunStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline JobRunSummary& WithStatus(const JobRunStatus& value) { SetStatus(value); return *this;} + inline JobRunSummary& WithStatus(JobRunStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_domainId; + bool m_domainIdHasBeenSet = false; + + Aws::Utils::DateTime m_endTime; + bool m_endTimeHasBeenSet = false; + + JobRunError m_error; + bool m_errorHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + JobType m_jobType; + bool m_jobTypeHasBeenSet = false; + + Aws::String m_runId; + bool m_runIdHasBeenSet = false; + + JobRunMode m_runMode; + bool m_runModeHasBeenSet = false; + + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; + + JobRunStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobType.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobType.h new file mode 100644 index 00000000000..00a4141aace --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/JobType.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class JobType + { + NOT_SET, + LINEAGE + }; + +namespace JobTypeMapper +{ +AWS_DATAZONE_API JobType GetJobTypeForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForJobType(JobType value); +} // namespace JobTypeMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageEventProcessingStatus.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageEventProcessingStatus.h new file mode 100644 index 00000000000..9d38587855a --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageEventProcessingStatus.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class LineageEventProcessingStatus + { + NOT_SET, + REQUESTED, + PROCESSING, + SUCCESS, + FAILED + }; + +namespace LineageEventProcessingStatusMapper +{ +AWS_DATAZONE_API LineageEventProcessingStatus GetLineageEventProcessingStatusForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForLineageEventProcessingStatus(LineageEventProcessingStatus value); +} // namespace LineageEventProcessingStatusMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageEventSummary.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageEventSummary.h new file mode 100644 index 00000000000..36382fa38b2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageEventSummary.h @@ -0,0 +1,158 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The data lineage event summary.

    See Also:

    AWS + * API Reference

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

    The timestamp at which data lineage event was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline LineageEventSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline LineageEventSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The user who created the data lineage event.

    + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline LineageEventSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline LineageEventSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline LineageEventSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    The domain ID of the lineage event.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } + inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } + inline LineageEventSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline LineageEventSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline LineageEventSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The summary of the data lineate event.

    + */ + inline const EventSummary& GetEventSummary() const{ return m_eventSummary; } + inline bool EventSummaryHasBeenSet() const { return m_eventSummaryHasBeenSet; } + inline void SetEventSummary(const EventSummary& value) { m_eventSummaryHasBeenSet = true; m_eventSummary = value; } + inline void SetEventSummary(EventSummary&& value) { m_eventSummaryHasBeenSet = true; m_eventSummary = std::move(value); } + inline LineageEventSummary& WithEventSummary(const EventSummary& value) { SetEventSummary(value); return *this;} + inline LineageEventSummary& WithEventSummary(EventSummary&& value) { SetEventSummary(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The time of the data lineage event.

    + */ + inline const Aws::Utils::DateTime& GetEventTime() const{ return m_eventTime; } + inline bool EventTimeHasBeenSet() const { return m_eventTimeHasBeenSet; } + inline void SetEventTime(const Aws::Utils::DateTime& value) { m_eventTimeHasBeenSet = true; m_eventTime = value; } + inline void SetEventTime(Aws::Utils::DateTime&& value) { m_eventTimeHasBeenSet = true; m_eventTime = std::move(value); } + inline LineageEventSummary& WithEventTime(const Aws::Utils::DateTime& value) { SetEventTime(value); return *this;} + inline LineageEventSummary& WithEventTime(Aws::Utils::DateTime&& value) { SetEventTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the data lineage event.

    + */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline LineageEventSummary& WithId(const Aws::String& value) { SetId(value); return *this;} + inline LineageEventSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline LineageEventSummary& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The processing status of the data lineage event.

    + */ + inline const LineageEventProcessingStatus& GetProcessingStatus() const{ return m_processingStatus; } + inline bool ProcessingStatusHasBeenSet() const { return m_processingStatusHasBeenSet; } + inline void SetProcessingStatus(const LineageEventProcessingStatus& value) { m_processingStatusHasBeenSet = true; m_processingStatus = value; } + inline void SetProcessingStatus(LineageEventProcessingStatus&& value) { m_processingStatusHasBeenSet = true; m_processingStatus = std::move(value); } + inline LineageEventSummary& WithProcessingStatus(const LineageEventProcessingStatus& value) { SetProcessingStatus(value); return *this;} + inline LineageEventSummary& WithProcessingStatus(LineageEventProcessingStatus&& value) { SetProcessingStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_domainId; + bool m_domainIdHasBeenSet = false; + + EventSummary m_eventSummary; + bool m_eventSummaryHasBeenSet = false; + + Aws::Utils::DateTime m_eventTime; + bool m_eventTimeHasBeenSet = false; + + Aws::String m_id; + bool m_idHasBeenSet = false; + + LineageEventProcessingStatus m_processingStatus; + bool m_processingStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageImportStatus.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageImportStatus.h new file mode 100644 index 00000000000..faac0fe2956 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageImportStatus.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class LineageImportStatus + { + NOT_SET, + IN_PROGRESS, + SUCCESS, + FAILED, + PARTIALLY_SUCCEEDED + }; + +namespace LineageImportStatusMapper +{ +AWS_DATAZONE_API LineageImportStatus GetLineageImportStatusForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForLineageImportStatus(LineageImportStatus value); +} // namespace LineageImportStatusMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageInfo.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageInfo.h new file mode 100644 index 00000000000..5b6e4aea992 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageInfo.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The data lineage information.

    See Also:

    AWS + * API Reference

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

    The data lineage error message.

    + */ + inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } + inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } + inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } + inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } + inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } + inline LineageInfo& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} + inline LineageInfo& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} + inline LineageInfo& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} + ///@} + + ///@{ + /** + *

    The data lineage event ID.

    + */ + inline const Aws::String& GetEventId() const{ return m_eventId; } + inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; } + inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; } + inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); } + inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); } + inline LineageInfo& WithEventId(const Aws::String& value) { SetEventId(value); return *this;} + inline LineageInfo& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;} + inline LineageInfo& WithEventId(const char* value) { SetEventId(value); return *this;} + ///@} + + ///@{ + /** + *

    The data lineage event status.

    + */ + inline const LineageEventProcessingStatus& GetEventStatus() const{ return m_eventStatus; } + inline bool EventStatusHasBeenSet() const { return m_eventStatusHasBeenSet; } + inline void SetEventStatus(const LineageEventProcessingStatus& value) { m_eventStatusHasBeenSet = true; m_eventStatus = value; } + inline void SetEventStatus(LineageEventProcessingStatus&& value) { m_eventStatusHasBeenSet = true; m_eventStatus = std::move(value); } + inline LineageInfo& WithEventStatus(const LineageEventProcessingStatus& value) { SetEventStatus(value); return *this;} + inline LineageInfo& WithEventStatus(LineageEventProcessingStatus&& value) { SetEventStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_errorMessage; + bool m_errorMessageHasBeenSet = false; + + Aws::String m_eventId; + bool m_eventIdHasBeenSet = false; + + LineageEventProcessingStatus m_eventStatus; + bool m_eventStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageRunDetails.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageRunDetails.h new file mode 100644 index 00000000000..ee77be6c8fc --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageRunDetails.h @@ -0,0 +1,59 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The data lineage run details.

    See Also:

    AWS + * API Reference

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

    The SQL query run details of a data lineage run.

    + */ + inline const LineageSqlQueryRunDetails& GetSqlQueryRunDetails() const{ return m_sqlQueryRunDetails; } + inline bool SqlQueryRunDetailsHasBeenSet() const { return m_sqlQueryRunDetailsHasBeenSet; } + inline void SetSqlQueryRunDetails(const LineageSqlQueryRunDetails& value) { m_sqlQueryRunDetailsHasBeenSet = true; m_sqlQueryRunDetails = value; } + inline void SetSqlQueryRunDetails(LineageSqlQueryRunDetails&& value) { m_sqlQueryRunDetailsHasBeenSet = true; m_sqlQueryRunDetails = std::move(value); } + inline LineageRunDetails& WithSqlQueryRunDetails(const LineageSqlQueryRunDetails& value) { SetSqlQueryRunDetails(value); return *this;} + inline LineageRunDetails& WithSqlQueryRunDetails(LineageSqlQueryRunDetails&& value) { SetSqlQueryRunDetails(std::move(value)); return *this;} + ///@} + private: + + LineageSqlQueryRunDetails m_sqlQueryRunDetails; + bool m_sqlQueryRunDetailsHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageSqlQueryRunDetails.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageSqlQueryRunDetails.h new file mode 100644 index 00000000000..0533ce30c42 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageSqlQueryRunDetails.h @@ -0,0 +1,123 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The SQL query run details of a data lineage run.

    See Also:

    + * AWS + * API Reference

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

    The error message of the SQL query run details of a data lineage run.

    + */ + inline const Aws::Vector& GetErrorMessages() const{ return m_errorMessages; } + inline bool ErrorMessagesHasBeenSet() const { return m_errorMessagesHasBeenSet; } + inline void SetErrorMessages(const Aws::Vector& value) { m_errorMessagesHasBeenSet = true; m_errorMessages = value; } + inline void SetErrorMessages(Aws::Vector&& value) { m_errorMessagesHasBeenSet = true; m_errorMessages = std::move(value); } + inline LineageSqlQueryRunDetails& WithErrorMessages(const Aws::Vector& value) { SetErrorMessages(value); return *this;} + inline LineageSqlQueryRunDetails& WithErrorMessages(Aws::Vector&& value) { SetErrorMessages(std::move(value)); return *this;} + inline LineageSqlQueryRunDetails& AddErrorMessages(const Aws::String& value) { m_errorMessagesHasBeenSet = true; m_errorMessages.push_back(value); return *this; } + inline LineageSqlQueryRunDetails& AddErrorMessages(Aws::String&& value) { m_errorMessagesHasBeenSet = true; m_errorMessages.push_back(std::move(value)); return *this; } + inline LineageSqlQueryRunDetails& AddErrorMessages(const char* value) { m_errorMessagesHasBeenSet = true; m_errorMessages.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The number of queries that failed in the SQL query run details of a data + * lineage run.

    + */ + inline int GetNumQueriesFailed() const{ return m_numQueriesFailed; } + inline bool NumQueriesFailedHasBeenSet() const { return m_numQueriesFailedHasBeenSet; } + inline void SetNumQueriesFailed(int value) { m_numQueriesFailedHasBeenSet = true; m_numQueriesFailed = value; } + inline LineageSqlQueryRunDetails& WithNumQueriesFailed(int value) { SetNumQueriesFailed(value); return *this;} + ///@} + + ///@{ + /** + *

    The query end time in the SQL query run details of a data lineage run.

    + */ + inline const Aws::Utils::DateTime& GetQueryEndTime() const{ return m_queryEndTime; } + inline bool QueryEndTimeHasBeenSet() const { return m_queryEndTimeHasBeenSet; } + inline void SetQueryEndTime(const Aws::Utils::DateTime& value) { m_queryEndTimeHasBeenSet = true; m_queryEndTime = value; } + inline void SetQueryEndTime(Aws::Utils::DateTime&& value) { m_queryEndTimeHasBeenSet = true; m_queryEndTime = std::move(value); } + inline LineageSqlQueryRunDetails& WithQueryEndTime(const Aws::Utils::DateTime& value) { SetQueryEndTime(value); return *this;} + inline LineageSqlQueryRunDetails& WithQueryEndTime(Aws::Utils::DateTime&& value) { SetQueryEndTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The query start time in the SQL query run details of a data lineage run.

    + */ + inline const Aws::Utils::DateTime& GetQueryStartTime() const{ return m_queryStartTime; } + inline bool QueryStartTimeHasBeenSet() const { return m_queryStartTimeHasBeenSet; } + inline void SetQueryStartTime(const Aws::Utils::DateTime& value) { m_queryStartTimeHasBeenSet = true; m_queryStartTime = value; } + inline void SetQueryStartTime(Aws::Utils::DateTime&& value) { m_queryStartTimeHasBeenSet = true; m_queryStartTime = std::move(value); } + inline LineageSqlQueryRunDetails& WithQueryStartTime(const Aws::Utils::DateTime& value) { SetQueryStartTime(value); return *this;} + inline LineageSqlQueryRunDetails& WithQueryStartTime(Aws::Utils::DateTime&& value) { SetQueryStartTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The total queries processed in the SQL query run details of a data lineage + * run.

    + */ + inline int GetTotalQueriesProcessed() const{ return m_totalQueriesProcessed; } + inline bool TotalQueriesProcessedHasBeenSet() const { return m_totalQueriesProcessedHasBeenSet; } + inline void SetTotalQueriesProcessed(int value) { m_totalQueriesProcessedHasBeenSet = true; m_totalQueriesProcessed = value; } + inline LineageSqlQueryRunDetails& WithTotalQueriesProcessed(int value) { SetTotalQueriesProcessed(value); return *this;} + ///@} + private: + + Aws::Vector m_errorMessages; + bool m_errorMessagesHasBeenSet = false; + + int m_numQueriesFailed; + bool m_numQueriesFailedHasBeenSet = false; + + Aws::Utils::DateTime m_queryEndTime; + bool m_queryEndTimeHasBeenSet = false; + + Aws::Utils::DateTime m_queryStartTime; + bool m_queryStartTimeHasBeenSet = false; + + int m_totalQueriesProcessed; + bool m_totalQueriesProcessedHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageSyncSchedule.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageSyncSchedule.h new file mode 100644 index 00000000000..b559ff3e7a4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LineageSyncSchedule.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The lineage sync schedule.

    See Also:

    AWS + * API Reference

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

    The lineage sync schedule.

    + */ + inline const Aws::String& GetSchedule() const{ return m_schedule; } + inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } + inline void SetSchedule(const Aws::String& value) { m_scheduleHasBeenSet = true; m_schedule = value; } + inline void SetSchedule(Aws::String&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } + inline void SetSchedule(const char* value) { m_scheduleHasBeenSet = true; m_schedule.assign(value); } + inline LineageSyncSchedule& WithSchedule(const Aws::String& value) { SetSchedule(value); return *this;} + inline LineageSyncSchedule& WithSchedule(Aws::String&& value) { SetSchedule(std::move(value)); return *this;} + inline LineageSyncSchedule& WithSchedule(const char* value) { SetSchedule(value); return *this;} + ///@} + private: + + Aws::String m_schedule; + bool m_scheduleHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListConnectionsRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListConnectionsRequest.h new file mode 100644 index 00000000000..cedb3820dbf --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListConnectionsRequest.h @@ -0,0 +1,198 @@ +/** + * 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 Http +{ + class URI; +} //namespace Http +namespace DataZone +{ +namespace Model +{ + + /** + */ + class ListConnectionsRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API ListConnectionsRequest(); + + // 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 "ListConnections"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The ID of the domain where you want to list connections.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline ListConnectionsRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline ListConnectionsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline ListConnectionsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the environment where you want to list connections.

    + */ + inline const Aws::String& GetEnvironmentIdentifier() const{ return m_environmentIdentifier; } + inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; } + inline void SetEnvironmentIdentifier(const Aws::String& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = value; } + inline void SetEnvironmentIdentifier(Aws::String&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::move(value); } + inline void SetEnvironmentIdentifier(const char* value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier.assign(value); } + inline ListConnectionsRequest& WithEnvironmentIdentifier(const Aws::String& value) { SetEnvironmentIdentifier(value); return *this;} + inline ListConnectionsRequest& WithEnvironmentIdentifier(Aws::String&& value) { SetEnvironmentIdentifier(std::move(value)); return *this;} + inline ListConnectionsRequest& WithEnvironmentIdentifier(const char* value) { SetEnvironmentIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The maximum number of connections to return in a single call to + * ListConnections. When the number of connections to be listed is greater than the + * value of MaxResults, the response contains a NextToken value that you can use in + * a subsequent call to ListConnections to list the next set of connections.

    + */ + 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 ListConnectionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the connection.

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

    When the number of connections is greater than the default value for the + * MaxResults parameter, or if you explicitly specify a value for MaxResults that + * is less than the number of connections, the response includes a pagination token + * named NextToken. You can specify this NextToken value in a subsequent call to + * ListConnections to list the next set of connections.

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

    The ID of the project where you want to list connections.

    + */ + inline const Aws::String& GetProjectIdentifier() const{ return m_projectIdentifier; } + inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; } + inline void SetProjectIdentifier(const Aws::String& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = value; } + inline void SetProjectIdentifier(Aws::String&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::move(value); } + inline void SetProjectIdentifier(const char* value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier.assign(value); } + inline ListConnectionsRequest& WithProjectIdentifier(const Aws::String& value) { SetProjectIdentifier(value); return *this;} + inline ListConnectionsRequest& WithProjectIdentifier(Aws::String&& value) { SetProjectIdentifier(std::move(value)); return *this;} + inline ListConnectionsRequest& WithProjectIdentifier(const char* value) { SetProjectIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    Specifies how you want to sort the listed connections.

    + */ + inline const SortFieldConnection& GetSortBy() const{ return m_sortBy; } + inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; } + inline void SetSortBy(const SortFieldConnection& value) { m_sortByHasBeenSet = true; m_sortBy = value; } + inline void SetSortBy(SortFieldConnection&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); } + inline ListConnectionsRequest& WithSortBy(const SortFieldConnection& value) { SetSortBy(value); return *this;} + inline ListConnectionsRequest& WithSortBy(SortFieldConnection&& value) { SetSortBy(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Specifies the sort order for the listed connections.

    + */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + inline ListConnectionsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + inline ListConnectionsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The type of connection.

    + */ + inline const ConnectionType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const ConnectionType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(ConnectionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline ListConnectionsRequest& WithType(const ConnectionType& value) { SetType(value); return *this;} + inline ListConnectionsRequest& WithType(ConnectionType&& value) { SetType(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_environmentIdentifier; + bool m_environmentIdentifierHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_projectIdentifier; + bool m_projectIdentifierHasBeenSet = false; + + SortFieldConnection m_sortBy; + bool m_sortByHasBeenSet = false; + + SortOrder m_sortOrder; + bool m_sortOrderHasBeenSet = false; + + ConnectionType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListConnectionsResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListConnectionsResult.h new file mode 100644 index 00000000000..66faff90605 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListConnectionsResult.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + class ListConnectionsResult + { + public: + AWS_DATAZONE_API ListConnectionsResult(); + AWS_DATAZONE_API ListConnectionsResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API ListConnectionsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The results of the ListConnections action.

    + */ + inline const Aws::Vector& GetItems() const{ return m_items; } + inline void SetItems(const Aws::Vector& value) { m_items = value; } + inline void SetItems(Aws::Vector&& value) { m_items = std::move(value); } + inline ListConnectionsResult& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} + inline ListConnectionsResult& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} + inline ListConnectionsResult& AddItems(const ConnectionSummary& value) { m_items.push_back(value); return *this; } + inline ListConnectionsResult& AddItems(ConnectionSummary&& value) { m_items.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    When the number of connections is greater than the default value for the + * MaxResults parameter, or if you explicitly specify a value for MaxResults that + * is less than the number of connections, the response includes a pagination token + * named NextToken. You can specify this NextToken value in a subsequent call to + * ListConnections to list the next set of connections.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListConnectionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListConnectionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListConnectionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListConnectionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListConnectionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListConnectionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_items; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListDataSourcesRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListDataSourcesRequest.h index e607b346c2b..6f6936d8ddd 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListDataSourcesRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListDataSourcesRequest.h @@ -39,6 +39,20 @@ namespace Model AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + ///@{ + /** + *

    The ID of the connection.

    + */ + inline const Aws::String& GetConnectionIdentifier() const{ return m_connectionIdentifier; } + inline bool ConnectionIdentifierHasBeenSet() const { return m_connectionIdentifierHasBeenSet; } + inline void SetConnectionIdentifier(const Aws::String& value) { m_connectionIdentifierHasBeenSet = true; m_connectionIdentifier = value; } + inline void SetConnectionIdentifier(Aws::String&& value) { m_connectionIdentifierHasBeenSet = true; m_connectionIdentifier = std::move(value); } + inline void SetConnectionIdentifier(const char* value) { m_connectionIdentifierHasBeenSet = true; m_connectionIdentifier.assign(value); } + inline ListDataSourcesRequest& WithConnectionIdentifier(const Aws::String& value) { SetConnectionIdentifier(value); return *this;} + inline ListDataSourcesRequest& WithConnectionIdentifier(Aws::String&& value) { SetConnectionIdentifier(std::move(value)); return *this;} + inline ListDataSourcesRequest& WithConnectionIdentifier(const char* value) { SetConnectionIdentifier(value); return *this;} + ///@} + ///@{ /** *

    The identifier of the Amazon DataZone domain in which to list the data @@ -156,6 +170,9 @@ namespace Model ///@} private: + Aws::String m_connectionIdentifier; + bool m_connectionIdentifierHasBeenSet = false; + Aws::String m_domainIdentifier; bool m_domainIdentifierHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListJobRunsRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListJobRunsRequest.h new file mode 100644 index 00000000000..5858c0e615e --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListJobRunsRequest.h @@ -0,0 +1,148 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace DataZone +{ +namespace Model +{ + + /** + */ + class ListJobRunsRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API ListJobRunsRequest(); + + // 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 "ListJobRuns"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The ID of the domain where you want to list job runs.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline ListJobRunsRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline ListJobRunsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline ListJobRunsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the job run.

    + */ + inline const Aws::String& GetJobIdentifier() const{ return m_jobIdentifier; } + inline bool JobIdentifierHasBeenSet() const { return m_jobIdentifierHasBeenSet; } + inline void SetJobIdentifier(const Aws::String& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = value; } + inline void SetJobIdentifier(Aws::String&& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = std::move(value); } + inline void SetJobIdentifier(const char* value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier.assign(value); } + inline ListJobRunsRequest& WithJobIdentifier(const Aws::String& value) { SetJobIdentifier(value); return *this;} + inline ListJobRunsRequest& WithJobIdentifier(Aws::String&& value) { SetJobIdentifier(std::move(value)); return *this;} + inline ListJobRunsRequest& WithJobIdentifier(const char* value) { SetJobIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The maximum number of job runs to return in a single call to ListJobRuns. + * When the number of job runs to be listed is greater than the value of + * MaxResults, the response contains a NextToken value that you can use in a + * subsequent call to ListJobRuns to list the next set of job runs.

    + */ + 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 ListJobRunsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

    When the number of job runs is greater than the default value for the + * MaxResults parameter, or if you explicitly specify a value for MaxResults that + * is less than the number of job runs, the response includes a pagination token + * named NextToken. You can specify this NextToken value in a subsequent call to + * ListJobRuns to list the next set of job runs.

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

    Specifies the order in which job runs are to be sorted.

    + */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + inline ListJobRunsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + inline ListJobRunsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The status of a job run.

    + */ + inline const JobRunStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const JobRunStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(JobRunStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline ListJobRunsRequest& WithStatus(const JobRunStatus& value) { SetStatus(value); return *this;} + inline ListJobRunsRequest& WithStatus(JobRunStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_jobIdentifier; + bool m_jobIdentifierHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + SortOrder m_sortOrder; + bool m_sortOrderHasBeenSet = false; + + JobRunStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListJobRunsResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListJobRunsResult.h new file mode 100644 index 00000000000..9f35383ebdf --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListJobRunsResult.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + class ListJobRunsResult + { + public: + AWS_DATAZONE_API ListJobRunsResult(); + AWS_DATAZONE_API ListJobRunsResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API ListJobRunsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The results of the ListJobRuns action.

    + */ + inline const Aws::Vector& GetItems() const{ return m_items; } + inline void SetItems(const Aws::Vector& value) { m_items = value; } + inline void SetItems(Aws::Vector&& value) { m_items = std::move(value); } + inline ListJobRunsResult& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} + inline ListJobRunsResult& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} + inline ListJobRunsResult& AddItems(const JobRunSummary& value) { m_items.push_back(value); return *this; } + inline ListJobRunsResult& AddItems(JobRunSummary&& value) { m_items.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    When the number of job runs is greater than the default value for the + * MaxResults parameter, or if you explicitly specify a value for MaxResults that + * is less than the number of job runs, the response includes a pagination token + * named NextToken. You can specify this NextToken value in a subsequent call to + * ListJobRuns to list the next set of job runs.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListJobRunsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListJobRunsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListJobRunsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListJobRunsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListJobRunsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListJobRunsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_items; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListLineageEventsRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListLineageEventsRequest.h new file mode 100644 index 00000000000..a4f1e544160 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListLineageEventsRequest.h @@ -0,0 +1,163 @@ +/** + * 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 Http +{ + class URI; +} //namespace Http +namespace DataZone +{ +namespace Model +{ + + /** + */ + class ListLineageEventsRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API ListLineageEventsRequest(); + + // 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 "ListLineageEvents"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The ID of the domain where you want to list lineage events.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline ListLineageEventsRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline ListLineageEventsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline ListLineageEventsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The maximum number of lineage events to return in a single call to + * ListLineageEvents. When the number of lineage events to be listed is greater + * than the value of MaxResults, the response contains a NextToken value that you + * can use in a subsequent call to ListLineageEvents to list the next set of + * lineage events.

    + */ + 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 ListLineageEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

    When the number of lineage events is greater than the default value for the + * MaxResults parameter, or if you explicitly specify a value for MaxResults that + * is less than the number of lineage events, the response includes a pagination + * token named NextToken. You can specify this NextToken value in a subsequent call + * to ListLineageEvents to list the next set of lineage events.

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

    The processing status of a lineage event.

    + */ + inline const LineageEventProcessingStatus& GetProcessingStatus() const{ return m_processingStatus; } + inline bool ProcessingStatusHasBeenSet() const { return m_processingStatusHasBeenSet; } + inline void SetProcessingStatus(const LineageEventProcessingStatus& value) { m_processingStatusHasBeenSet = true; m_processingStatus = value; } + inline void SetProcessingStatus(LineageEventProcessingStatus&& value) { m_processingStatusHasBeenSet = true; m_processingStatus = std::move(value); } + inline ListLineageEventsRequest& WithProcessingStatus(const LineageEventProcessingStatus& value) { SetProcessingStatus(value); return *this;} + inline ListLineageEventsRequest& WithProcessingStatus(LineageEventProcessingStatus&& value) { SetProcessingStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The sort order of the lineage events.

    + */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + inline ListLineageEventsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + inline ListLineageEventsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The after timestamp of a lineage event.

    + */ + inline const Aws::Utils::DateTime& GetTimestampAfter() const{ return m_timestampAfter; } + inline bool TimestampAfterHasBeenSet() const { return m_timestampAfterHasBeenSet; } + inline void SetTimestampAfter(const Aws::Utils::DateTime& value) { m_timestampAfterHasBeenSet = true; m_timestampAfter = value; } + inline void SetTimestampAfter(Aws::Utils::DateTime&& value) { m_timestampAfterHasBeenSet = true; m_timestampAfter = std::move(value); } + inline ListLineageEventsRequest& WithTimestampAfter(const Aws::Utils::DateTime& value) { SetTimestampAfter(value); return *this;} + inline ListLineageEventsRequest& WithTimestampAfter(Aws::Utils::DateTime&& value) { SetTimestampAfter(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The before timestamp of a lineage event.

    + */ + inline const Aws::Utils::DateTime& GetTimestampBefore() const{ return m_timestampBefore; } + inline bool TimestampBeforeHasBeenSet() const { return m_timestampBeforeHasBeenSet; } + inline void SetTimestampBefore(const Aws::Utils::DateTime& value) { m_timestampBeforeHasBeenSet = true; m_timestampBefore = value; } + inline void SetTimestampBefore(Aws::Utils::DateTime&& value) { m_timestampBeforeHasBeenSet = true; m_timestampBefore = std::move(value); } + inline ListLineageEventsRequest& WithTimestampBefore(const Aws::Utils::DateTime& value) { SetTimestampBefore(value); return *this;} + inline ListLineageEventsRequest& WithTimestampBefore(Aws::Utils::DateTime&& value) { SetTimestampBefore(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + LineageEventProcessingStatus m_processingStatus; + bool m_processingStatusHasBeenSet = false; + + SortOrder m_sortOrder; + bool m_sortOrderHasBeenSet = false; + + Aws::Utils::DateTime m_timestampAfter; + bool m_timestampAfterHasBeenSet = false; + + Aws::Utils::DateTime m_timestampBefore; + bool m_timestampBeforeHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListLineageEventsResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListLineageEventsResult.h new file mode 100644 index 00000000000..f5aaa4965e8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListLineageEventsResult.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + class ListLineageEventsResult + { + public: + AWS_DATAZONE_API ListLineageEventsResult(); + AWS_DATAZONE_API ListLineageEventsResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API ListLineageEventsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The results of the ListLineageEvents action.

    + */ + inline const Aws::Vector& GetItems() const{ return m_items; } + inline void SetItems(const Aws::Vector& value) { m_items = value; } + inline void SetItems(Aws::Vector&& value) { m_items = std::move(value); } + inline ListLineageEventsResult& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} + inline ListLineageEventsResult& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} + inline ListLineageEventsResult& AddItems(const LineageEventSummary& value) { m_items.push_back(value); return *this; } + inline ListLineageEventsResult& AddItems(LineageEventSummary&& value) { m_items.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    When the number of lineage events is greater than the default value for the + * MaxResults parameter, or if you explicitly specify a value for MaxResults that + * is less than the number of lineage events, the response includes a pagination + * token named NextToken. You can specify this NextToken value in a subsequent call + * to ListLineageEvents to list the next set of lineage events.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListLineageEventsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListLineageEventsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListLineageEventsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListLineageEventsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListLineageEventsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListLineageEventsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_items; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListProjectProfilesRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListProjectProfilesRequest.h new file mode 100644 index 00000000000..9194eb2f24a --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListProjectProfilesRequest.h @@ -0,0 +1,149 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace DataZone +{ +namespace Model +{ + + /** + */ + class ListProjectProfilesRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API ListProjectProfilesRequest(); + + // 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 "ListProjectProfiles"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The ID of the domain where you want to list project profiles.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline ListProjectProfilesRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline ListProjectProfilesRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline ListProjectProfilesRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The maximum number of project profiles to return in a single call to + * ListProjectProfiles. When the number of project profiles to be listed is greater + * than the value of MaxResults, the response contains a NextToken value that you + * can use in a subsequent call to ListProjectProfiles to list the next set of + * project profiles.

    + */ + 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 ListProjectProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of a project profile.

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

    When the number of project profiles is greater than the default value for the + * MaxResults parameter, or if you explicitly specify a value for MaxResults that + * is less than the number of project profiles, the response includes a pagination + * token named NextToken. You can specify this NextToken value in a subsequent call + * to ListProjectProfiles to list the next set of project profiles.

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

    Specifies by what to sort project profiles.

    + */ + inline const SortFieldProject& GetSortBy() const{ return m_sortBy; } + inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; } + inline void SetSortBy(const SortFieldProject& value) { m_sortByHasBeenSet = true; m_sortBy = value; } + inline void SetSortBy(SortFieldProject&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); } + inline ListProjectProfilesRequest& WithSortBy(const SortFieldProject& value) { SetSortBy(value); return *this;} + inline ListProjectProfilesRequest& WithSortBy(SortFieldProject&& value) { SetSortBy(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Specifies the sort order of the project profiles.

    + */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + inline ListProjectProfilesRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + inline ListProjectProfilesRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + SortFieldProject m_sortBy; + bool m_sortByHasBeenSet = false; + + SortOrder m_sortOrder; + bool m_sortOrderHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListProjectProfilesResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListProjectProfilesResult.h new file mode 100644 index 00000000000..c28caf24431 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListProjectProfilesResult.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + class ListProjectProfilesResult + { + public: + AWS_DATAZONE_API ListProjectProfilesResult(); + AWS_DATAZONE_API ListProjectProfilesResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API ListProjectProfilesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The results of the ListProjectProfiles action.

    + */ + inline const Aws::Vector& GetItems() const{ return m_items; } + inline void SetItems(const Aws::Vector& value) { m_items = value; } + inline void SetItems(Aws::Vector&& value) { m_items = std::move(value); } + inline ListProjectProfilesResult& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} + inline ListProjectProfilesResult& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} + inline ListProjectProfilesResult& AddItems(const ProjectProfileSummary& value) { m_items.push_back(value); return *this; } + inline ListProjectProfilesResult& AddItems(ProjectProfileSummary&& value) { m_items.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    When the number of project profiles is greater than the default value for the + * MaxResults parameter, or if you explicitly specify a value for MaxResults that + * is less than the number of project profiles, the response includes a pagination + * token named NextToken. You can specify this NextToken value in a subsequent call + * to ListProjectProfiles to list the next set of project profiles.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListProjectProfilesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListProjectProfilesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListProjectProfilesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListProjectProfilesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListProjectProfilesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListProjectProfilesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_items; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ManagedPolicyType.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ManagedPolicyType.h index 31942192885..568de6ab320 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ManagedPolicyType.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ManagedPolicyType.h @@ -26,7 +26,9 @@ namespace Model CREATE_PROJECT, CREATE_ENVIRONMENT_PROFILE, DELEGATE_CREATE_ENVIRONMENT_PROFILE, - CREATE_ENVIRONMENT + CREATE_ENVIRONMENT, + CREATE_ENVIRONMENT_FROM_BLUEPRINT, + CREATE_PROJECT_FROM_PROJECT_PROFILE }; namespace ManagedPolicyTypeMapper diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NameIdentifier.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NameIdentifier.h new file mode 100644 index 00000000000..dd5f3ed9f62 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NameIdentifier.h @@ -0,0 +1,78 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The name identifier.

    See Also:

    AWS + * API Reference

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

    The name in the name identifier.

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

    The namespace in the name identifier.

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

    The OAuth2Client application.

    See Also:

    AWS + * API Reference

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

    The Amazon Web Services managed client application reference in the + * OAuth2Client application.

    + */ + inline const Aws::String& GetAWSManagedClientApplicationReference() const{ return m_aWSManagedClientApplicationReference; } + inline bool AWSManagedClientApplicationReferenceHasBeenSet() const { return m_aWSManagedClientApplicationReferenceHasBeenSet; } + inline void SetAWSManagedClientApplicationReference(const Aws::String& value) { m_aWSManagedClientApplicationReferenceHasBeenSet = true; m_aWSManagedClientApplicationReference = value; } + inline void SetAWSManagedClientApplicationReference(Aws::String&& value) { m_aWSManagedClientApplicationReferenceHasBeenSet = true; m_aWSManagedClientApplicationReference = std::move(value); } + inline void SetAWSManagedClientApplicationReference(const char* value) { m_aWSManagedClientApplicationReferenceHasBeenSet = true; m_aWSManagedClientApplicationReference.assign(value); } + inline OAuth2ClientApplication& WithAWSManagedClientApplicationReference(const Aws::String& value) { SetAWSManagedClientApplicationReference(value); return *this;} + inline OAuth2ClientApplication& WithAWSManagedClientApplicationReference(Aws::String&& value) { SetAWSManagedClientApplicationReference(std::move(value)); return *this;} + inline OAuth2ClientApplication& WithAWSManagedClientApplicationReference(const char* value) { SetAWSManagedClientApplicationReference(value); return *this;} + ///@} + + ///@{ + /** + *

    The user managed client application client ID in the OAuth2Client + * application.

    + */ + inline const Aws::String& GetUserManagedClientApplicationClientId() const{ return m_userManagedClientApplicationClientId; } + inline bool UserManagedClientApplicationClientIdHasBeenSet() const { return m_userManagedClientApplicationClientIdHasBeenSet; } + inline void SetUserManagedClientApplicationClientId(const Aws::String& value) { m_userManagedClientApplicationClientIdHasBeenSet = true; m_userManagedClientApplicationClientId = value; } + inline void SetUserManagedClientApplicationClientId(Aws::String&& value) { m_userManagedClientApplicationClientIdHasBeenSet = true; m_userManagedClientApplicationClientId = std::move(value); } + inline void SetUserManagedClientApplicationClientId(const char* value) { m_userManagedClientApplicationClientIdHasBeenSet = true; m_userManagedClientApplicationClientId.assign(value); } + inline OAuth2ClientApplication& WithUserManagedClientApplicationClientId(const Aws::String& value) { SetUserManagedClientApplicationClientId(value); return *this;} + inline OAuth2ClientApplication& WithUserManagedClientApplicationClientId(Aws::String&& value) { SetUserManagedClientApplicationClientId(std::move(value)); return *this;} + inline OAuth2ClientApplication& WithUserManagedClientApplicationClientId(const char* value) { SetUserManagedClientApplicationClientId(value); return *this;} + ///@} + private: + + Aws::String m_aWSManagedClientApplicationReference; + bool m_aWSManagedClientApplicationReferenceHasBeenSet = false; + + Aws::String m_userManagedClientApplicationClientId; + bool m_userManagedClientApplicationClientIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OAuth2GrantType.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OAuth2GrantType.h new file mode 100644 index 00000000000..6602c510bfb --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OAuth2GrantType.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class OAuth2GrantType + { + NOT_SET, + AUTHORIZATION_CODE, + CLIENT_CREDENTIALS, + JWT_BEARER + }; + +namespace OAuth2GrantTypeMapper +{ +AWS_DATAZONE_API OAuth2GrantType GetOAuth2GrantTypeForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForOAuth2GrantType(OAuth2GrantType value); +} // namespace OAuth2GrantTypeMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OAuth2Properties.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OAuth2Properties.h new file mode 100644 index 00000000000..0ad246a7dac --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OAuth2Properties.h @@ -0,0 +1,148 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The OAuth2 properties.

    See Also:

    AWS + * API Reference

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

    The authorization code properties of the OAuth2 properties.

    + */ + inline const AuthorizationCodeProperties& GetAuthorizationCodeProperties() const{ return m_authorizationCodeProperties; } + inline bool AuthorizationCodePropertiesHasBeenSet() const { return m_authorizationCodePropertiesHasBeenSet; } + inline void SetAuthorizationCodeProperties(const AuthorizationCodeProperties& value) { m_authorizationCodePropertiesHasBeenSet = true; m_authorizationCodeProperties = value; } + inline void SetAuthorizationCodeProperties(AuthorizationCodeProperties&& value) { m_authorizationCodePropertiesHasBeenSet = true; m_authorizationCodeProperties = std::move(value); } + inline OAuth2Properties& WithAuthorizationCodeProperties(const AuthorizationCodeProperties& value) { SetAuthorizationCodeProperties(value); return *this;} + inline OAuth2Properties& WithAuthorizationCodeProperties(AuthorizationCodeProperties&& value) { SetAuthorizationCodeProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The OAuth2 client application of the OAuth2 properties.

    + */ + inline const OAuth2ClientApplication& GetOAuth2ClientApplication() const{ return m_oAuth2ClientApplication; } + inline bool OAuth2ClientApplicationHasBeenSet() const { return m_oAuth2ClientApplicationHasBeenSet; } + inline void SetOAuth2ClientApplication(const OAuth2ClientApplication& value) { m_oAuth2ClientApplicationHasBeenSet = true; m_oAuth2ClientApplication = value; } + inline void SetOAuth2ClientApplication(OAuth2ClientApplication&& value) { m_oAuth2ClientApplicationHasBeenSet = true; m_oAuth2ClientApplication = std::move(value); } + inline OAuth2Properties& WithOAuth2ClientApplication(const OAuth2ClientApplication& value) { SetOAuth2ClientApplication(value); return *this;} + inline OAuth2Properties& WithOAuth2ClientApplication(OAuth2ClientApplication&& value) { SetOAuth2ClientApplication(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The OAuth2 credentials of the OAuth2 properties.

    + */ + inline const GlueOAuth2Credentials& GetOAuth2Credentials() const{ return m_oAuth2Credentials; } + inline bool OAuth2CredentialsHasBeenSet() const { return m_oAuth2CredentialsHasBeenSet; } + inline void SetOAuth2Credentials(const GlueOAuth2Credentials& value) { m_oAuth2CredentialsHasBeenSet = true; m_oAuth2Credentials = value; } + inline void SetOAuth2Credentials(GlueOAuth2Credentials&& value) { m_oAuth2CredentialsHasBeenSet = true; m_oAuth2Credentials = std::move(value); } + inline OAuth2Properties& WithOAuth2Credentials(const GlueOAuth2Credentials& value) { SetOAuth2Credentials(value); return *this;} + inline OAuth2Properties& WithOAuth2Credentials(GlueOAuth2Credentials&& value) { SetOAuth2Credentials(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The OAuth2 grant type of the OAuth2 properties.

    + */ + inline const OAuth2GrantType& GetOAuth2GrantType() const{ return m_oAuth2GrantType; } + inline bool OAuth2GrantTypeHasBeenSet() const { return m_oAuth2GrantTypeHasBeenSet; } + inline void SetOAuth2GrantType(const OAuth2GrantType& value) { m_oAuth2GrantTypeHasBeenSet = true; m_oAuth2GrantType = value; } + inline void SetOAuth2GrantType(OAuth2GrantType&& value) { m_oAuth2GrantTypeHasBeenSet = true; m_oAuth2GrantType = std::move(value); } + inline OAuth2Properties& WithOAuth2GrantType(const OAuth2GrantType& value) { SetOAuth2GrantType(value); return *this;} + inline OAuth2Properties& WithOAuth2GrantType(OAuth2GrantType&& value) { SetOAuth2GrantType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The OAuth2 token URL of the OAuth2 properties.

    + */ + inline const Aws::String& GetTokenUrl() const{ return m_tokenUrl; } + inline bool TokenUrlHasBeenSet() const { return m_tokenUrlHasBeenSet; } + inline void SetTokenUrl(const Aws::String& value) { m_tokenUrlHasBeenSet = true; m_tokenUrl = value; } + inline void SetTokenUrl(Aws::String&& value) { m_tokenUrlHasBeenSet = true; m_tokenUrl = std::move(value); } + inline void SetTokenUrl(const char* value) { m_tokenUrlHasBeenSet = true; m_tokenUrl.assign(value); } + inline OAuth2Properties& WithTokenUrl(const Aws::String& value) { SetTokenUrl(value); return *this;} + inline OAuth2Properties& WithTokenUrl(Aws::String&& value) { SetTokenUrl(std::move(value)); return *this;} + inline OAuth2Properties& WithTokenUrl(const char* value) { SetTokenUrl(value); return *this;} + ///@} + + ///@{ + /** + *

    The OAuth2 token URL parameter map of the OAuth2 properties.

    + */ + inline const Aws::Map& GetTokenUrlParametersMap() const{ return m_tokenUrlParametersMap; } + inline bool TokenUrlParametersMapHasBeenSet() const { return m_tokenUrlParametersMapHasBeenSet; } + inline void SetTokenUrlParametersMap(const Aws::Map& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap = value; } + inline void SetTokenUrlParametersMap(Aws::Map&& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap = std::move(value); } + inline OAuth2Properties& WithTokenUrlParametersMap(const Aws::Map& value) { SetTokenUrlParametersMap(value); return *this;} + inline OAuth2Properties& WithTokenUrlParametersMap(Aws::Map&& value) { SetTokenUrlParametersMap(std::move(value)); return *this;} + inline OAuth2Properties& AddTokenUrlParametersMap(const Aws::String& key, const Aws::String& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(key, value); return *this; } + inline OAuth2Properties& AddTokenUrlParametersMap(Aws::String&& key, const Aws::String& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(std::move(key), value); return *this; } + inline OAuth2Properties& AddTokenUrlParametersMap(const Aws::String& key, Aws::String&& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(key, std::move(value)); return *this; } + inline OAuth2Properties& AddTokenUrlParametersMap(Aws::String&& key, Aws::String&& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(std::move(key), std::move(value)); return *this; } + inline OAuth2Properties& AddTokenUrlParametersMap(const char* key, Aws::String&& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(key, std::move(value)); return *this; } + inline OAuth2Properties& AddTokenUrlParametersMap(Aws::String&& key, const char* value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(std::move(key), value); return *this; } + inline OAuth2Properties& AddTokenUrlParametersMap(const char* key, const char* value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(key, value); return *this; } + ///@} + private: + + AuthorizationCodeProperties m_authorizationCodeProperties; + bool m_authorizationCodePropertiesHasBeenSet = false; + + OAuth2ClientApplication m_oAuth2ClientApplication; + bool m_oAuth2ClientApplicationHasBeenSet = false; + + GlueOAuth2Credentials m_oAuth2Credentials; + bool m_oAuth2CredentialsHasBeenSet = false; + + OAuth2GrantType m_oAuth2GrantType; + bool m_oAuth2GrantTypeHasBeenSet = false; + + Aws::String m_tokenUrl; + bool m_tokenUrlHasBeenSet = false; + + Aws::Map m_tokenUrlParametersMap; + bool m_tokenUrlParametersMapHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OpenLineageRunEventSummary.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OpenLineageRunEventSummary.h new file mode 100644 index 00000000000..c4802931321 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OpenLineageRunEventSummary.h @@ -0,0 +1,128 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The open lineage run event summary.

    See Also:

    AWS + * API Reference

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

    The event type of the open lineage run event summary.

    + */ + inline const OpenLineageRunState& GetEventType() const{ return m_eventType; } + inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; } + inline void SetEventType(const OpenLineageRunState& value) { m_eventTypeHasBeenSet = true; m_eventType = value; } + inline void SetEventType(OpenLineageRunState&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); } + inline OpenLineageRunEventSummary& WithEventType(const OpenLineageRunState& value) { SetEventType(value); return *this;} + inline OpenLineageRunEventSummary& WithEventType(OpenLineageRunState&& value) { SetEventType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The inputs of the open lineage run event summary.

    + */ + inline const Aws::Vector& GetInputs() const{ return m_inputs; } + inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; } + inline void SetInputs(const Aws::Vector& value) { m_inputsHasBeenSet = true; m_inputs = value; } + inline void SetInputs(Aws::Vector&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); } + inline OpenLineageRunEventSummary& WithInputs(const Aws::Vector& value) { SetInputs(value); return *this;} + inline OpenLineageRunEventSummary& WithInputs(Aws::Vector&& value) { SetInputs(std::move(value)); return *this;} + inline OpenLineageRunEventSummary& AddInputs(const NameIdentifier& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } + inline OpenLineageRunEventSummary& AddInputs(NameIdentifier&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The job of the open lineage run event summary.

    + */ + inline const NameIdentifier& GetJob() const{ return m_job; } + inline bool JobHasBeenSet() const { return m_jobHasBeenSet; } + inline void SetJob(const NameIdentifier& value) { m_jobHasBeenSet = true; m_job = value; } + inline void SetJob(NameIdentifier&& value) { m_jobHasBeenSet = true; m_job = std::move(value); } + inline OpenLineageRunEventSummary& WithJob(const NameIdentifier& value) { SetJob(value); return *this;} + inline OpenLineageRunEventSummary& WithJob(NameIdentifier&& value) { SetJob(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The outputs of the open lineage run event summary.

    + */ + inline const Aws::Vector& GetOutputs() const{ return m_outputs; } + inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; } + inline void SetOutputs(const Aws::Vector& value) { m_outputsHasBeenSet = true; m_outputs = value; } + inline void SetOutputs(Aws::Vector&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); } + inline OpenLineageRunEventSummary& WithOutputs(const Aws::Vector& value) { SetOutputs(value); return *this;} + inline OpenLineageRunEventSummary& WithOutputs(Aws::Vector&& value) { SetOutputs(std::move(value)); return *this;} + inline OpenLineageRunEventSummary& AddOutputs(const NameIdentifier& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; } + inline OpenLineageRunEventSummary& AddOutputs(NameIdentifier&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The runID of the open lineage run event summary.

    + */ + inline const Aws::String& GetRunId() const{ return m_runId; } + inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; } + inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; } + inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); } + inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); } + inline OpenLineageRunEventSummary& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} + inline OpenLineageRunEventSummary& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;} + inline OpenLineageRunEventSummary& WithRunId(const char* value) { SetRunId(value); return *this;} + ///@} + private: + + OpenLineageRunState m_eventType; + bool m_eventTypeHasBeenSet = false; + + Aws::Vector m_inputs; + bool m_inputsHasBeenSet = false; + + NameIdentifier m_job; + bool m_jobHasBeenSet = false; + + Aws::Vector m_outputs; + bool m_outputsHasBeenSet = false; + + Aws::String m_runId; + bool m_runIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OpenLineageRunState.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OpenLineageRunState.h new file mode 100644 index 00000000000..cdad01f9746 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OpenLineageRunState.h @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class OpenLineageRunState + { + NOT_SET, + START, + RUNNING, + COMPLETE, + ABORT, + FAIL, + OTHER + }; + +namespace OpenLineageRunStateMapper +{ +AWS_DATAZONE_API OpenLineageRunState GetOpenLineageRunStateForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForOpenLineageRunState(OpenLineageRunState value); +} // namespace OpenLineageRunStateMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OverallDeploymentStatus.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OverallDeploymentStatus.h new file mode 100644 index 00000000000..89e6ed3db84 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/OverallDeploymentStatus.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class OverallDeploymentStatus + { + NOT_SET, + PENDING_DEPLOYMENT, + IN_PROGRESS, + SUCCESSFUL, + FAILED_VALIDATION, + FAILED_DEPLOYMENT + }; + +namespace OverallDeploymentStatusMapper +{ +AWS_DATAZONE_API OverallDeploymentStatus GetOverallDeploymentStatusForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForOverallDeploymentStatus(OverallDeploymentStatus value); +} // namespace OverallDeploymentStatusMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PhysicalConnectionRequirements.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PhysicalConnectionRequirements.h new file mode 100644 index 00000000000..86d0f3b5949 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PhysicalConnectionRequirements.h @@ -0,0 +1,119 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    Physical connection requirements of a connection.

    See Also:

    + * AWS + * API Reference

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

    The availability zone of the physical connection requirements of a + * connection.

    + */ + inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } + inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } + inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } + inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } + inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } + inline PhysicalConnectionRequirements& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} + inline PhysicalConnectionRequirements& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} + inline PhysicalConnectionRequirements& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} + ///@} + + ///@{ + /** + *

    The group ID list of the physical connection requirements of a connection. + *

    + */ + inline const Aws::Vector& GetSecurityGroupIdList() const{ return m_securityGroupIdList; } + inline bool SecurityGroupIdListHasBeenSet() const { return m_securityGroupIdListHasBeenSet; } + inline void SetSecurityGroupIdList(const Aws::Vector& value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList = value; } + inline void SetSecurityGroupIdList(Aws::Vector&& value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList = std::move(value); } + inline PhysicalConnectionRequirements& WithSecurityGroupIdList(const Aws::Vector& value) { SetSecurityGroupIdList(value); return *this;} + inline PhysicalConnectionRequirements& WithSecurityGroupIdList(Aws::Vector&& value) { SetSecurityGroupIdList(std::move(value)); return *this;} + inline PhysicalConnectionRequirements& AddSecurityGroupIdList(const Aws::String& value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList.push_back(value); return *this; } + inline PhysicalConnectionRequirements& AddSecurityGroupIdList(Aws::String&& value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList.push_back(std::move(value)); return *this; } + inline PhysicalConnectionRequirements& AddSecurityGroupIdList(const char* value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The subnet ID of the physical connection requirements of a connection.

    + */ + inline const Aws::String& GetSubnetId() const{ return m_subnetId; } + inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; } + inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; } + inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); } + inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); } + inline PhysicalConnectionRequirements& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;} + inline PhysicalConnectionRequirements& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;} + inline PhysicalConnectionRequirements& WithSubnetId(const char* value) { SetSubnetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The subnet ID list of the physical connection requirements of a connection. + *

    + */ + inline const Aws::Vector& GetSubnetIdList() const{ return m_subnetIdList; } + inline bool SubnetIdListHasBeenSet() const { return m_subnetIdListHasBeenSet; } + inline void SetSubnetIdList(const Aws::Vector& value) { m_subnetIdListHasBeenSet = true; m_subnetIdList = value; } + inline void SetSubnetIdList(Aws::Vector&& value) { m_subnetIdListHasBeenSet = true; m_subnetIdList = std::move(value); } + inline PhysicalConnectionRequirements& WithSubnetIdList(const Aws::Vector& value) { SetSubnetIdList(value); return *this;} + inline PhysicalConnectionRequirements& WithSubnetIdList(Aws::Vector&& value) { SetSubnetIdList(std::move(value)); return *this;} + inline PhysicalConnectionRequirements& AddSubnetIdList(const Aws::String& value) { m_subnetIdListHasBeenSet = true; m_subnetIdList.push_back(value); return *this; } + inline PhysicalConnectionRequirements& AddSubnetIdList(Aws::String&& value) { m_subnetIdListHasBeenSet = true; m_subnetIdList.push_back(std::move(value)); return *this; } + inline PhysicalConnectionRequirements& AddSubnetIdList(const char* value) { m_subnetIdListHasBeenSet = true; m_subnetIdList.push_back(value); return *this; } + ///@} + private: + + Aws::String m_availabilityZone; + bool m_availabilityZoneHasBeenSet = false; + + Aws::Vector m_securityGroupIdList; + bool m_securityGroupIdListHasBeenSet = false; + + Aws::String m_subnetId; + bool m_subnetIdHasBeenSet = false; + + Aws::Vector m_subnetIdList; + bool m_subnetIdListHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PhysicalEndpoint.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PhysicalEndpoint.h new file mode 100644 index 00000000000..12a91bedc2f --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PhysicalEndpoint.h @@ -0,0 +1,156 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The physical endpoints of a connection.

    See Also:

    AWS + * API Reference

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

    The location of a connection.

    + */ + inline const AwsLocation& GetAwsLocation() const{ return m_awsLocation; } + inline bool AwsLocationHasBeenSet() const { return m_awsLocationHasBeenSet; } + inline void SetAwsLocation(const AwsLocation& value) { m_awsLocationHasBeenSet = true; m_awsLocation = value; } + inline void SetAwsLocation(AwsLocation&& value) { m_awsLocationHasBeenSet = true; m_awsLocation = std::move(value); } + inline PhysicalEndpoint& WithAwsLocation(const AwsLocation& value) { SetAwsLocation(value); return *this;} + inline PhysicalEndpoint& WithAwsLocation(AwsLocation&& value) { SetAwsLocation(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Web Services Glue connection.

    + */ + inline const GlueConnection& GetGlueConnection() const{ return m_glueConnection; } + inline bool GlueConnectionHasBeenSet() const { return m_glueConnectionHasBeenSet; } + inline void SetGlueConnection(const GlueConnection& value) { m_glueConnectionHasBeenSet = true; m_glueConnection = value; } + inline void SetGlueConnection(GlueConnection&& value) { m_glueConnectionHasBeenSet = true; m_glueConnection = std::move(value); } + inline PhysicalEndpoint& WithGlueConnection(const GlueConnection& value) { SetGlueConnection(value); return *this;} + inline PhysicalEndpoint& WithGlueConnection(GlueConnection&& value) { SetGlueConnection(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Web Services Glue connection name.

    + */ + inline const Aws::String& GetGlueConnectionName() const{ return m_glueConnectionName; } + inline bool GlueConnectionNameHasBeenSet() const { return m_glueConnectionNameHasBeenSet; } + inline void SetGlueConnectionName(const Aws::String& value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName = value; } + inline void SetGlueConnectionName(Aws::String&& value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName = std::move(value); } + inline void SetGlueConnectionName(const char* value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName.assign(value); } + inline PhysicalEndpoint& WithGlueConnectionName(const Aws::String& value) { SetGlueConnectionName(value); return *this;} + inline PhysicalEndpoint& WithGlueConnectionName(Aws::String&& value) { SetGlueConnectionName(std::move(value)); return *this;} + inline PhysicalEndpoint& WithGlueConnectionName(const char* value) { SetGlueConnectionName(value); return *this;} + ///@} + + ///@{ + /** + *

    The host in the physical endpoints of a connection.

    + */ + inline const Aws::String& GetHost() const{ return m_host; } + inline bool HostHasBeenSet() const { return m_hostHasBeenSet; } + inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; } + inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); } + inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); } + inline PhysicalEndpoint& WithHost(const Aws::String& value) { SetHost(value); return *this;} + inline PhysicalEndpoint& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;} + inline PhysicalEndpoint& WithHost(const char* value) { SetHost(value); return *this;} + ///@} + + ///@{ + /** + *

    The port in the physical endpoints of a connection.

    + */ + inline int GetPort() const{ return m_port; } + inline bool PortHasBeenSet() const { return m_portHasBeenSet; } + inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } + inline PhysicalEndpoint& WithPort(int value) { SetPort(value); return *this;} + ///@} + + ///@{ + /** + *

    The protocol in the physical endpoints of a connection.

    + */ + inline const Protocol& GetProtocol() const{ return m_protocol; } + inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; } + inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; } + inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); } + inline PhysicalEndpoint& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;} + inline PhysicalEndpoint& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The stage in the physical endpoints of a connection.

    + */ + inline const Aws::String& GetStage() const{ return m_stage; } + inline bool StageHasBeenSet() const { return m_stageHasBeenSet; } + inline void SetStage(const Aws::String& value) { m_stageHasBeenSet = true; m_stage = value; } + inline void SetStage(Aws::String&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); } + inline void SetStage(const char* value) { m_stageHasBeenSet = true; m_stage.assign(value); } + inline PhysicalEndpoint& WithStage(const Aws::String& value) { SetStage(value); return *this;} + inline PhysicalEndpoint& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;} + inline PhysicalEndpoint& WithStage(const char* value) { SetStage(value); return *this;} + ///@} + private: + + AwsLocation m_awsLocation; + bool m_awsLocationHasBeenSet = false; + + GlueConnection m_glueConnection; + bool m_glueConnectionHasBeenSet = false; + + Aws::String m_glueConnectionName; + bool m_glueConnectionNameHasBeenSet = false; + + Aws::String m_host; + bool m_hostHasBeenSet = false; + + int m_port; + bool m_portHasBeenSet = false; + + Protocol m_protocol; + bool m_protocolHasBeenSet = false; + + Aws::String m_stage; + bool m_stageHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PolicyGrantDetail.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PolicyGrantDetail.h index b684b837181..6211006be83 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PolicyGrantDetail.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PolicyGrantDetail.h @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -95,6 +96,16 @@ namespace Model inline PolicyGrantDetail& WithCreateEnvironment(Unit&& value) { SetCreateEnvironment(std::move(value)); return *this;} ///@} + ///@{ + + inline const Unit& GetCreateEnvironmentFromBlueprint() const{ return m_createEnvironmentFromBlueprint; } + inline bool CreateEnvironmentFromBlueprintHasBeenSet() const { return m_createEnvironmentFromBlueprintHasBeenSet; } + inline void SetCreateEnvironmentFromBlueprint(const Unit& value) { m_createEnvironmentFromBlueprintHasBeenSet = true; m_createEnvironmentFromBlueprint = value; } + inline void SetCreateEnvironmentFromBlueprint(Unit&& value) { m_createEnvironmentFromBlueprintHasBeenSet = true; m_createEnvironmentFromBlueprint = std::move(value); } + inline PolicyGrantDetail& WithCreateEnvironmentFromBlueprint(const Unit& value) { SetCreateEnvironmentFromBlueprint(value); return *this;} + inline PolicyGrantDetail& WithCreateEnvironmentFromBlueprint(Unit&& value) { SetCreateEnvironmentFromBlueprint(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Specifies that this is a create environment profile policy.

    @@ -143,6 +154,18 @@ namespace Model inline PolicyGrantDetail& WithCreateProject(CreateProjectPolicyGrantDetail&& value) { SetCreateProject(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    Specifies whether to create a project from project profile.

    + */ + inline const CreateProjectFromProjectProfilePolicyGrantDetail& GetCreateProjectFromProjectProfile() const{ return m_createProjectFromProjectProfile; } + inline bool CreateProjectFromProjectProfileHasBeenSet() const { return m_createProjectFromProjectProfileHasBeenSet; } + inline void SetCreateProjectFromProjectProfile(const CreateProjectFromProjectProfilePolicyGrantDetail& value) { m_createProjectFromProjectProfileHasBeenSet = true; m_createProjectFromProjectProfile = value; } + inline void SetCreateProjectFromProjectProfile(CreateProjectFromProjectProfilePolicyGrantDetail&& value) { m_createProjectFromProjectProfileHasBeenSet = true; m_createProjectFromProjectProfile = std::move(value); } + inline PolicyGrantDetail& WithCreateProjectFromProjectProfile(const CreateProjectFromProjectProfilePolicyGrantDetail& value) { SetCreateProjectFromProjectProfile(value); return *this;} + inline PolicyGrantDetail& WithCreateProjectFromProjectProfile(CreateProjectFromProjectProfilePolicyGrantDetail&& value) { SetCreateProjectFromProjectProfile(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Specifies that this is the delegation of the create environment profile @@ -193,6 +216,9 @@ namespace Model Unit m_createEnvironment; bool m_createEnvironmentHasBeenSet = false; + Unit m_createEnvironmentFromBlueprint; + bool m_createEnvironmentFromBlueprintHasBeenSet = false; + CreateEnvironmentProfilePolicyGrantDetail m_createEnvironmentProfile; bool m_createEnvironmentProfileHasBeenSet = false; @@ -205,6 +231,9 @@ namespace Model CreateProjectPolicyGrantDetail m_createProject; bool m_createProjectHasBeenSet = false; + CreateProjectFromProjectProfilePolicyGrantDetail m_createProjectFromProjectProfile; + bool m_createProjectFromProjectProfileHasBeenSet = false; + Unit m_delegateCreateEnvironmentProfile; bool m_delegateCreateEnvironmentProfileHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PostLineageEventRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PostLineageEventRequest.h index 07e6b4ecddf..78108d94807 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PostLineageEventRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PostLineageEventRequest.h @@ -13,10 +13,6 @@ namespace Aws { -namespace Http -{ - class URI; -} //namespace Http namespace DataZone { namespace Model @@ -35,7 +31,7 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PostLineageEvent"; } - AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + AWS_DATAZONE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; ///@{ diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PostLineageEventResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PostLineageEventResult.h index 8e0551ebf0a..1898ecf0975 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PostLineageEventResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PostLineageEventResult.h @@ -32,6 +32,32 @@ namespace Model AWS_DATAZONE_API PostLineageEventResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

    The ID of the domain.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + inline PostLineageEventResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline PostLineageEventResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline PostLineageEventResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the lineage event.

    + */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline PostLineageEventResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline PostLineageEventResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline PostLineageEventResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -44,6 +70,10 @@ namespace Model ///@} private: + Aws::String m_domainId; + + Aws::String m_id; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectProfileSummary.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectProfileSummary.h new file mode 100644 index 00000000000..20a67736395 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectProfileSummary.h @@ -0,0 +1,193 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The summary of a project profile.

    See Also:

    AWS + * API Reference

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

    The timestamp of when the project profile was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline ProjectProfileSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline ProjectProfileSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The user who created the project profile.

    + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline ProjectProfileSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline ProjectProfileSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline ProjectProfileSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    The description of the project profile.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline ProjectProfileSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline ProjectProfileSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline ProjectProfileSummary& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The domain ID of the project profile.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } + inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } + inline ProjectProfileSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline ProjectProfileSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline ProjectProfileSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The domain unit ID of the project profile.

    + */ + inline const Aws::String& GetDomainUnitId() const{ return m_domainUnitId; } + inline bool DomainUnitIdHasBeenSet() const { return m_domainUnitIdHasBeenSet; } + inline void SetDomainUnitId(const Aws::String& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = value; } + inline void SetDomainUnitId(Aws::String&& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = std::move(value); } + inline void SetDomainUnitId(const char* value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId.assign(value); } + inline ProjectProfileSummary& WithDomainUnitId(const Aws::String& value) { SetDomainUnitId(value); return *this;} + inline ProjectProfileSummary& WithDomainUnitId(Aws::String&& value) { SetDomainUnitId(std::move(value)); return *this;} + inline ProjectProfileSummary& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the project profile.

    + */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline ProjectProfileSummary& WithId(const Aws::String& value) { SetId(value); return *this;} + inline ProjectProfileSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline ProjectProfileSummary& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The timestamp at which a project profile was last updated.

    + */ + inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } + inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } + inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } + inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } + inline ProjectProfileSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} + inline ProjectProfileSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The name of a project profile.

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

    The status of a project profile.

    + */ + inline const Status& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline ProjectProfileSummary& WithStatus(const Status& value) { SetStatus(value); return *this;} + inline ProjectProfileSummary& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_domainId; + bool m_domainIdHasBeenSet = false; + + Aws::String m_domainUnitId; + bool m_domainUnitIdHasBeenSet = false; + + Aws::String m_id; + bool m_idHasBeenSet = false; + + Aws::Utils::DateTime m_lastUpdatedAt; + bool m_lastUpdatedAtHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Status m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Protocol.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Protocol.h new file mode 100644 index 00000000000..62218c5679d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Protocol.h @@ -0,0 +1,36 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class Protocol + { + NOT_SET, + ATHENA, + GLUE_INTERACTIVE_SESSION, + HTTPS, + JDBC, + LIVY, + ODBC, + PRISM + }; + +namespace ProtocolMapper +{ +AWS_DATAZONE_API Protocol GetProtocolForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForProtocol(Protocol value); +} // namespace ProtocolMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationRequest.h index 611832aa09e..91c5e0bd8d3 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationRequest.h @@ -78,6 +78,20 @@ namespace Model inline PutEnvironmentBlueprintConfigurationRequest& WithEnvironmentBlueprintIdentifier(const char* value) { SetEnvironmentBlueprintIdentifier(value); return *this;} ///@} + ///@{ + /** + *

    The environment role permissions boundary.

    + */ + inline const Aws::String& GetEnvironmentRolePermissionBoundary() const{ return m_environmentRolePermissionBoundary; } + inline bool EnvironmentRolePermissionBoundaryHasBeenSet() const { return m_environmentRolePermissionBoundaryHasBeenSet; } + inline void SetEnvironmentRolePermissionBoundary(const Aws::String& value) { m_environmentRolePermissionBoundaryHasBeenSet = true; m_environmentRolePermissionBoundary = value; } + inline void SetEnvironmentRolePermissionBoundary(Aws::String&& value) { m_environmentRolePermissionBoundaryHasBeenSet = true; m_environmentRolePermissionBoundary = std::move(value); } + inline void SetEnvironmentRolePermissionBoundary(const char* value) { m_environmentRolePermissionBoundaryHasBeenSet = true; m_environmentRolePermissionBoundary.assign(value); } + inline PutEnvironmentBlueprintConfigurationRequest& WithEnvironmentRolePermissionBoundary(const Aws::String& value) { SetEnvironmentRolePermissionBoundary(value); return *this;} + inline PutEnvironmentBlueprintConfigurationRequest& WithEnvironmentRolePermissionBoundary(Aws::String&& value) { SetEnvironmentRolePermissionBoundary(std::move(value)); return *this;} + inline PutEnvironmentBlueprintConfigurationRequest& WithEnvironmentRolePermissionBoundary(const char* value) { SetEnvironmentRolePermissionBoundary(value); return *this;} + ///@} + ///@{ /** *

    The ARN of the manage access role.

    @@ -148,6 +162,9 @@ namespace Model Aws::String m_environmentBlueprintIdentifier; bool m_environmentBlueprintIdentifierHasBeenSet = false; + Aws::String m_environmentRolePermissionBoundary; + bool m_environmentRolePermissionBoundaryHasBeenSet = false; + Aws::String m_manageAccessRoleArn; bool m_manageAccessRoleArnHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationResult.h index 88c082ad08f..f31478ad430 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationResult.h @@ -87,6 +87,19 @@ namespace Model inline PutEnvironmentBlueprintConfigurationResult& WithEnvironmentBlueprintId(const char* value) { SetEnvironmentBlueprintId(value); return *this;} ///@} + ///@{ + /** + *

    The environment role permissions boundary.

    + */ + inline const Aws::String& GetEnvironmentRolePermissionBoundary() const{ return m_environmentRolePermissionBoundary; } + inline void SetEnvironmentRolePermissionBoundary(const Aws::String& value) { m_environmentRolePermissionBoundary = value; } + inline void SetEnvironmentRolePermissionBoundary(Aws::String&& value) { m_environmentRolePermissionBoundary = std::move(value); } + inline void SetEnvironmentRolePermissionBoundary(const char* value) { m_environmentRolePermissionBoundary.assign(value); } + inline PutEnvironmentBlueprintConfigurationResult& WithEnvironmentRolePermissionBoundary(const Aws::String& value) { SetEnvironmentRolePermissionBoundary(value); return *this;} + inline PutEnvironmentBlueprintConfigurationResult& WithEnvironmentRolePermissionBoundary(Aws::String&& value) { SetEnvironmentRolePermissionBoundary(std::move(value)); return *this;} + inline PutEnvironmentBlueprintConfigurationResult& WithEnvironmentRolePermissionBoundary(const char* value) { SetEnvironmentRolePermissionBoundary(value); return *this;} + ///@} + ///@{ /** *

    The ARN of the manage access role.

    @@ -174,6 +187,8 @@ namespace Model Aws::String m_environmentBlueprintId; + Aws::String m_environmentRolePermissionBoundary; + Aws::String m_manageAccessRoleArn; Aws::Vector m_provisioningConfigurations; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftCredentials.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftCredentials.h new file mode 100644 index 00000000000..518eb88f3a5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftCredentials.h @@ -0,0 +1,78 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    Amazon Redshift credentials of a connection.

    See Also:

    AWS + * API Reference

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

    The secret ARN of the Amazon Redshift credentials of a connection.

    + */ + inline const Aws::String& GetSecretArn() const{ return m_secretArn; } + inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; } + inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; } + inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); } + inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); } + inline RedshiftCredentials& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;} + inline RedshiftCredentials& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;} + inline RedshiftCredentials& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The username and password of the Amazon Redshift credentials of a + * connection.

    + */ + inline const UsernamePassword& GetUsernamePassword() const{ return m_usernamePassword; } + inline bool UsernamePasswordHasBeenSet() const { return m_usernamePasswordHasBeenSet; } + inline void SetUsernamePassword(const UsernamePassword& value) { m_usernamePasswordHasBeenSet = true; m_usernamePassword = value; } + inline void SetUsernamePassword(UsernamePassword&& value) { m_usernamePasswordHasBeenSet = true; m_usernamePassword = std::move(value); } + inline RedshiftCredentials& WithUsernamePassword(const UsernamePassword& value) { SetUsernamePassword(value); return *this;} + inline RedshiftCredentials& WithUsernamePassword(UsernamePassword&& value) { SetUsernamePassword(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_secretArn; + bool m_secretArnHasBeenSet = false; + + UsernamePassword m_usernamePassword; + bool m_usernamePasswordHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftLineageSyncConfigurationInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftLineageSyncConfigurationInput.h new file mode 100644 index 00000000000..06d348fb968 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftLineageSyncConfigurationInput.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The Amaon Redshift lineage sync configuration.

    See Also:

    AWS + * API Reference

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

    Specifies whether the Amaon Redshift lineage sync configuration is + * enabled.

    + */ + inline bool GetEnabled() const{ return m_enabled; } + inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } + inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } + inline RedshiftLineageSyncConfigurationInput& WithEnabled(bool value) { SetEnabled(value); return *this;} + ///@} + + ///@{ + /** + *

    The schedule of the Amaon Redshift lineage sync configuration.

    + */ + inline const LineageSyncSchedule& GetSchedule() const{ return m_schedule; } + inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } + inline void SetSchedule(const LineageSyncSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } + inline void SetSchedule(LineageSyncSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } + inline RedshiftLineageSyncConfigurationInput& WithSchedule(const LineageSyncSchedule& value) { SetSchedule(value); return *this;} + inline RedshiftLineageSyncConfigurationInput& WithSchedule(LineageSyncSchedule&& value) { SetSchedule(std::move(value)); return *this;} + ///@} + private: + + bool m_enabled; + bool m_enabledHasBeenSet = false; + + LineageSyncSchedule m_schedule; + bool m_scheduleHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftLineageSyncConfigurationOutput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftLineageSyncConfigurationOutput.h new file mode 100644 index 00000000000..e3ebe97f208 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftLineageSyncConfigurationOutput.h @@ -0,0 +1,91 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Amaon Redshift lineage sync configuration.

    See Also:

    AWS + * API Reference

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

    Specifies whether the Amaon Redshift lineage sync configuration is + * enabled.

    + */ + inline bool GetEnabled() const{ return m_enabled; } + inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } + inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } + inline RedshiftLineageSyncConfigurationOutput& WithEnabled(bool value) { SetEnabled(value); return *this;} + ///@} + + ///@{ + /** + *

    The lineage job ID of the Amaon Redshift lineage sync configuration.

    + */ + inline const Aws::String& GetLineageJobId() const{ return m_lineageJobId; } + inline bool LineageJobIdHasBeenSet() const { return m_lineageJobIdHasBeenSet; } + inline void SetLineageJobId(const Aws::String& value) { m_lineageJobIdHasBeenSet = true; m_lineageJobId = value; } + inline void SetLineageJobId(Aws::String&& value) { m_lineageJobIdHasBeenSet = true; m_lineageJobId = std::move(value); } + inline void SetLineageJobId(const char* value) { m_lineageJobIdHasBeenSet = true; m_lineageJobId.assign(value); } + inline RedshiftLineageSyncConfigurationOutput& WithLineageJobId(const Aws::String& value) { SetLineageJobId(value); return *this;} + inline RedshiftLineageSyncConfigurationOutput& WithLineageJobId(Aws::String&& value) { SetLineageJobId(std::move(value)); return *this;} + inline RedshiftLineageSyncConfigurationOutput& WithLineageJobId(const char* value) { SetLineageJobId(value); return *this;} + ///@} + + ///@{ + /** + *

    The schedule of teh Amaon Redshift lineage sync configuration.

    + */ + inline const LineageSyncSchedule& GetSchedule() const{ return m_schedule; } + inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } + inline void SetSchedule(const LineageSyncSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } + inline void SetSchedule(LineageSyncSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } + inline RedshiftLineageSyncConfigurationOutput& WithSchedule(const LineageSyncSchedule& value) { SetSchedule(value); return *this;} + inline RedshiftLineageSyncConfigurationOutput& WithSchedule(LineageSyncSchedule&& value) { SetSchedule(std::move(value)); return *this;} + ///@} + private: + + bool m_enabled; + bool m_enabledHasBeenSet = false; + + Aws::String m_lineageJobId; + bool m_lineageJobIdHasBeenSet = false; + + LineageSyncSchedule m_schedule; + bool m_scheduleHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftPropertiesInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftPropertiesInput.h new file mode 100644 index 00000000000..b8a90ac5bcf --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftPropertiesInput.h @@ -0,0 +1,139 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Amazon Redshift properties.

    See Also:

    AWS + * API Reference

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

    The Amaon Redshift credentials.

    + */ + inline const RedshiftCredentials& GetCredentials() const{ return m_credentials; } + inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; } + inline void SetCredentials(const RedshiftCredentials& value) { m_credentialsHasBeenSet = true; m_credentials = value; } + inline void SetCredentials(RedshiftCredentials&& value) { m_credentialsHasBeenSet = true; m_credentials = std::move(value); } + inline RedshiftPropertiesInput& WithCredentials(const RedshiftCredentials& value) { SetCredentials(value); return *this;} + inline RedshiftPropertiesInput& WithCredentials(RedshiftCredentials&& value) { SetCredentials(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Redshift database name.

    + */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } + inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } + inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } + inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } + inline RedshiftPropertiesInput& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + inline RedshiftPropertiesInput& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + inline RedshiftPropertiesInput& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Redshift host.

    + */ + inline const Aws::String& GetHost() const{ return m_host; } + inline bool HostHasBeenSet() const { return m_hostHasBeenSet; } + inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; } + inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); } + inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); } + inline RedshiftPropertiesInput& WithHost(const Aws::String& value) { SetHost(value); return *this;} + inline RedshiftPropertiesInput& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;} + inline RedshiftPropertiesInput& WithHost(const char* value) { SetHost(value); return *this;} + ///@} + + ///@{ + /** + *

    The lineage sync of the Amazon Redshift.

    + */ + inline const RedshiftLineageSyncConfigurationInput& GetLineageSync() const{ return m_lineageSync; } + inline bool LineageSyncHasBeenSet() const { return m_lineageSyncHasBeenSet; } + inline void SetLineageSync(const RedshiftLineageSyncConfigurationInput& value) { m_lineageSyncHasBeenSet = true; m_lineageSync = value; } + inline void SetLineageSync(RedshiftLineageSyncConfigurationInput&& value) { m_lineageSyncHasBeenSet = true; m_lineageSync = std::move(value); } + inline RedshiftPropertiesInput& WithLineageSync(const RedshiftLineageSyncConfigurationInput& value) { SetLineageSync(value); return *this;} + inline RedshiftPropertiesInput& WithLineageSync(RedshiftLineageSyncConfigurationInput&& value) { SetLineageSync(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amaon Redshift port.

    + */ + inline int GetPort() const{ return m_port; } + inline bool PortHasBeenSet() const { return m_portHasBeenSet; } + inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } + inline RedshiftPropertiesInput& WithPort(int value) { SetPort(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Redshift storage.

    + */ + inline const RedshiftStorageProperties& GetStorage() const{ return m_storage; } + inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; } + inline void SetStorage(const RedshiftStorageProperties& value) { m_storageHasBeenSet = true; m_storage = value; } + inline void SetStorage(RedshiftStorageProperties&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); } + inline RedshiftPropertiesInput& WithStorage(const RedshiftStorageProperties& value) { SetStorage(value); return *this;} + inline RedshiftPropertiesInput& WithStorage(RedshiftStorageProperties&& value) { SetStorage(std::move(value)); return *this;} + ///@} + private: + + RedshiftCredentials m_credentials; + bool m_credentialsHasBeenSet = false; + + Aws::String m_databaseName; + bool m_databaseNameHasBeenSet = false; + + Aws::String m_host; + bool m_hostHasBeenSet = false; + + RedshiftLineageSyncConfigurationInput m_lineageSync; + bool m_lineageSyncHasBeenSet = false; + + int m_port; + bool m_portHasBeenSet = false; + + RedshiftStorageProperties m_storage; + bool m_storageHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftPropertiesOutput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftPropertiesOutput.h new file mode 100644 index 00000000000..2ec632df6d2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftPropertiesOutput.h @@ -0,0 +1,189 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Amazon Redshift properties.

    See Also:

    AWS + * API Reference

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

    The Amazon Redshift credentials.

    + */ + inline const RedshiftCredentials& GetCredentials() const{ return m_credentials; } + inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; } + inline void SetCredentials(const RedshiftCredentials& value) { m_credentialsHasBeenSet = true; m_credentials = value; } + inline void SetCredentials(RedshiftCredentials&& value) { m_credentialsHasBeenSet = true; m_credentials = std::move(value); } + inline RedshiftPropertiesOutput& WithCredentials(const RedshiftCredentials& value) { SetCredentials(value); return *this;} + inline RedshiftPropertiesOutput& WithCredentials(RedshiftCredentials&& value) { SetCredentials(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Redshift database name.

    + */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } + inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } + inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } + inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } + inline RedshiftPropertiesOutput& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + inline RedshiftPropertiesOutput& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + inline RedshiftPropertiesOutput& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + ///@} + + ///@{ + /** + *

    Specifies whether Amaon Redshift properties has a provisioned secret.

    + */ + inline bool GetIsProvisionedSecret() const{ return m_isProvisionedSecret; } + inline bool IsProvisionedSecretHasBeenSet() const { return m_isProvisionedSecretHasBeenSet; } + inline void SetIsProvisionedSecret(bool value) { m_isProvisionedSecretHasBeenSet = true; m_isProvisionedSecret = value; } + inline RedshiftPropertiesOutput& WithIsProvisionedSecret(bool value) { SetIsProvisionedSecret(value); return *this;} + ///@} + + ///@{ + /** + *

    The jdbcIam URL of the Amazon Redshift properties.

    + */ + inline const Aws::String& GetJdbcIamUrl() const{ return m_jdbcIamUrl; } + inline bool JdbcIamUrlHasBeenSet() const { return m_jdbcIamUrlHasBeenSet; } + inline void SetJdbcIamUrl(const Aws::String& value) { m_jdbcIamUrlHasBeenSet = true; m_jdbcIamUrl = value; } + inline void SetJdbcIamUrl(Aws::String&& value) { m_jdbcIamUrlHasBeenSet = true; m_jdbcIamUrl = std::move(value); } + inline void SetJdbcIamUrl(const char* value) { m_jdbcIamUrlHasBeenSet = true; m_jdbcIamUrl.assign(value); } + inline RedshiftPropertiesOutput& WithJdbcIamUrl(const Aws::String& value) { SetJdbcIamUrl(value); return *this;} + inline RedshiftPropertiesOutput& WithJdbcIamUrl(Aws::String&& value) { SetJdbcIamUrl(std::move(value)); return *this;} + inline RedshiftPropertiesOutput& WithJdbcIamUrl(const char* value) { SetJdbcIamUrl(value); return *this;} + ///@} + + ///@{ + /** + *

    The jdbcURL of the Amazon Redshift properties.

    + */ + inline const Aws::String& GetJdbcUrl() const{ return m_jdbcUrl; } + inline bool JdbcUrlHasBeenSet() const { return m_jdbcUrlHasBeenSet; } + inline void SetJdbcUrl(const Aws::String& value) { m_jdbcUrlHasBeenSet = true; m_jdbcUrl = value; } + inline void SetJdbcUrl(Aws::String&& value) { m_jdbcUrlHasBeenSet = true; m_jdbcUrl = std::move(value); } + inline void SetJdbcUrl(const char* value) { m_jdbcUrlHasBeenSet = true; m_jdbcUrl.assign(value); } + inline RedshiftPropertiesOutput& WithJdbcUrl(const Aws::String& value) { SetJdbcUrl(value); return *this;} + inline RedshiftPropertiesOutput& WithJdbcUrl(Aws::String&& value) { SetJdbcUrl(std::move(value)); return *this;} + inline RedshiftPropertiesOutput& WithJdbcUrl(const char* value) { SetJdbcUrl(value); return *this;} + ///@} + + ///@{ + /** + *

    The lineage syn of the Amazon Redshift properties.

    + */ + inline const RedshiftLineageSyncConfigurationOutput& GetLineageSync() const{ return m_lineageSync; } + inline bool LineageSyncHasBeenSet() const { return m_lineageSyncHasBeenSet; } + inline void SetLineageSync(const RedshiftLineageSyncConfigurationOutput& value) { m_lineageSyncHasBeenSet = true; m_lineageSync = value; } + inline void SetLineageSync(RedshiftLineageSyncConfigurationOutput&& value) { m_lineageSyncHasBeenSet = true; m_lineageSync = std::move(value); } + inline RedshiftPropertiesOutput& WithLineageSync(const RedshiftLineageSyncConfigurationOutput& value) { SetLineageSync(value); return *this;} + inline RedshiftPropertiesOutput& WithLineageSync(RedshiftLineageSyncConfigurationOutput&& value) { SetLineageSync(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The redshiftTempDir of the Amazon Redshift properties.

    + */ + inline const Aws::String& GetRedshiftTempDir() const{ return m_redshiftTempDir; } + inline bool RedshiftTempDirHasBeenSet() const { return m_redshiftTempDirHasBeenSet; } + inline void SetRedshiftTempDir(const Aws::String& value) { m_redshiftTempDirHasBeenSet = true; m_redshiftTempDir = value; } + inline void SetRedshiftTempDir(Aws::String&& value) { m_redshiftTempDirHasBeenSet = true; m_redshiftTempDir = std::move(value); } + inline void SetRedshiftTempDir(const char* value) { m_redshiftTempDirHasBeenSet = true; m_redshiftTempDir.assign(value); } + inline RedshiftPropertiesOutput& WithRedshiftTempDir(const Aws::String& value) { SetRedshiftTempDir(value); return *this;} + inline RedshiftPropertiesOutput& WithRedshiftTempDir(Aws::String&& value) { SetRedshiftTempDir(std::move(value)); return *this;} + inline RedshiftPropertiesOutput& WithRedshiftTempDir(const char* value) { SetRedshiftTempDir(value); return *this;} + ///@} + + ///@{ + /** + *

    The status in the Amazon Redshift properties.

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

    The storage in the Amazon Redshift properties.

    + */ + inline const RedshiftStorageProperties& GetStorage() const{ return m_storage; } + inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; } + inline void SetStorage(const RedshiftStorageProperties& value) { m_storageHasBeenSet = true; m_storage = value; } + inline void SetStorage(RedshiftStorageProperties&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); } + inline RedshiftPropertiesOutput& WithStorage(const RedshiftStorageProperties& value) { SetStorage(value); return *this;} + inline RedshiftPropertiesOutput& WithStorage(RedshiftStorageProperties&& value) { SetStorage(std::move(value)); return *this;} + ///@} + private: + + RedshiftCredentials m_credentials; + bool m_credentialsHasBeenSet = false; + + Aws::String m_databaseName; + bool m_databaseNameHasBeenSet = false; + + bool m_isProvisionedSecret; + bool m_isProvisionedSecretHasBeenSet = false; + + Aws::String m_jdbcIamUrl; + bool m_jdbcIamUrlHasBeenSet = false; + + Aws::String m_jdbcUrl; + bool m_jdbcUrlHasBeenSet = false; + + RedshiftLineageSyncConfigurationOutput m_lineageSync; + bool m_lineageSyncHasBeenSet = false; + + Aws::String m_redshiftTempDir; + bool m_redshiftTempDirHasBeenSet = false; + + ConnectionStatus m_status; + bool m_statusHasBeenSet = false; + + RedshiftStorageProperties m_storage; + bool m_storageHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftPropertiesPatch.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftPropertiesPatch.h new file mode 100644 index 00000000000..c74a4bb2c7e --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftPropertiesPatch.h @@ -0,0 +1,139 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    Amazon Redshift properties patch.

    See Also:

    AWS + * API Reference

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

    The credentials in the Amazon Redshift properties patch.

    + */ + inline const RedshiftCredentials& GetCredentials() const{ return m_credentials; } + inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; } + inline void SetCredentials(const RedshiftCredentials& value) { m_credentialsHasBeenSet = true; m_credentials = value; } + inline void SetCredentials(RedshiftCredentials&& value) { m_credentialsHasBeenSet = true; m_credentials = std::move(value); } + inline RedshiftPropertiesPatch& WithCredentials(const RedshiftCredentials& value) { SetCredentials(value); return *this;} + inline RedshiftPropertiesPatch& WithCredentials(RedshiftCredentials&& value) { SetCredentials(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The name in the Amazon Redshift properties patch.

    + */ + inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } + inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } + inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } + inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } + inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } + inline RedshiftPropertiesPatch& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} + inline RedshiftPropertiesPatch& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} + inline RedshiftPropertiesPatch& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} + ///@} + + ///@{ + /** + *

    The host in the Amazon Redshift properties patch.

    + */ + inline const Aws::String& GetHost() const{ return m_host; } + inline bool HostHasBeenSet() const { return m_hostHasBeenSet; } + inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; } + inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); } + inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); } + inline RedshiftPropertiesPatch& WithHost(const Aws::String& value) { SetHost(value); return *this;} + inline RedshiftPropertiesPatch& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;} + inline RedshiftPropertiesPatch& WithHost(const char* value) { SetHost(value); return *this;} + ///@} + + ///@{ + /** + *

    The lineage sync in the Amazon Redshift properties patch.

    + */ + inline const RedshiftLineageSyncConfigurationInput& GetLineageSync() const{ return m_lineageSync; } + inline bool LineageSyncHasBeenSet() const { return m_lineageSyncHasBeenSet; } + inline void SetLineageSync(const RedshiftLineageSyncConfigurationInput& value) { m_lineageSyncHasBeenSet = true; m_lineageSync = value; } + inline void SetLineageSync(RedshiftLineageSyncConfigurationInput&& value) { m_lineageSyncHasBeenSet = true; m_lineageSync = std::move(value); } + inline RedshiftPropertiesPatch& WithLineageSync(const RedshiftLineageSyncConfigurationInput& value) { SetLineageSync(value); return *this;} + inline RedshiftPropertiesPatch& WithLineageSync(RedshiftLineageSyncConfigurationInput&& value) { SetLineageSync(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The port in the Amazon Redshift properties patch.

    + */ + inline int GetPort() const{ return m_port; } + inline bool PortHasBeenSet() const { return m_portHasBeenSet; } + inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } + inline RedshiftPropertiesPatch& WithPort(int value) { SetPort(value); return *this;} + ///@} + + ///@{ + /** + *

    The storage in the Amazon Redshift properties patch.

    + */ + inline const RedshiftStorageProperties& GetStorage() const{ return m_storage; } + inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; } + inline void SetStorage(const RedshiftStorageProperties& value) { m_storageHasBeenSet = true; m_storage = value; } + inline void SetStorage(RedshiftStorageProperties&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); } + inline RedshiftPropertiesPatch& WithStorage(const RedshiftStorageProperties& value) { SetStorage(value); return *this;} + inline RedshiftPropertiesPatch& WithStorage(RedshiftStorageProperties&& value) { SetStorage(std::move(value)); return *this;} + ///@} + private: + + RedshiftCredentials m_credentials; + bool m_credentialsHasBeenSet = false; + + Aws::String m_databaseName; + bool m_databaseNameHasBeenSet = false; + + Aws::String m_host; + bool m_hostHasBeenSet = false; + + RedshiftLineageSyncConfigurationInput m_lineageSync; + bool m_lineageSyncHasBeenSet = false; + + int m_port; + bool m_portHasBeenSet = false; + + RedshiftStorageProperties m_storage; + bool m_storageHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftStorageProperties.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftStorageProperties.h new file mode 100644 index 00000000000..cab4a6b1c07 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RedshiftStorageProperties.h @@ -0,0 +1,78 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Amazon Redshift storage properties.

    See Also:

    AWS + * API Reference

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

    The cluster name in the Amazon Redshift storage properties.

    + */ + inline const Aws::String& GetClusterName() const{ return m_clusterName; } + inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } + inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } + inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } + inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } + inline RedshiftStorageProperties& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} + inline RedshiftStorageProperties& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} + inline RedshiftStorageProperties& WithClusterName(const char* value) { SetClusterName(value); return *this;} + ///@} + + ///@{ + /** + *

    The workgroup name in the Amazon Redshift storage properties.

    + */ + inline const Aws::String& GetWorkgroupName() const{ return m_workgroupName; } + inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; } + inline void SetWorkgroupName(const Aws::String& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = value; } + inline void SetWorkgroupName(Aws::String&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::move(value); } + inline void SetWorkgroupName(const char* value) { m_workgroupNameHasBeenSet = true; m_workgroupName.assign(value); } + inline RedshiftStorageProperties& WithWorkgroupName(const Aws::String& value) { SetWorkgroupName(value); return *this;} + inline RedshiftStorageProperties& WithWorkgroupName(Aws::String&& value) { SetWorkgroupName(std::move(value)); return *this;} + inline RedshiftStorageProperties& WithWorkgroupName(const char* value) { SetWorkgroupName(value); return *this;} + ///@} + private: + + Aws::String m_clusterName; + bool m_clusterNameHasBeenSet = false; + + Aws::String m_workgroupName; + bool m_workgroupNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Region.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Region.h new file mode 100644 index 00000000000..3d7bc7a0a2f --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Region.h @@ -0,0 +1,78 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Amazon Web Services Region.

    See Also:

    AWS API + * Reference

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

    The Amazon Web Services Region name.

    + */ + inline const Aws::String& GetRegionName() const{ return m_regionName; } + inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; } + inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; } + inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); } + inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); } + inline Region& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;} + inline Region& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;} + inline Region& WithRegionName(const char* value) { SetRegionName(value); return *this;} + ///@} + + ///@{ + /** + *

    The region name path.

    + */ + inline const Aws::String& GetRegionNamePath() const{ return m_regionNamePath; } + inline bool RegionNamePathHasBeenSet() const { return m_regionNamePathHasBeenSet; } + inline void SetRegionNamePath(const Aws::String& value) { m_regionNamePathHasBeenSet = true; m_regionNamePath = value; } + inline void SetRegionNamePath(Aws::String&& value) { m_regionNamePathHasBeenSet = true; m_regionNamePath = std::move(value); } + inline void SetRegionNamePath(const char* value) { m_regionNamePathHasBeenSet = true; m_regionNamePath.assign(value); } + inline Region& WithRegionNamePath(const Aws::String& value) { SetRegionNamePath(value); return *this;} + inline Region& WithRegionNamePath(Aws::String&& value) { SetRegionNamePath(std::move(value)); return *this;} + inline Region& WithRegionNamePath(const char* value) { SetRegionNamePath(value); return *this;} + ///@} + private: + + Aws::String m_regionName; + bool m_regionNameHasBeenSet = false; + + Aws::String m_regionNamePath; + bool m_regionNamePathHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SageMakerRunConfigurationInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SageMakerRunConfigurationInput.h new file mode 100644 index 00000000000..6a227bd24a2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SageMakerRunConfigurationInput.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The Amazon SageMaker run configuration.

    See Also:

    AWS + * API Reference

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

    The tracking assets of the Amazon SageMaker run.

    + */ + inline const Aws::Map>& GetTrackingAssets() const{ return m_trackingAssets; } + inline bool TrackingAssetsHasBeenSet() const { return m_trackingAssetsHasBeenSet; } + inline void SetTrackingAssets(const Aws::Map>& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets = value; } + inline void SetTrackingAssets(Aws::Map>&& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets = std::move(value); } + inline SageMakerRunConfigurationInput& WithTrackingAssets(const Aws::Map>& value) { SetTrackingAssets(value); return *this;} + inline SageMakerRunConfigurationInput& WithTrackingAssets(Aws::Map>&& value) { SetTrackingAssets(std::move(value)); return *this;} + inline SageMakerRunConfigurationInput& AddTrackingAssets(const Aws::String& key, const Aws::Vector& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets.emplace(key, value); return *this; } + inline SageMakerRunConfigurationInput& AddTrackingAssets(Aws::String&& key, const Aws::Vector& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets.emplace(std::move(key), value); return *this; } + inline SageMakerRunConfigurationInput& AddTrackingAssets(const Aws::String& key, Aws::Vector&& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets.emplace(key, std::move(value)); return *this; } + inline SageMakerRunConfigurationInput& AddTrackingAssets(Aws::String&& key, Aws::Vector&& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets.emplace(std::move(key), std::move(value)); return *this; } + inline SageMakerRunConfigurationInput& AddTrackingAssets(const char* key, Aws::Vector&& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets.emplace(key, std::move(value)); return *this; } + inline SageMakerRunConfigurationInput& AddTrackingAssets(const char* key, const Aws::Vector& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets.emplace(key, value); return *this; } + ///@} + private: + + Aws::Map> m_trackingAssets; + bool m_trackingAssetsHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SageMakerRunConfigurationOutput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SageMakerRunConfigurationOutput.h new file mode 100644 index 00000000000..151798702b4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SageMakerRunConfigurationOutput.h @@ -0,0 +1,101 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Amazon SageMaker run configuration.

    See Also:

    AWS + * API Reference

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

    The Amazon SageMaker account ID.

    + */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + inline SageMakerRunConfigurationOutput& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + inline SageMakerRunConfigurationOutput& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + inline SageMakerRunConfigurationOutput& WithAccountId(const char* value) { SetAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon SageMaker Region.

    + */ + inline const Aws::String& GetRegion() const{ return m_region; } + inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } + inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } + inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } + inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } + inline SageMakerRunConfigurationOutput& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} + inline SageMakerRunConfigurationOutput& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} + inline SageMakerRunConfigurationOutput& WithRegion(const char* value) { SetRegion(value); return *this;} + ///@} + + ///@{ + /** + *

    The tracking assets of the Amazon SageMaker.

    + */ + inline const Aws::Map>& GetTrackingAssets() const{ return m_trackingAssets; } + inline bool TrackingAssetsHasBeenSet() const { return m_trackingAssetsHasBeenSet; } + inline void SetTrackingAssets(const Aws::Map>& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets = value; } + inline void SetTrackingAssets(Aws::Map>&& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets = std::move(value); } + inline SageMakerRunConfigurationOutput& WithTrackingAssets(const Aws::Map>& value) { SetTrackingAssets(value); return *this;} + inline SageMakerRunConfigurationOutput& WithTrackingAssets(Aws::Map>&& value) { SetTrackingAssets(std::move(value)); return *this;} + inline SageMakerRunConfigurationOutput& AddTrackingAssets(const Aws::String& key, const Aws::Vector& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets.emplace(key, value); return *this; } + inline SageMakerRunConfigurationOutput& AddTrackingAssets(Aws::String&& key, const Aws::Vector& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets.emplace(std::move(key), value); return *this; } + inline SageMakerRunConfigurationOutput& AddTrackingAssets(const Aws::String& key, Aws::Vector&& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets.emplace(key, std::move(value)); return *this; } + inline SageMakerRunConfigurationOutput& AddTrackingAssets(Aws::String&& key, Aws::Vector&& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets.emplace(std::move(key), std::move(value)); return *this; } + inline SageMakerRunConfigurationOutput& AddTrackingAssets(const char* key, Aws::Vector&& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets.emplace(key, std::move(value)); return *this; } + inline SageMakerRunConfigurationOutput& AddTrackingAssets(const char* key, const Aws::Vector& value) { m_trackingAssetsHasBeenSet = true; m_trackingAssets.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + + Aws::String m_region; + bool m_regionHasBeenSet = false; + + Aws::Map> m_trackingAssets; + bool m_trackingAssetsHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SortFieldConnection.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SortFieldConnection.h new file mode 100644 index 00000000000..f710c4aa7a0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SortFieldConnection.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class SortFieldConnection + { + NOT_SET, + NAME + }; + +namespace SortFieldConnectionMapper +{ +AWS_DATAZONE_API SortFieldConnection GetSortFieldConnectionForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForSortFieldConnection(SortFieldConnection value); +} // namespace SortFieldConnectionMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkEmrPropertiesInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkEmrPropertiesInput.h new file mode 100644 index 00000000000..a79428eb099 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkEmrPropertiesInput.h @@ -0,0 +1,163 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Spark EMR properties.

    See Also:

    AWS + * API Reference

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

    The compute ARN of Spark EMR.

    + */ + inline const Aws::String& GetComputeArn() const{ return m_computeArn; } + inline bool ComputeArnHasBeenSet() const { return m_computeArnHasBeenSet; } + inline void SetComputeArn(const Aws::String& value) { m_computeArnHasBeenSet = true; m_computeArn = value; } + inline void SetComputeArn(Aws::String&& value) { m_computeArnHasBeenSet = true; m_computeArn = std::move(value); } + inline void SetComputeArn(const char* value) { m_computeArnHasBeenSet = true; m_computeArn.assign(value); } + inline SparkEmrPropertiesInput& WithComputeArn(const Aws::String& value) { SetComputeArn(value); return *this;} + inline SparkEmrPropertiesInput& WithComputeArn(Aws::String&& value) { SetComputeArn(std::move(value)); return *this;} + inline SparkEmrPropertiesInput& WithComputeArn(const char* value) { SetComputeArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The instance profile ARN of Spark EMR.

    + */ + inline const Aws::String& GetInstanceProfileArn() const{ return m_instanceProfileArn; } + inline bool InstanceProfileArnHasBeenSet() const { return m_instanceProfileArnHasBeenSet; } + inline void SetInstanceProfileArn(const Aws::String& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = value; } + inline void SetInstanceProfileArn(Aws::String&& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = std::move(value); } + inline void SetInstanceProfileArn(const char* value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn.assign(value); } + inline SparkEmrPropertiesInput& WithInstanceProfileArn(const Aws::String& value) { SetInstanceProfileArn(value); return *this;} + inline SparkEmrPropertiesInput& WithInstanceProfileArn(Aws::String&& value) { SetInstanceProfileArn(std::move(value)); return *this;} + inline SparkEmrPropertiesInput& WithInstanceProfileArn(const char* value) { SetInstanceProfileArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The java virtual env of the Spark EMR.

    + */ + inline const Aws::String& GetJavaVirtualEnv() const{ return m_javaVirtualEnv; } + inline bool JavaVirtualEnvHasBeenSet() const { return m_javaVirtualEnvHasBeenSet; } + inline void SetJavaVirtualEnv(const Aws::String& value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv = value; } + inline void SetJavaVirtualEnv(Aws::String&& value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv = std::move(value); } + inline void SetJavaVirtualEnv(const char* value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv.assign(value); } + inline SparkEmrPropertiesInput& WithJavaVirtualEnv(const Aws::String& value) { SetJavaVirtualEnv(value); return *this;} + inline SparkEmrPropertiesInput& WithJavaVirtualEnv(Aws::String&& value) { SetJavaVirtualEnv(std::move(value)); return *this;} + inline SparkEmrPropertiesInput& WithJavaVirtualEnv(const char* value) { SetJavaVirtualEnv(value); return *this;} + ///@} + + ///@{ + /** + *

    The log URI of the Spark EMR.

    + */ + inline const Aws::String& GetLogUri() const{ return m_logUri; } + inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; } + inline void SetLogUri(const Aws::String& value) { m_logUriHasBeenSet = true; m_logUri = value; } + inline void SetLogUri(Aws::String&& value) { m_logUriHasBeenSet = true; m_logUri = std::move(value); } + inline void SetLogUri(const char* value) { m_logUriHasBeenSet = true; m_logUri.assign(value); } + inline SparkEmrPropertiesInput& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;} + inline SparkEmrPropertiesInput& WithLogUri(Aws::String&& value) { SetLogUri(std::move(value)); return *this;} + inline SparkEmrPropertiesInput& WithLogUri(const char* value) { SetLogUri(value); return *this;} + ///@} + + ///@{ + /** + *

    The Python virtual env of the Spark EMR.

    + */ + inline const Aws::String& GetPythonVirtualEnv() const{ return m_pythonVirtualEnv; } + inline bool PythonVirtualEnvHasBeenSet() const { return m_pythonVirtualEnvHasBeenSet; } + inline void SetPythonVirtualEnv(const Aws::String& value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv = value; } + inline void SetPythonVirtualEnv(Aws::String&& value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv = std::move(value); } + inline void SetPythonVirtualEnv(const char* value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv.assign(value); } + inline SparkEmrPropertiesInput& WithPythonVirtualEnv(const Aws::String& value) { SetPythonVirtualEnv(value); return *this;} + inline SparkEmrPropertiesInput& WithPythonVirtualEnv(Aws::String&& value) { SetPythonVirtualEnv(std::move(value)); return *this;} + inline SparkEmrPropertiesInput& WithPythonVirtualEnv(const char* value) { SetPythonVirtualEnv(value); return *this;} + ///@} + + ///@{ + /** + *

    The runtime role of the Spark EMR.

    + */ + inline const Aws::String& GetRuntimeRole() const{ return m_runtimeRole; } + inline bool RuntimeRoleHasBeenSet() const { return m_runtimeRoleHasBeenSet; } + inline void SetRuntimeRole(const Aws::String& value) { m_runtimeRoleHasBeenSet = true; m_runtimeRole = value; } + inline void SetRuntimeRole(Aws::String&& value) { m_runtimeRoleHasBeenSet = true; m_runtimeRole = std::move(value); } + inline void SetRuntimeRole(const char* value) { m_runtimeRoleHasBeenSet = true; m_runtimeRole.assign(value); } + inline SparkEmrPropertiesInput& WithRuntimeRole(const Aws::String& value) { SetRuntimeRole(value); return *this;} + inline SparkEmrPropertiesInput& WithRuntimeRole(Aws::String&& value) { SetRuntimeRole(std::move(value)); return *this;} + inline SparkEmrPropertiesInput& WithRuntimeRole(const char* value) { SetRuntimeRole(value); return *this;} + ///@} + + ///@{ + /** + *

    The certificates S3 URI of the Spark EMR.

    + */ + inline const Aws::String& GetTrustedCertificatesS3Uri() const{ return m_trustedCertificatesS3Uri; } + inline bool TrustedCertificatesS3UriHasBeenSet() const { return m_trustedCertificatesS3UriHasBeenSet; } + inline void SetTrustedCertificatesS3Uri(const Aws::String& value) { m_trustedCertificatesS3UriHasBeenSet = true; m_trustedCertificatesS3Uri = value; } + inline void SetTrustedCertificatesS3Uri(Aws::String&& value) { m_trustedCertificatesS3UriHasBeenSet = true; m_trustedCertificatesS3Uri = std::move(value); } + inline void SetTrustedCertificatesS3Uri(const char* value) { m_trustedCertificatesS3UriHasBeenSet = true; m_trustedCertificatesS3Uri.assign(value); } + inline SparkEmrPropertiesInput& WithTrustedCertificatesS3Uri(const Aws::String& value) { SetTrustedCertificatesS3Uri(value); return *this;} + inline SparkEmrPropertiesInput& WithTrustedCertificatesS3Uri(Aws::String&& value) { SetTrustedCertificatesS3Uri(std::move(value)); return *this;} + inline SparkEmrPropertiesInput& WithTrustedCertificatesS3Uri(const char* value) { SetTrustedCertificatesS3Uri(value); return *this;} + ///@} + private: + + Aws::String m_computeArn; + bool m_computeArnHasBeenSet = false; + + Aws::String m_instanceProfileArn; + bool m_instanceProfileArnHasBeenSet = false; + + Aws::String m_javaVirtualEnv; + bool m_javaVirtualEnvHasBeenSet = false; + + Aws::String m_logUri; + bool m_logUriHasBeenSet = false; + + Aws::String m_pythonVirtualEnv; + bool m_pythonVirtualEnvHasBeenSet = false; + + Aws::String m_runtimeRole; + bool m_runtimeRoleHasBeenSet = false; + + Aws::String m_trustedCertificatesS3Uri; + bool m_trustedCertificatesS3UriHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkEmrPropertiesOutput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkEmrPropertiesOutput.h new file mode 100644 index 00000000000..d52f8052bfd --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkEmrPropertiesOutput.h @@ -0,0 +1,228 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Spark EMR properties.

    See Also:

    AWS + * API Reference

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

    The compute ARN of the Spark EMR.

    + */ + inline const Aws::String& GetComputeArn() const{ return m_computeArn; } + inline bool ComputeArnHasBeenSet() const { return m_computeArnHasBeenSet; } + inline void SetComputeArn(const Aws::String& value) { m_computeArnHasBeenSet = true; m_computeArn = value; } + inline void SetComputeArn(Aws::String&& value) { m_computeArnHasBeenSet = true; m_computeArn = std::move(value); } + inline void SetComputeArn(const char* value) { m_computeArnHasBeenSet = true; m_computeArn.assign(value); } + inline SparkEmrPropertiesOutput& WithComputeArn(const Aws::String& value) { SetComputeArn(value); return *this;} + inline SparkEmrPropertiesOutput& WithComputeArn(Aws::String&& value) { SetComputeArn(std::move(value)); return *this;} + inline SparkEmrPropertiesOutput& WithComputeArn(const char* value) { SetComputeArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The credentials of the Spark EMR.

    + */ + inline const UsernamePassword& GetCredentials() const{ return m_credentials; } + inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; } + inline void SetCredentials(const UsernamePassword& value) { m_credentialsHasBeenSet = true; m_credentials = value; } + inline void SetCredentials(UsernamePassword&& value) { m_credentialsHasBeenSet = true; m_credentials = std::move(value); } + inline SparkEmrPropertiesOutput& WithCredentials(const UsernamePassword& value) { SetCredentials(value); return *this;} + inline SparkEmrPropertiesOutput& WithCredentials(UsernamePassword&& value) { SetCredentials(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The credential expiration of the Spark EMR.

    + */ + inline const Aws::Utils::DateTime& GetCredentialsExpiration() const{ return m_credentialsExpiration; } + inline bool CredentialsExpirationHasBeenSet() const { return m_credentialsExpirationHasBeenSet; } + inline void SetCredentialsExpiration(const Aws::Utils::DateTime& value) { m_credentialsExpirationHasBeenSet = true; m_credentialsExpiration = value; } + inline void SetCredentialsExpiration(Aws::Utils::DateTime&& value) { m_credentialsExpirationHasBeenSet = true; m_credentialsExpiration = std::move(value); } + inline SparkEmrPropertiesOutput& WithCredentialsExpiration(const Aws::Utils::DateTime& value) { SetCredentialsExpiration(value); return *this;} + inline SparkEmrPropertiesOutput& WithCredentialsExpiration(Aws::Utils::DateTime&& value) { SetCredentialsExpiration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The governance type of the Spark EMR.

    + */ + inline const GovernanceType& GetGovernanceType() const{ return m_governanceType; } + inline bool GovernanceTypeHasBeenSet() const { return m_governanceTypeHasBeenSet; } + inline void SetGovernanceType(const GovernanceType& value) { m_governanceTypeHasBeenSet = true; m_governanceType = value; } + inline void SetGovernanceType(GovernanceType&& value) { m_governanceTypeHasBeenSet = true; m_governanceType = std::move(value); } + inline SparkEmrPropertiesOutput& WithGovernanceType(const GovernanceType& value) { SetGovernanceType(value); return *this;} + inline SparkEmrPropertiesOutput& WithGovernanceType(GovernanceType&& value) { SetGovernanceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The instance profile ARN of the Spark EMR.

    + */ + inline const Aws::String& GetInstanceProfileArn() const{ return m_instanceProfileArn; } + inline bool InstanceProfileArnHasBeenSet() const { return m_instanceProfileArnHasBeenSet; } + inline void SetInstanceProfileArn(const Aws::String& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = value; } + inline void SetInstanceProfileArn(Aws::String&& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = std::move(value); } + inline void SetInstanceProfileArn(const char* value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn.assign(value); } + inline SparkEmrPropertiesOutput& WithInstanceProfileArn(const Aws::String& value) { SetInstanceProfileArn(value); return *this;} + inline SparkEmrPropertiesOutput& WithInstanceProfileArn(Aws::String&& value) { SetInstanceProfileArn(std::move(value)); return *this;} + inline SparkEmrPropertiesOutput& WithInstanceProfileArn(const char* value) { SetInstanceProfileArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The Java virtual env of the Spark EMR.

    + */ + inline const Aws::String& GetJavaVirtualEnv() const{ return m_javaVirtualEnv; } + inline bool JavaVirtualEnvHasBeenSet() const { return m_javaVirtualEnvHasBeenSet; } + inline void SetJavaVirtualEnv(const Aws::String& value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv = value; } + inline void SetJavaVirtualEnv(Aws::String&& value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv = std::move(value); } + inline void SetJavaVirtualEnv(const char* value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv.assign(value); } + inline SparkEmrPropertiesOutput& WithJavaVirtualEnv(const Aws::String& value) { SetJavaVirtualEnv(value); return *this;} + inline SparkEmrPropertiesOutput& WithJavaVirtualEnv(Aws::String&& value) { SetJavaVirtualEnv(std::move(value)); return *this;} + inline SparkEmrPropertiesOutput& WithJavaVirtualEnv(const char* value) { SetJavaVirtualEnv(value); return *this;} + ///@} + + ///@{ + /** + *

    The livy endpoint of the Spark EMR.

    + */ + inline const Aws::String& GetLivyEndpoint() const{ return m_livyEndpoint; } + inline bool LivyEndpointHasBeenSet() const { return m_livyEndpointHasBeenSet; } + inline void SetLivyEndpoint(const Aws::String& value) { m_livyEndpointHasBeenSet = true; m_livyEndpoint = value; } + inline void SetLivyEndpoint(Aws::String&& value) { m_livyEndpointHasBeenSet = true; m_livyEndpoint = std::move(value); } + inline void SetLivyEndpoint(const char* value) { m_livyEndpointHasBeenSet = true; m_livyEndpoint.assign(value); } + inline SparkEmrPropertiesOutput& WithLivyEndpoint(const Aws::String& value) { SetLivyEndpoint(value); return *this;} + inline SparkEmrPropertiesOutput& WithLivyEndpoint(Aws::String&& value) { SetLivyEndpoint(std::move(value)); return *this;} + inline SparkEmrPropertiesOutput& WithLivyEndpoint(const char* value) { SetLivyEndpoint(value); return *this;} + ///@} + + ///@{ + /** + *

    The log URI of the Spark EMR.

    + */ + inline const Aws::String& GetLogUri() const{ return m_logUri; } + inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; } + inline void SetLogUri(const Aws::String& value) { m_logUriHasBeenSet = true; m_logUri = value; } + inline void SetLogUri(Aws::String&& value) { m_logUriHasBeenSet = true; m_logUri = std::move(value); } + inline void SetLogUri(const char* value) { m_logUriHasBeenSet = true; m_logUri.assign(value); } + inline SparkEmrPropertiesOutput& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;} + inline SparkEmrPropertiesOutput& WithLogUri(Aws::String&& value) { SetLogUri(std::move(value)); return *this;} + inline SparkEmrPropertiesOutput& WithLogUri(const char* value) { SetLogUri(value); return *this;} + ///@} + + ///@{ + /** + *

    The Python virtual env of the Spark EMR.

    + */ + inline const Aws::String& GetPythonVirtualEnv() const{ return m_pythonVirtualEnv; } + inline bool PythonVirtualEnvHasBeenSet() const { return m_pythonVirtualEnvHasBeenSet; } + inline void SetPythonVirtualEnv(const Aws::String& value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv = value; } + inline void SetPythonVirtualEnv(Aws::String&& value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv = std::move(value); } + inline void SetPythonVirtualEnv(const char* value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv.assign(value); } + inline SparkEmrPropertiesOutput& WithPythonVirtualEnv(const Aws::String& value) { SetPythonVirtualEnv(value); return *this;} + inline SparkEmrPropertiesOutput& WithPythonVirtualEnv(Aws::String&& value) { SetPythonVirtualEnv(std::move(value)); return *this;} + inline SparkEmrPropertiesOutput& WithPythonVirtualEnv(const char* value) { SetPythonVirtualEnv(value); return *this;} + ///@} + + ///@{ + /** + *

    The runtime role of the Spark EMR.

    + */ + inline const Aws::String& GetRuntimeRole() const{ return m_runtimeRole; } + inline bool RuntimeRoleHasBeenSet() const { return m_runtimeRoleHasBeenSet; } + inline void SetRuntimeRole(const Aws::String& value) { m_runtimeRoleHasBeenSet = true; m_runtimeRole = value; } + inline void SetRuntimeRole(Aws::String&& value) { m_runtimeRoleHasBeenSet = true; m_runtimeRole = std::move(value); } + inline void SetRuntimeRole(const char* value) { m_runtimeRoleHasBeenSet = true; m_runtimeRole.assign(value); } + inline SparkEmrPropertiesOutput& WithRuntimeRole(const Aws::String& value) { SetRuntimeRole(value); return *this;} + inline SparkEmrPropertiesOutput& WithRuntimeRole(Aws::String&& value) { SetRuntimeRole(std::move(value)); return *this;} + inline SparkEmrPropertiesOutput& WithRuntimeRole(const char* value) { SetRuntimeRole(value); return *this;} + ///@} + + ///@{ + /** + *

    The trusted certificate S3 URL of the Spark EMR.

    + */ + inline const Aws::String& GetTrustedCertificatesS3Uri() const{ return m_trustedCertificatesS3Uri; } + inline bool TrustedCertificatesS3UriHasBeenSet() const { return m_trustedCertificatesS3UriHasBeenSet; } + inline void SetTrustedCertificatesS3Uri(const Aws::String& value) { m_trustedCertificatesS3UriHasBeenSet = true; m_trustedCertificatesS3Uri = value; } + inline void SetTrustedCertificatesS3Uri(Aws::String&& value) { m_trustedCertificatesS3UriHasBeenSet = true; m_trustedCertificatesS3Uri = std::move(value); } + inline void SetTrustedCertificatesS3Uri(const char* value) { m_trustedCertificatesS3UriHasBeenSet = true; m_trustedCertificatesS3Uri.assign(value); } + inline SparkEmrPropertiesOutput& WithTrustedCertificatesS3Uri(const Aws::String& value) { SetTrustedCertificatesS3Uri(value); return *this;} + inline SparkEmrPropertiesOutput& WithTrustedCertificatesS3Uri(Aws::String&& value) { SetTrustedCertificatesS3Uri(std::move(value)); return *this;} + inline SparkEmrPropertiesOutput& WithTrustedCertificatesS3Uri(const char* value) { SetTrustedCertificatesS3Uri(value); return *this;} + ///@} + private: + + Aws::String m_computeArn; + bool m_computeArnHasBeenSet = false; + + UsernamePassword m_credentials; + bool m_credentialsHasBeenSet = false; + + Aws::Utils::DateTime m_credentialsExpiration; + bool m_credentialsExpirationHasBeenSet = false; + + GovernanceType m_governanceType; + bool m_governanceTypeHasBeenSet = false; + + Aws::String m_instanceProfileArn; + bool m_instanceProfileArnHasBeenSet = false; + + Aws::String m_javaVirtualEnv; + bool m_javaVirtualEnvHasBeenSet = false; + + Aws::String m_livyEndpoint; + bool m_livyEndpointHasBeenSet = false; + + Aws::String m_logUri; + bool m_logUriHasBeenSet = false; + + Aws::String m_pythonVirtualEnv; + bool m_pythonVirtualEnvHasBeenSet = false; + + Aws::String m_runtimeRole; + bool m_runtimeRoleHasBeenSet = false; + + Aws::String m_trustedCertificatesS3Uri; + bool m_trustedCertificatesS3UriHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkEmrPropertiesPatch.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkEmrPropertiesPatch.h new file mode 100644 index 00000000000..208024fd71d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkEmrPropertiesPatch.h @@ -0,0 +1,163 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Spark EMR properties patch.

    See Also:

    AWS + * API Reference

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

    The compute ARN in the Spark EMR properties patch.

    + */ + inline const Aws::String& GetComputeArn() const{ return m_computeArn; } + inline bool ComputeArnHasBeenSet() const { return m_computeArnHasBeenSet; } + inline void SetComputeArn(const Aws::String& value) { m_computeArnHasBeenSet = true; m_computeArn = value; } + inline void SetComputeArn(Aws::String&& value) { m_computeArnHasBeenSet = true; m_computeArn = std::move(value); } + inline void SetComputeArn(const char* value) { m_computeArnHasBeenSet = true; m_computeArn.assign(value); } + inline SparkEmrPropertiesPatch& WithComputeArn(const Aws::String& value) { SetComputeArn(value); return *this;} + inline SparkEmrPropertiesPatch& WithComputeArn(Aws::String&& value) { SetComputeArn(std::move(value)); return *this;} + inline SparkEmrPropertiesPatch& WithComputeArn(const char* value) { SetComputeArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The instance profile ARN in the Spark EMR properties patch.

    + */ + inline const Aws::String& GetInstanceProfileArn() const{ return m_instanceProfileArn; } + inline bool InstanceProfileArnHasBeenSet() const { return m_instanceProfileArnHasBeenSet; } + inline void SetInstanceProfileArn(const Aws::String& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = value; } + inline void SetInstanceProfileArn(Aws::String&& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = std::move(value); } + inline void SetInstanceProfileArn(const char* value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn.assign(value); } + inline SparkEmrPropertiesPatch& WithInstanceProfileArn(const Aws::String& value) { SetInstanceProfileArn(value); return *this;} + inline SparkEmrPropertiesPatch& WithInstanceProfileArn(Aws::String&& value) { SetInstanceProfileArn(std::move(value)); return *this;} + inline SparkEmrPropertiesPatch& WithInstanceProfileArn(const char* value) { SetInstanceProfileArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The Java virtual evn in the Spark EMR properties patch.

    + */ + inline const Aws::String& GetJavaVirtualEnv() const{ return m_javaVirtualEnv; } + inline bool JavaVirtualEnvHasBeenSet() const { return m_javaVirtualEnvHasBeenSet; } + inline void SetJavaVirtualEnv(const Aws::String& value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv = value; } + inline void SetJavaVirtualEnv(Aws::String&& value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv = std::move(value); } + inline void SetJavaVirtualEnv(const char* value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv.assign(value); } + inline SparkEmrPropertiesPatch& WithJavaVirtualEnv(const Aws::String& value) { SetJavaVirtualEnv(value); return *this;} + inline SparkEmrPropertiesPatch& WithJavaVirtualEnv(Aws::String&& value) { SetJavaVirtualEnv(std::move(value)); return *this;} + inline SparkEmrPropertiesPatch& WithJavaVirtualEnv(const char* value) { SetJavaVirtualEnv(value); return *this;} + ///@} + + ///@{ + /** + *

    The log URI in the Spark EMR properties patch.

    + */ + inline const Aws::String& GetLogUri() const{ return m_logUri; } + inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; } + inline void SetLogUri(const Aws::String& value) { m_logUriHasBeenSet = true; m_logUri = value; } + inline void SetLogUri(Aws::String&& value) { m_logUriHasBeenSet = true; m_logUri = std::move(value); } + inline void SetLogUri(const char* value) { m_logUriHasBeenSet = true; m_logUri.assign(value); } + inline SparkEmrPropertiesPatch& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;} + inline SparkEmrPropertiesPatch& WithLogUri(Aws::String&& value) { SetLogUri(std::move(value)); return *this;} + inline SparkEmrPropertiesPatch& WithLogUri(const char* value) { SetLogUri(value); return *this;} + ///@} + + ///@{ + /** + *

    The Python virtual env in the Spark EMR properties patch.

    + */ + inline const Aws::String& GetPythonVirtualEnv() const{ return m_pythonVirtualEnv; } + inline bool PythonVirtualEnvHasBeenSet() const { return m_pythonVirtualEnvHasBeenSet; } + inline void SetPythonVirtualEnv(const Aws::String& value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv = value; } + inline void SetPythonVirtualEnv(Aws::String&& value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv = std::move(value); } + inline void SetPythonVirtualEnv(const char* value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv.assign(value); } + inline SparkEmrPropertiesPatch& WithPythonVirtualEnv(const Aws::String& value) { SetPythonVirtualEnv(value); return *this;} + inline SparkEmrPropertiesPatch& WithPythonVirtualEnv(Aws::String&& value) { SetPythonVirtualEnv(std::move(value)); return *this;} + inline SparkEmrPropertiesPatch& WithPythonVirtualEnv(const char* value) { SetPythonVirtualEnv(value); return *this;} + ///@} + + ///@{ + /** + *

    The runtime role in the Spark EMR properties patch.

    + */ + inline const Aws::String& GetRuntimeRole() const{ return m_runtimeRole; } + inline bool RuntimeRoleHasBeenSet() const { return m_runtimeRoleHasBeenSet; } + inline void SetRuntimeRole(const Aws::String& value) { m_runtimeRoleHasBeenSet = true; m_runtimeRole = value; } + inline void SetRuntimeRole(Aws::String&& value) { m_runtimeRoleHasBeenSet = true; m_runtimeRole = std::move(value); } + inline void SetRuntimeRole(const char* value) { m_runtimeRoleHasBeenSet = true; m_runtimeRole.assign(value); } + inline SparkEmrPropertiesPatch& WithRuntimeRole(const Aws::String& value) { SetRuntimeRole(value); return *this;} + inline SparkEmrPropertiesPatch& WithRuntimeRole(Aws::String&& value) { SetRuntimeRole(std::move(value)); return *this;} + inline SparkEmrPropertiesPatch& WithRuntimeRole(const char* value) { SetRuntimeRole(value); return *this;} + ///@} + + ///@{ + /** + *

    The trusted certificates S3 URI in the Spark EMR properties patch.

    + */ + inline const Aws::String& GetTrustedCertificatesS3Uri() const{ return m_trustedCertificatesS3Uri; } + inline bool TrustedCertificatesS3UriHasBeenSet() const { return m_trustedCertificatesS3UriHasBeenSet; } + inline void SetTrustedCertificatesS3Uri(const Aws::String& value) { m_trustedCertificatesS3UriHasBeenSet = true; m_trustedCertificatesS3Uri = value; } + inline void SetTrustedCertificatesS3Uri(Aws::String&& value) { m_trustedCertificatesS3UriHasBeenSet = true; m_trustedCertificatesS3Uri = std::move(value); } + inline void SetTrustedCertificatesS3Uri(const char* value) { m_trustedCertificatesS3UriHasBeenSet = true; m_trustedCertificatesS3Uri.assign(value); } + inline SparkEmrPropertiesPatch& WithTrustedCertificatesS3Uri(const Aws::String& value) { SetTrustedCertificatesS3Uri(value); return *this;} + inline SparkEmrPropertiesPatch& WithTrustedCertificatesS3Uri(Aws::String&& value) { SetTrustedCertificatesS3Uri(std::move(value)); return *this;} + inline SparkEmrPropertiesPatch& WithTrustedCertificatesS3Uri(const char* value) { SetTrustedCertificatesS3Uri(value); return *this;} + ///@} + private: + + Aws::String m_computeArn; + bool m_computeArnHasBeenSet = false; + + Aws::String m_instanceProfileArn; + bool m_instanceProfileArnHasBeenSet = false; + + Aws::String m_javaVirtualEnv; + bool m_javaVirtualEnvHasBeenSet = false; + + Aws::String m_logUri; + bool m_logUriHasBeenSet = false; + + Aws::String m_pythonVirtualEnv; + bool m_pythonVirtualEnvHasBeenSet = false; + + Aws::String m_runtimeRole; + bool m_runtimeRoleHasBeenSet = false; + + Aws::String m_trustedCertificatesS3Uri; + bool m_trustedCertificatesS3UriHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkGlueArgs.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkGlueArgs.h new file mode 100644 index 00000000000..adf71e04ded --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkGlueArgs.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

    The Spark Amazon Web Services Glue args.

    See Also:

    AWS + * API Reference

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

    The connection in the Spark Amazon Web Services Glue args.

    + */ + inline const Aws::String& GetConnection() const{ return m_connection; } + inline bool ConnectionHasBeenSet() const { return m_connectionHasBeenSet; } + inline void SetConnection(const Aws::String& value) { m_connectionHasBeenSet = true; m_connection = value; } + inline void SetConnection(Aws::String&& value) { m_connectionHasBeenSet = true; m_connection = std::move(value); } + inline void SetConnection(const char* value) { m_connectionHasBeenSet = true; m_connection.assign(value); } + inline SparkGlueArgs& WithConnection(const Aws::String& value) { SetConnection(value); return *this;} + inline SparkGlueArgs& WithConnection(Aws::String&& value) { SetConnection(std::move(value)); return *this;} + inline SparkGlueArgs& WithConnection(const char* value) { SetConnection(value); return *this;} + ///@} + private: + + Aws::String m_connection; + bool m_connectionHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkGluePropertiesInput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkGluePropertiesInput.h new file mode 100644 index 00000000000..93585ae272b --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkGluePropertiesInput.h @@ -0,0 +1,173 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Spark Amazon Web Services Glue properties.

    See Also:

    AWS + * API Reference

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

    The additional args in the Spark Amazon Web Services Glue properties.

    + */ + inline const SparkGlueArgs& GetAdditionalArgs() const{ return m_additionalArgs; } + inline bool AdditionalArgsHasBeenSet() const { return m_additionalArgsHasBeenSet; } + inline void SetAdditionalArgs(const SparkGlueArgs& value) { m_additionalArgsHasBeenSet = true; m_additionalArgs = value; } + inline void SetAdditionalArgs(SparkGlueArgs&& value) { m_additionalArgsHasBeenSet = true; m_additionalArgs = std::move(value); } + inline SparkGluePropertiesInput& WithAdditionalArgs(const SparkGlueArgs& value) { SetAdditionalArgs(value); return *this;} + inline SparkGluePropertiesInput& WithAdditionalArgs(SparkGlueArgs&& value) { SetAdditionalArgs(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Web Services Glue connection name in the Spark Amazon Web Services + * Glue properties.

    + */ + inline const Aws::String& GetGlueConnectionName() const{ return m_glueConnectionName; } + inline bool GlueConnectionNameHasBeenSet() const { return m_glueConnectionNameHasBeenSet; } + inline void SetGlueConnectionName(const Aws::String& value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName = value; } + inline void SetGlueConnectionName(Aws::String&& value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName = std::move(value); } + inline void SetGlueConnectionName(const char* value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName.assign(value); } + inline SparkGluePropertiesInput& WithGlueConnectionName(const Aws::String& value) { SetGlueConnectionName(value); return *this;} + inline SparkGluePropertiesInput& WithGlueConnectionName(Aws::String&& value) { SetGlueConnectionName(std::move(value)); return *this;} + inline SparkGluePropertiesInput& WithGlueConnectionName(const char* value) { SetGlueConnectionName(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Web Services Glue version in the Spark Amazon Web Services Glue + * properties.

    + */ + inline const Aws::String& GetGlueVersion() const{ return m_glueVersion; } + inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; } + inline void SetGlueVersion(const Aws::String& value) { m_glueVersionHasBeenSet = true; m_glueVersion = value; } + inline void SetGlueVersion(Aws::String&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::move(value); } + inline void SetGlueVersion(const char* value) { m_glueVersionHasBeenSet = true; m_glueVersion.assign(value); } + inline SparkGluePropertiesInput& WithGlueVersion(const Aws::String& value) { SetGlueVersion(value); return *this;} + inline SparkGluePropertiesInput& WithGlueVersion(Aws::String&& value) { SetGlueVersion(std::move(value)); return *this;} + inline SparkGluePropertiesInput& WithGlueVersion(const char* value) { SetGlueVersion(value); return *this;} + ///@} + + ///@{ + /** + *

    The idle timeout in the Spark Amazon Web Services Glue properties.

    + */ + inline int GetIdleTimeout() const{ return m_idleTimeout; } + inline bool IdleTimeoutHasBeenSet() const { return m_idleTimeoutHasBeenSet; } + inline void SetIdleTimeout(int value) { m_idleTimeoutHasBeenSet = true; m_idleTimeout = value; } + inline SparkGluePropertiesInput& WithIdleTimeout(int value) { SetIdleTimeout(value); return *this;} + ///@} + + ///@{ + /** + *

    The Java virtual env in the Spark Amazon Web Services Glue properties.

    + */ + inline const Aws::String& GetJavaVirtualEnv() const{ return m_javaVirtualEnv; } + inline bool JavaVirtualEnvHasBeenSet() const { return m_javaVirtualEnvHasBeenSet; } + inline void SetJavaVirtualEnv(const Aws::String& value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv = value; } + inline void SetJavaVirtualEnv(Aws::String&& value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv = std::move(value); } + inline void SetJavaVirtualEnv(const char* value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv.assign(value); } + inline SparkGluePropertiesInput& WithJavaVirtualEnv(const Aws::String& value) { SetJavaVirtualEnv(value); return *this;} + inline SparkGluePropertiesInput& WithJavaVirtualEnv(Aws::String&& value) { SetJavaVirtualEnv(std::move(value)); return *this;} + inline SparkGluePropertiesInput& WithJavaVirtualEnv(const char* value) { SetJavaVirtualEnv(value); return *this;} + ///@} + + ///@{ + /** + *

    The number of workers in the Spark Amazon Web Services Glue properties.

    + */ + inline int GetNumberOfWorkers() const{ return m_numberOfWorkers; } + inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; } + inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; } + inline SparkGluePropertiesInput& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;} + ///@} + + ///@{ + /** + *

    The Python virtual env in the Spark Amazon Web Services Glue properties.

    + */ + inline const Aws::String& GetPythonVirtualEnv() const{ return m_pythonVirtualEnv; } + inline bool PythonVirtualEnvHasBeenSet() const { return m_pythonVirtualEnvHasBeenSet; } + inline void SetPythonVirtualEnv(const Aws::String& value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv = value; } + inline void SetPythonVirtualEnv(Aws::String&& value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv = std::move(value); } + inline void SetPythonVirtualEnv(const char* value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv.assign(value); } + inline SparkGluePropertiesInput& WithPythonVirtualEnv(const Aws::String& value) { SetPythonVirtualEnv(value); return *this;} + inline SparkGluePropertiesInput& WithPythonVirtualEnv(Aws::String&& value) { SetPythonVirtualEnv(std::move(value)); return *this;} + inline SparkGluePropertiesInput& WithPythonVirtualEnv(const char* value) { SetPythonVirtualEnv(value); return *this;} + ///@} + + ///@{ + /** + *

    The worker type in the Spark Amazon Web Services Glue properties.

    + */ + inline const Aws::String& GetWorkerType() const{ return m_workerType; } + inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; } + inline void SetWorkerType(const Aws::String& value) { m_workerTypeHasBeenSet = true; m_workerType = value; } + inline void SetWorkerType(Aws::String&& value) { m_workerTypeHasBeenSet = true; m_workerType = std::move(value); } + inline void SetWorkerType(const char* value) { m_workerTypeHasBeenSet = true; m_workerType.assign(value); } + inline SparkGluePropertiesInput& WithWorkerType(const Aws::String& value) { SetWorkerType(value); return *this;} + inline SparkGluePropertiesInput& WithWorkerType(Aws::String&& value) { SetWorkerType(std::move(value)); return *this;} + inline SparkGluePropertiesInput& WithWorkerType(const char* value) { SetWorkerType(value); return *this;} + ///@} + private: + + SparkGlueArgs m_additionalArgs; + bool m_additionalArgsHasBeenSet = false; + + Aws::String m_glueConnectionName; + bool m_glueConnectionNameHasBeenSet = false; + + Aws::String m_glueVersion; + bool m_glueVersionHasBeenSet = false; + + int m_idleTimeout; + bool m_idleTimeoutHasBeenSet = false; + + Aws::String m_javaVirtualEnv; + bool m_javaVirtualEnvHasBeenSet = false; + + int m_numberOfWorkers; + bool m_numberOfWorkersHasBeenSet = false; + + Aws::String m_pythonVirtualEnv; + bool m_pythonVirtualEnvHasBeenSet = false; + + Aws::String m_workerType; + bool m_workerTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkGluePropertiesOutput.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkGluePropertiesOutput.h new file mode 100644 index 00000000000..0eaa0808027 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SparkGluePropertiesOutput.h @@ -0,0 +1,173 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The Spark Amazon Web Services Glue properties.

    See Also:

    AWS + * API Reference

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

    The additional args in the Spark Amazon Web Services Glue properties.

    + */ + inline const SparkGlueArgs& GetAdditionalArgs() const{ return m_additionalArgs; } + inline bool AdditionalArgsHasBeenSet() const { return m_additionalArgsHasBeenSet; } + inline void SetAdditionalArgs(const SparkGlueArgs& value) { m_additionalArgsHasBeenSet = true; m_additionalArgs = value; } + inline void SetAdditionalArgs(SparkGlueArgs&& value) { m_additionalArgsHasBeenSet = true; m_additionalArgs = std::move(value); } + inline SparkGluePropertiesOutput& WithAdditionalArgs(const SparkGlueArgs& value) { SetAdditionalArgs(value); return *this;} + inline SparkGluePropertiesOutput& WithAdditionalArgs(SparkGlueArgs&& value) { SetAdditionalArgs(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Web Services Glue connection name in the Spark Amazon Web Services + * Glue properties.

    + */ + inline const Aws::String& GetGlueConnectionName() const{ return m_glueConnectionName; } + inline bool GlueConnectionNameHasBeenSet() const { return m_glueConnectionNameHasBeenSet; } + inline void SetGlueConnectionName(const Aws::String& value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName = value; } + inline void SetGlueConnectionName(Aws::String&& value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName = std::move(value); } + inline void SetGlueConnectionName(const char* value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName.assign(value); } + inline SparkGluePropertiesOutput& WithGlueConnectionName(const Aws::String& value) { SetGlueConnectionName(value); return *this;} + inline SparkGluePropertiesOutput& WithGlueConnectionName(Aws::String&& value) { SetGlueConnectionName(std::move(value)); return *this;} + inline SparkGluePropertiesOutput& WithGlueConnectionName(const char* value) { SetGlueConnectionName(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Web Services Glue version in the Spark Amazon Web Services Glue + * properties.

    + */ + inline const Aws::String& GetGlueVersion() const{ return m_glueVersion; } + inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; } + inline void SetGlueVersion(const Aws::String& value) { m_glueVersionHasBeenSet = true; m_glueVersion = value; } + inline void SetGlueVersion(Aws::String&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::move(value); } + inline void SetGlueVersion(const char* value) { m_glueVersionHasBeenSet = true; m_glueVersion.assign(value); } + inline SparkGluePropertiesOutput& WithGlueVersion(const Aws::String& value) { SetGlueVersion(value); return *this;} + inline SparkGluePropertiesOutput& WithGlueVersion(Aws::String&& value) { SetGlueVersion(std::move(value)); return *this;} + inline SparkGluePropertiesOutput& WithGlueVersion(const char* value) { SetGlueVersion(value); return *this;} + ///@} + + ///@{ + /** + *

    The idle timeout in the Spark Amazon Web Services Glue properties.

    + */ + inline int GetIdleTimeout() const{ return m_idleTimeout; } + inline bool IdleTimeoutHasBeenSet() const { return m_idleTimeoutHasBeenSet; } + inline void SetIdleTimeout(int value) { m_idleTimeoutHasBeenSet = true; m_idleTimeout = value; } + inline SparkGluePropertiesOutput& WithIdleTimeout(int value) { SetIdleTimeout(value); return *this;} + ///@} + + ///@{ + /** + *

    The Java virtual env in the Spark Amazon Web Services Glue properties.

    + */ + inline const Aws::String& GetJavaVirtualEnv() const{ return m_javaVirtualEnv; } + inline bool JavaVirtualEnvHasBeenSet() const { return m_javaVirtualEnvHasBeenSet; } + inline void SetJavaVirtualEnv(const Aws::String& value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv = value; } + inline void SetJavaVirtualEnv(Aws::String&& value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv = std::move(value); } + inline void SetJavaVirtualEnv(const char* value) { m_javaVirtualEnvHasBeenSet = true; m_javaVirtualEnv.assign(value); } + inline SparkGluePropertiesOutput& WithJavaVirtualEnv(const Aws::String& value) { SetJavaVirtualEnv(value); return *this;} + inline SparkGluePropertiesOutput& WithJavaVirtualEnv(Aws::String&& value) { SetJavaVirtualEnv(std::move(value)); return *this;} + inline SparkGluePropertiesOutput& WithJavaVirtualEnv(const char* value) { SetJavaVirtualEnv(value); return *this;} + ///@} + + ///@{ + /** + *

    The number of workers in the Spark Amazon Web Services Glue properties.

    + */ + inline int GetNumberOfWorkers() const{ return m_numberOfWorkers; } + inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; } + inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; } + inline SparkGluePropertiesOutput& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;} + ///@} + + ///@{ + /** + *

    The Python virtual env in the Spark Amazon Web Services Glue properties.

    + */ + inline const Aws::String& GetPythonVirtualEnv() const{ return m_pythonVirtualEnv; } + inline bool PythonVirtualEnvHasBeenSet() const { return m_pythonVirtualEnvHasBeenSet; } + inline void SetPythonVirtualEnv(const Aws::String& value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv = value; } + inline void SetPythonVirtualEnv(Aws::String&& value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv = std::move(value); } + inline void SetPythonVirtualEnv(const char* value) { m_pythonVirtualEnvHasBeenSet = true; m_pythonVirtualEnv.assign(value); } + inline SparkGluePropertiesOutput& WithPythonVirtualEnv(const Aws::String& value) { SetPythonVirtualEnv(value); return *this;} + inline SparkGluePropertiesOutput& WithPythonVirtualEnv(Aws::String&& value) { SetPythonVirtualEnv(std::move(value)); return *this;} + inline SparkGluePropertiesOutput& WithPythonVirtualEnv(const char* value) { SetPythonVirtualEnv(value); return *this;} + ///@} + + ///@{ + /** + *

    The worker type in the Spark Amazon Web Services Glue properties.

    + */ + inline const Aws::String& GetWorkerType() const{ return m_workerType; } + inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; } + inline void SetWorkerType(const Aws::String& value) { m_workerTypeHasBeenSet = true; m_workerType = value; } + inline void SetWorkerType(Aws::String&& value) { m_workerTypeHasBeenSet = true; m_workerType = std::move(value); } + inline void SetWorkerType(const char* value) { m_workerTypeHasBeenSet = true; m_workerType.assign(value); } + inline SparkGluePropertiesOutput& WithWorkerType(const Aws::String& value) { SetWorkerType(value); return *this;} + inline SparkGluePropertiesOutput& WithWorkerType(Aws::String&& value) { SetWorkerType(std::move(value)); return *this;} + inline SparkGluePropertiesOutput& WithWorkerType(const char* value) { SetWorkerType(value); return *this;} + ///@} + private: + + SparkGlueArgs m_additionalArgs; + bool m_additionalArgsHasBeenSet = false; + + Aws::String m_glueConnectionName; + bool m_glueConnectionNameHasBeenSet = false; + + Aws::String m_glueVersion; + bool m_glueVersionHasBeenSet = false; + + int m_idleTimeout; + bool m_idleTimeoutHasBeenSet = false; + + Aws::String m_javaVirtualEnv; + bool m_javaVirtualEnvHasBeenSet = false; + + int m_numberOfWorkers; + bool m_numberOfWorkersHasBeenSet = false; + + Aws::String m_pythonVirtualEnv; + bool m_pythonVirtualEnvHasBeenSet = false; + + Aws::String m_workerType; + bool m_workerTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Status.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Status.h new file mode 100644 index 00000000000..f1902e9c0a0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Status.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class Status + { + NOT_SET, + ENABLED, + DISABLED + }; + +namespace StatusMapper +{ +AWS_DATAZONE_API Status GetStatusForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForStatus(Status value); +} // namespace StatusMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateConnectionRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateConnectionRequest.h new file mode 100644 index 00000000000..2f9fda64285 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateConnectionRequest.h @@ -0,0 +1,122 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + */ + class UpdateConnectionRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API UpdateConnectionRequest(); + + // 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 "UpdateConnection"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The location where a connection is to be updated.

    + */ + inline const AwsLocation& GetAwsLocation() const{ return m_awsLocation; } + inline bool AwsLocationHasBeenSet() const { return m_awsLocationHasBeenSet; } + inline void SetAwsLocation(const AwsLocation& value) { m_awsLocationHasBeenSet = true; m_awsLocation = value; } + inline void SetAwsLocation(AwsLocation&& value) { m_awsLocationHasBeenSet = true; m_awsLocation = std::move(value); } + inline UpdateConnectionRequest& WithAwsLocation(const AwsLocation& value) { SetAwsLocation(value); return *this;} + inline UpdateConnectionRequest& WithAwsLocation(AwsLocation&& value) { SetAwsLocation(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The description of a connection.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline UpdateConnectionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline UpdateConnectionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline UpdateConnectionRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain where a connection is to be updated.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline UpdateConnectionRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline UpdateConnectionRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline UpdateConnectionRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the connection to be updated.

    + */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline UpdateConnectionRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline UpdateConnectionRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline UpdateConnectionRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The connection props.

    + */ + inline const ConnectionPropertiesPatch& GetProps() const{ return m_props; } + inline bool PropsHasBeenSet() const { return m_propsHasBeenSet; } + inline void SetProps(const ConnectionPropertiesPatch& value) { m_propsHasBeenSet = true; m_props = value; } + inline void SetProps(ConnectionPropertiesPatch&& value) { m_propsHasBeenSet = true; m_props = std::move(value); } + inline UpdateConnectionRequest& WithProps(const ConnectionPropertiesPatch& value) { SetProps(value); return *this;} + inline UpdateConnectionRequest& WithProps(ConnectionPropertiesPatch&& value) { SetProps(std::move(value)); return *this;} + ///@} + private: + + AwsLocation m_awsLocation; + bool m_awsLocationHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + + ConnectionPropertiesPatch m_props; + bool m_propsHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateConnectionResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateConnectionResult.h new file mode 100644 index 00000000000..c2bccef3ef7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateConnectionResult.h @@ -0,0 +1,202 @@ +/** + * 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 DataZone +{ +namespace Model +{ + class UpdateConnectionResult + { + public: + AWS_DATAZONE_API UpdateConnectionResult(); + AWS_DATAZONE_API UpdateConnectionResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API UpdateConnectionResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The ID of the connection.

    + */ + inline const Aws::String& GetConnectionId() const{ return m_connectionId; } + inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; } + inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); } + inline void SetConnectionId(const char* value) { m_connectionId.assign(value); } + inline UpdateConnectionResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} + inline UpdateConnectionResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} + inline UpdateConnectionResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} + ///@} + + ///@{ + /** + *

    The connection description.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline UpdateConnectionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline UpdateConnectionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline UpdateConnectionResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain where a connection is to be updated.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + inline UpdateConnectionResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline UpdateConnectionResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline UpdateConnectionResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain unit where a connection is to be updated.

    + */ + inline const Aws::String& GetDomainUnitId() const{ return m_domainUnitId; } + inline void SetDomainUnitId(const Aws::String& value) { m_domainUnitId = value; } + inline void SetDomainUnitId(Aws::String&& value) { m_domainUnitId = std::move(value); } + inline void SetDomainUnitId(const char* value) { m_domainUnitId.assign(value); } + inline UpdateConnectionResult& WithDomainUnitId(const Aws::String& value) { SetDomainUnitId(value); return *this;} + inline UpdateConnectionResult& WithDomainUnitId(Aws::String&& value) { SetDomainUnitId(std::move(value)); return *this;} + inline UpdateConnectionResult& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the environment where a connection is to be updated.

    + */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; } + inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); } + inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); } + inline UpdateConnectionResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + inline UpdateConnectionResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + inline UpdateConnectionResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the connection.

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

    The physical endpoints of the connection.

    + */ + inline const Aws::Vector& GetPhysicalEndpoints() const{ return m_physicalEndpoints; } + inline void SetPhysicalEndpoints(const Aws::Vector& value) { m_physicalEndpoints = value; } + inline void SetPhysicalEndpoints(Aws::Vector&& value) { m_physicalEndpoints = std::move(value); } + inline UpdateConnectionResult& WithPhysicalEndpoints(const Aws::Vector& value) { SetPhysicalEndpoints(value); return *this;} + inline UpdateConnectionResult& WithPhysicalEndpoints(Aws::Vector&& value) { SetPhysicalEndpoints(std::move(value)); return *this;} + inline UpdateConnectionResult& AddPhysicalEndpoints(const PhysicalEndpoint& value) { m_physicalEndpoints.push_back(value); return *this; } + inline UpdateConnectionResult& AddPhysicalEndpoints(PhysicalEndpoint&& value) { m_physicalEndpoints.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The project ID of the connection.

    + */ + inline const Aws::String& GetProjectId() const{ return m_projectId; } + inline void SetProjectId(const Aws::String& value) { m_projectId = value; } + inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); } + inline void SetProjectId(const char* value) { m_projectId.assign(value); } + inline UpdateConnectionResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;} + inline UpdateConnectionResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;} + inline UpdateConnectionResult& WithProjectId(const char* value) { SetProjectId(value); return *this;} + ///@} + + ///@{ + /** + *

    The connection props.

    + */ + inline const ConnectionPropertiesOutput& GetProps() const{ return m_props; } + inline void SetProps(const ConnectionPropertiesOutput& value) { m_props = value; } + inline void SetProps(ConnectionPropertiesOutput&& value) { m_props = std::move(value); } + inline UpdateConnectionResult& WithProps(const ConnectionPropertiesOutput& value) { SetProps(value); return *this;} + inline UpdateConnectionResult& WithProps(ConnectionPropertiesOutput&& value) { SetProps(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The connection type.

    + */ + inline const ConnectionType& GetType() const{ return m_type; } + inline void SetType(const ConnectionType& value) { m_type = value; } + inline void SetType(ConnectionType&& value) { m_type = std::move(value); } + inline UpdateConnectionResult& WithType(const ConnectionType& value) { SetType(value); return *this;} + inline UpdateConnectionResult& WithType(ConnectionType&& value) { SetType(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_connectionId; + + Aws::String m_description; + + Aws::String m_domainId; + + Aws::String m_domainUnitId; + + Aws::String m_environmentId; + + Aws::String m_name; + + Aws::Vector m_physicalEndpoints; + + Aws::String m_projectId; + + ConnectionPropertiesOutput m_props; + + ConnectionType m_type; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateDataSourceResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateDataSourceResult.h index 41f7a50e296..8ac1a016bfb 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateDataSourceResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateDataSourceResult.h @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -69,6 +69,19 @@ namespace Model inline UpdateDataSourceResult& WithConfiguration(DataSourceConfigurationOutput&& value) { SetConfiguration(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The connection ID.

    + */ + inline const Aws::String& GetConnectionId() const{ return m_connectionId; } + inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; } + inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); } + inline void SetConnectionId(const char* value) { m_connectionId.assign(value); } + inline UpdateDataSourceResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} + inline UpdateDataSourceResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} + inline UpdateDataSourceResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} + ///@} + ///@{ /** *

    The timestamp of when the data source was updated.

    @@ -327,6 +340,8 @@ namespace Model DataSourceConfigurationOutput m_configuration; + Aws::String m_connectionId; + Aws::Utils::DateTime m_createdAt; Aws::String m_description; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateDomainRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateDomainRequest.h index d98fd7e51a4..759a09a40f7 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateDomainRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateDomainRequest.h @@ -113,6 +113,20 @@ namespace Model inline UpdateDomainRequest& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

    The service role of the domain.

    + */ + inline const Aws::String& GetServiceRole() const{ return m_serviceRole; } + inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; } + inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; } + inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); } + inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); } + inline UpdateDomainRequest& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;} + inline UpdateDomainRequest& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;} + inline UpdateDomainRequest& WithServiceRole(const char* value) { SetServiceRole(value); return *this;} + ///@} + ///@{ /** *

    The single sign-on option to be updated as part of the @@ -142,6 +156,9 @@ namespace Model Aws::String m_name; bool m_nameHasBeenSet = false; + Aws::String m_serviceRole; + bool m_serviceRoleHasBeenSet = false; + SingleSignOn m_singleSignOn; bool m_singleSignOnHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateDomainResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateDomainResult.h index b2ce887ac05..f782cf17175 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateDomainResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateDomainResult.h @@ -112,6 +112,19 @@ namespace Model inline UpdateDomainResult& WithRootDomainUnitId(const char* value) { SetRootDomainUnitId(value); return *this;} ///@} + ///@{ + /** + *

    The service role of the domain.

    + */ + inline const Aws::String& GetServiceRole() const{ return m_serviceRole; } + inline void SetServiceRole(const Aws::String& value) { m_serviceRole = value; } + inline void SetServiceRole(Aws::String&& value) { m_serviceRole = std::move(value); } + inline void SetServiceRole(const char* value) { m_serviceRole.assign(value); } + inline UpdateDomainResult& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;} + inline UpdateDomainResult& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;} + inline UpdateDomainResult& WithServiceRole(const char* value) { SetServiceRole(value); return *this;} + ///@} + ///@{ /** *

    The single sign-on option of the Amazon DataZone domain.

    @@ -147,6 +160,8 @@ namespace Model Aws::String m_rootDomainUnitId; + Aws::String m_serviceRole; + SingleSignOn m_singleSignOn; Aws::String m_requestId; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectProfileRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectProfileRequest.h new file mode 100644 index 00000000000..1a4f132b1d4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectProfileRequest.h @@ -0,0 +1,159 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + */ + class UpdateProjectProfileRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API UpdateProjectProfileRequest(); + + // 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 "UpdateProjectProfile"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The description of a project profile.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline UpdateProjectProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline UpdateProjectProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline UpdateProjectProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain where a project profile is to be updated.

    + */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline UpdateProjectProfileRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline UpdateProjectProfileRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline UpdateProjectProfileRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain unit where a project profile is to be updated.

    + */ + inline const Aws::String& GetDomainUnitIdentifier() const{ return m_domainUnitIdentifier; } + inline bool DomainUnitIdentifierHasBeenSet() const { return m_domainUnitIdentifierHasBeenSet; } + inline void SetDomainUnitIdentifier(const Aws::String& value) { m_domainUnitIdentifierHasBeenSet = true; m_domainUnitIdentifier = value; } + inline void SetDomainUnitIdentifier(Aws::String&& value) { m_domainUnitIdentifierHasBeenSet = true; m_domainUnitIdentifier = std::move(value); } + inline void SetDomainUnitIdentifier(const char* value) { m_domainUnitIdentifierHasBeenSet = true; m_domainUnitIdentifier.assign(value); } + inline UpdateProjectProfileRequest& WithDomainUnitIdentifier(const Aws::String& value) { SetDomainUnitIdentifier(value); return *this;} + inline UpdateProjectProfileRequest& WithDomainUnitIdentifier(Aws::String&& value) { SetDomainUnitIdentifier(std::move(value)); return *this;} + inline UpdateProjectProfileRequest& WithDomainUnitIdentifier(const char* value) { SetDomainUnitIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The environment configurations of a project profile.

    + */ + inline const Aws::Vector& GetEnvironmentConfigurations() const{ return m_environmentConfigurations; } + inline bool EnvironmentConfigurationsHasBeenSet() const { return m_environmentConfigurationsHasBeenSet; } + inline void SetEnvironmentConfigurations(const Aws::Vector& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations = value; } + inline void SetEnvironmentConfigurations(Aws::Vector&& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations = std::move(value); } + inline UpdateProjectProfileRequest& WithEnvironmentConfigurations(const Aws::Vector& value) { SetEnvironmentConfigurations(value); return *this;} + inline UpdateProjectProfileRequest& WithEnvironmentConfigurations(Aws::Vector&& value) { SetEnvironmentConfigurations(std::move(value)); return *this;} + inline UpdateProjectProfileRequest& AddEnvironmentConfigurations(const EnvironmentConfiguration& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations.push_back(value); return *this; } + inline UpdateProjectProfileRequest& AddEnvironmentConfigurations(EnvironmentConfiguration&& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The ID of a project profile that is to be updated.

    + */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline UpdateProjectProfileRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline UpdateProjectProfileRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline UpdateProjectProfileRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of a project profile.

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

    The status of a project profile.

    + */ + inline const Status& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline UpdateProjectProfileRequest& WithStatus(const Status& value) { SetStatus(value); return *this;} + inline UpdateProjectProfileRequest& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_domainUnitIdentifier; + bool m_domainUnitIdentifierHasBeenSet = false; + + Aws::Vector m_environmentConfigurations; + bool m_environmentConfigurationsHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Status m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectProfileResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectProfileResult.h new file mode 100644 index 00000000000..4bf0abc1b4d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectProfileResult.h @@ -0,0 +1,200 @@ +/** + * 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 DataZone +{ +namespace Model +{ + class UpdateProjectProfileResult + { + public: + AWS_DATAZONE_API UpdateProjectProfileResult(); + AWS_DATAZONE_API UpdateProjectProfileResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API UpdateProjectProfileResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The timestamp at which a project profile is created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline UpdateProjectProfileResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline UpdateProjectProfileResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The user who created a project profile.

    + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline UpdateProjectProfileResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline UpdateProjectProfileResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline UpdateProjectProfileResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    The description of a project profile.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline UpdateProjectProfileResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline UpdateProjectProfileResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline UpdateProjectProfileResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the domain where project profile is to be updated.

    + */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + inline UpdateProjectProfileResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline UpdateProjectProfileResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline UpdateProjectProfileResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

    The domain unit ID of the project profile to be updated.

    + */ + inline const Aws::String& GetDomainUnitId() const{ return m_domainUnitId; } + inline void SetDomainUnitId(const Aws::String& value) { m_domainUnitId = value; } + inline void SetDomainUnitId(Aws::String&& value) { m_domainUnitId = std::move(value); } + inline void SetDomainUnitId(const char* value) { m_domainUnitId.assign(value); } + inline UpdateProjectProfileResult& WithDomainUnitId(const Aws::String& value) { SetDomainUnitId(value); return *this;} + inline UpdateProjectProfileResult& WithDomainUnitId(Aws::String&& value) { SetDomainUnitId(std::move(value)); return *this;} + inline UpdateProjectProfileResult& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;} + ///@} + + ///@{ + /** + *

    The environment configurations of a project profile.

    + */ + inline const Aws::Vector& GetEnvironmentConfigurations() const{ return m_environmentConfigurations; } + inline void SetEnvironmentConfigurations(const Aws::Vector& value) { m_environmentConfigurations = value; } + inline void SetEnvironmentConfigurations(Aws::Vector&& value) { m_environmentConfigurations = std::move(value); } + inline UpdateProjectProfileResult& WithEnvironmentConfigurations(const Aws::Vector& value) { SetEnvironmentConfigurations(value); return *this;} + inline UpdateProjectProfileResult& WithEnvironmentConfigurations(Aws::Vector&& value) { SetEnvironmentConfigurations(std::move(value)); return *this;} + inline UpdateProjectProfileResult& AddEnvironmentConfigurations(const EnvironmentConfiguration& value) { m_environmentConfigurations.push_back(value); return *this; } + inline UpdateProjectProfileResult& AddEnvironmentConfigurations(EnvironmentConfiguration&& value) { m_environmentConfigurations.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The ID of the project profile.

    + */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline UpdateProjectProfileResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline UpdateProjectProfileResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline UpdateProjectProfileResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The timestamp at which a project profile was last updated.

    + */ + inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } + inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; } + inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); } + inline UpdateProjectProfileResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} + inline UpdateProjectProfileResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The name of the project profile.

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

    The status of the project profile.

    + */ + inline const Status& GetStatus() const{ return m_status; } + inline void SetStatus(const Status& value) { m_status = value; } + inline void SetStatus(Status&& value) { m_status = std::move(value); } + inline UpdateProjectProfileResult& WithStatus(const Status& value) { SetStatus(value); return *this;} + inline UpdateProjectProfileResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateProjectProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateProjectProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateProjectProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_description; + + Aws::String m_domainId; + + Aws::String m_domainUnitId; + + Aws::Vector m_environmentConfigurations; + + Aws::String m_id; + + Aws::Utils::DateTime m_lastUpdatedAt; + + Aws::String m_name; + + Status m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectRequest.h index 07a6e1a9a98..893b9636710 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectRequest.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include @@ -62,6 +63,18 @@ namespace Model inline UpdateProjectRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} ///@} + ///@{ + /** + *

    The environment deployment details of the project.

    + */ + inline const EnvironmentDeploymentDetails& GetEnvironmentDeploymentDetails() const{ return m_environmentDeploymentDetails; } + inline bool EnvironmentDeploymentDetailsHasBeenSet() const { return m_environmentDeploymentDetailsHasBeenSet; } + inline void SetEnvironmentDeploymentDetails(const EnvironmentDeploymentDetails& value) { m_environmentDeploymentDetailsHasBeenSet = true; m_environmentDeploymentDetails = value; } + inline void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetails&& value) { m_environmentDeploymentDetailsHasBeenSet = true; m_environmentDeploymentDetails = std::move(value); } + inline UpdateProjectRequest& WithEnvironmentDeploymentDetails(const EnvironmentDeploymentDetails& value) { SetEnvironmentDeploymentDetails(value); return *this;} + inline UpdateProjectRequest& WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetails&& value) { SetEnvironmentDeploymentDetails(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The glossary terms to be updated as part of the UpdateProject @@ -113,6 +126,9 @@ namespace Model Aws::String m_domainIdentifier; bool m_domainIdentifierHasBeenSet = false; + EnvironmentDeploymentDetails m_environmentDeploymentDetails; + bool m_environmentDeploymentDetailsHasBeenSet = false; + Aws::Vector m_glossaryTerms; bool m_glossaryTermsHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectResult.h index a648022a97d..10ac725d732 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectResult.h @@ -7,9 +7,11 @@ #include #include #include +#include #include #include #include +#include #include namespace Aws @@ -100,6 +102,17 @@ namespace Model inline UpdateProjectResult& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;} ///@} + ///@{ + /** + *

    The environment deployment details of the project.

    + */ + inline const EnvironmentDeploymentDetails& GetEnvironmentDeploymentDetails() const{ return m_environmentDeploymentDetails; } + inline void SetEnvironmentDeploymentDetails(const EnvironmentDeploymentDetails& value) { m_environmentDeploymentDetails = value; } + inline void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetails&& value) { m_environmentDeploymentDetails = std::move(value); } + inline UpdateProjectResult& WithEnvironmentDeploymentDetails(const EnvironmentDeploymentDetails& value) { SetEnvironmentDeploymentDetails(value); return *this;} + inline UpdateProjectResult& WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetails&& value) { SetEnvironmentDeploymentDetails(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Specifies the error message that is returned if the operation cannot be @@ -165,6 +178,19 @@ namespace Model inline UpdateProjectResult& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

    The ID of the project profile.

    + */ + inline const Aws::String& GetProjectProfileId() const{ return m_projectProfileId; } + inline void SetProjectProfileId(const Aws::String& value) { m_projectProfileId = value; } + inline void SetProjectProfileId(Aws::String&& value) { m_projectProfileId = std::move(value); } + inline void SetProjectProfileId(const char* value) { m_projectProfileId.assign(value); } + inline UpdateProjectResult& WithProjectProfileId(const Aws::String& value) { SetProjectProfileId(value); return *this;} + inline UpdateProjectResult& WithProjectProfileId(Aws::String&& value) { SetProjectProfileId(std::move(value)); return *this;} + inline UpdateProjectResult& WithProjectProfileId(const char* value) { SetProjectProfileId(value); return *this;} + ///@} + ///@{ /** *

    The status of the project.

    @@ -176,6 +202,19 @@ namespace Model inline UpdateProjectResult& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The user parameters of the project.

    + */ + inline const Aws::Vector& GetUserParameters() const{ return m_userParameters; } + inline void SetUserParameters(const Aws::Vector& value) { m_userParameters = value; } + inline void SetUserParameters(Aws::Vector&& value) { m_userParameters = std::move(value); } + inline UpdateProjectResult& WithUserParameters(const Aws::Vector& value) { SetUserParameters(value); return *this;} + inline UpdateProjectResult& WithUserParameters(Aws::Vector&& value) { SetUserParameters(std::move(value)); return *this;} + inline UpdateProjectResult& AddUserParameters(const EnvironmentConfigurationUserParameter& value) { m_userParameters.push_back(value); return *this; } + inline UpdateProjectResult& AddUserParameters(EnvironmentConfigurationUserParameter&& value) { m_userParameters.push_back(std::move(value)); return *this; } + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -198,6 +237,8 @@ namespace Model Aws::String m_domainUnitId; + EnvironmentDeploymentDetails m_environmentDeploymentDetails; + Aws::Vector m_failureReasons; Aws::Vector m_glossaryTerms; @@ -208,8 +249,12 @@ namespace Model Aws::String m_name; + Aws::String m_projectProfileId; + ProjectStatus m_projectStatus; + Aws::Vector m_userParameters; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UsernamePassword.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UsernamePassword.h new file mode 100644 index 00000000000..29d6c8fa2f2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UsernamePassword.h @@ -0,0 +1,78 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

    The username and password of a connection.

    See Also:

    AWS + * API Reference

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

    The password of a connection.

    + */ + inline const Aws::String& GetPassword() const{ return m_password; } + inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } + inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } + inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } + inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } + inline UsernamePassword& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} + inline UsernamePassword& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} + inline UsernamePassword& WithPassword(const char* value) { SetPassword(value); return *this;} + ///@} + + ///@{ + /** + *

    The username of a connection.

    + */ + inline const Aws::String& GetUsername() const{ return m_username; } + inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; } + inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; } + inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); } + inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); } + inline UsernamePassword& WithUsername(const Aws::String& value) { SetUsername(value); return *this;} + inline UsernamePassword& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;} + inline UsernamePassword& WithUsername(const char* value) { SetUsername(value); return *this;} + ///@} + private: + + Aws::String m_password; + bool m_passwordHasBeenSet = false; + + Aws::String m_username; + bool m_usernameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp b/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp index d2e0ce2353c..f4a018760ff 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -47,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -55,6 +57,7 @@ #include #include #include +#include #include #include #include @@ -69,6 +72,7 @@ #include #include #include +#include #include #include #include @@ -78,6 +82,7 @@ #include #include #include +#include #include #include #include @@ -94,10 +99,13 @@ #include #include #include +#include +#include #include #include #include #include +#include #include #include #include @@ -107,6 +115,7 @@ #include #include #include +#include #include #include #include @@ -119,11 +128,14 @@ #include #include #include +#include +#include #include #include #include #include #include +#include #include #include #include @@ -150,6 +162,7 @@ #include #include #include +#include #include #include #include @@ -160,6 +173,7 @@ #include #include #include +#include #include #include #include @@ -763,6 +777,40 @@ CreateAssetTypeOutcome DataZoneClient::CreateAssetType(const CreateAssetTypeRequ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateConnectionOutcome DataZoneClient::CreateConnection(const CreateConnectionRequest& request) const +{ + AWS_OPERATION_GUARD(CreateConnection); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateConnection, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateConnection", "Required field: DomainIdentifier, is not set"); + return CreateConnectionOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateConnection, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateConnection, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateConnection", + {{ 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( + [&]()-> CreateConnectionOutcome { + 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, CreateConnection, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/connections"); + return CreateConnectionOutcome(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()}}); +} + CreateDataProductOutcome DataZoneClient::CreateDataProduct(const CreateDataProductRequest& request) const { AWS_OPERATION_GUARD(CreateDataProduct); @@ -1287,6 +1335,40 @@ CreateProjectMembershipOutcome DataZoneClient::CreateProjectMembership(const Cre {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateProjectProfileOutcome DataZoneClient::CreateProjectProfile(const CreateProjectProfileRequest& request) const +{ + AWS_OPERATION_GUARD(CreateProjectProfile); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateProjectProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateProjectProfile", "Required field: DomainIdentifier, is not set"); + return CreateProjectProfileOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateProjectProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateProjectProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateProjectProfile", + {{ 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( + [&]()-> CreateProjectProfileOutcome { + 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, CreateProjectProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/project-profiles"); + return CreateProjectProfileOutcome(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()}}); +} + CreateRuleOutcome DataZoneClient::CreateRule(const CreateRuleRequest& request) const { AWS_OPERATION_GUARD(CreateRule); @@ -1591,6 +1673,46 @@ DeleteAssetTypeOutcome DataZoneClient::DeleteAssetType(const DeleteAssetTypeRequ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteConnectionOutcome DataZoneClient::DeleteConnection(const DeleteConnectionRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteConnection); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteConnection, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteConnection", "Required field: DomainIdentifier, is not set"); + return DeleteConnectionOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteConnection", "Required field: Identifier, is not set"); + return DeleteConnectionOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteConnection, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteConnection, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteConnection", + {{ 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( + [&]()-> DeleteConnectionOutcome { + 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, DeleteConnection, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/connections/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + return DeleteConnectionOutcome(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()}}); +} + DeleteDataProductOutcome DataZoneClient::DeleteDataProduct(const DeleteDataProductRequest& request) const { AWS_OPERATION_GUARD(DeleteDataProduct); @@ -2152,6 +2274,46 @@ DeleteProjectMembershipOutcome DataZoneClient::DeleteProjectMembership(const Del {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteProjectProfileOutcome DataZoneClient::DeleteProjectProfile(const DeleteProjectProfileRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteProjectProfile); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteProjectProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteProjectProfile", "Required field: DomainIdentifier, is not set"); + return DeleteProjectProfileOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteProjectProfile", "Required field: Identifier, is not set"); + return DeleteProjectProfileOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteProjectProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteProjectProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteProjectProfile", + {{ 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( + [&]()-> DeleteProjectProfileOutcome { + 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, DeleteProjectProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/project-profiles/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + return DeleteProjectProfileOutcome(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()}}); +} + DeleteRuleOutcome DataZoneClient::DeleteRule(const DeleteRuleRequest& request) const { AWS_OPERATION_GUARD(DeleteRule); @@ -2545,6 +2707,46 @@ GetAssetTypeOutcome DataZoneClient::GetAssetType(const GetAssetTypeRequest& requ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetConnectionOutcome DataZoneClient::GetConnection(const GetConnectionRequest& request) const +{ + AWS_OPERATION_GUARD(GetConnection); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetConnection, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetConnection", "Required field: DomainIdentifier, is not set"); + return GetConnectionOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetConnection", "Required field: Identifier, is not set"); + return GetConnectionOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetConnection, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetConnection, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetConnection", + {{ 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( + [&]()-> GetConnectionOutcome { + 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, GetConnection, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/connections/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + return GetConnectionOutcome(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()}}); +} + GetDataProductOutcome DataZoneClient::GetDataProduct(const GetDataProductRequest& request) const { AWS_OPERATION_GUARD(GetDataProduct); @@ -3180,6 +3382,86 @@ GetIamPortalLoginUrlOutcome DataZoneClient::GetIamPortalLoginUrl(const GetIamPor {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetJobRunOutcome DataZoneClient::GetJobRun(const GetJobRunRequest& request) const +{ + AWS_OPERATION_GUARD(GetJobRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetJobRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetJobRun", "Required field: DomainIdentifier, is not set"); + return GetJobRunOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetJobRun", "Required field: Identifier, is not set"); + return GetJobRunOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetJobRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetJobRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetJobRun", + {{ 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( + [&]()-> GetJobRunOutcome { + 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, GetJobRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobRuns/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + return GetJobRunOutcome(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()}}); +} + +GetLineageEventOutcome DataZoneClient::GetLineageEvent(const GetLineageEventRequest& request) const +{ + AWS_OPERATION_GUARD(GetLineageEvent); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetLineageEvent, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetLineageEvent", "Required field: DomainIdentifier, is not set"); + return GetLineageEventOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetLineageEvent", "Required field: Identifier, is not set"); + return GetLineageEventOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetLineageEvent, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetLineageEvent, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetLineageEvent", + {{ 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( + [&]()-> GetLineageEventOutcome { + 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, GetLineageEvent, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/lineage/events/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + return GetLineageEventOutcome(MakeRequestWithUnparsedResponse(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetLineageNodeOutcome DataZoneClient::GetLineageNode(const GetLineageNodeRequest& request) const { AWS_OPERATION_GUARD(GetLineageNode); @@ -3340,6 +3622,46 @@ GetProjectOutcome DataZoneClient::GetProject(const GetProjectRequest& request) c {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetProjectProfileOutcome DataZoneClient::GetProjectProfile(const GetProjectProfileRequest& request) const +{ + AWS_OPERATION_GUARD(GetProjectProfile); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetProjectProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetProjectProfile", "Required field: DomainIdentifier, is not set"); + return GetProjectProfileOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetProjectProfile", "Required field: Identifier, is not set"); + return GetProjectProfileOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetProjectProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetProjectProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetProjectProfile", + {{ 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( + [&]()-> GetProjectProfileOutcome { + 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, GetProjectProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/project-profiles/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + return GetProjectProfileOutcome(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()}}); +} + GetRuleOutcome DataZoneClient::GetRule(const GetRuleRequest& request) const { AWS_OPERATION_GUARD(GetRule); @@ -3727,6 +4049,45 @@ ListAssetRevisionsOutcome DataZoneClient::ListAssetRevisions(const ListAssetRevi {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListConnectionsOutcome DataZoneClient::ListConnections(const ListConnectionsRequest& request) const +{ + AWS_OPERATION_GUARD(ListConnections); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListConnections, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListConnections", "Required field: DomainIdentifier, is not set"); + return ListConnectionsOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.ProjectIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListConnections", "Required field: ProjectIdentifier, is not set"); + return ListConnectionsOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListConnections, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListConnections, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListConnections", + {{ 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( + [&]()-> ListConnectionsOutcome { + 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, ListConnections, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/connections"); + return ListConnectionsOutcome(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()}}); +} + ListDataProductRevisionsOutcome DataZoneClient::ListDataProductRevisions(const ListDataProductRevisionsRequest& request) const { AWS_OPERATION_GUARD(ListDataProductRevisions); @@ -4184,6 +4545,81 @@ ListEnvironmentsOutcome DataZoneClient::ListEnvironments(const ListEnvironmentsR {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListJobRunsOutcome DataZoneClient::ListJobRuns(const ListJobRunsRequest& request) const +{ + AWS_OPERATION_GUARD(ListJobRuns); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListJobRuns, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListJobRuns", "Required field: DomainIdentifier, is not set"); + return ListJobRunsOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.JobIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListJobRuns", "Required field: JobIdentifier, is not set"); + return ListJobRunsOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListJobRuns, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListJobRuns, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListJobRuns", + {{ 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( + [&]()-> ListJobRunsOutcome { + 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, ListJobRuns, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/runs"); + return ListJobRunsOutcome(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()}}); +} + +ListLineageEventsOutcome DataZoneClient::ListLineageEvents(const ListLineageEventsRequest& request) const +{ + AWS_OPERATION_GUARD(ListLineageEvents); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListLineageEvents, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListLineageEvents", "Required field: DomainIdentifier, is not set"); + return ListLineageEventsOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListLineageEvents, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListLineageEvents, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListLineageEvents", + {{ 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( + [&]()-> ListLineageEventsOutcome { + 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, ListLineageEvents, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/lineage/events"); + return ListLineageEventsOutcome(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()}}); +} + ListLineageNodeHistoryOutcome DataZoneClient::ListLineageNodeHistory(const ListLineageNodeHistoryRequest& request) const { AWS_OPERATION_GUARD(ListLineageNodeHistory); @@ -4391,6 +4827,40 @@ ListProjectMembershipsOutcome DataZoneClient::ListProjectMemberships(const ListP {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListProjectProfilesOutcome DataZoneClient::ListProjectProfiles(const ListProjectProfilesRequest& request) const +{ + AWS_OPERATION_GUARD(ListProjectProfiles); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListProjectProfiles, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListProjectProfiles", "Required field: DomainIdentifier, is not set"); + return ListProjectProfilesOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListProjectProfiles, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListProjectProfiles, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListProjectProfiles", + {{ 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( + [&]()-> ListProjectProfilesOutcome { + 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, ListProjectProfiles, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/project-profiles"); + return ListProjectProfilesOutcome(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 DataZoneClient::ListProjects(const ListProjectsRequest& request) const { AWS_OPERATION_GUARD(ListProjects); @@ -5400,6 +5870,46 @@ UpdateAssetFilterOutcome DataZoneClient::UpdateAssetFilter(const UpdateAssetFilt {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateConnectionOutcome DataZoneClient::UpdateConnection(const UpdateConnectionRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateConnection); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateConnection, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateConnection", "Required field: DomainIdentifier, is not set"); + return UpdateConnectionOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateConnection", "Required field: Identifier, is not set"); + return UpdateConnectionOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateConnection, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateConnection, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateConnection", + {{ 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( + [&]()-> UpdateConnectionOutcome { + 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, UpdateConnection, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/connections/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + return UpdateConnectionOutcome(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()}}); +} + UpdateDataSourceOutcome DataZoneClient::UpdateDataSource(const UpdateDataSourceRequest& request) const { AWS_OPERATION_GUARD(UpdateDataSource); @@ -5800,6 +6310,46 @@ UpdateProjectOutcome DataZoneClient::UpdateProject(const UpdateProjectRequest& r {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateProjectProfileOutcome DataZoneClient::UpdateProjectProfile(const UpdateProjectProfileRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateProjectProfile); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateProjectProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateProjectProfile", "Required field: DomainIdentifier, is not set"); + return UpdateProjectProfileOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateProjectProfile", "Required field: Identifier, is not set"); + return UpdateProjectProfileOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateProjectProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateProjectProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateProjectProfile", + {{ 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( + [&]()-> UpdateProjectProfileOutcome { + 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, UpdateProjectProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/project-profiles/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + return UpdateProjectProfileOutcome(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()}}); +} + UpdateRuleOutcome DataZoneClient::UpdateRule(const UpdateRuleRequest& request) const { AWS_OPERATION_GUARD(UpdateRule); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AthenaPropertiesInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AthenaPropertiesInput.cpp new file mode 100644 index 00000000000..11115c962e4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AthenaPropertiesInput.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +AthenaPropertiesInput::AthenaPropertiesInput() : + m_workgroupNameHasBeenSet(false) +{ +} + +AthenaPropertiesInput::AthenaPropertiesInput(JsonView jsonValue) + : AthenaPropertiesInput() +{ + *this = jsonValue; +} + +AthenaPropertiesInput& AthenaPropertiesInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("workgroupName")) + { + m_workgroupName = jsonValue.GetString("workgroupName"); + + m_workgroupNameHasBeenSet = true; + } + + return *this; +} + +JsonValue AthenaPropertiesInput::Jsonize() const +{ + JsonValue payload; + + if(m_workgroupNameHasBeenSet) + { + payload.WithString("workgroupName", m_workgroupName); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AthenaPropertiesOutput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AthenaPropertiesOutput.cpp new file mode 100644 index 00000000000..61972831fbe --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AthenaPropertiesOutput.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +AthenaPropertiesOutput::AthenaPropertiesOutput() : + m_workgroupNameHasBeenSet(false) +{ +} + +AthenaPropertiesOutput::AthenaPropertiesOutput(JsonView jsonValue) + : AthenaPropertiesOutput() +{ + *this = jsonValue; +} + +AthenaPropertiesOutput& AthenaPropertiesOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("workgroupName")) + { + m_workgroupName = jsonValue.GetString("workgroupName"); + + m_workgroupNameHasBeenSet = true; + } + + return *this; +} + +JsonValue AthenaPropertiesOutput::Jsonize() const +{ + JsonValue payload; + + if(m_workgroupNameHasBeenSet) + { + payload.WithString("workgroupName", m_workgroupName); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AthenaPropertiesPatch.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AthenaPropertiesPatch.cpp new file mode 100644 index 00000000000..f295e72f8f4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AthenaPropertiesPatch.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +AthenaPropertiesPatch::AthenaPropertiesPatch() : + m_workgroupNameHasBeenSet(false) +{ +} + +AthenaPropertiesPatch::AthenaPropertiesPatch(JsonView jsonValue) + : AthenaPropertiesPatch() +{ + *this = jsonValue; +} + +AthenaPropertiesPatch& AthenaPropertiesPatch::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("workgroupName")) + { + m_workgroupName = jsonValue.GetString("workgroupName"); + + m_workgroupNameHasBeenSet = true; + } + + return *this; +} + +JsonValue AthenaPropertiesPatch::Jsonize() const +{ + JsonValue payload; + + if(m_workgroupNameHasBeenSet) + { + payload.WithString("workgroupName", m_workgroupName); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationConfiguration.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationConfiguration.cpp new file mode 100644 index 00000000000..f92f51121b5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationConfiguration.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +AuthenticationConfiguration::AuthenticationConfiguration() : + m_authenticationType(AuthenticationType::NOT_SET), + m_authenticationTypeHasBeenSet(false), + m_oAuth2PropertiesHasBeenSet(false), + m_secretArnHasBeenSet(false) +{ +} + +AuthenticationConfiguration::AuthenticationConfiguration(JsonView jsonValue) + : AuthenticationConfiguration() +{ + *this = jsonValue; +} + +AuthenticationConfiguration& AuthenticationConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("authenticationType")) + { + m_authenticationType = AuthenticationTypeMapper::GetAuthenticationTypeForName(jsonValue.GetString("authenticationType")); + + m_authenticationTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("oAuth2Properties")) + { + m_oAuth2Properties = jsonValue.GetObject("oAuth2Properties"); + + m_oAuth2PropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("secretArn")) + { + m_secretArn = jsonValue.GetString("secretArn"); + + m_secretArnHasBeenSet = true; + } + + return *this; +} + +JsonValue AuthenticationConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_authenticationTypeHasBeenSet) + { + payload.WithString("authenticationType", AuthenticationTypeMapper::GetNameForAuthenticationType(m_authenticationType)); + } + + if(m_oAuth2PropertiesHasBeenSet) + { + payload.WithObject("oAuth2Properties", m_oAuth2Properties.Jsonize()); + + } + + if(m_secretArnHasBeenSet) + { + payload.WithString("secretArn", m_secretArn); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationConfigurationInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationConfigurationInput.cpp new file mode 100644 index 00000000000..29023e192ee --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationConfigurationInput.cpp @@ -0,0 +1,137 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +AuthenticationConfigurationInput::AuthenticationConfigurationInput() : + m_authenticationType(AuthenticationType::NOT_SET), + m_authenticationTypeHasBeenSet(false), + m_basicAuthenticationCredentialsHasBeenSet(false), + m_customAuthenticationCredentialsHasBeenSet(false), + m_kmsKeyArnHasBeenSet(false), + m_oAuth2PropertiesHasBeenSet(false), + m_secretArnHasBeenSet(false) +{ +} + +AuthenticationConfigurationInput::AuthenticationConfigurationInput(JsonView jsonValue) + : AuthenticationConfigurationInput() +{ + *this = jsonValue; +} + +AuthenticationConfigurationInput& AuthenticationConfigurationInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("authenticationType")) + { + m_authenticationType = AuthenticationTypeMapper::GetAuthenticationTypeForName(jsonValue.GetString("authenticationType")); + + m_authenticationTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("basicAuthenticationCredentials")) + { + m_basicAuthenticationCredentials = jsonValue.GetObject("basicAuthenticationCredentials"); + + m_basicAuthenticationCredentialsHasBeenSet = true; + } + + if(jsonValue.ValueExists("customAuthenticationCredentials")) + { + Aws::Map customAuthenticationCredentialsJsonMap = jsonValue.GetObject("customAuthenticationCredentials").GetAllObjects(); + for(auto& customAuthenticationCredentialsItem : customAuthenticationCredentialsJsonMap) + { + m_customAuthenticationCredentials[customAuthenticationCredentialsItem.first] = customAuthenticationCredentialsItem.second.AsString(); + } + m_customAuthenticationCredentialsHasBeenSet = true; + } + + if(jsonValue.ValueExists("kmsKeyArn")) + { + m_kmsKeyArn = jsonValue.GetString("kmsKeyArn"); + + m_kmsKeyArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("oAuth2Properties")) + { + m_oAuth2Properties = jsonValue.GetObject("oAuth2Properties"); + + m_oAuth2PropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("secretArn")) + { + m_secretArn = jsonValue.GetString("secretArn"); + + m_secretArnHasBeenSet = true; + } + + return *this; +} + +JsonValue AuthenticationConfigurationInput::Jsonize() const +{ + JsonValue payload; + + if(m_authenticationTypeHasBeenSet) + { + payload.WithString("authenticationType", AuthenticationTypeMapper::GetNameForAuthenticationType(m_authenticationType)); + } + + if(m_basicAuthenticationCredentialsHasBeenSet) + { + payload.WithObject("basicAuthenticationCredentials", m_basicAuthenticationCredentials.Jsonize()); + + } + + if(m_customAuthenticationCredentialsHasBeenSet) + { + JsonValue customAuthenticationCredentialsJsonMap; + for(auto& customAuthenticationCredentialsItem : m_customAuthenticationCredentials) + { + customAuthenticationCredentialsJsonMap.WithString(customAuthenticationCredentialsItem.first, customAuthenticationCredentialsItem.second); + } + payload.WithObject("customAuthenticationCredentials", std::move(customAuthenticationCredentialsJsonMap)); + + } + + if(m_kmsKeyArnHasBeenSet) + { + payload.WithString("kmsKeyArn", m_kmsKeyArn); + + } + + if(m_oAuth2PropertiesHasBeenSet) + { + payload.WithObject("oAuth2Properties", m_oAuth2Properties.Jsonize()); + + } + + if(m_secretArnHasBeenSet) + { + payload.WithString("secretArn", m_secretArn); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationConfigurationPatch.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationConfigurationPatch.cpp new file mode 100644 index 00000000000..8c39fae5db9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationConfigurationPatch.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +AuthenticationConfigurationPatch::AuthenticationConfigurationPatch() : + m_basicAuthenticationCredentialsHasBeenSet(false), + m_secretArnHasBeenSet(false) +{ +} + +AuthenticationConfigurationPatch::AuthenticationConfigurationPatch(JsonView jsonValue) + : AuthenticationConfigurationPatch() +{ + *this = jsonValue; +} + +AuthenticationConfigurationPatch& AuthenticationConfigurationPatch::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("basicAuthenticationCredentials")) + { + m_basicAuthenticationCredentials = jsonValue.GetObject("basicAuthenticationCredentials"); + + m_basicAuthenticationCredentialsHasBeenSet = true; + } + + if(jsonValue.ValueExists("secretArn")) + { + m_secretArn = jsonValue.GetString("secretArn"); + + m_secretArnHasBeenSet = true; + } + + return *this; +} + +JsonValue AuthenticationConfigurationPatch::Jsonize() const +{ + JsonValue payload; + + if(m_basicAuthenticationCredentialsHasBeenSet) + { + payload.WithObject("basicAuthenticationCredentials", m_basicAuthenticationCredentials.Jsonize()); + + } + + if(m_secretArnHasBeenSet) + { + payload.WithString("secretArn", m_secretArn); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationType.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationType.cpp new file mode 100644 index 00000000000..5e85883dcba --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AuthenticationType.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace AuthenticationTypeMapper + { + + static const int BASIC_HASH = HashingUtils::HashString("BASIC"); + static const int OAUTH2_HASH = HashingUtils::HashString("OAUTH2"); + static const int CUSTOM_HASH = HashingUtils::HashString("CUSTOM"); + + + AuthenticationType GetAuthenticationTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == BASIC_HASH) + { + return AuthenticationType::BASIC; + } + else if (hashCode == OAUTH2_HASH) + { + return AuthenticationType::OAUTH2; + } + else if (hashCode == CUSTOM_HASH) + { + return AuthenticationType::CUSTOM; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AuthenticationType::NOT_SET; + } + + Aws::String GetNameForAuthenticationType(AuthenticationType enumValue) + { + switch(enumValue) + { + case AuthenticationType::NOT_SET: + return {}; + case AuthenticationType::BASIC: + return "BASIC"; + case AuthenticationType::OAUTH2: + return "OAUTH2"; + case AuthenticationType::CUSTOM: + return "CUSTOM"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AuthenticationTypeMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AuthorizationCodeProperties.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AuthorizationCodeProperties.cpp new file mode 100644 index 00000000000..2615a99ccf7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AuthorizationCodeProperties.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +AuthorizationCodeProperties::AuthorizationCodeProperties() : + m_authorizationCodeHasBeenSet(false), + m_redirectUriHasBeenSet(false) +{ +} + +AuthorizationCodeProperties::AuthorizationCodeProperties(JsonView jsonValue) + : AuthorizationCodeProperties() +{ + *this = jsonValue; +} + +AuthorizationCodeProperties& AuthorizationCodeProperties::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("authorizationCode")) + { + m_authorizationCode = jsonValue.GetString("authorizationCode"); + + m_authorizationCodeHasBeenSet = true; + } + + if(jsonValue.ValueExists("redirectUri")) + { + m_redirectUri = jsonValue.GetString("redirectUri"); + + m_redirectUriHasBeenSet = true; + } + + return *this; +} + +JsonValue AuthorizationCodeProperties::Jsonize() const +{ + JsonValue payload; + + if(m_authorizationCodeHasBeenSet) + { + payload.WithString("authorizationCode", m_authorizationCode); + + } + + if(m_redirectUriHasBeenSet) + { + payload.WithString("redirectUri", m_redirectUri); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AwsAccount.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AwsAccount.cpp new file mode 100644 index 00000000000..95aab50fc93 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AwsAccount.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +AwsAccount::AwsAccount() : + m_awsAccountIdHasBeenSet(false), + m_awsAccountIdPathHasBeenSet(false) +{ +} + +AwsAccount::AwsAccount(JsonView jsonValue) + : AwsAccount() +{ + *this = jsonValue; +} + +AwsAccount& AwsAccount::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("awsAccountId")) + { + m_awsAccountId = jsonValue.GetString("awsAccountId"); + + m_awsAccountIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("awsAccountIdPath")) + { + m_awsAccountIdPath = jsonValue.GetString("awsAccountIdPath"); + + m_awsAccountIdPathHasBeenSet = true; + } + + return *this; +} + +JsonValue AwsAccount::Jsonize() const +{ + JsonValue payload; + + if(m_awsAccountIdHasBeenSet) + { + payload.WithString("awsAccountId", m_awsAccountId); + + } + + if(m_awsAccountIdPathHasBeenSet) + { + payload.WithString("awsAccountIdPath", m_awsAccountIdPath); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AwsLocation.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AwsLocation.cpp new file mode 100644 index 00000000000..a4b0eb50193 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AwsLocation.cpp @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +AwsLocation::AwsLocation() : + m_accessRoleHasBeenSet(false), + m_awsAccountIdHasBeenSet(false), + m_awsRegionHasBeenSet(false), + m_iamConnectionIdHasBeenSet(false) +{ +} + +AwsLocation::AwsLocation(JsonView jsonValue) + : AwsLocation() +{ + *this = jsonValue; +} + +AwsLocation& AwsLocation::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("accessRole")) + { + m_accessRole = jsonValue.GetString("accessRole"); + + m_accessRoleHasBeenSet = true; + } + + if(jsonValue.ValueExists("awsAccountId")) + { + m_awsAccountId = jsonValue.GetString("awsAccountId"); + + m_awsAccountIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("awsRegion")) + { + m_awsRegion = jsonValue.GetString("awsRegion"); + + m_awsRegionHasBeenSet = true; + } + + if(jsonValue.ValueExists("iamConnectionId")) + { + m_iamConnectionId = jsonValue.GetString("iamConnectionId"); + + m_iamConnectionIdHasBeenSet = true; + } + + return *this; +} + +JsonValue AwsLocation::Jsonize() const +{ + JsonValue payload; + + if(m_accessRoleHasBeenSet) + { + payload.WithString("accessRole", m_accessRole); + + } + + if(m_awsAccountIdHasBeenSet) + { + payload.WithString("awsAccountId", m_awsAccountId); + + } + + if(m_awsRegionHasBeenSet) + { + payload.WithString("awsRegion", m_awsRegion); + + } + + if(m_iamConnectionIdHasBeenSet) + { + payload.WithString("iamConnectionId", m_iamConnectionId); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/BasicAuthenticationCredentials.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/BasicAuthenticationCredentials.cpp new file mode 100644 index 00000000000..45f3f3a1f8c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/BasicAuthenticationCredentials.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +BasicAuthenticationCredentials::BasicAuthenticationCredentials() : + m_passwordHasBeenSet(false), + m_userNameHasBeenSet(false) +{ +} + +BasicAuthenticationCredentials::BasicAuthenticationCredentials(JsonView jsonValue) + : BasicAuthenticationCredentials() +{ + *this = jsonValue; +} + +BasicAuthenticationCredentials& BasicAuthenticationCredentials::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("password")) + { + m_password = jsonValue.GetString("password"); + + m_passwordHasBeenSet = true; + } + + if(jsonValue.ValueExists("userName")) + { + m_userName = jsonValue.GetString("userName"); + + m_userNameHasBeenSet = true; + } + + return *this; +} + +JsonValue BasicAuthenticationCredentials::Jsonize() const +{ + JsonValue payload; + + if(m_passwordHasBeenSet) + { + payload.WithString("password", m_password); + + } + + if(m_userNameHasBeenSet) + { + payload.WithString("userName", m_userName); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ComputeEnvironments.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ComputeEnvironments.cpp new file mode 100644 index 00000000000..74aabae5f23 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ComputeEnvironments.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace ComputeEnvironmentsMapper + { + + static const int SPARK_HASH = HashingUtils::HashString("SPARK"); + static const int ATHENA_HASH = HashingUtils::HashString("ATHENA"); + static const int PYTHON_HASH = HashingUtils::HashString("PYTHON"); + + + ComputeEnvironments GetComputeEnvironmentsForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SPARK_HASH) + { + return ComputeEnvironments::SPARK; + } + else if (hashCode == ATHENA_HASH) + { + return ComputeEnvironments::ATHENA; + } + else if (hashCode == PYTHON_HASH) + { + return ComputeEnvironments::PYTHON; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ComputeEnvironments::NOT_SET; + } + + Aws::String GetNameForComputeEnvironments(ComputeEnvironments enumValue) + { + switch(enumValue) + { + case ComputeEnvironments::NOT_SET: + return {}; + case ComputeEnvironments::SPARK: + return "SPARK"; + case ComputeEnvironments::ATHENA: + return "ATHENA"; + case ComputeEnvironments::PYTHON: + return "PYTHON"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ComputeEnvironmentsMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionCredentials.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionCredentials.cpp new file mode 100644 index 00000000000..7d652d1a1c2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionCredentials.cpp @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +ConnectionCredentials::ConnectionCredentials() : + m_accessKeyIdHasBeenSet(false), + m_expirationHasBeenSet(false), + m_secretAccessKeyHasBeenSet(false), + m_sessionTokenHasBeenSet(false) +{ +} + +ConnectionCredentials::ConnectionCredentials(JsonView jsonValue) + : ConnectionCredentials() +{ + *this = jsonValue; +} + +ConnectionCredentials& ConnectionCredentials::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("accessKeyId")) + { + m_accessKeyId = jsonValue.GetString("accessKeyId"); + + m_accessKeyIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("expiration")) + { + m_expiration = jsonValue.GetString("expiration"); + + m_expirationHasBeenSet = true; + } + + if(jsonValue.ValueExists("secretAccessKey")) + { + m_secretAccessKey = jsonValue.GetString("secretAccessKey"); + + m_secretAccessKeyHasBeenSet = true; + } + + if(jsonValue.ValueExists("sessionToken")) + { + m_sessionToken = jsonValue.GetString("sessionToken"); + + m_sessionTokenHasBeenSet = true; + } + + return *this; +} + +JsonValue ConnectionCredentials::Jsonize() const +{ + JsonValue payload; + + if(m_accessKeyIdHasBeenSet) + { + payload.WithString("accessKeyId", m_accessKeyId); + + } + + if(m_expirationHasBeenSet) + { + payload.WithString("expiration", m_expiration.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_secretAccessKeyHasBeenSet) + { + payload.WithString("secretAccessKey", m_secretAccessKey); + + } + + if(m_sessionTokenHasBeenSet) + { + payload.WithString("sessionToken", m_sessionToken); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionPropertiesInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionPropertiesInput.cpp new file mode 100644 index 00000000000..8c5c203eacb --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionPropertiesInput.cpp @@ -0,0 +1,143 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +ConnectionPropertiesInput::ConnectionPropertiesInput() : + m_athenaPropertiesHasBeenSet(false), + m_gluePropertiesHasBeenSet(false), + m_hyperPodPropertiesHasBeenSet(false), + m_iamPropertiesHasBeenSet(false), + m_redshiftPropertiesHasBeenSet(false), + m_sparkEmrPropertiesHasBeenSet(false), + m_sparkGluePropertiesHasBeenSet(false) +{ +} + +ConnectionPropertiesInput::ConnectionPropertiesInput(JsonView jsonValue) + : ConnectionPropertiesInput() +{ + *this = jsonValue; +} + +ConnectionPropertiesInput& ConnectionPropertiesInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("athenaProperties")) + { + m_athenaProperties = jsonValue.GetObject("athenaProperties"); + + m_athenaPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("glueProperties")) + { + m_glueProperties = jsonValue.GetObject("glueProperties"); + + m_gluePropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("hyperPodProperties")) + { + m_hyperPodProperties = jsonValue.GetObject("hyperPodProperties"); + + m_hyperPodPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("iamProperties")) + { + m_iamProperties = jsonValue.GetObject("iamProperties"); + + m_iamPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("redshiftProperties")) + { + m_redshiftProperties = jsonValue.GetObject("redshiftProperties"); + + m_redshiftPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("sparkEmrProperties")) + { + m_sparkEmrProperties = jsonValue.GetObject("sparkEmrProperties"); + + m_sparkEmrPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("sparkGlueProperties")) + { + m_sparkGlueProperties = jsonValue.GetObject("sparkGlueProperties"); + + m_sparkGluePropertiesHasBeenSet = true; + } + + return *this; +} + +JsonValue ConnectionPropertiesInput::Jsonize() const +{ + JsonValue payload; + + if(m_athenaPropertiesHasBeenSet) + { + payload.WithObject("athenaProperties", m_athenaProperties.Jsonize()); + + } + + if(m_gluePropertiesHasBeenSet) + { + payload.WithObject("glueProperties", m_glueProperties.Jsonize()); + + } + + if(m_hyperPodPropertiesHasBeenSet) + { + payload.WithObject("hyperPodProperties", m_hyperPodProperties.Jsonize()); + + } + + if(m_iamPropertiesHasBeenSet) + { + payload.WithObject("iamProperties", m_iamProperties.Jsonize()); + + } + + if(m_redshiftPropertiesHasBeenSet) + { + payload.WithObject("redshiftProperties", m_redshiftProperties.Jsonize()); + + } + + if(m_sparkEmrPropertiesHasBeenSet) + { + payload.WithObject("sparkEmrProperties", m_sparkEmrProperties.Jsonize()); + + } + + if(m_sparkGluePropertiesHasBeenSet) + { + payload.WithObject("sparkGlueProperties", m_sparkGlueProperties.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionPropertiesOutput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionPropertiesOutput.cpp new file mode 100644 index 00000000000..64511c01737 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionPropertiesOutput.cpp @@ -0,0 +1,143 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +ConnectionPropertiesOutput::ConnectionPropertiesOutput() : + m_athenaPropertiesHasBeenSet(false), + m_gluePropertiesHasBeenSet(false), + m_hyperPodPropertiesHasBeenSet(false), + m_iamPropertiesHasBeenSet(false), + m_redshiftPropertiesHasBeenSet(false), + m_sparkEmrPropertiesHasBeenSet(false), + m_sparkGluePropertiesHasBeenSet(false) +{ +} + +ConnectionPropertiesOutput::ConnectionPropertiesOutput(JsonView jsonValue) + : ConnectionPropertiesOutput() +{ + *this = jsonValue; +} + +ConnectionPropertiesOutput& ConnectionPropertiesOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("athenaProperties")) + { + m_athenaProperties = jsonValue.GetObject("athenaProperties"); + + m_athenaPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("glueProperties")) + { + m_glueProperties = jsonValue.GetObject("glueProperties"); + + m_gluePropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("hyperPodProperties")) + { + m_hyperPodProperties = jsonValue.GetObject("hyperPodProperties"); + + m_hyperPodPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("iamProperties")) + { + m_iamProperties = jsonValue.GetObject("iamProperties"); + + m_iamPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("redshiftProperties")) + { + m_redshiftProperties = jsonValue.GetObject("redshiftProperties"); + + m_redshiftPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("sparkEmrProperties")) + { + m_sparkEmrProperties = jsonValue.GetObject("sparkEmrProperties"); + + m_sparkEmrPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("sparkGlueProperties")) + { + m_sparkGlueProperties = jsonValue.GetObject("sparkGlueProperties"); + + m_sparkGluePropertiesHasBeenSet = true; + } + + return *this; +} + +JsonValue ConnectionPropertiesOutput::Jsonize() const +{ + JsonValue payload; + + if(m_athenaPropertiesHasBeenSet) + { + payload.WithObject("athenaProperties", m_athenaProperties.Jsonize()); + + } + + if(m_gluePropertiesHasBeenSet) + { + payload.WithObject("glueProperties", m_glueProperties.Jsonize()); + + } + + if(m_hyperPodPropertiesHasBeenSet) + { + payload.WithObject("hyperPodProperties", m_hyperPodProperties.Jsonize()); + + } + + if(m_iamPropertiesHasBeenSet) + { + payload.WithObject("iamProperties", m_iamProperties.Jsonize()); + + } + + if(m_redshiftPropertiesHasBeenSet) + { + payload.WithObject("redshiftProperties", m_redshiftProperties.Jsonize()); + + } + + if(m_sparkEmrPropertiesHasBeenSet) + { + payload.WithObject("sparkEmrProperties", m_sparkEmrProperties.Jsonize()); + + } + + if(m_sparkGluePropertiesHasBeenSet) + { + payload.WithObject("sparkGlueProperties", m_sparkGlueProperties.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionPropertiesPatch.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionPropertiesPatch.cpp new file mode 100644 index 00000000000..d6720ed87b8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionPropertiesPatch.cpp @@ -0,0 +1,115 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +ConnectionPropertiesPatch::ConnectionPropertiesPatch() : + m_athenaPropertiesHasBeenSet(false), + m_gluePropertiesHasBeenSet(false), + m_iamPropertiesHasBeenSet(false), + m_redshiftPropertiesHasBeenSet(false), + m_sparkEmrPropertiesHasBeenSet(false) +{ +} + +ConnectionPropertiesPatch::ConnectionPropertiesPatch(JsonView jsonValue) + : ConnectionPropertiesPatch() +{ + *this = jsonValue; +} + +ConnectionPropertiesPatch& ConnectionPropertiesPatch::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("athenaProperties")) + { + m_athenaProperties = jsonValue.GetObject("athenaProperties"); + + m_athenaPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("glueProperties")) + { + m_glueProperties = jsonValue.GetObject("glueProperties"); + + m_gluePropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("iamProperties")) + { + m_iamProperties = jsonValue.GetObject("iamProperties"); + + m_iamPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("redshiftProperties")) + { + m_redshiftProperties = jsonValue.GetObject("redshiftProperties"); + + m_redshiftPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("sparkEmrProperties")) + { + m_sparkEmrProperties = jsonValue.GetObject("sparkEmrProperties"); + + m_sparkEmrPropertiesHasBeenSet = true; + } + + return *this; +} + +JsonValue ConnectionPropertiesPatch::Jsonize() const +{ + JsonValue payload; + + if(m_athenaPropertiesHasBeenSet) + { + payload.WithObject("athenaProperties", m_athenaProperties.Jsonize()); + + } + + if(m_gluePropertiesHasBeenSet) + { + payload.WithObject("glueProperties", m_glueProperties.Jsonize()); + + } + + if(m_iamPropertiesHasBeenSet) + { + payload.WithObject("iamProperties", m_iamProperties.Jsonize()); + + } + + if(m_redshiftPropertiesHasBeenSet) + { + payload.WithObject("redshiftProperties", m_redshiftProperties.Jsonize()); + + } + + if(m_sparkEmrPropertiesHasBeenSet) + { + payload.WithObject("sparkEmrProperties", m_sparkEmrProperties.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionStatus.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionStatus.cpp new file mode 100644 index 00000000000..b1110d8f807 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionStatus.cpp @@ -0,0 +1,114 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace ConnectionStatusMapper + { + + static const int CREATING_HASH = HashingUtils::HashString("CREATING"); + static const int CREATE_FAILED_HASH = HashingUtils::HashString("CREATE_FAILED"); + static const int DELETING_HASH = HashingUtils::HashString("DELETING"); + static const int DELETE_FAILED_HASH = HashingUtils::HashString("DELETE_FAILED"); + static const int READY_HASH = HashingUtils::HashString("READY"); + static const int UPDATING_HASH = HashingUtils::HashString("UPDATING"); + static const int UPDATE_FAILED_HASH = HashingUtils::HashString("UPDATE_FAILED"); + static const int DELETED_HASH = HashingUtils::HashString("DELETED"); + + + ConnectionStatus GetConnectionStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CREATING_HASH) + { + return ConnectionStatus::CREATING; + } + else if (hashCode == CREATE_FAILED_HASH) + { + return ConnectionStatus::CREATE_FAILED; + } + else if (hashCode == DELETING_HASH) + { + return ConnectionStatus::DELETING; + } + else if (hashCode == DELETE_FAILED_HASH) + { + return ConnectionStatus::DELETE_FAILED; + } + else if (hashCode == READY_HASH) + { + return ConnectionStatus::READY; + } + else if (hashCode == UPDATING_HASH) + { + return ConnectionStatus::UPDATING; + } + else if (hashCode == UPDATE_FAILED_HASH) + { + return ConnectionStatus::UPDATE_FAILED; + } + else if (hashCode == DELETED_HASH) + { + return ConnectionStatus::DELETED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ConnectionStatus::NOT_SET; + } + + Aws::String GetNameForConnectionStatus(ConnectionStatus enumValue) + { + switch(enumValue) + { + case ConnectionStatus::NOT_SET: + return {}; + case ConnectionStatus::CREATING: + return "CREATING"; + case ConnectionStatus::CREATE_FAILED: + return "CREATE_FAILED"; + case ConnectionStatus::DELETING: + return "DELETING"; + case ConnectionStatus::DELETE_FAILED: + return "DELETE_FAILED"; + case ConnectionStatus::READY: + return "READY"; + case ConnectionStatus::UPDATING: + return "UPDATING"; + case ConnectionStatus::UPDATE_FAILED: + return "UPDATE_FAILED"; + case ConnectionStatus::DELETED: + return "DELETED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ConnectionStatusMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionSummary.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionSummary.cpp new file mode 100644 index 00000000000..7a3209289ab --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionSummary.cpp @@ -0,0 +1,179 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +ConnectionSummary::ConnectionSummary() : + m_connectionIdHasBeenSet(false), + m_domainIdHasBeenSet(false), + m_domainUnitIdHasBeenSet(false), + m_environmentIdHasBeenSet(false), + m_nameHasBeenSet(false), + m_physicalEndpointsHasBeenSet(false), + m_projectIdHasBeenSet(false), + m_propsHasBeenSet(false), + m_type(ConnectionType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +ConnectionSummary::ConnectionSummary(JsonView jsonValue) + : ConnectionSummary() +{ + *this = jsonValue; +} + +ConnectionSummary& ConnectionSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("connectionId")) + { + m_connectionId = jsonValue.GetString("connectionId"); + + m_connectionIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + m_domainIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("domainUnitId")) + { + m_domainUnitId = jsonValue.GetString("domainUnitId"); + + m_domainUnitIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + m_environmentIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("physicalEndpoints")) + { + Aws::Utils::Array physicalEndpointsJsonList = jsonValue.GetArray("physicalEndpoints"); + for(unsigned physicalEndpointsIndex = 0; physicalEndpointsIndex < physicalEndpointsJsonList.GetLength(); ++physicalEndpointsIndex) + { + m_physicalEndpoints.push_back(physicalEndpointsJsonList[physicalEndpointsIndex].AsObject()); + } + m_physicalEndpointsHasBeenSet = true; + } + + if(jsonValue.ValueExists("projectId")) + { + m_projectId = jsonValue.GetString("projectId"); + + m_projectIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("props")) + { + m_props = jsonValue.GetObject("props"); + + m_propsHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = ConnectionTypeMapper::GetConnectionTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue ConnectionSummary::Jsonize() const +{ + JsonValue payload; + + if(m_connectionIdHasBeenSet) + { + payload.WithString("connectionId", m_connectionId); + + } + + if(m_domainIdHasBeenSet) + { + payload.WithString("domainId", m_domainId); + + } + + if(m_domainUnitIdHasBeenSet) + { + payload.WithString("domainUnitId", m_domainUnitId); + + } + + if(m_environmentIdHasBeenSet) + { + payload.WithString("environmentId", m_environmentId); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_physicalEndpointsHasBeenSet) + { + Aws::Utils::Array physicalEndpointsJsonList(m_physicalEndpoints.size()); + for(unsigned physicalEndpointsIndex = 0; physicalEndpointsIndex < physicalEndpointsJsonList.GetLength(); ++physicalEndpointsIndex) + { + physicalEndpointsJsonList[physicalEndpointsIndex].AsObject(m_physicalEndpoints[physicalEndpointsIndex].Jsonize()); + } + payload.WithArray("physicalEndpoints", std::move(physicalEndpointsJsonList)); + + } + + if(m_projectIdHasBeenSet) + { + payload.WithString("projectId", m_projectId); + + } + + if(m_propsHasBeenSet) + { + payload.WithObject("props", m_props.Jsonize()); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", ConnectionTypeMapper::GetNameForConnectionType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionType.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionType.cpp new file mode 100644 index 00000000000..cfc4094f414 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ConnectionType.cpp @@ -0,0 +1,191 @@ +/** + * 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 DataZone + { + namespace Model + { + namespace ConnectionTypeMapper + { + + static const int ATHENA_HASH = HashingUtils::HashString("ATHENA"); + static const int BIGQUERY_HASH = HashingUtils::HashString("BIGQUERY"); + static const int DATABRICKS_HASH = HashingUtils::HashString("DATABRICKS"); + static const int DOCUMENTDB_HASH = HashingUtils::HashString("DOCUMENTDB"); + static const int DYNAMODB_HASH = HashingUtils::HashString("DYNAMODB"); + static const int HYPERPOD_HASH = HashingUtils::HashString("HYPERPOD"); + static const int IAM_HASH = HashingUtils::HashString("IAM"); + static const int MYSQL_HASH = HashingUtils::HashString("MYSQL"); + static const int OPENSEARCH_HASH = HashingUtils::HashString("OPENSEARCH"); + static const int ORACLE_HASH = HashingUtils::HashString("ORACLE"); + static const int POSTGRESQL_HASH = HashingUtils::HashString("POSTGRESQL"); + static const int REDSHIFT_HASH = HashingUtils::HashString("REDSHIFT"); + static const int SAPHANA_HASH = HashingUtils::HashString("SAPHANA"); + static const int SNOWFLAKE_HASH = HashingUtils::HashString("SNOWFLAKE"); + static const int SPARK_HASH = HashingUtils::HashString("SPARK"); + static const int SQLSERVER_HASH = HashingUtils::HashString("SQLSERVER"); + static const int TERADATA_HASH = HashingUtils::HashString("TERADATA"); + static const int VERTICA_HASH = HashingUtils::HashString("VERTICA"); + static const int WORKFLOWS_MWAA_HASH = HashingUtils::HashString("WORKFLOWS_MWAA"); + + + ConnectionType GetConnectionTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ATHENA_HASH) + { + return ConnectionType::ATHENA; + } + else if (hashCode == BIGQUERY_HASH) + { + return ConnectionType::BIGQUERY; + } + else if (hashCode == DATABRICKS_HASH) + { + return ConnectionType::DATABRICKS; + } + else if (hashCode == DOCUMENTDB_HASH) + { + return ConnectionType::DOCUMENTDB; + } + else if (hashCode == DYNAMODB_HASH) + { + return ConnectionType::DYNAMODB; + } + else if (hashCode == HYPERPOD_HASH) + { + return ConnectionType::HYPERPOD; + } + else if (hashCode == IAM_HASH) + { + return ConnectionType::IAM; + } + else if (hashCode == MYSQL_HASH) + { + return ConnectionType::MYSQL; + } + else if (hashCode == OPENSEARCH_HASH) + { + return ConnectionType::OPENSEARCH; + } + else if (hashCode == ORACLE_HASH) + { + return ConnectionType::ORACLE; + } + else if (hashCode == POSTGRESQL_HASH) + { + return ConnectionType::POSTGRESQL; + } + else if (hashCode == REDSHIFT_HASH) + { + return ConnectionType::REDSHIFT; + } + else if (hashCode == SAPHANA_HASH) + { + return ConnectionType::SAPHANA; + } + else if (hashCode == SNOWFLAKE_HASH) + { + return ConnectionType::SNOWFLAKE; + } + else if (hashCode == SPARK_HASH) + { + return ConnectionType::SPARK; + } + else if (hashCode == SQLSERVER_HASH) + { + return ConnectionType::SQLSERVER; + } + else if (hashCode == TERADATA_HASH) + { + return ConnectionType::TERADATA; + } + else if (hashCode == VERTICA_HASH) + { + return ConnectionType::VERTICA; + } + else if (hashCode == WORKFLOWS_MWAA_HASH) + { + return ConnectionType::WORKFLOWS_MWAA; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ConnectionType::NOT_SET; + } + + Aws::String GetNameForConnectionType(ConnectionType enumValue) + { + switch(enumValue) + { + case ConnectionType::NOT_SET: + return {}; + case ConnectionType::ATHENA: + return "ATHENA"; + case ConnectionType::BIGQUERY: + return "BIGQUERY"; + case ConnectionType::DATABRICKS: + return "DATABRICKS"; + case ConnectionType::DOCUMENTDB: + return "DOCUMENTDB"; + case ConnectionType::DYNAMODB: + return "DYNAMODB"; + case ConnectionType::HYPERPOD: + return "HYPERPOD"; + case ConnectionType::IAM: + return "IAM"; + case ConnectionType::MYSQL: + return "MYSQL"; + case ConnectionType::OPENSEARCH: + return "OPENSEARCH"; + case ConnectionType::ORACLE: + return "ORACLE"; + case ConnectionType::POSTGRESQL: + return "POSTGRESQL"; + case ConnectionType::REDSHIFT: + return "REDSHIFT"; + case ConnectionType::SAPHANA: + return "SAPHANA"; + case ConnectionType::SNOWFLAKE: + return "SNOWFLAKE"; + case ConnectionType::SPARK: + return "SPARK"; + case ConnectionType::SQLSERVER: + return "SQLSERVER"; + case ConnectionType::TERADATA: + return "TERADATA"; + case ConnectionType::VERTICA: + return "VERTICA"; + case ConnectionType::WORKFLOWS_MWAA: + return "WORKFLOWS_MWAA"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ConnectionTypeMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateConnectionRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateConnectionRequest.cpp new file mode 100644 index 00000000000..c5fac2f1d70 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateConnectionRequest.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateConnectionRequest::CreateConnectionRequest() : + m_awsLocationHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_descriptionHasBeenSet(false), + m_domainIdentifierHasBeenSet(false), + m_environmentIdentifierHasBeenSet(false), + m_nameHasBeenSet(false), + m_propsHasBeenSet(false) +{ +} + +Aws::String CreateConnectionRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_awsLocationHasBeenSet) + { + payload.WithObject("awsLocation", m_awsLocation.Jsonize()); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("clientToken", m_clientToken); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_environmentIdentifierHasBeenSet) + { + payload.WithString("environmentIdentifier", m_environmentIdentifier); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_propsHasBeenSet) + { + payload.WithObject("props", m_props.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateConnectionResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateConnectionResult.cpp new file mode 100644 index 00000000000..595d519afe7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateConnectionResult.cpp @@ -0,0 +1,107 @@ +/** + * 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::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateConnectionResult::CreateConnectionResult() : + m_type(ConnectionType::NOT_SET) +{ +} + +CreateConnectionResult::CreateConnectionResult(const Aws::AmazonWebServiceResult& result) + : CreateConnectionResult() +{ + *this = result; +} + +CreateConnectionResult& CreateConnectionResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("connectionId")) + { + m_connectionId = jsonValue.GetString("connectionId"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("domainUnitId")) + { + m_domainUnitId = jsonValue.GetString("domainUnitId"); + + } + + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("physicalEndpoints")) + { + Aws::Utils::Array physicalEndpointsJsonList = jsonValue.GetArray("physicalEndpoints"); + for(unsigned physicalEndpointsIndex = 0; physicalEndpointsIndex < physicalEndpointsJsonList.GetLength(); ++physicalEndpointsIndex) + { + m_physicalEndpoints.push_back(physicalEndpointsJsonList[physicalEndpointsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("projectId")) + { + m_projectId = jsonValue.GetString("projectId"); + + } + + if(jsonValue.ValueExists("props")) + { + m_props = jsonValue.GetObject("props"); + + } + + if(jsonValue.ValueExists("type")) + { + m_type = ConnectionTypeMapper::GetConnectionTypeForName(jsonValue.GetString("type")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateDataSourceRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateDataSourceRequest.cpp index 7d66d75fe44..02982f47fe5 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/CreateDataSourceRequest.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateDataSourceRequest.cpp @@ -17,6 +17,7 @@ CreateDataSourceRequest::CreateDataSourceRequest() : m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), m_configurationHasBeenSet(false), + m_connectionIdentifierHasBeenSet(false), m_descriptionHasBeenSet(false), m_domainIdentifierHasBeenSet(false), m_enableSetting(EnableSetting::NOT_SET), @@ -59,6 +60,12 @@ Aws::String CreateDataSourceRequest::SerializePayload() const } + if(m_connectionIdentifierHasBeenSet) + { + payload.WithString("connectionIdentifier", m_connectionIdentifier); + + } + if(m_descriptionHasBeenSet) { payload.WithString("description", m_description); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateDataSourceResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateDataSourceResult.cpp index 1be0218021d..14e2ed9efa1 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/CreateDataSourceResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateDataSourceResult.cpp @@ -49,6 +49,12 @@ CreateDataSourceResult& CreateDataSourceResult::operator =(const Aws::AmazonWebS } + if(jsonValue.ValueExists("connectionId")) + { + m_connectionId = jsonValue.GetString("connectionId"); + + } + if(jsonValue.ValueExists("createdAt")) { m_createdAt = jsonValue.GetString("createdAt"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateDomainRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateDomainRequest.cpp index 4a4c5b71384..a9c4429e5a2 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/CreateDomainRequest.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateDomainRequest.cpp @@ -17,8 +17,11 @@ CreateDomainRequest::CreateDomainRequest() : m_clientTokenHasBeenSet(true), m_descriptionHasBeenSet(false), m_domainExecutionRoleHasBeenSet(false), + m_domainVersion(DomainVersion::NOT_SET), + m_domainVersionHasBeenSet(false), m_kmsKeyIdentifierHasBeenSet(false), m_nameHasBeenSet(false), + m_serviceRoleHasBeenSet(false), m_singleSignOnHasBeenSet(false), m_tagsHasBeenSet(false) { @@ -46,6 +49,11 @@ Aws::String CreateDomainRequest::SerializePayload() const } + if(m_domainVersionHasBeenSet) + { + payload.WithString("domainVersion", DomainVersionMapper::GetNameForDomainVersion(m_domainVersion)); + } + if(m_kmsKeyIdentifierHasBeenSet) { payload.WithString("kmsKeyIdentifier", m_kmsKeyIdentifier); @@ -58,6 +66,12 @@ Aws::String CreateDomainRequest::SerializePayload() const } + if(m_serviceRoleHasBeenSet) + { + payload.WithString("serviceRole", m_serviceRole); + + } + if(m_singleSignOnHasBeenSet) { payload.WithObject("singleSignOn", m_singleSignOn.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateDomainResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateDomainResult.cpp index 913b1614b07..c2e198b8de2 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/CreateDomainResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateDomainResult.cpp @@ -18,6 +18,7 @@ using namespace Aws::Utils; using namespace Aws; CreateDomainResult::CreateDomainResult() : + m_domainVersion(DomainVersion::NOT_SET), m_status(DomainStatus::NOT_SET) { } @@ -49,6 +50,12 @@ CreateDomainResult& CreateDomainResult::operator =(const Aws::AmazonWebServiceRe } + if(jsonValue.ValueExists("domainVersion")) + { + m_domainVersion = DomainVersionMapper::GetDomainVersionForName(jsonValue.GetString("domainVersion")); + + } + if(jsonValue.ValueExists("id")) { m_id = jsonValue.GetString("id"); @@ -79,6 +86,12 @@ CreateDomainResult& CreateDomainResult::operator =(const Aws::AmazonWebServiceRe } + if(jsonValue.ValueExists("serviceRole")) + { + m_serviceRole = jsonValue.GetString("serviceRole"); + + } + if(jsonValue.ValueExists("singleSignOn")) { m_singleSignOn = jsonValue.GetObject("singleSignOn"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateEnvironmentRequest.cpp index c8d5d942296..cba3c3a4446 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/CreateEnvironmentRequest.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateEnvironmentRequest.cpp @@ -13,11 +13,14 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateEnvironmentRequest::CreateEnvironmentRequest() : + m_deploymentOrder(0), + m_deploymentOrderHasBeenSet(false), m_descriptionHasBeenSet(false), m_domainIdentifierHasBeenSet(false), m_environmentAccountIdentifierHasBeenSet(false), m_environmentAccountRegionHasBeenSet(false), m_environmentBlueprintIdentifierHasBeenSet(false), + m_environmentConfigurationIdHasBeenSet(false), m_environmentProfileIdentifierHasBeenSet(false), m_glossaryTermsHasBeenSet(false), m_nameHasBeenSet(false), @@ -30,6 +33,12 @@ Aws::String CreateEnvironmentRequest::SerializePayload() const { JsonValue payload; + if(m_deploymentOrderHasBeenSet) + { + payload.WithInteger("deploymentOrder", m_deploymentOrder); + + } + if(m_descriptionHasBeenSet) { payload.WithString("description", m_description); @@ -54,6 +63,12 @@ Aws::String CreateEnvironmentRequest::SerializePayload() const } + if(m_environmentConfigurationIdHasBeenSet) + { + payload.WithString("environmentConfigurationId", m_environmentConfigurationId); + + } + if(m_environmentProfileIdentifierHasBeenSet) { payload.WithString("environmentProfileIdentifier", m_environmentProfileIdentifier); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectFromProjectProfilePolicyGrantDetail.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectFromProjectProfilePolicyGrantDetail.cpp new file mode 100644 index 00000000000..31d67f9b724 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectFromProjectProfilePolicyGrantDetail.cpp @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +CreateProjectFromProjectProfilePolicyGrantDetail::CreateProjectFromProjectProfilePolicyGrantDetail() : + m_includeChildDomainUnits(false), + m_includeChildDomainUnitsHasBeenSet(false), + m_projectProfilesHasBeenSet(false) +{ +} + +CreateProjectFromProjectProfilePolicyGrantDetail::CreateProjectFromProjectProfilePolicyGrantDetail(JsonView jsonValue) + : CreateProjectFromProjectProfilePolicyGrantDetail() +{ + *this = jsonValue; +} + +CreateProjectFromProjectProfilePolicyGrantDetail& CreateProjectFromProjectProfilePolicyGrantDetail::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("includeChildDomainUnits")) + { + m_includeChildDomainUnits = jsonValue.GetBool("includeChildDomainUnits"); + + m_includeChildDomainUnitsHasBeenSet = true; + } + + if(jsonValue.ValueExists("projectProfiles")) + { + Aws::Utils::Array projectProfilesJsonList = jsonValue.GetArray("projectProfiles"); + for(unsigned projectProfilesIndex = 0; projectProfilesIndex < projectProfilesJsonList.GetLength(); ++projectProfilesIndex) + { + m_projectProfiles.push_back(projectProfilesJsonList[projectProfilesIndex].AsString()); + } + m_projectProfilesHasBeenSet = true; + } + + return *this; +} + +JsonValue CreateProjectFromProjectProfilePolicyGrantDetail::Jsonize() const +{ + JsonValue payload; + + if(m_includeChildDomainUnitsHasBeenSet) + { + payload.WithBool("includeChildDomainUnits", m_includeChildDomainUnits); + + } + + if(m_projectProfilesHasBeenSet) + { + Aws::Utils::Array projectProfilesJsonList(m_projectProfiles.size()); + for(unsigned projectProfilesIndex = 0; projectProfilesIndex < projectProfilesJsonList.GetLength(); ++projectProfilesIndex) + { + projectProfilesJsonList[projectProfilesIndex].AsString(m_projectProfiles[projectProfilesIndex]); + } + payload.WithArray("projectProfiles", std::move(projectProfilesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectProfileRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectProfileRequest.cpp new file mode 100644 index 00000000000..f94aa4321f0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectProfileRequest.cpp @@ -0,0 +1,69 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateProjectProfileRequest::CreateProjectProfileRequest() : + m_descriptionHasBeenSet(false), + m_domainIdentifierHasBeenSet(false), + m_domainUnitIdentifierHasBeenSet(false), + m_environmentConfigurationsHasBeenSet(false), + m_nameHasBeenSet(false), + m_status(Status::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +Aws::String CreateProjectProfileRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_domainUnitIdentifierHasBeenSet) + { + payload.WithString("domainUnitIdentifier", m_domainUnitIdentifier); + + } + + if(m_environmentConfigurationsHasBeenSet) + { + Aws::Utils::Array environmentConfigurationsJsonList(m_environmentConfigurations.size()); + for(unsigned environmentConfigurationsIndex = 0; environmentConfigurationsIndex < environmentConfigurationsJsonList.GetLength(); ++environmentConfigurationsIndex) + { + environmentConfigurationsJsonList[environmentConfigurationsIndex].AsObject(m_environmentConfigurations[environmentConfigurationsIndex].Jsonize()); + } + payload.WithArray("environmentConfigurations", std::move(environmentConfigurationsJsonList)); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", StatusMapper::GetNameForStatus(m_status)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectProfileResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectProfileResult.cpp new file mode 100644 index 00000000000..617cf2128f1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectProfileResult.cpp @@ -0,0 +1,107 @@ +/** + * 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::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateProjectProfileResult::CreateProjectProfileResult() : + m_status(Status::NOT_SET) +{ +} + +CreateProjectProfileResult::CreateProjectProfileResult(const Aws::AmazonWebServiceResult& result) + : CreateProjectProfileResult() +{ + *this = result; +} + +CreateProjectProfileResult& CreateProjectProfileResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("domainUnitId")) + { + m_domainUnitId = jsonValue.GetString("domainUnitId"); + + } + + if(jsonValue.ValueExists("environmentConfigurations")) + { + Aws::Utils::Array environmentConfigurationsJsonList = jsonValue.GetArray("environmentConfigurations"); + for(unsigned environmentConfigurationsIndex = 0; environmentConfigurationsIndex < environmentConfigurationsJsonList.GetLength(); ++environmentConfigurationsIndex) + { + m_environmentConfigurations.push_back(environmentConfigurationsJsonList[environmentConfigurationsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + } + + if(jsonValue.ValueExists("lastUpdatedAt")) + { + m_lastUpdatedAt = jsonValue.GetString("lastUpdatedAt"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = StatusMapper::GetStatusForName(jsonValue.GetString("status")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectRequest.cpp index bc729632408..1ee15aede5d 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectRequest.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectRequest.cpp @@ -17,7 +17,9 @@ CreateProjectRequest::CreateProjectRequest() : m_domainIdentifierHasBeenSet(false), m_domainUnitIdHasBeenSet(false), m_glossaryTermsHasBeenSet(false), - m_nameHasBeenSet(false) + m_nameHasBeenSet(false), + m_projectProfileIdHasBeenSet(false), + m_userParametersHasBeenSet(false) { } @@ -54,6 +56,23 @@ Aws::String CreateProjectRequest::SerializePayload() const } + if(m_projectProfileIdHasBeenSet) + { + payload.WithString("projectProfileId", m_projectProfileId); + + } + + if(m_userParametersHasBeenSet) + { + Aws::Utils::Array userParametersJsonList(m_userParameters.size()); + for(unsigned userParametersIndex = 0; userParametersIndex < userParametersJsonList.GetLength(); ++userParametersIndex) + { + userParametersJsonList[userParametersIndex].AsObject(m_userParameters[userParametersIndex].Jsonize()); + } + payload.WithArray("userParameters", std::move(userParametersJsonList)); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectResult.cpp index 4aafceef700..bec049e7c32 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateProjectResult.cpp @@ -61,6 +61,12 @@ CreateProjectResult& CreateProjectResult::operator =(const Aws::AmazonWebService } + if(jsonValue.ValueExists("environmentDeploymentDetails")) + { + m_environmentDeploymentDetails = jsonValue.GetObject("environmentDeploymentDetails"); + + } + if(jsonValue.ValueExists("failureReasons")) { Aws::Utils::Array failureReasonsJsonList = jsonValue.GetArray("failureReasons"); @@ -97,12 +103,27 @@ CreateProjectResult& CreateProjectResult::operator =(const Aws::AmazonWebService } + if(jsonValue.ValueExists("projectProfileId")) + { + m_projectProfileId = jsonValue.GetString("projectProfileId"); + + } + if(jsonValue.ValueExists("projectStatus")) { m_projectStatus = ProjectStatusMapper::GetProjectStatusForName(jsonValue.GetString("projectStatus")); } + if(jsonValue.ValueExists("userParameters")) + { + Aws::Utils::Array userParametersJsonList = jsonValue.GetArray("userParameters"); + for(unsigned userParametersIndex = 0; userParametersIndex < userParametersJsonList.GetLength(); ++userParametersIndex) + { + m_userParameters.push_back(userParametersJsonList[userParametersIndex].AsObject()); + } + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceConfigurationInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceConfigurationInput.cpp index b6ef2f846df..9539beafb8d 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceConfigurationInput.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceConfigurationInput.cpp @@ -20,7 +20,8 @@ namespace Model DataSourceConfigurationInput::DataSourceConfigurationInput() : m_glueRunConfigurationHasBeenSet(false), - m_redshiftRunConfigurationHasBeenSet(false) + m_redshiftRunConfigurationHasBeenSet(false), + m_sageMakerRunConfigurationHasBeenSet(false) { } @@ -46,6 +47,13 @@ DataSourceConfigurationInput& DataSourceConfigurationInput::operator =(JsonView m_redshiftRunConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("sageMakerRunConfiguration")) + { + m_sageMakerRunConfiguration = jsonValue.GetObject("sageMakerRunConfiguration"); + + m_sageMakerRunConfigurationHasBeenSet = true; + } + return *this; } @@ -65,6 +73,12 @@ JsonValue DataSourceConfigurationInput::Jsonize() const } + if(m_sageMakerRunConfigurationHasBeenSet) + { + payload.WithObject("sageMakerRunConfiguration", m_sageMakerRunConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceConfigurationOutput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceConfigurationOutput.cpp index 35d0e58c0d8..1b58631b0fd 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceConfigurationOutput.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceConfigurationOutput.cpp @@ -20,7 +20,8 @@ namespace Model DataSourceConfigurationOutput::DataSourceConfigurationOutput() : m_glueRunConfigurationHasBeenSet(false), - m_redshiftRunConfigurationHasBeenSet(false) + m_redshiftRunConfigurationHasBeenSet(false), + m_sageMakerRunConfigurationHasBeenSet(false) { } @@ -46,6 +47,13 @@ DataSourceConfigurationOutput& DataSourceConfigurationOutput::operator =(JsonVie m_redshiftRunConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("sageMakerRunConfiguration")) + { + m_sageMakerRunConfiguration = jsonValue.GetObject("sageMakerRunConfiguration"); + + m_sageMakerRunConfigurationHasBeenSet = true; + } + return *this; } @@ -65,6 +73,12 @@ JsonValue DataSourceConfigurationOutput::Jsonize() const } + if(m_sageMakerRunConfigurationHasBeenSet) + { + payload.WithObject("sageMakerRunConfiguration", m_sageMakerRunConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceRunActivity.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceRunActivity.cpp index 43d3ca1f753..9dcf4a3bfc9 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceRunActivity.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceRunActivity.cpp @@ -26,6 +26,7 @@ DataSourceRunActivity::DataSourceRunActivity() : m_dataSourceRunIdHasBeenSet(false), m_databaseHasBeenSet(false), m_errorMessageHasBeenSet(false), + m_lineageSummaryHasBeenSet(false), m_projectIdHasBeenSet(false), m_technicalDescriptionHasBeenSet(false), m_technicalNameHasBeenSet(false), @@ -83,6 +84,13 @@ DataSourceRunActivity& DataSourceRunActivity::operator =(JsonView jsonValue) m_errorMessageHasBeenSet = true; } + if(jsonValue.ValueExists("lineageSummary")) + { + m_lineageSummary = jsonValue.GetObject("lineageSummary"); + + m_lineageSummaryHasBeenSet = true; + } + if(jsonValue.ValueExists("projectId")) { m_projectId = jsonValue.GetString("projectId"); @@ -152,6 +160,12 @@ JsonValue DataSourceRunActivity::Jsonize() const } + if(m_lineageSummaryHasBeenSet) + { + payload.WithObject("lineageSummary", m_lineageSummary.Jsonize()); + + } + if(m_projectIdHasBeenSet) { payload.WithString("projectId", m_projectId); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceRunLineageSummary.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceRunLineageSummary.cpp new file mode 100644 index 00000000000..15c84773465 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceRunLineageSummary.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +DataSourceRunLineageSummary::DataSourceRunLineageSummary() : + m_importStatus(LineageImportStatus::NOT_SET), + m_importStatusHasBeenSet(false) +{ +} + +DataSourceRunLineageSummary::DataSourceRunLineageSummary(JsonView jsonValue) + : DataSourceRunLineageSummary() +{ + *this = jsonValue; +} + +DataSourceRunLineageSummary& DataSourceRunLineageSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("importStatus")) + { + m_importStatus = LineageImportStatusMapper::GetLineageImportStatusForName(jsonValue.GetString("importStatus")); + + m_importStatusHasBeenSet = true; + } + + return *this; +} + +JsonValue DataSourceRunLineageSummary::Jsonize() const +{ + JsonValue payload; + + if(m_importStatusHasBeenSet) + { + payload.WithString("importStatus", LineageImportStatusMapper::GetNameForLineageImportStatus(m_importStatus)); + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceRunSummary.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceRunSummary.cpp index 9aa699631a9..168ef08b41f 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceRunSummary.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceRunSummary.cpp @@ -23,6 +23,7 @@ DataSourceRunSummary::DataSourceRunSummary() : m_dataSourceIdHasBeenSet(false), m_errorMessageHasBeenSet(false), m_idHasBeenSet(false), + m_lineageSummaryHasBeenSet(false), m_projectIdHasBeenSet(false), m_runStatisticsForAssetsHasBeenSet(false), m_startedAtHasBeenSet(false), @@ -71,6 +72,13 @@ DataSourceRunSummary& DataSourceRunSummary::operator =(JsonView jsonValue) m_idHasBeenSet = true; } + if(jsonValue.ValueExists("lineageSummary")) + { + m_lineageSummary = jsonValue.GetObject("lineageSummary"); + + m_lineageSummaryHasBeenSet = true; + } + if(jsonValue.ValueExists("projectId")) { m_projectId = jsonValue.GetString("projectId"); @@ -150,6 +158,12 @@ JsonValue DataSourceRunSummary::Jsonize() const } + if(m_lineageSummaryHasBeenSet) + { + payload.WithObject("lineageSummary", m_lineageSummary.Jsonize()); + + } + if(m_projectIdHasBeenSet) { payload.WithString("projectId", m_projectId); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceSummary.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceSummary.cpp index b1bd73016cc..2a0208c30f4 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceSummary.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DataSourceSummary.cpp @@ -19,8 +19,10 @@ namespace Model { DataSourceSummary::DataSourceSummary() : + m_connectionIdHasBeenSet(false), m_createdAtHasBeenSet(false), m_dataSourceIdHasBeenSet(false), + m_descriptionHasBeenSet(false), m_domainIdHasBeenSet(false), m_enableSetting(EnableSetting::NOT_SET), m_enableSettingHasBeenSet(false), @@ -48,6 +50,13 @@ DataSourceSummary::DataSourceSummary(JsonView jsonValue) DataSourceSummary& DataSourceSummary::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("connectionId")) + { + m_connectionId = jsonValue.GetString("connectionId"); + + m_connectionIdHasBeenSet = true; + } + if(jsonValue.ValueExists("createdAt")) { m_createdAt = jsonValue.GetString("createdAt"); @@ -62,6 +71,13 @@ DataSourceSummary& DataSourceSummary::operator =(JsonView jsonValue) m_dataSourceIdHasBeenSet = true; } + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + if(jsonValue.ValueExists("domainId")) { m_domainId = jsonValue.GetString("domainId"); @@ -153,6 +169,12 @@ JsonValue DataSourceSummary::Jsonize() const { JsonValue payload; + if(m_connectionIdHasBeenSet) + { + payload.WithString("connectionId", m_connectionId); + + } + if(m_createdAtHasBeenSet) { payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); @@ -164,6 +186,12 @@ JsonValue DataSourceSummary::Jsonize() const } + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + if(m_domainIdHasBeenSet) { payload.WithString("domainId", m_domainId); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DeleteConnectionRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteConnectionRequest.cpp new file mode 100644 index 00000000000..27b114c3e2d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteConnectionRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteConnectionRequest::DeleteConnectionRequest() : + m_domainIdentifierHasBeenSet(false), + m_identifierHasBeenSet(false) +{ +} + +Aws::String DeleteConnectionRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DeleteConnectionResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteConnectionResult.cpp new file mode 100644 index 00000000000..e293641c49d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteConnectionResult.cpp @@ -0,0 +1,48 @@ +/** + * 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::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteConnectionResult::DeleteConnectionResult() +{ +} + +DeleteConnectionResult::DeleteConnectionResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteConnectionResult& DeleteConnectionResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("status")) + { + m_status = jsonValue.GetString("status"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DeleteDataSourceRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteDataSourceRequest.cpp index 0c71afe9faa..595ab0dfba1 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/DeleteDataSourceRequest.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteDataSourceRequest.cpp @@ -16,8 +16,6 @@ using namespace Aws::Utils; using namespace Aws::Http; DeleteDataSourceRequest::DeleteDataSourceRequest() : - m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), - m_clientTokenHasBeenSet(true), m_domainIdentifierHasBeenSet(false), m_identifierHasBeenSet(false), m_retainPermissionsOnRevokeFailure(false), @@ -33,13 +31,6 @@ Aws::String DeleteDataSourceRequest::SerializePayload() const void DeleteDataSourceRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_clientTokenHasBeenSet) - { - ss << m_clientToken; - uri.AddQueryStringParameter("clientToken", ss.str()); - ss.str(""); - } - if(m_retainPermissionsOnRevokeFailureHasBeenSet) { ss << m_retainPermissionsOnRevokeFailure; diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DeleteDataSourceResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteDataSourceResult.cpp index 1876e75b5f1..9e5f813c717 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/DeleteDataSourceResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteDataSourceResult.cpp @@ -50,6 +50,12 @@ DeleteDataSourceResult& DeleteDataSourceResult::operator =(const Aws::AmazonWebS } + if(jsonValue.ValueExists("connectionId")) + { + m_connectionId = jsonValue.GetString("connectionId"); + + } + if(jsonValue.ValueExists("createdAt")) { m_createdAt = jsonValue.GetString("createdAt"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DeleteProjectProfileRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteProjectProfileRequest.cpp new file mode 100644 index 00000000000..4ae8431ca0b --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteProjectProfileRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteProjectProfileRequest::DeleteProjectProfileRequest() : + m_domainIdentifierHasBeenSet(false), + m_identifierHasBeenSet(false) +{ +} + +Aws::String DeleteProjectProfileRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DeleteProjectProfileResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteProjectProfileResult.cpp new file mode 100644 index 00000000000..62e5da21f1f --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteProjectProfileResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteProjectProfileResult::DeleteProjectProfileResult() +{ +} + +DeleteProjectProfileResult::DeleteProjectProfileResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteProjectProfileResult& DeleteProjectProfileResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DeploymentMode.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DeploymentMode.cpp new file mode 100644 index 00000000000..c87fdf6e591 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DeploymentMode.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace DeploymentModeMapper + { + + static const int ON_CREATE_HASH = HashingUtils::HashString("ON_CREATE"); + static const int ON_DEMAND_HASH = HashingUtils::HashString("ON_DEMAND"); + + + DeploymentMode GetDeploymentModeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ON_CREATE_HASH) + { + return DeploymentMode::ON_CREATE; + } + else if (hashCode == ON_DEMAND_HASH) + { + return DeploymentMode::ON_DEMAND; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return DeploymentMode::NOT_SET; + } + + Aws::String GetNameForDeploymentMode(DeploymentMode enumValue) + { + switch(enumValue) + { + case DeploymentMode::NOT_SET: + return {}; + case DeploymentMode::ON_CREATE: + return "ON_CREATE"; + case DeploymentMode::ON_DEMAND: + return "ON_DEMAND"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace DeploymentModeMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DomainSummary.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DomainSummary.cpp index 3b0693f8b50..0ba99861033 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/DomainSummary.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DomainSummary.cpp @@ -22,6 +22,8 @@ DomainSummary::DomainSummary() : m_arnHasBeenSet(false), m_createdAtHasBeenSet(false), m_descriptionHasBeenSet(false), + m_domainVersion(DomainVersion::NOT_SET), + m_domainVersionHasBeenSet(false), m_idHasBeenSet(false), m_lastUpdatedAtHasBeenSet(false), m_managedAccountIdHasBeenSet(false), @@ -61,6 +63,13 @@ DomainSummary& DomainSummary::operator =(JsonView jsonValue) m_descriptionHasBeenSet = true; } + if(jsonValue.ValueExists("domainVersion")) + { + m_domainVersion = DomainVersionMapper::GetDomainVersionForName(jsonValue.GetString("domainVersion")); + + m_domainVersionHasBeenSet = true; + } + if(jsonValue.ValueExists("id")) { m_id = jsonValue.GetString("id"); @@ -127,6 +136,11 @@ JsonValue DomainSummary::Jsonize() const } + if(m_domainVersionHasBeenSet) + { + payload.WithString("domainVersion", DomainVersionMapper::GetNameForDomainVersion(m_domainVersion)); + } + if(m_idHasBeenSet) { payload.WithString("id", m_id); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/DomainVersion.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DomainVersion.cpp new file mode 100644 index 00000000000..a30124a8c2c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DomainVersion.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace DomainVersionMapper + { + + static const int V1_HASH = HashingUtils::HashString("V1"); + static const int V2_HASH = HashingUtils::HashString("V2"); + + + DomainVersion GetDomainVersionForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == V1_HASH) + { + return DomainVersion::V1; + } + else if (hashCode == V2_HASH) + { + return DomainVersion::V2; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return DomainVersion::NOT_SET; + } + + Aws::String GetNameForDomainVersion(DomainVersion enumValue) + { + switch(enumValue) + { + case DomainVersion::NOT_SET: + return {}; + case DomainVersion::V1: + return "V1"; + case DomainVersion::V2: + return "V2"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace DomainVersionMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentBlueprintConfigurationItem.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentBlueprintConfigurationItem.cpp index dceda837b5f..3d06c878397 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentBlueprintConfigurationItem.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentBlueprintConfigurationItem.cpp @@ -23,6 +23,7 @@ EnvironmentBlueprintConfigurationItem::EnvironmentBlueprintConfigurationItem() : m_domainIdHasBeenSet(false), m_enabledRegionsHasBeenSet(false), m_environmentBlueprintIdHasBeenSet(false), + m_environmentRolePermissionBoundaryHasBeenSet(false), m_manageAccessRoleArnHasBeenSet(false), m_provisioningConfigurationsHasBeenSet(false), m_provisioningRoleArnHasBeenSet(false), @@ -70,6 +71,13 @@ EnvironmentBlueprintConfigurationItem& EnvironmentBlueprintConfigurationItem::op m_environmentBlueprintIdHasBeenSet = true; } + if(jsonValue.ValueExists("environmentRolePermissionBoundary")) + { + m_environmentRolePermissionBoundary = jsonValue.GetString("environmentRolePermissionBoundary"); + + m_environmentRolePermissionBoundaryHasBeenSet = true; + } + if(jsonValue.ValueExists("manageAccessRoleArn")) { m_manageAccessRoleArn = jsonValue.GetString("manageAccessRoleArn"); @@ -152,6 +160,12 @@ JsonValue EnvironmentBlueprintConfigurationItem::Jsonize() const } + if(m_environmentRolePermissionBoundaryHasBeenSet) + { + payload.WithString("environmentRolePermissionBoundary", m_environmentRolePermissionBoundary); + + } + if(m_manageAccessRoleArnHasBeenSet) { payload.WithString("manageAccessRoleArn", m_manageAccessRoleArn); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfiguration.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfiguration.cpp new file mode 100644 index 00000000000..8c564a6175f --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfiguration.cpp @@ -0,0 +1,172 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +EnvironmentConfiguration::EnvironmentConfiguration() : + m_awsAccountHasBeenSet(false), + m_awsRegionHasBeenSet(false), + m_configurationParametersHasBeenSet(false), + m_deploymentMode(DeploymentMode::NOT_SET), + m_deploymentModeHasBeenSet(false), + m_deploymentOrder(0), + m_deploymentOrderHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_environmentBlueprintIdHasBeenSet(false), + m_idHasBeenSet(false), + m_nameHasBeenSet(false) +{ +} + +EnvironmentConfiguration::EnvironmentConfiguration(JsonView jsonValue) + : EnvironmentConfiguration() +{ + *this = jsonValue; +} + +EnvironmentConfiguration& EnvironmentConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("awsAccount")) + { + m_awsAccount = jsonValue.GetObject("awsAccount"); + + m_awsAccountHasBeenSet = true; + } + + if(jsonValue.ValueExists("awsRegion")) + { + m_awsRegion = jsonValue.GetObject("awsRegion"); + + m_awsRegionHasBeenSet = true; + } + + if(jsonValue.ValueExists("configurationParameters")) + { + m_configurationParameters = jsonValue.GetObject("configurationParameters"); + + m_configurationParametersHasBeenSet = true; + } + + if(jsonValue.ValueExists("deploymentMode")) + { + m_deploymentMode = DeploymentModeMapper::GetDeploymentModeForName(jsonValue.GetString("deploymentMode")); + + m_deploymentModeHasBeenSet = true; + } + + if(jsonValue.ValueExists("deploymentOrder")) + { + m_deploymentOrder = jsonValue.GetInteger("deploymentOrder"); + + m_deploymentOrderHasBeenSet = true; + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("environmentBlueprintId")) + { + m_environmentBlueprintId = jsonValue.GetString("environmentBlueprintId"); + + m_environmentBlueprintIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + m_idHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + return *this; +} + +JsonValue EnvironmentConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_awsAccountHasBeenSet) + { + payload.WithObject("awsAccount", m_awsAccount.Jsonize()); + + } + + if(m_awsRegionHasBeenSet) + { + payload.WithObject("awsRegion", m_awsRegion.Jsonize()); + + } + + if(m_configurationParametersHasBeenSet) + { + payload.WithObject("configurationParameters", m_configurationParameters.Jsonize()); + + } + + if(m_deploymentModeHasBeenSet) + { + payload.WithString("deploymentMode", DeploymentModeMapper::GetNameForDeploymentMode(m_deploymentMode)); + } + + if(m_deploymentOrderHasBeenSet) + { + payload.WithInteger("deploymentOrder", m_deploymentOrder); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_environmentBlueprintIdHasBeenSet) + { + payload.WithString("environmentBlueprintId", m_environmentBlueprintId); + + } + + if(m_idHasBeenSet) + { + payload.WithString("id", m_id); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfigurationParameter.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfigurationParameter.cpp new file mode 100644 index 00000000000..8220efb361e --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfigurationParameter.cpp @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +EnvironmentConfigurationParameter::EnvironmentConfigurationParameter() : + m_isEditable(false), + m_isEditableHasBeenSet(false), + m_nameHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +EnvironmentConfigurationParameter::EnvironmentConfigurationParameter(JsonView jsonValue) + : EnvironmentConfigurationParameter() +{ + *this = jsonValue; +} + +EnvironmentConfigurationParameter& EnvironmentConfigurationParameter::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("isEditable")) + { + m_isEditable = jsonValue.GetBool("isEditable"); + + m_isEditableHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue EnvironmentConfigurationParameter::Jsonize() const +{ + JsonValue payload; + + if(m_isEditableHasBeenSet) + { + payload.WithBool("isEditable", m_isEditable); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfigurationParametersDetails.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfigurationParametersDetails.cpp new file mode 100644 index 00000000000..9021cdef39c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfigurationParametersDetails.cpp @@ -0,0 +1,103 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +EnvironmentConfigurationParametersDetails::EnvironmentConfigurationParametersDetails() : + m_parameterOverridesHasBeenSet(false), + m_resolvedParametersHasBeenSet(false), + m_ssmPathHasBeenSet(false) +{ +} + +EnvironmentConfigurationParametersDetails::EnvironmentConfigurationParametersDetails(JsonView jsonValue) + : EnvironmentConfigurationParametersDetails() +{ + *this = jsonValue; +} + +EnvironmentConfigurationParametersDetails& EnvironmentConfigurationParametersDetails::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("parameterOverrides")) + { + Aws::Utils::Array parameterOverridesJsonList = jsonValue.GetArray("parameterOverrides"); + for(unsigned parameterOverridesIndex = 0; parameterOverridesIndex < parameterOverridesJsonList.GetLength(); ++parameterOverridesIndex) + { + m_parameterOverrides.push_back(parameterOverridesJsonList[parameterOverridesIndex].AsObject()); + } + m_parameterOverridesHasBeenSet = true; + } + + if(jsonValue.ValueExists("resolvedParameters")) + { + Aws::Utils::Array resolvedParametersJsonList = jsonValue.GetArray("resolvedParameters"); + for(unsigned resolvedParametersIndex = 0; resolvedParametersIndex < resolvedParametersJsonList.GetLength(); ++resolvedParametersIndex) + { + m_resolvedParameters.push_back(resolvedParametersJsonList[resolvedParametersIndex].AsObject()); + } + m_resolvedParametersHasBeenSet = true; + } + + if(jsonValue.ValueExists("ssmPath")) + { + m_ssmPath = jsonValue.GetString("ssmPath"); + + m_ssmPathHasBeenSet = true; + } + + return *this; +} + +JsonValue EnvironmentConfigurationParametersDetails::Jsonize() const +{ + JsonValue payload; + + if(m_parameterOverridesHasBeenSet) + { + Aws::Utils::Array parameterOverridesJsonList(m_parameterOverrides.size()); + for(unsigned parameterOverridesIndex = 0; parameterOverridesIndex < parameterOverridesJsonList.GetLength(); ++parameterOverridesIndex) + { + parameterOverridesJsonList[parameterOverridesIndex].AsObject(m_parameterOverrides[parameterOverridesIndex].Jsonize()); + } + payload.WithArray("parameterOverrides", std::move(parameterOverridesJsonList)); + + } + + if(m_resolvedParametersHasBeenSet) + { + Aws::Utils::Array resolvedParametersJsonList(m_resolvedParameters.size()); + for(unsigned resolvedParametersIndex = 0; resolvedParametersIndex < resolvedParametersJsonList.GetLength(); ++resolvedParametersIndex) + { + resolvedParametersJsonList[resolvedParametersIndex].AsObject(m_resolvedParameters[resolvedParametersIndex].Jsonize()); + } + payload.WithArray("resolvedParameters", std::move(resolvedParametersJsonList)); + + } + + if(m_ssmPathHasBeenSet) + { + payload.WithString("ssmPath", m_ssmPath); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfigurationUserParameter.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfigurationUserParameter.cpp new file mode 100644 index 00000000000..5df322708e1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentConfigurationUserParameter.cpp @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +EnvironmentConfigurationUserParameter::EnvironmentConfigurationUserParameter() : + m_environmentConfigurationNameHasBeenSet(false), + m_environmentParametersHasBeenSet(false) +{ +} + +EnvironmentConfigurationUserParameter::EnvironmentConfigurationUserParameter(JsonView jsonValue) + : EnvironmentConfigurationUserParameter() +{ + *this = jsonValue; +} + +EnvironmentConfigurationUserParameter& EnvironmentConfigurationUserParameter::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentConfigurationName")) + { + m_environmentConfigurationName = jsonValue.GetString("environmentConfigurationName"); + + m_environmentConfigurationNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("environmentParameters")) + { + Aws::Utils::Array environmentParametersJsonList = jsonValue.GetArray("environmentParameters"); + for(unsigned environmentParametersIndex = 0; environmentParametersIndex < environmentParametersJsonList.GetLength(); ++environmentParametersIndex) + { + m_environmentParameters.push_back(environmentParametersJsonList[environmentParametersIndex].AsObject()); + } + m_environmentParametersHasBeenSet = true; + } + + return *this; +} + +JsonValue EnvironmentConfigurationUserParameter::Jsonize() const +{ + JsonValue payload; + + if(m_environmentConfigurationNameHasBeenSet) + { + payload.WithString("environmentConfigurationName", m_environmentConfigurationName); + + } + + if(m_environmentParametersHasBeenSet) + { + Aws::Utils::Array environmentParametersJsonList(m_environmentParameters.size()); + for(unsigned environmentParametersIndex = 0; environmentParametersIndex < environmentParametersJsonList.GetLength(); ++environmentParametersIndex) + { + environmentParametersJsonList[environmentParametersIndex].AsObject(m_environmentParameters[environmentParametersIndex].Jsonize()); + } + payload.WithArray("environmentParameters", std::move(environmentParametersJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentDeploymentDetails.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentDeploymentDetails.cpp new file mode 100644 index 00000000000..a9dbecbf13c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentDeploymentDetails.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +EnvironmentDeploymentDetails::EnvironmentDeploymentDetails() : + m_environmentFailureReasonsHasBeenSet(false), + m_overallDeploymentStatus(OverallDeploymentStatus::NOT_SET), + m_overallDeploymentStatusHasBeenSet(false) +{ +} + +EnvironmentDeploymentDetails::EnvironmentDeploymentDetails(JsonView jsonValue) + : EnvironmentDeploymentDetails() +{ + *this = jsonValue; +} + +EnvironmentDeploymentDetails& EnvironmentDeploymentDetails::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentFailureReasons")) + { + Aws::Map environmentFailureReasonsJsonMap = jsonValue.GetObject("environmentFailureReasons").GetAllObjects(); + for(auto& environmentFailureReasonsItem : environmentFailureReasonsJsonMap) + { + Aws::Utils::Array environmentFailureReasonsListJsonList = environmentFailureReasonsItem.second.AsArray(); + Aws::Vector environmentFailureReasonsListList; + environmentFailureReasonsListList.reserve((size_t)environmentFailureReasonsListJsonList.GetLength()); + for(unsigned environmentFailureReasonsListIndex = 0; environmentFailureReasonsListIndex < environmentFailureReasonsListJsonList.GetLength(); ++environmentFailureReasonsListIndex) + { + environmentFailureReasonsListList.push_back(environmentFailureReasonsListJsonList[environmentFailureReasonsListIndex].AsObject()); + } + m_environmentFailureReasons[environmentFailureReasonsItem.first] = std::move(environmentFailureReasonsListList); + } + m_environmentFailureReasonsHasBeenSet = true; + } + + if(jsonValue.ValueExists("overallDeploymentStatus")) + { + m_overallDeploymentStatus = OverallDeploymentStatusMapper::GetOverallDeploymentStatusForName(jsonValue.GetString("overallDeploymentStatus")); + + m_overallDeploymentStatusHasBeenSet = true; + } + + return *this; +} + +JsonValue EnvironmentDeploymentDetails::Jsonize() const +{ + JsonValue payload; + + if(m_environmentFailureReasonsHasBeenSet) + { + JsonValue environmentFailureReasonsJsonMap; + for(auto& environmentFailureReasonsItem : m_environmentFailureReasons) + { + Aws::Utils::Array environmentFailureReasonsListJsonList(environmentFailureReasonsItem.second.size()); + for(unsigned environmentFailureReasonsListIndex = 0; environmentFailureReasonsListIndex < environmentFailureReasonsListJsonList.GetLength(); ++environmentFailureReasonsListIndex) + { + environmentFailureReasonsListJsonList[environmentFailureReasonsListIndex].AsObject(environmentFailureReasonsItem.second[environmentFailureReasonsListIndex].Jsonize()); + } + environmentFailureReasonsJsonMap.WithArray(environmentFailureReasonsItem.first, std::move(environmentFailureReasonsListJsonList)); + } + payload.WithObject("environmentFailureReasons", std::move(environmentFailureReasonsJsonMap)); + + } + + if(m_overallDeploymentStatusHasBeenSet) + { + payload.WithString("overallDeploymentStatus", OverallDeploymentStatusMapper::GetNameForOverallDeploymentStatus(m_overallDeploymentStatus)); + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/EventSummary.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/EventSummary.cpp new file mode 100644 index 00000000000..84393a052ef --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/EventSummary.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +EventSummary::EventSummary() : + m_openLineageRunEventSummaryHasBeenSet(false) +{ +} + +EventSummary::EventSummary(JsonView jsonValue) + : EventSummary() +{ + *this = jsonValue; +} + +EventSummary& EventSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("openLineageRunEventSummary")) + { + m_openLineageRunEventSummary = jsonValue.GetObject("openLineageRunEventSummary"); + + m_openLineageRunEventSummaryHasBeenSet = true; + } + + return *this; +} + +JsonValue EventSummary::Jsonize() const +{ + JsonValue payload; + + if(m_openLineageRunEventSummaryHasBeenSet) + { + payload.WithObject("openLineageRunEventSummary", m_openLineageRunEventSummary.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetConnectionRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetConnectionRequest.cpp new file mode 100644 index 00000000000..2f739c8318d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetConnectionRequest.cpp @@ -0,0 +1,44 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +GetConnectionRequest::GetConnectionRequest() : + m_domainIdentifierHasBeenSet(false), + m_identifierHasBeenSet(false), + m_withSecret(false), + m_withSecretHasBeenSet(false) +{ +} + +Aws::String GetConnectionRequest::SerializePayload() const +{ + return {}; +} + +void GetConnectionRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_withSecretHasBeenSet) + { + ss << m_withSecret; + uri.AddQueryStringParameter("withSecret", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetConnectionResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetConnectionResult.cpp new file mode 100644 index 00000000000..53793f3f311 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetConnectionResult.cpp @@ -0,0 +1,119 @@ +/** + * 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::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetConnectionResult::GetConnectionResult() : + m_type(ConnectionType::NOT_SET) +{ +} + +GetConnectionResult::GetConnectionResult(const Aws::AmazonWebServiceResult& result) + : GetConnectionResult() +{ + *this = result; +} + +GetConnectionResult& GetConnectionResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("connectionCredentials")) + { + m_connectionCredentials = jsonValue.GetObject("connectionCredentials"); + + } + + if(jsonValue.ValueExists("connectionId")) + { + m_connectionId = jsonValue.GetString("connectionId"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("domainUnitId")) + { + m_domainUnitId = jsonValue.GetString("domainUnitId"); + + } + + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + } + + if(jsonValue.ValueExists("environmentUserRole")) + { + m_environmentUserRole = jsonValue.GetString("environmentUserRole"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("physicalEndpoints")) + { + Aws::Utils::Array physicalEndpointsJsonList = jsonValue.GetArray("physicalEndpoints"); + for(unsigned physicalEndpointsIndex = 0; physicalEndpointsIndex < physicalEndpointsJsonList.GetLength(); ++physicalEndpointsIndex) + { + m_physicalEndpoints.push_back(physicalEndpointsJsonList[physicalEndpointsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("projectId")) + { + m_projectId = jsonValue.GetString("projectId"); + + } + + if(jsonValue.ValueExists("props")) + { + m_props = jsonValue.GetObject("props"); + + } + + if(jsonValue.ValueExists("type")) + { + m_type = ConnectionTypeMapper::GetConnectionTypeForName(jsonValue.GetString("type")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetDataSourceResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetDataSourceResult.cpp index 1955250d319..032552efd05 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/GetDataSourceResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetDataSourceResult.cpp @@ -50,6 +50,12 @@ GetDataSourceResult& GetDataSourceResult::operator =(const Aws::AmazonWebService } + if(jsonValue.ValueExists("connectionId")) + { + m_connectionId = jsonValue.GetString("connectionId"); + + } + if(jsonValue.ValueExists("createdAt")) { m_createdAt = jsonValue.GetString("createdAt"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetDataSourceRunResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetDataSourceRunResult.cpp index 796b8236e97..099d51e87c4 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/GetDataSourceRunResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetDataSourceRunResult.cpp @@ -68,6 +68,12 @@ GetDataSourceRunResult& GetDataSourceRunResult::operator =(const Aws::AmazonWebS } + if(jsonValue.ValueExists("lineageSummary")) + { + m_lineageSummary = jsonValue.GetObject("lineageSummary"); + + } + if(jsonValue.ValueExists("projectId")) { m_projectId = jsonValue.GetString("projectId"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetDomainResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetDomainResult.cpp index f9f373b2eb4..61bf5bfd8f9 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/GetDomainResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetDomainResult.cpp @@ -18,6 +18,7 @@ using namespace Aws::Utils; using namespace Aws; GetDomainResult::GetDomainResult() : + m_domainVersion(DomainVersion::NOT_SET), m_status(DomainStatus::NOT_SET) { } @@ -55,6 +56,12 @@ GetDomainResult& GetDomainResult::operator =(const Aws::AmazonWebServiceResult +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetJobRunRequest::GetJobRunRequest() : + m_domainIdentifierHasBeenSet(false), + m_identifierHasBeenSet(false) +{ +} + +Aws::String GetJobRunRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetJobRunResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetJobRunResult.cpp new file mode 100644 index 00000000000..cee32bdc56f --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetJobRunResult.cpp @@ -0,0 +1,118 @@ +/** + * 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::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetJobRunResult::GetJobRunResult() : + m_jobType(JobType::NOT_SET), + m_runMode(JobRunMode::NOT_SET), + m_status(JobRunStatus::NOT_SET) +{ +} + +GetJobRunResult::GetJobRunResult(const Aws::AmazonWebServiceResult& result) + : GetJobRunResult() +{ + *this = result; +} + +GetJobRunResult& GetJobRunResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetDouble("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("details")) + { + m_details = jsonValue.GetObject("details"); + + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("endTime")) + { + m_endTime = jsonValue.GetDouble("endTime"); + + } + + if(jsonValue.ValueExists("error")) + { + m_error = jsonValue.GetObject("error"); + + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + } + + if(jsonValue.ValueExists("jobType")) + { + m_jobType = JobTypeMapper::GetJobTypeForName(jsonValue.GetString("jobType")); + + } + + if(jsonValue.ValueExists("runMode")) + { + m_runMode = JobRunModeMapper::GetJobRunModeForName(jsonValue.GetString("runMode")); + + } + + if(jsonValue.ValueExists("startTime")) + { + m_startTime = jsonValue.GetDouble("startTime"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = JobRunStatusMapper::GetJobRunStatusForName(jsonValue.GetString("status")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetLineageEventRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetLineageEventRequest.cpp new file mode 100644 index 00000000000..0b5c99070f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetLineageEventRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetLineageEventRequest::GetLineageEventRequest() : + m_domainIdentifierHasBeenSet(false), + m_identifierHasBeenSet(false) +{ +} + +Aws::String GetLineageEventRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetLineageEventResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetLineageEventResult.cpp new file mode 100644 index 00000000000..0dd171f4bbf --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetLineageEventResult.cpp @@ -0,0 +1,117 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Stream; +using namespace Aws::Utils; +using namespace Aws; + +GetLineageEventResult::GetLineageEventResult() : + m_processingStatus(LineageEventProcessingStatus::NOT_SET) +{ +} + +GetLineageEventResult::GetLineageEventResult(GetLineageEventResult&& toMove) : + m_createdAt(std::move(toMove.m_createdAt)), + m_createdBy(std::move(toMove.m_createdBy)), + m_domainId(std::move(toMove.m_domainId)), + m_event(std::move(toMove.m_event)), + m_eventTime(std::move(toMove.m_eventTime)), + m_id(std::move(toMove.m_id)), + m_processingStatus(toMove.m_processingStatus), + m_requestId(std::move(toMove.m_requestId)) +{ +} + +GetLineageEventResult& GetLineageEventResult::operator=(GetLineageEventResult&& toMove) +{ + if(this == &toMove) + { + return *this; + } + + m_createdAt = std::move(toMove.m_createdAt); + m_createdBy = std::move(toMove.m_createdBy); + m_domainId = std::move(toMove.m_domainId); + m_event = std::move(toMove.m_event); + m_eventTime = std::move(toMove.m_eventTime); + m_id = std::move(toMove.m_id); + m_processingStatus = toMove.m_processingStatus; + m_requestId = std::move(toMove.m_requestId); + + return *this; +} + +GetLineageEventResult::GetLineageEventResult(Aws::AmazonWebServiceResult&& result) + : GetLineageEventResult() +{ + *this = std::move(result); +} + +GetLineageEventResult& GetLineageEventResult::operator =(Aws::AmazonWebServiceResult&& result) +{ + m_event = result.TakeOwnershipOfPayload(); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& createdAtIter = headers.find("created-at"); + if(createdAtIter != headers.end()) + { + m_createdAt = DateTime(createdAtIter->second.c_str(), Aws::Utils::DateFormat::RFC822); + if(!m_createdAt.WasParseSuccessful()) + { + AWS_LOGSTREAM_WARN("DataZone::GetLineageEventResult", "Failed to parse createdAt header as an RFC822 timestamp: " << createdAtIter->second.c_str()); + } + } + + const auto& createdByIter = headers.find("created-by"); + if(createdByIter != headers.end()) + { + m_createdBy = createdByIter->second; + } + + const auto& domainIdIter = headers.find("domain-id"); + if(domainIdIter != headers.end()) + { + m_domainId = domainIdIter->second; + } + + const auto& eventTimeIter = headers.find("event-time"); + if(eventTimeIter != headers.end()) + { + m_eventTime = DateTime(eventTimeIter->second.c_str(), Aws::Utils::DateFormat::RFC822); + if(!m_eventTime.WasParseSuccessful()) + { + AWS_LOGSTREAM_WARN("DataZone::GetLineageEventResult", "Failed to parse eventTime header as an RFC822 timestamp: " << eventTimeIter->second.c_str()); + } + } + + const auto& idIter = headers.find("id"); + if(idIter != headers.end()) + { + m_id = idIter->second; + } + + const auto& processingStatusIter = headers.find("processing-status"); + if(processingStatusIter != headers.end()) + { + m_processingStatus = LineageEventProcessingStatusMapper::GetLineageEventProcessingStatusForName(processingStatusIter->second); + } + + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetProjectProfileRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetProjectProfileRequest.cpp new file mode 100644 index 00000000000..808ee325d71 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetProjectProfileRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetProjectProfileRequest::GetProjectProfileRequest() : + m_domainIdentifierHasBeenSet(false), + m_identifierHasBeenSet(false) +{ +} + +Aws::String GetProjectProfileRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetProjectProfileResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetProjectProfileResult.cpp new file mode 100644 index 00000000000..00e1f7feb77 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetProjectProfileResult.cpp @@ -0,0 +1,107 @@ +/** + * 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::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetProjectProfileResult::GetProjectProfileResult() : + m_status(Status::NOT_SET) +{ +} + +GetProjectProfileResult::GetProjectProfileResult(const Aws::AmazonWebServiceResult& result) + : GetProjectProfileResult() +{ + *this = result; +} + +GetProjectProfileResult& GetProjectProfileResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("domainUnitId")) + { + m_domainUnitId = jsonValue.GetString("domainUnitId"); + + } + + if(jsonValue.ValueExists("environmentConfigurations")) + { + Aws::Utils::Array environmentConfigurationsJsonList = jsonValue.GetArray("environmentConfigurations"); + for(unsigned environmentConfigurationsIndex = 0; environmentConfigurationsIndex < environmentConfigurationsJsonList.GetLength(); ++environmentConfigurationsIndex) + { + m_environmentConfigurations.push_back(environmentConfigurationsJsonList[environmentConfigurationsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + } + + if(jsonValue.ValueExists("lastUpdatedAt")) + { + m_lastUpdatedAt = jsonValue.GetString("lastUpdatedAt"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = StatusMapper::GetStatusForName(jsonValue.GetString("status")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetProjectResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetProjectResult.cpp index 03a91d86bde..e8d1de70925 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/GetProjectResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetProjectResult.cpp @@ -61,6 +61,12 @@ GetProjectResult& GetProjectResult::operator =(const Aws::AmazonWebServiceResult } + if(jsonValue.ValueExists("environmentDeploymentDetails")) + { + m_environmentDeploymentDetails = jsonValue.GetObject("environmentDeploymentDetails"); + + } + if(jsonValue.ValueExists("failureReasons")) { Aws::Utils::Array failureReasonsJsonList = jsonValue.GetArray("failureReasons"); @@ -97,12 +103,27 @@ GetProjectResult& GetProjectResult::operator =(const Aws::AmazonWebServiceResult } + if(jsonValue.ValueExists("projectProfileId")) + { + m_projectProfileId = jsonValue.GetString("projectProfileId"); + + } + if(jsonValue.ValueExists("projectStatus")) { m_projectStatus = ProjectStatusMapper::GetProjectStatusForName(jsonValue.GetString("projectStatus")); } + if(jsonValue.ValueExists("userParameters")) + { + Aws::Utils::Array userParametersJsonList = jsonValue.GetArray("userParameters"); + for(unsigned userParametersIndex = 0; userParametersIndex < userParametersJsonList.GetLength(); ++userParametersIndex) + { + m_userParameters.push_back(userParametersJsonList[userParametersIndex].AsObject()); + } + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GlueConnection.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GlueConnection.cpp new file mode 100644 index 00000000000..897640aaa67 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GlueConnection.cpp @@ -0,0 +1,343 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +GlueConnection::GlueConnection() : + m_athenaPropertiesHasBeenSet(false), + m_authenticationConfigurationHasBeenSet(false), + m_compatibleComputeEnvironmentsHasBeenSet(false), + m_connectionPropertiesHasBeenSet(false), + m_connectionSchemaVersion(0), + m_connectionSchemaVersionHasBeenSet(false), + m_connectionType(ConnectionType::NOT_SET), + m_connectionTypeHasBeenSet(false), + m_creationTimeHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_lastConnectionValidationTimeHasBeenSet(false), + m_lastUpdatedByHasBeenSet(false), + m_lastUpdatedTimeHasBeenSet(false), + m_matchCriteriaHasBeenSet(false), + m_nameHasBeenSet(false), + m_physicalConnectionRequirementsHasBeenSet(false), + m_pythonPropertiesHasBeenSet(false), + m_sparkPropertiesHasBeenSet(false), + m_status(ConnectionStatus::NOT_SET), + m_statusHasBeenSet(false), + m_statusReasonHasBeenSet(false) +{ +} + +GlueConnection::GlueConnection(JsonView jsonValue) + : GlueConnection() +{ + *this = jsonValue; +} + +GlueConnection& GlueConnection::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("athenaProperties")) + { + Aws::Map athenaPropertiesJsonMap = jsonValue.GetObject("athenaProperties").GetAllObjects(); + for(auto& athenaPropertiesItem : athenaPropertiesJsonMap) + { + m_athenaProperties[athenaPropertiesItem.first] = athenaPropertiesItem.second.AsString(); + } + m_athenaPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("authenticationConfiguration")) + { + m_authenticationConfiguration = jsonValue.GetObject("authenticationConfiguration"); + + m_authenticationConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("compatibleComputeEnvironments")) + { + Aws::Utils::Array compatibleComputeEnvironmentsJsonList = jsonValue.GetArray("compatibleComputeEnvironments"); + for(unsigned compatibleComputeEnvironmentsIndex = 0; compatibleComputeEnvironmentsIndex < compatibleComputeEnvironmentsJsonList.GetLength(); ++compatibleComputeEnvironmentsIndex) + { + m_compatibleComputeEnvironments.push_back(ComputeEnvironmentsMapper::GetComputeEnvironmentsForName(compatibleComputeEnvironmentsJsonList[compatibleComputeEnvironmentsIndex].AsString())); + } + m_compatibleComputeEnvironmentsHasBeenSet = true; + } + + if(jsonValue.ValueExists("connectionProperties")) + { + Aws::Map connectionPropertiesJsonMap = jsonValue.GetObject("connectionProperties").GetAllObjects(); + for(auto& connectionPropertiesItem : connectionPropertiesJsonMap) + { + m_connectionProperties[connectionPropertiesItem.first] = connectionPropertiesItem.second.AsString(); + } + m_connectionPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("connectionSchemaVersion")) + { + m_connectionSchemaVersion = jsonValue.GetInteger("connectionSchemaVersion"); + + m_connectionSchemaVersionHasBeenSet = true; + } + + if(jsonValue.ValueExists("connectionType")) + { + m_connectionType = ConnectionTypeMapper::GetConnectionTypeForName(jsonValue.GetString("connectionType")); + + m_connectionTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("creationTime")) + { + m_creationTime = jsonValue.GetDouble("creationTime"); + + m_creationTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("lastConnectionValidationTime")) + { + m_lastConnectionValidationTime = jsonValue.GetDouble("lastConnectionValidationTime"); + + m_lastConnectionValidationTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("lastUpdatedBy")) + { + m_lastUpdatedBy = jsonValue.GetString("lastUpdatedBy"); + + m_lastUpdatedByHasBeenSet = true; + } + + if(jsonValue.ValueExists("lastUpdatedTime")) + { + m_lastUpdatedTime = jsonValue.GetDouble("lastUpdatedTime"); + + m_lastUpdatedTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("matchCriteria")) + { + Aws::Utils::Array matchCriteriaJsonList = jsonValue.GetArray("matchCriteria"); + for(unsigned matchCriteriaIndex = 0; matchCriteriaIndex < matchCriteriaJsonList.GetLength(); ++matchCriteriaIndex) + { + m_matchCriteria.push_back(matchCriteriaJsonList[matchCriteriaIndex].AsString()); + } + m_matchCriteriaHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("physicalConnectionRequirements")) + { + m_physicalConnectionRequirements = jsonValue.GetObject("physicalConnectionRequirements"); + + m_physicalConnectionRequirementsHasBeenSet = true; + } + + if(jsonValue.ValueExists("pythonProperties")) + { + Aws::Map pythonPropertiesJsonMap = jsonValue.GetObject("pythonProperties").GetAllObjects(); + for(auto& pythonPropertiesItem : pythonPropertiesJsonMap) + { + m_pythonProperties[pythonPropertiesItem.first] = pythonPropertiesItem.second.AsString(); + } + m_pythonPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("sparkProperties")) + { + Aws::Map sparkPropertiesJsonMap = jsonValue.GetObject("sparkProperties").GetAllObjects(); + for(auto& sparkPropertiesItem : sparkPropertiesJsonMap) + { + m_sparkProperties[sparkPropertiesItem.first] = sparkPropertiesItem.second.AsString(); + } + m_sparkPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = ConnectionStatusMapper::GetConnectionStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("statusReason")) + { + m_statusReason = jsonValue.GetString("statusReason"); + + m_statusReasonHasBeenSet = true; + } + + return *this; +} + +JsonValue GlueConnection::Jsonize() const +{ + JsonValue payload; + + if(m_athenaPropertiesHasBeenSet) + { + JsonValue athenaPropertiesJsonMap; + for(auto& athenaPropertiesItem : m_athenaProperties) + { + athenaPropertiesJsonMap.WithString(athenaPropertiesItem.first, athenaPropertiesItem.second); + } + payload.WithObject("athenaProperties", std::move(athenaPropertiesJsonMap)); + + } + + if(m_authenticationConfigurationHasBeenSet) + { + payload.WithObject("authenticationConfiguration", m_authenticationConfiguration.Jsonize()); + + } + + if(m_compatibleComputeEnvironmentsHasBeenSet) + { + Aws::Utils::Array compatibleComputeEnvironmentsJsonList(m_compatibleComputeEnvironments.size()); + for(unsigned compatibleComputeEnvironmentsIndex = 0; compatibleComputeEnvironmentsIndex < compatibleComputeEnvironmentsJsonList.GetLength(); ++compatibleComputeEnvironmentsIndex) + { + compatibleComputeEnvironmentsJsonList[compatibleComputeEnvironmentsIndex].AsString(ComputeEnvironmentsMapper::GetNameForComputeEnvironments(m_compatibleComputeEnvironments[compatibleComputeEnvironmentsIndex])); + } + payload.WithArray("compatibleComputeEnvironments", std::move(compatibleComputeEnvironmentsJsonList)); + + } + + if(m_connectionPropertiesHasBeenSet) + { + JsonValue connectionPropertiesJsonMap; + for(auto& connectionPropertiesItem : m_connectionProperties) + { + connectionPropertiesJsonMap.WithString(connectionPropertiesItem.first, connectionPropertiesItem.second); + } + payload.WithObject("connectionProperties", std::move(connectionPropertiesJsonMap)); + + } + + if(m_connectionSchemaVersionHasBeenSet) + { + payload.WithInteger("connectionSchemaVersion", m_connectionSchemaVersion); + + } + + if(m_connectionTypeHasBeenSet) + { + payload.WithString("connectionType", ConnectionTypeMapper::GetNameForConnectionType(m_connectionType)); + } + + if(m_creationTimeHasBeenSet) + { + payload.WithDouble("creationTime", m_creationTime.SecondsWithMSPrecision()); + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_lastConnectionValidationTimeHasBeenSet) + { + payload.WithDouble("lastConnectionValidationTime", m_lastConnectionValidationTime.SecondsWithMSPrecision()); + } + + if(m_lastUpdatedByHasBeenSet) + { + payload.WithString("lastUpdatedBy", m_lastUpdatedBy); + + } + + if(m_lastUpdatedTimeHasBeenSet) + { + payload.WithDouble("lastUpdatedTime", m_lastUpdatedTime.SecondsWithMSPrecision()); + } + + if(m_matchCriteriaHasBeenSet) + { + Aws::Utils::Array matchCriteriaJsonList(m_matchCriteria.size()); + for(unsigned matchCriteriaIndex = 0; matchCriteriaIndex < matchCriteriaJsonList.GetLength(); ++matchCriteriaIndex) + { + matchCriteriaJsonList[matchCriteriaIndex].AsString(m_matchCriteria[matchCriteriaIndex]); + } + payload.WithArray("matchCriteria", std::move(matchCriteriaJsonList)); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_physicalConnectionRequirementsHasBeenSet) + { + payload.WithObject("physicalConnectionRequirements", m_physicalConnectionRequirements.Jsonize()); + + } + + if(m_pythonPropertiesHasBeenSet) + { + JsonValue pythonPropertiesJsonMap; + for(auto& pythonPropertiesItem : m_pythonProperties) + { + pythonPropertiesJsonMap.WithString(pythonPropertiesItem.first, pythonPropertiesItem.second); + } + payload.WithObject("pythonProperties", std::move(pythonPropertiesJsonMap)); + + } + + if(m_sparkPropertiesHasBeenSet) + { + JsonValue sparkPropertiesJsonMap; + for(auto& sparkPropertiesItem : m_sparkProperties) + { + sparkPropertiesJsonMap.WithString(sparkPropertiesItem.first, sparkPropertiesItem.second); + } + payload.WithObject("sparkProperties", std::move(sparkPropertiesJsonMap)); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", ConnectionStatusMapper::GetNameForConnectionStatus(m_status)); + } + + if(m_statusReasonHasBeenSet) + { + payload.WithString("statusReason", m_statusReason); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GlueConnectionInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GlueConnectionInput.cpp new file mode 100644 index 00000000000..75710fe073e --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GlueConnectionInput.cpp @@ -0,0 +1,254 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +GlueConnectionInput::GlueConnectionInput() : + m_athenaPropertiesHasBeenSet(false), + m_authenticationConfigurationHasBeenSet(false), + m_connectionPropertiesHasBeenSet(false), + m_connectionType(GlueConnectionType::NOT_SET), + m_connectionTypeHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_matchCriteriaHasBeenSet(false), + m_nameHasBeenSet(false), + m_physicalConnectionRequirementsHasBeenSet(false), + m_pythonPropertiesHasBeenSet(false), + m_sparkPropertiesHasBeenSet(false), + m_validateCredentials(false), + m_validateCredentialsHasBeenSet(false), + m_validateForComputeEnvironmentsHasBeenSet(false) +{ +} + +GlueConnectionInput::GlueConnectionInput(JsonView jsonValue) + : GlueConnectionInput() +{ + *this = jsonValue; +} + +GlueConnectionInput& GlueConnectionInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("athenaProperties")) + { + Aws::Map athenaPropertiesJsonMap = jsonValue.GetObject("athenaProperties").GetAllObjects(); + for(auto& athenaPropertiesItem : athenaPropertiesJsonMap) + { + m_athenaProperties[athenaPropertiesItem.first] = athenaPropertiesItem.second.AsString(); + } + m_athenaPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("authenticationConfiguration")) + { + m_authenticationConfiguration = jsonValue.GetObject("authenticationConfiguration"); + + m_authenticationConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("connectionProperties")) + { + Aws::Map connectionPropertiesJsonMap = jsonValue.GetObject("connectionProperties").GetAllObjects(); + for(auto& connectionPropertiesItem : connectionPropertiesJsonMap) + { + m_connectionProperties[connectionPropertiesItem.first] = connectionPropertiesItem.second.AsString(); + } + m_connectionPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("connectionType")) + { + m_connectionType = GlueConnectionTypeMapper::GetGlueConnectionTypeForName(jsonValue.GetString("connectionType")); + + m_connectionTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("matchCriteria")) + { + m_matchCriteria = jsonValue.GetString("matchCriteria"); + + m_matchCriteriaHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("physicalConnectionRequirements")) + { + m_physicalConnectionRequirements = jsonValue.GetObject("physicalConnectionRequirements"); + + m_physicalConnectionRequirementsHasBeenSet = true; + } + + if(jsonValue.ValueExists("pythonProperties")) + { + Aws::Map pythonPropertiesJsonMap = jsonValue.GetObject("pythonProperties").GetAllObjects(); + for(auto& pythonPropertiesItem : pythonPropertiesJsonMap) + { + m_pythonProperties[pythonPropertiesItem.first] = pythonPropertiesItem.second.AsString(); + } + m_pythonPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("sparkProperties")) + { + Aws::Map sparkPropertiesJsonMap = jsonValue.GetObject("sparkProperties").GetAllObjects(); + for(auto& sparkPropertiesItem : sparkPropertiesJsonMap) + { + m_sparkProperties[sparkPropertiesItem.first] = sparkPropertiesItem.second.AsString(); + } + m_sparkPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("validateCredentials")) + { + m_validateCredentials = jsonValue.GetBool("validateCredentials"); + + m_validateCredentialsHasBeenSet = true; + } + + if(jsonValue.ValueExists("validateForComputeEnvironments")) + { + Aws::Utils::Array validateForComputeEnvironmentsJsonList = jsonValue.GetArray("validateForComputeEnvironments"); + for(unsigned validateForComputeEnvironmentsIndex = 0; validateForComputeEnvironmentsIndex < validateForComputeEnvironmentsJsonList.GetLength(); ++validateForComputeEnvironmentsIndex) + { + m_validateForComputeEnvironments.push_back(ComputeEnvironmentsMapper::GetComputeEnvironmentsForName(validateForComputeEnvironmentsJsonList[validateForComputeEnvironmentsIndex].AsString())); + } + m_validateForComputeEnvironmentsHasBeenSet = true; + } + + return *this; +} + +JsonValue GlueConnectionInput::Jsonize() const +{ + JsonValue payload; + + if(m_athenaPropertiesHasBeenSet) + { + JsonValue athenaPropertiesJsonMap; + for(auto& athenaPropertiesItem : m_athenaProperties) + { + athenaPropertiesJsonMap.WithString(athenaPropertiesItem.first, athenaPropertiesItem.second); + } + payload.WithObject("athenaProperties", std::move(athenaPropertiesJsonMap)); + + } + + if(m_authenticationConfigurationHasBeenSet) + { + payload.WithObject("authenticationConfiguration", m_authenticationConfiguration.Jsonize()); + + } + + if(m_connectionPropertiesHasBeenSet) + { + JsonValue connectionPropertiesJsonMap; + for(auto& connectionPropertiesItem : m_connectionProperties) + { + connectionPropertiesJsonMap.WithString(connectionPropertiesItem.first, connectionPropertiesItem.second); + } + payload.WithObject("connectionProperties", std::move(connectionPropertiesJsonMap)); + + } + + if(m_connectionTypeHasBeenSet) + { + payload.WithString("connectionType", GlueConnectionTypeMapper::GetNameForGlueConnectionType(m_connectionType)); + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_matchCriteriaHasBeenSet) + { + payload.WithString("matchCriteria", m_matchCriteria); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_physicalConnectionRequirementsHasBeenSet) + { + payload.WithObject("physicalConnectionRequirements", m_physicalConnectionRequirements.Jsonize()); + + } + + if(m_pythonPropertiesHasBeenSet) + { + JsonValue pythonPropertiesJsonMap; + for(auto& pythonPropertiesItem : m_pythonProperties) + { + pythonPropertiesJsonMap.WithString(pythonPropertiesItem.first, pythonPropertiesItem.second); + } + payload.WithObject("pythonProperties", std::move(pythonPropertiesJsonMap)); + + } + + if(m_sparkPropertiesHasBeenSet) + { + JsonValue sparkPropertiesJsonMap; + for(auto& sparkPropertiesItem : m_sparkProperties) + { + sparkPropertiesJsonMap.WithString(sparkPropertiesItem.first, sparkPropertiesItem.second); + } + payload.WithObject("sparkProperties", std::move(sparkPropertiesJsonMap)); + + } + + if(m_validateCredentialsHasBeenSet) + { + payload.WithBool("validateCredentials", m_validateCredentials); + + } + + if(m_validateForComputeEnvironmentsHasBeenSet) + { + Aws::Utils::Array validateForComputeEnvironmentsJsonList(m_validateForComputeEnvironments.size()); + for(unsigned validateForComputeEnvironmentsIndex = 0; validateForComputeEnvironmentsIndex < validateForComputeEnvironmentsJsonList.GetLength(); ++validateForComputeEnvironmentsIndex) + { + validateForComputeEnvironmentsJsonList[validateForComputeEnvironmentsIndex].AsString(ComputeEnvironmentsMapper::GetNameForComputeEnvironments(m_validateForComputeEnvironments[validateForComputeEnvironmentsIndex])); + } + payload.WithArray("validateForComputeEnvironments", std::move(validateForComputeEnvironmentsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GlueConnectionPatch.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GlueConnectionPatch.cpp new file mode 100644 index 00000000000..03bab154e19 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GlueConnectionPatch.cpp @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +GlueConnectionPatch::GlueConnectionPatch() : + m_authenticationConfigurationHasBeenSet(false), + m_connectionPropertiesHasBeenSet(false), + m_descriptionHasBeenSet(false) +{ +} + +GlueConnectionPatch::GlueConnectionPatch(JsonView jsonValue) + : GlueConnectionPatch() +{ + *this = jsonValue; +} + +GlueConnectionPatch& GlueConnectionPatch::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("authenticationConfiguration")) + { + m_authenticationConfiguration = jsonValue.GetObject("authenticationConfiguration"); + + m_authenticationConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("connectionProperties")) + { + Aws::Map connectionPropertiesJsonMap = jsonValue.GetObject("connectionProperties").GetAllObjects(); + for(auto& connectionPropertiesItem : connectionPropertiesJsonMap) + { + m_connectionProperties[connectionPropertiesItem.first] = connectionPropertiesItem.second.AsString(); + } + m_connectionPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + return *this; +} + +JsonValue GlueConnectionPatch::Jsonize() const +{ + JsonValue payload; + + if(m_authenticationConfigurationHasBeenSet) + { + payload.WithObject("authenticationConfiguration", m_authenticationConfiguration.Jsonize()); + + } + + if(m_connectionPropertiesHasBeenSet) + { + JsonValue connectionPropertiesJsonMap; + for(auto& connectionPropertiesItem : m_connectionProperties) + { + connectionPropertiesJsonMap.WithString(connectionPropertiesItem.first, connectionPropertiesItem.second); + } + payload.WithObject("connectionProperties", std::move(connectionPropertiesJsonMap)); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GlueConnectionType.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GlueConnectionType.cpp new file mode 100644 index 00000000000..452b5327f92 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GlueConnectionType.cpp @@ -0,0 +1,149 @@ +/** + * 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 DataZone + { + namespace Model + { + namespace GlueConnectionTypeMapper + { + + static const int SNOWFLAKE_HASH = HashingUtils::HashString("SNOWFLAKE"); + static const int BIGQUERY_HASH = HashingUtils::HashString("BIGQUERY"); + static const int DOCUMENTDB_HASH = HashingUtils::HashString("DOCUMENTDB"); + static const int DYNAMODB_HASH = HashingUtils::HashString("DYNAMODB"); + static const int MYSQL_HASH = HashingUtils::HashString("MYSQL"); + static const int OPENSEARCH_HASH = HashingUtils::HashString("OPENSEARCH"); + static const int ORACLE_HASH = HashingUtils::HashString("ORACLE"); + static const int POSTGRESQL_HASH = HashingUtils::HashString("POSTGRESQL"); + static const int REDSHIFT_HASH = HashingUtils::HashString("REDSHIFT"); + static const int SAPHANA_HASH = HashingUtils::HashString("SAPHANA"); + static const int SQLSERVER_HASH = HashingUtils::HashString("SQLSERVER"); + static const int TERADATA_HASH = HashingUtils::HashString("TERADATA"); + static const int VERTICA_HASH = HashingUtils::HashString("VERTICA"); + + + GlueConnectionType GetGlueConnectionTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SNOWFLAKE_HASH) + { + return GlueConnectionType::SNOWFLAKE; + } + else if (hashCode == BIGQUERY_HASH) + { + return GlueConnectionType::BIGQUERY; + } + else if (hashCode == DOCUMENTDB_HASH) + { + return GlueConnectionType::DOCUMENTDB; + } + else if (hashCode == DYNAMODB_HASH) + { + return GlueConnectionType::DYNAMODB; + } + else if (hashCode == MYSQL_HASH) + { + return GlueConnectionType::MYSQL; + } + else if (hashCode == OPENSEARCH_HASH) + { + return GlueConnectionType::OPENSEARCH; + } + else if (hashCode == ORACLE_HASH) + { + return GlueConnectionType::ORACLE; + } + else if (hashCode == POSTGRESQL_HASH) + { + return GlueConnectionType::POSTGRESQL; + } + else if (hashCode == REDSHIFT_HASH) + { + return GlueConnectionType::REDSHIFT; + } + else if (hashCode == SAPHANA_HASH) + { + return GlueConnectionType::SAPHANA; + } + else if (hashCode == SQLSERVER_HASH) + { + return GlueConnectionType::SQLSERVER; + } + else if (hashCode == TERADATA_HASH) + { + return GlueConnectionType::TERADATA; + } + else if (hashCode == VERTICA_HASH) + { + return GlueConnectionType::VERTICA; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return GlueConnectionType::NOT_SET; + } + + Aws::String GetNameForGlueConnectionType(GlueConnectionType enumValue) + { + switch(enumValue) + { + case GlueConnectionType::NOT_SET: + return {}; + case GlueConnectionType::SNOWFLAKE: + return "SNOWFLAKE"; + case GlueConnectionType::BIGQUERY: + return "BIGQUERY"; + case GlueConnectionType::DOCUMENTDB: + return "DOCUMENTDB"; + case GlueConnectionType::DYNAMODB: + return "DYNAMODB"; + case GlueConnectionType::MYSQL: + return "MYSQL"; + case GlueConnectionType::OPENSEARCH: + return "OPENSEARCH"; + case GlueConnectionType::ORACLE: + return "ORACLE"; + case GlueConnectionType::POSTGRESQL: + return "POSTGRESQL"; + case GlueConnectionType::REDSHIFT: + return "REDSHIFT"; + case GlueConnectionType::SAPHANA: + return "SAPHANA"; + case GlueConnectionType::SQLSERVER: + return "SQLSERVER"; + case GlueConnectionType::TERADATA: + return "TERADATA"; + case GlueConnectionType::VERTICA: + return "VERTICA"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace GlueConnectionTypeMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GlueOAuth2Credentials.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GlueOAuth2Credentials.cpp new file mode 100644 index 00000000000..af817e6909d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GlueOAuth2Credentials.cpp @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +GlueOAuth2Credentials::GlueOAuth2Credentials() : + m_accessTokenHasBeenSet(false), + m_jwtTokenHasBeenSet(false), + m_refreshTokenHasBeenSet(false), + m_userManagedClientApplicationClientSecretHasBeenSet(false) +{ +} + +GlueOAuth2Credentials::GlueOAuth2Credentials(JsonView jsonValue) + : GlueOAuth2Credentials() +{ + *this = jsonValue; +} + +GlueOAuth2Credentials& GlueOAuth2Credentials::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("accessToken")) + { + m_accessToken = jsonValue.GetString("accessToken"); + + m_accessTokenHasBeenSet = true; + } + + if(jsonValue.ValueExists("jwtToken")) + { + m_jwtToken = jsonValue.GetString("jwtToken"); + + m_jwtTokenHasBeenSet = true; + } + + if(jsonValue.ValueExists("refreshToken")) + { + m_refreshToken = jsonValue.GetString("refreshToken"); + + m_refreshTokenHasBeenSet = true; + } + + if(jsonValue.ValueExists("userManagedClientApplicationClientSecret")) + { + m_userManagedClientApplicationClientSecret = jsonValue.GetString("userManagedClientApplicationClientSecret"); + + m_userManagedClientApplicationClientSecretHasBeenSet = true; + } + + return *this; +} + +JsonValue GlueOAuth2Credentials::Jsonize() const +{ + JsonValue payload; + + if(m_accessTokenHasBeenSet) + { + payload.WithString("accessToken", m_accessToken); + + } + + if(m_jwtTokenHasBeenSet) + { + payload.WithString("jwtToken", m_jwtToken); + + } + + if(m_refreshTokenHasBeenSet) + { + payload.WithString("refreshToken", m_refreshToken); + + } + + if(m_userManagedClientApplicationClientSecretHasBeenSet) + { + payload.WithString("userManagedClientApplicationClientSecret", m_userManagedClientApplicationClientSecret); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GluePropertiesInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GluePropertiesInput.cpp new file mode 100644 index 00000000000..f75a94261e7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GluePropertiesInput.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +GluePropertiesInput::GluePropertiesInput() : + m_glueConnectionInputHasBeenSet(false) +{ +} + +GluePropertiesInput::GluePropertiesInput(JsonView jsonValue) + : GluePropertiesInput() +{ + *this = jsonValue; +} + +GluePropertiesInput& GluePropertiesInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("glueConnectionInput")) + { + m_glueConnectionInput = jsonValue.GetObject("glueConnectionInput"); + + m_glueConnectionInputHasBeenSet = true; + } + + return *this; +} + +JsonValue GluePropertiesInput::Jsonize() const +{ + JsonValue payload; + + if(m_glueConnectionInputHasBeenSet) + { + payload.WithObject("glueConnectionInput", m_glueConnectionInput.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GluePropertiesOutput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GluePropertiesOutput.cpp new file mode 100644 index 00000000000..f2033a81de4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GluePropertiesOutput.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +GluePropertiesOutput::GluePropertiesOutput() : + m_errorMessageHasBeenSet(false), + m_status(ConnectionStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +GluePropertiesOutput::GluePropertiesOutput(JsonView jsonValue) + : GluePropertiesOutput() +{ + *this = jsonValue; +} + +GluePropertiesOutput& GluePropertiesOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("errorMessage")) + { + m_errorMessage = jsonValue.GetString("errorMessage"); + + m_errorMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = ConnectionStatusMapper::GetConnectionStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + return *this; +} + +JsonValue GluePropertiesOutput::Jsonize() const +{ + JsonValue payload; + + if(m_errorMessageHasBeenSet) + { + payload.WithString("errorMessage", m_errorMessage); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", ConnectionStatusMapper::GetNameForConnectionStatus(m_status)); + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GluePropertiesPatch.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GluePropertiesPatch.cpp new file mode 100644 index 00000000000..599c5f17660 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GluePropertiesPatch.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +GluePropertiesPatch::GluePropertiesPatch() : + m_glueConnectionInputHasBeenSet(false) +{ +} + +GluePropertiesPatch::GluePropertiesPatch(JsonView jsonValue) + : GluePropertiesPatch() +{ + *this = jsonValue; +} + +GluePropertiesPatch& GluePropertiesPatch::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("glueConnectionInput")) + { + m_glueConnectionInput = jsonValue.GetObject("glueConnectionInput"); + + m_glueConnectionInputHasBeenSet = true; + } + + return *this; +} + +JsonValue GluePropertiesPatch::Jsonize() const +{ + JsonValue payload; + + if(m_glueConnectionInputHasBeenSet) + { + payload.WithObject("glueConnectionInput", m_glueConnectionInput.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GlueRunConfigurationInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GlueRunConfigurationInput.cpp index 9a4cb90e2df..7ba25a8bb32 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/GlueRunConfigurationInput.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GlueRunConfigurationInput.cpp @@ -21,6 +21,7 @@ namespace Model GlueRunConfigurationInput::GlueRunConfigurationInput() : m_autoImportDataQualityResult(false), m_autoImportDataQualityResultHasBeenSet(false), + m_catalogNameHasBeenSet(false), m_dataAccessRoleHasBeenSet(false), m_relationalFilterConfigurationsHasBeenSet(false) { @@ -41,6 +42,13 @@ GlueRunConfigurationInput& GlueRunConfigurationInput::operator =(JsonView jsonVa m_autoImportDataQualityResultHasBeenSet = true; } + if(jsonValue.ValueExists("catalogName")) + { + m_catalogName = jsonValue.GetString("catalogName"); + + m_catalogNameHasBeenSet = true; + } + if(jsonValue.ValueExists("dataAccessRole")) { m_dataAccessRole = jsonValue.GetString("dataAccessRole"); @@ -71,6 +79,12 @@ JsonValue GlueRunConfigurationInput::Jsonize() const } + if(m_catalogNameHasBeenSet) + { + payload.WithString("catalogName", m_catalogName); + + } + if(m_dataAccessRoleHasBeenSet) { payload.WithString("dataAccessRole", m_dataAccessRole); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GlueRunConfigurationOutput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GlueRunConfigurationOutput.cpp index 436707ea366..59de112cd2b 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/GlueRunConfigurationOutput.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GlueRunConfigurationOutput.cpp @@ -22,6 +22,7 @@ GlueRunConfigurationOutput::GlueRunConfigurationOutput() : m_accountIdHasBeenSet(false), m_autoImportDataQualityResult(false), m_autoImportDataQualityResultHasBeenSet(false), + m_catalogNameHasBeenSet(false), m_dataAccessRoleHasBeenSet(false), m_regionHasBeenSet(false), m_relationalFilterConfigurationsHasBeenSet(false) @@ -50,6 +51,13 @@ GlueRunConfigurationOutput& GlueRunConfigurationOutput::operator =(JsonView json m_autoImportDataQualityResultHasBeenSet = true; } + if(jsonValue.ValueExists("catalogName")) + { + m_catalogName = jsonValue.GetString("catalogName"); + + m_catalogNameHasBeenSet = true; + } + if(jsonValue.ValueExists("dataAccessRole")) { m_dataAccessRole = jsonValue.GetString("dataAccessRole"); @@ -93,6 +101,12 @@ JsonValue GlueRunConfigurationOutput::Jsonize() const } + if(m_catalogNameHasBeenSet) + { + payload.WithString("catalogName", m_catalogName); + + } + if(m_dataAccessRoleHasBeenSet) { payload.WithString("dataAccessRole", m_dataAccessRole); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GovernanceType.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GovernanceType.cpp new file mode 100644 index 00000000000..792537616b4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GovernanceType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace GovernanceTypeMapper + { + + static const int AWS_MANAGED_HASH = HashingUtils::HashString("AWS_MANAGED"); + static const int USER_MANAGED_HASH = HashingUtils::HashString("USER_MANAGED"); + + + GovernanceType GetGovernanceTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == AWS_MANAGED_HASH) + { + return GovernanceType::AWS_MANAGED; + } + else if (hashCode == USER_MANAGED_HASH) + { + return GovernanceType::USER_MANAGED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return GovernanceType::NOT_SET; + } + + Aws::String GetNameForGovernanceType(GovernanceType enumValue) + { + switch(enumValue) + { + case GovernanceType::NOT_SET: + return {}; + case GovernanceType::AWS_MANAGED: + return "AWS_MANAGED"; + case GovernanceType::USER_MANAGED: + return "USER_MANAGED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace GovernanceTypeMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/HyperPodOrchestrator.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/HyperPodOrchestrator.cpp new file mode 100644 index 00000000000..b223dceae34 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/HyperPodOrchestrator.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace HyperPodOrchestratorMapper + { + + static const int EKS_HASH = HashingUtils::HashString("EKS"); + static const int SLURM_HASH = HashingUtils::HashString("SLURM"); + + + HyperPodOrchestrator GetHyperPodOrchestratorForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == EKS_HASH) + { + return HyperPodOrchestrator::EKS; + } + else if (hashCode == SLURM_HASH) + { + return HyperPodOrchestrator::SLURM; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return HyperPodOrchestrator::NOT_SET; + } + + Aws::String GetNameForHyperPodOrchestrator(HyperPodOrchestrator enumValue) + { + switch(enumValue) + { + case HyperPodOrchestrator::NOT_SET: + return {}; + case HyperPodOrchestrator::EKS: + return "EKS"; + case HyperPodOrchestrator::SLURM: + return "SLURM"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace HyperPodOrchestratorMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/HyperPodPropertiesInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/HyperPodPropertiesInput.cpp new file mode 100644 index 00000000000..87b8ef6dd0e --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/HyperPodPropertiesInput.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +HyperPodPropertiesInput::HyperPodPropertiesInput() : + m_clusterNameHasBeenSet(false) +{ +} + +HyperPodPropertiesInput::HyperPodPropertiesInput(JsonView jsonValue) + : HyperPodPropertiesInput() +{ + *this = jsonValue; +} + +HyperPodPropertiesInput& HyperPodPropertiesInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("clusterName")) + { + m_clusterName = jsonValue.GetString("clusterName"); + + m_clusterNameHasBeenSet = true; + } + + return *this; +} + +JsonValue HyperPodPropertiesInput::Jsonize() const +{ + JsonValue payload; + + if(m_clusterNameHasBeenSet) + { + payload.WithString("clusterName", m_clusterName); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/HyperPodPropertiesOutput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/HyperPodPropertiesOutput.cpp new file mode 100644 index 00000000000..e56ed793f2a --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/HyperPodPropertiesOutput.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +HyperPodPropertiesOutput::HyperPodPropertiesOutput() : + m_clusterArnHasBeenSet(false), + m_clusterNameHasBeenSet(false), + m_orchestrator(HyperPodOrchestrator::NOT_SET), + m_orchestratorHasBeenSet(false) +{ +} + +HyperPodPropertiesOutput::HyperPodPropertiesOutput(JsonView jsonValue) + : HyperPodPropertiesOutput() +{ + *this = jsonValue; +} + +HyperPodPropertiesOutput& HyperPodPropertiesOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("clusterArn")) + { + m_clusterArn = jsonValue.GetString("clusterArn"); + + m_clusterArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("clusterName")) + { + m_clusterName = jsonValue.GetString("clusterName"); + + m_clusterNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("orchestrator")) + { + m_orchestrator = HyperPodOrchestratorMapper::GetHyperPodOrchestratorForName(jsonValue.GetString("orchestrator")); + + m_orchestratorHasBeenSet = true; + } + + return *this; +} + +JsonValue HyperPodPropertiesOutput::Jsonize() const +{ + JsonValue payload; + + if(m_clusterArnHasBeenSet) + { + payload.WithString("clusterArn", m_clusterArn); + + } + + if(m_clusterNameHasBeenSet) + { + payload.WithString("clusterName", m_clusterName); + + } + + if(m_orchestratorHasBeenSet) + { + payload.WithString("orchestrator", HyperPodOrchestratorMapper::GetNameForHyperPodOrchestrator(m_orchestrator)); + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/IamPropertiesInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/IamPropertiesInput.cpp new file mode 100644 index 00000000000..33e0c0066ad --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/IamPropertiesInput.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +IamPropertiesInput::IamPropertiesInput() : + m_glueLineageSyncEnabled(false), + m_glueLineageSyncEnabledHasBeenSet(false) +{ +} + +IamPropertiesInput::IamPropertiesInput(JsonView jsonValue) + : IamPropertiesInput() +{ + *this = jsonValue; +} + +IamPropertiesInput& IamPropertiesInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("glueLineageSyncEnabled")) + { + m_glueLineageSyncEnabled = jsonValue.GetBool("glueLineageSyncEnabled"); + + m_glueLineageSyncEnabledHasBeenSet = true; + } + + return *this; +} + +JsonValue IamPropertiesInput::Jsonize() const +{ + JsonValue payload; + + if(m_glueLineageSyncEnabledHasBeenSet) + { + payload.WithBool("glueLineageSyncEnabled", m_glueLineageSyncEnabled); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/IamPropertiesOutput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/IamPropertiesOutput.cpp new file mode 100644 index 00000000000..f07ddc96bd2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/IamPropertiesOutput.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +IamPropertiesOutput::IamPropertiesOutput() : + m_environmentIdHasBeenSet(false), + m_glueLineageSyncEnabled(false), + m_glueLineageSyncEnabledHasBeenSet(false) +{ +} + +IamPropertiesOutput::IamPropertiesOutput(JsonView jsonValue) + : IamPropertiesOutput() +{ + *this = jsonValue; +} + +IamPropertiesOutput& IamPropertiesOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + m_environmentIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("glueLineageSyncEnabled")) + { + m_glueLineageSyncEnabled = jsonValue.GetBool("glueLineageSyncEnabled"); + + m_glueLineageSyncEnabledHasBeenSet = true; + } + + return *this; +} + +JsonValue IamPropertiesOutput::Jsonize() const +{ + JsonValue payload; + + if(m_environmentIdHasBeenSet) + { + payload.WithString("environmentId", m_environmentId); + + } + + if(m_glueLineageSyncEnabledHasBeenSet) + { + payload.WithBool("glueLineageSyncEnabled", m_glueLineageSyncEnabled); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/IamPropertiesPatch.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/IamPropertiesPatch.cpp new file mode 100644 index 00000000000..b6930331171 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/IamPropertiesPatch.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +IamPropertiesPatch::IamPropertiesPatch() : + m_glueLineageSyncEnabled(false), + m_glueLineageSyncEnabledHasBeenSet(false) +{ +} + +IamPropertiesPatch::IamPropertiesPatch(JsonView jsonValue) + : IamPropertiesPatch() +{ + *this = jsonValue; +} + +IamPropertiesPatch& IamPropertiesPatch::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("glueLineageSyncEnabled")) + { + m_glueLineageSyncEnabled = jsonValue.GetBool("glueLineageSyncEnabled"); + + m_glueLineageSyncEnabledHasBeenSet = true; + } + + return *this; +} + +JsonValue IamPropertiesPatch::Jsonize() const +{ + JsonValue payload; + + if(m_glueLineageSyncEnabledHasBeenSet) + { + payload.WithBool("glueLineageSyncEnabled", m_glueLineageSyncEnabled); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/JobRunDetails.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/JobRunDetails.cpp new file mode 100644 index 00000000000..8e2c068ebc0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/JobRunDetails.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +JobRunDetails::JobRunDetails() : + m_lineageRunDetailsHasBeenSet(false) +{ +} + +JobRunDetails::JobRunDetails(JsonView jsonValue) + : JobRunDetails() +{ + *this = jsonValue; +} + +JobRunDetails& JobRunDetails::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("lineageRunDetails")) + { + m_lineageRunDetails = jsonValue.GetObject("lineageRunDetails"); + + m_lineageRunDetailsHasBeenSet = true; + } + + return *this; +} + +JsonValue JobRunDetails::Jsonize() const +{ + JsonValue payload; + + if(m_lineageRunDetailsHasBeenSet) + { + payload.WithObject("lineageRunDetails", m_lineageRunDetails.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/JobRunError.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/JobRunError.cpp new file mode 100644 index 00000000000..cb58ad5d787 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/JobRunError.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +JobRunError::JobRunError() : + m_messageHasBeenSet(false) +{ +} + +JobRunError::JobRunError(JsonView jsonValue) + : JobRunError() +{ + *this = jsonValue; +} + +JobRunError& JobRunError::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + return *this; +} + +JsonValue JobRunError::Jsonize() const +{ + JsonValue payload; + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/JobRunMode.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/JobRunMode.cpp new file mode 100644 index 00000000000..7ced7c813c0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/JobRunMode.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace JobRunModeMapper + { + + static const int SCHEDULED_HASH = HashingUtils::HashString("SCHEDULED"); + static const int ON_DEMAND_HASH = HashingUtils::HashString("ON_DEMAND"); + + + JobRunMode GetJobRunModeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SCHEDULED_HASH) + { + return JobRunMode::SCHEDULED; + } + else if (hashCode == ON_DEMAND_HASH) + { + return JobRunMode::ON_DEMAND; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return JobRunMode::NOT_SET; + } + + Aws::String GetNameForJobRunMode(JobRunMode enumValue) + { + switch(enumValue) + { + case JobRunMode::NOT_SET: + return {}; + case JobRunMode::SCHEDULED: + return "SCHEDULED"; + case JobRunMode::ON_DEMAND: + return "ON_DEMAND"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace JobRunModeMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/JobRunStatus.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/JobRunStatus.cpp new file mode 100644 index 00000000000..f0148558107 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/JobRunStatus.cpp @@ -0,0 +1,114 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace JobRunStatusMapper + { + + static const int SCHEDULED_HASH = HashingUtils::HashString("SCHEDULED"); + static const int IN_PROGRESS_HASH = HashingUtils::HashString("IN_PROGRESS"); + static const int SUCCESS_HASH = HashingUtils::HashString("SUCCESS"); + static const int PARTIALLY_SUCCEEDED_HASH = HashingUtils::HashString("PARTIALLY_SUCCEEDED"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int ABORTED_HASH = HashingUtils::HashString("ABORTED"); + static const int TIMED_OUT_HASH = HashingUtils::HashString("TIMED_OUT"); + static const int CANCELED_HASH = HashingUtils::HashString("CANCELED"); + + + JobRunStatus GetJobRunStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SCHEDULED_HASH) + { + return JobRunStatus::SCHEDULED; + } + else if (hashCode == IN_PROGRESS_HASH) + { + return JobRunStatus::IN_PROGRESS; + } + else if (hashCode == SUCCESS_HASH) + { + return JobRunStatus::SUCCESS; + } + else if (hashCode == PARTIALLY_SUCCEEDED_HASH) + { + return JobRunStatus::PARTIALLY_SUCCEEDED; + } + else if (hashCode == FAILED_HASH) + { + return JobRunStatus::FAILED; + } + else if (hashCode == ABORTED_HASH) + { + return JobRunStatus::ABORTED; + } + else if (hashCode == TIMED_OUT_HASH) + { + return JobRunStatus::TIMED_OUT; + } + else if (hashCode == CANCELED_HASH) + { + return JobRunStatus::CANCELED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return JobRunStatus::NOT_SET; + } + + Aws::String GetNameForJobRunStatus(JobRunStatus enumValue) + { + switch(enumValue) + { + case JobRunStatus::NOT_SET: + return {}; + case JobRunStatus::SCHEDULED: + return "SCHEDULED"; + case JobRunStatus::IN_PROGRESS: + return "IN_PROGRESS"; + case JobRunStatus::SUCCESS: + return "SUCCESS"; + case JobRunStatus::PARTIALLY_SUCCEEDED: + return "PARTIALLY_SUCCEEDED"; + case JobRunStatus::FAILED: + return "FAILED"; + case JobRunStatus::ABORTED: + return "ABORTED"; + case JobRunStatus::TIMED_OUT: + return "TIMED_OUT"; + case JobRunStatus::CANCELED: + return "CANCELED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace JobRunStatusMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/JobRunSummary.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/JobRunSummary.cpp new file mode 100644 index 00000000000..bf256ef1e72 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/JobRunSummary.cpp @@ -0,0 +1,196 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +JobRunSummary::JobRunSummary() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_domainIdHasBeenSet(false), + m_endTimeHasBeenSet(false), + m_errorHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_jobType(JobType::NOT_SET), + m_jobTypeHasBeenSet(false), + m_runIdHasBeenSet(false), + m_runMode(JobRunMode::NOT_SET), + m_runModeHasBeenSet(false), + m_startTimeHasBeenSet(false), + m_status(JobRunStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +JobRunSummary::JobRunSummary(JsonView jsonValue) + : JobRunSummary() +{ + *this = jsonValue; +} + +JobRunSummary& JobRunSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetDouble("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + m_domainIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("endTime")) + { + m_endTime = jsonValue.GetDouble("endTime"); + + m_endTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("error")) + { + m_error = jsonValue.GetObject("error"); + + m_errorHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobType")) + { + m_jobType = JobTypeMapper::GetJobTypeForName(jsonValue.GetString("jobType")); + + m_jobTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("runId")) + { + m_runId = jsonValue.GetString("runId"); + + m_runIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("runMode")) + { + m_runMode = JobRunModeMapper::GetJobRunModeForName(jsonValue.GetString("runMode")); + + m_runModeHasBeenSet = true; + } + + if(jsonValue.ValueExists("startTime")) + { + m_startTime = jsonValue.GetDouble("startTime"); + + m_startTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = JobRunStatusMapper::GetJobRunStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + return *this; +} + +JsonValue JobRunSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_domainIdHasBeenSet) + { + payload.WithString("domainId", m_domainId); + + } + + if(m_endTimeHasBeenSet) + { + payload.WithDouble("endTime", m_endTime.SecondsWithMSPrecision()); + } + + if(m_errorHasBeenSet) + { + payload.WithObject("error", m_error.Jsonize()); + + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_jobTypeHasBeenSet) + { + payload.WithString("jobType", JobTypeMapper::GetNameForJobType(m_jobType)); + } + + if(m_runIdHasBeenSet) + { + payload.WithString("runId", m_runId); + + } + + if(m_runModeHasBeenSet) + { + payload.WithString("runMode", JobRunModeMapper::GetNameForJobRunMode(m_runMode)); + } + + if(m_startTimeHasBeenSet) + { + payload.WithDouble("startTime", m_startTime.SecondsWithMSPrecision()); + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", JobRunStatusMapper::GetNameForJobRunStatus(m_status)); + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/JobType.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/JobType.cpp new file mode 100644 index 00000000000..8624a56b97a --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/JobType.cpp @@ -0,0 +1,65 @@ +/** + * 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 DataZone + { + namespace Model + { + namespace JobTypeMapper + { + + static const int LINEAGE_HASH = HashingUtils::HashString("LINEAGE"); + + + JobType GetJobTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == LINEAGE_HASH) + { + return JobType::LINEAGE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return JobType::NOT_SET; + } + + Aws::String GetNameForJobType(JobType enumValue) + { + switch(enumValue) + { + case JobType::NOT_SET: + return {}; + case JobType::LINEAGE: + return "LINEAGE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace JobTypeMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/LineageEventProcessingStatus.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/LineageEventProcessingStatus.cpp new file mode 100644 index 00000000000..99916f9bb96 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/LineageEventProcessingStatus.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace LineageEventProcessingStatusMapper + { + + static const int REQUESTED_HASH = HashingUtils::HashString("REQUESTED"); + static const int PROCESSING_HASH = HashingUtils::HashString("PROCESSING"); + static const int SUCCESS_HASH = HashingUtils::HashString("SUCCESS"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + + + LineageEventProcessingStatus GetLineageEventProcessingStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == REQUESTED_HASH) + { + return LineageEventProcessingStatus::REQUESTED; + } + else if (hashCode == PROCESSING_HASH) + { + return LineageEventProcessingStatus::PROCESSING; + } + else if (hashCode == SUCCESS_HASH) + { + return LineageEventProcessingStatus::SUCCESS; + } + else if (hashCode == FAILED_HASH) + { + return LineageEventProcessingStatus::FAILED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return LineageEventProcessingStatus::NOT_SET; + } + + Aws::String GetNameForLineageEventProcessingStatus(LineageEventProcessingStatus enumValue) + { + switch(enumValue) + { + case LineageEventProcessingStatus::NOT_SET: + return {}; + case LineageEventProcessingStatus::REQUESTED: + return "REQUESTED"; + case LineageEventProcessingStatus::PROCESSING: + return "PROCESSING"; + case LineageEventProcessingStatus::SUCCESS: + return "SUCCESS"; + case LineageEventProcessingStatus::FAILED: + return "FAILED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace LineageEventProcessingStatusMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/LineageEventSummary.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/LineageEventSummary.cpp new file mode 100644 index 00000000000..f34ebf6e2b8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/LineageEventSummary.cpp @@ -0,0 +1,141 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +LineageEventSummary::LineageEventSummary() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_domainIdHasBeenSet(false), + m_eventSummaryHasBeenSet(false), + m_eventTimeHasBeenSet(false), + m_idHasBeenSet(false), + m_processingStatus(LineageEventProcessingStatus::NOT_SET), + m_processingStatusHasBeenSet(false) +{ +} + +LineageEventSummary::LineageEventSummary(JsonView jsonValue) + : LineageEventSummary() +{ + *this = jsonValue; +} + +LineageEventSummary& LineageEventSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetDouble("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + m_domainIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("eventSummary")) + { + m_eventSummary = jsonValue.GetObject("eventSummary"); + + m_eventSummaryHasBeenSet = true; + } + + if(jsonValue.ValueExists("eventTime")) + { + m_eventTime = jsonValue.GetDouble("eventTime"); + + m_eventTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + m_idHasBeenSet = true; + } + + if(jsonValue.ValueExists("processingStatus")) + { + m_processingStatus = LineageEventProcessingStatusMapper::GetLineageEventProcessingStatusForName(jsonValue.GetString("processingStatus")); + + m_processingStatusHasBeenSet = true; + } + + return *this; +} + +JsonValue LineageEventSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_domainIdHasBeenSet) + { + payload.WithString("domainId", m_domainId); + + } + + if(m_eventSummaryHasBeenSet) + { + payload.WithObject("eventSummary", m_eventSummary.Jsonize()); + + } + + if(m_eventTimeHasBeenSet) + { + payload.WithDouble("eventTime", m_eventTime.SecondsWithMSPrecision()); + } + + if(m_idHasBeenSet) + { + payload.WithString("id", m_id); + + } + + if(m_processingStatusHasBeenSet) + { + payload.WithString("processingStatus", LineageEventProcessingStatusMapper::GetNameForLineageEventProcessingStatus(m_processingStatus)); + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/LineageImportStatus.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/LineageImportStatus.cpp new file mode 100644 index 00000000000..773fb097a23 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/LineageImportStatus.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace LineageImportStatusMapper + { + + static const int IN_PROGRESS_HASH = HashingUtils::HashString("IN_PROGRESS"); + static const int SUCCESS_HASH = HashingUtils::HashString("SUCCESS"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int PARTIALLY_SUCCEEDED_HASH = HashingUtils::HashString("PARTIALLY_SUCCEEDED"); + + + LineageImportStatus GetLineageImportStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == IN_PROGRESS_HASH) + { + return LineageImportStatus::IN_PROGRESS; + } + else if (hashCode == SUCCESS_HASH) + { + return LineageImportStatus::SUCCESS; + } + else if (hashCode == FAILED_HASH) + { + return LineageImportStatus::FAILED; + } + else if (hashCode == PARTIALLY_SUCCEEDED_HASH) + { + return LineageImportStatus::PARTIALLY_SUCCEEDED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return LineageImportStatus::NOT_SET; + } + + Aws::String GetNameForLineageImportStatus(LineageImportStatus enumValue) + { + switch(enumValue) + { + case LineageImportStatus::NOT_SET: + return {}; + case LineageImportStatus::IN_PROGRESS: + return "IN_PROGRESS"; + case LineageImportStatus::SUCCESS: + return "SUCCESS"; + case LineageImportStatus::FAILED: + return "FAILED"; + case LineageImportStatus::PARTIALLY_SUCCEEDED: + return "PARTIALLY_SUCCEEDED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace LineageImportStatusMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/LineageInfo.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/LineageInfo.cpp new file mode 100644 index 00000000000..36ac2c05115 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/LineageInfo.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +LineageInfo::LineageInfo() : + m_errorMessageHasBeenSet(false), + m_eventIdHasBeenSet(false), + m_eventStatus(LineageEventProcessingStatus::NOT_SET), + m_eventStatusHasBeenSet(false) +{ +} + +LineageInfo::LineageInfo(JsonView jsonValue) + : LineageInfo() +{ + *this = jsonValue; +} + +LineageInfo& LineageInfo::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("errorMessage")) + { + m_errorMessage = jsonValue.GetString("errorMessage"); + + m_errorMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("eventId")) + { + m_eventId = jsonValue.GetString("eventId"); + + m_eventIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("eventStatus")) + { + m_eventStatus = LineageEventProcessingStatusMapper::GetLineageEventProcessingStatusForName(jsonValue.GetString("eventStatus")); + + m_eventStatusHasBeenSet = true; + } + + return *this; +} + +JsonValue LineageInfo::Jsonize() const +{ + JsonValue payload; + + if(m_errorMessageHasBeenSet) + { + payload.WithString("errorMessage", m_errorMessage); + + } + + if(m_eventIdHasBeenSet) + { + payload.WithString("eventId", m_eventId); + + } + + if(m_eventStatusHasBeenSet) + { + payload.WithString("eventStatus", LineageEventProcessingStatusMapper::GetNameForLineageEventProcessingStatus(m_eventStatus)); + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/LineageRunDetails.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/LineageRunDetails.cpp new file mode 100644 index 00000000000..35b7911a81d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/LineageRunDetails.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +LineageRunDetails::LineageRunDetails() : + m_sqlQueryRunDetailsHasBeenSet(false) +{ +} + +LineageRunDetails::LineageRunDetails(JsonView jsonValue) + : LineageRunDetails() +{ + *this = jsonValue; +} + +LineageRunDetails& LineageRunDetails::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("sqlQueryRunDetails")) + { + m_sqlQueryRunDetails = jsonValue.GetObject("sqlQueryRunDetails"); + + m_sqlQueryRunDetailsHasBeenSet = true; + } + + return *this; +} + +JsonValue LineageRunDetails::Jsonize() const +{ + JsonValue payload; + + if(m_sqlQueryRunDetailsHasBeenSet) + { + payload.WithObject("sqlQueryRunDetails", m_sqlQueryRunDetails.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/LineageSqlQueryRunDetails.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/LineageSqlQueryRunDetails.cpp new file mode 100644 index 00000000000..0fc48682527 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/LineageSqlQueryRunDetails.cpp @@ -0,0 +1,123 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +LineageSqlQueryRunDetails::LineageSqlQueryRunDetails() : + m_errorMessagesHasBeenSet(false), + m_numQueriesFailed(0), + m_numQueriesFailedHasBeenSet(false), + m_queryEndTimeHasBeenSet(false), + m_queryStartTimeHasBeenSet(false), + m_totalQueriesProcessed(0), + m_totalQueriesProcessedHasBeenSet(false) +{ +} + +LineageSqlQueryRunDetails::LineageSqlQueryRunDetails(JsonView jsonValue) + : LineageSqlQueryRunDetails() +{ + *this = jsonValue; +} + +LineageSqlQueryRunDetails& LineageSqlQueryRunDetails::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("errorMessages")) + { + Aws::Utils::Array errorMessagesJsonList = jsonValue.GetArray("errorMessages"); + for(unsigned errorMessagesIndex = 0; errorMessagesIndex < errorMessagesJsonList.GetLength(); ++errorMessagesIndex) + { + m_errorMessages.push_back(errorMessagesJsonList[errorMessagesIndex].AsString()); + } + m_errorMessagesHasBeenSet = true; + } + + if(jsonValue.ValueExists("numQueriesFailed")) + { + m_numQueriesFailed = jsonValue.GetInteger("numQueriesFailed"); + + m_numQueriesFailedHasBeenSet = true; + } + + if(jsonValue.ValueExists("queryEndTime")) + { + m_queryEndTime = jsonValue.GetDouble("queryEndTime"); + + m_queryEndTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("queryStartTime")) + { + m_queryStartTime = jsonValue.GetDouble("queryStartTime"); + + m_queryStartTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("totalQueriesProcessed")) + { + m_totalQueriesProcessed = jsonValue.GetInteger("totalQueriesProcessed"); + + m_totalQueriesProcessedHasBeenSet = true; + } + + return *this; +} + +JsonValue LineageSqlQueryRunDetails::Jsonize() const +{ + JsonValue payload; + + if(m_errorMessagesHasBeenSet) + { + Aws::Utils::Array errorMessagesJsonList(m_errorMessages.size()); + for(unsigned errorMessagesIndex = 0; errorMessagesIndex < errorMessagesJsonList.GetLength(); ++errorMessagesIndex) + { + errorMessagesJsonList[errorMessagesIndex].AsString(m_errorMessages[errorMessagesIndex]); + } + payload.WithArray("errorMessages", std::move(errorMessagesJsonList)); + + } + + if(m_numQueriesFailedHasBeenSet) + { + payload.WithInteger("numQueriesFailed", m_numQueriesFailed); + + } + + if(m_queryEndTimeHasBeenSet) + { + payload.WithDouble("queryEndTime", m_queryEndTime.SecondsWithMSPrecision()); + } + + if(m_queryStartTimeHasBeenSet) + { + payload.WithDouble("queryStartTime", m_queryStartTime.SecondsWithMSPrecision()); + } + + if(m_totalQueriesProcessedHasBeenSet) + { + payload.WithInteger("totalQueriesProcessed", m_totalQueriesProcessed); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/LineageSyncSchedule.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/LineageSyncSchedule.cpp new file mode 100644 index 00000000000..a5772f85fa4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/LineageSyncSchedule.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +LineageSyncSchedule::LineageSyncSchedule() : + m_scheduleHasBeenSet(false) +{ +} + +LineageSyncSchedule::LineageSyncSchedule(JsonView jsonValue) + : LineageSyncSchedule() +{ + *this = jsonValue; +} + +LineageSyncSchedule& LineageSyncSchedule::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("schedule")) + { + m_schedule = jsonValue.GetString("schedule"); + + m_scheduleHasBeenSet = true; + } + + return *this; +} + +JsonValue LineageSyncSchedule::Jsonize() const +{ + JsonValue payload; + + if(m_scheduleHasBeenSet) + { + payload.WithString("schedule", m_schedule); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListConnectionsRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListConnectionsRequest.cpp new file mode 100644 index 00000000000..ec788cd5b36 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListConnectionsRequest.cpp @@ -0,0 +1,102 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListConnectionsRequest::ListConnectionsRequest() : + m_domainIdentifierHasBeenSet(false), + m_environmentIdentifierHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nameHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_projectIdentifierHasBeenSet(false), + m_sortBy(SortFieldConnection::NOT_SET), + m_sortByHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false), + m_type(ConnectionType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +Aws::String ListConnectionsRequest::SerializePayload() const +{ + return {}; +} + +void ListConnectionsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_environmentIdentifierHasBeenSet) + { + ss << m_environmentIdentifier; + uri.AddQueryStringParameter("environmentIdentifier", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nameHasBeenSet) + { + ss << m_name; + uri.AddQueryStringParameter("name", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_projectIdentifierHasBeenSet) + { + ss << m_projectIdentifier; + uri.AddQueryStringParameter("projectIdentifier", ss.str()); + ss.str(""); + } + + if(m_sortByHasBeenSet) + { + ss << SortFieldConnectionMapper::GetNameForSortFieldConnection(m_sortBy); + uri.AddQueryStringParameter("sortBy", ss.str()); + ss.str(""); + } + + if(m_sortOrderHasBeenSet) + { + ss << SortOrderMapper::GetNameForSortOrder(m_sortOrder); + uri.AddQueryStringParameter("sortOrder", ss.str()); + ss.str(""); + } + + if(m_typeHasBeenSet) + { + ss << ConnectionTypeMapper::GetNameForConnectionType(m_type); + uri.AddQueryStringParameter("type", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListConnectionsResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListConnectionsResult.cpp new file mode 100644 index 00000000000..5d094b56d32 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListConnectionsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListConnectionsResult::ListConnectionsResult() +{ +} + +ListConnectionsResult::ListConnectionsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListConnectionsResult& ListConnectionsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("items")) + { + Aws::Utils::Array itemsJsonList = jsonValue.GetArray("items"); + for(unsigned itemsIndex = 0; itemsIndex < itemsJsonList.GetLength(); ++itemsIndex) + { + m_items.push_back(itemsJsonList[itemsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListDataSourcesRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListDataSourcesRequest.cpp index 7c4b65ebb26..4871012efc9 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/ListDataSourcesRequest.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListDataSourcesRequest.cpp @@ -16,6 +16,7 @@ using namespace Aws::Utils; using namespace Aws::Http; ListDataSourcesRequest::ListDataSourcesRequest() : + m_connectionIdentifierHasBeenSet(false), m_domainIdentifierHasBeenSet(false), m_environmentIdentifierHasBeenSet(false), m_maxResults(0), @@ -37,6 +38,13 @@ Aws::String ListDataSourcesRequest::SerializePayload() const void ListDataSourcesRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; + if(m_connectionIdentifierHasBeenSet) + { + ss << m_connectionIdentifier; + uri.AddQueryStringParameter("connectionIdentifier", ss.str()); + ss.str(""); + } + if(m_environmentIdentifierHasBeenSet) { ss << m_environmentIdentifier; diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListJobRunsRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListJobRunsRequest.cpp new file mode 100644 index 00000000000..7aa2912cd6d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListJobRunsRequest.cpp @@ -0,0 +1,70 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListJobRunsRequest::ListJobRunsRequest() : + m_domainIdentifierHasBeenSet(false), + m_jobIdentifierHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false), + m_status(JobRunStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +Aws::String ListJobRunsRequest::SerializePayload() const +{ + return {}; +} + +void ListJobRunsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_sortOrderHasBeenSet) + { + ss << SortOrderMapper::GetNameForSortOrder(m_sortOrder); + uri.AddQueryStringParameter("sortOrder", ss.str()); + ss.str(""); + } + + if(m_statusHasBeenSet) + { + ss << JobRunStatusMapper::GetNameForJobRunStatus(m_status); + uri.AddQueryStringParameter("status", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListJobRunsResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListJobRunsResult.cpp new file mode 100644 index 00000000000..a2ab7d70def --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListJobRunsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListJobRunsResult::ListJobRunsResult() +{ +} + +ListJobRunsResult::ListJobRunsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListJobRunsResult& ListJobRunsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("items")) + { + Aws::Utils::Array itemsJsonList = jsonValue.GetArray("items"); + for(unsigned itemsIndex = 0; itemsIndex < itemsJsonList.GetLength(); ++itemsIndex) + { + m_items.push_back(itemsJsonList[itemsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListLineageEventsRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListLineageEventsRequest.cpp new file mode 100644 index 00000000000..4d88e061ca0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListLineageEventsRequest.cpp @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListLineageEventsRequest::ListLineageEventsRequest() : + m_domainIdentifierHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_processingStatus(LineageEventProcessingStatus::NOT_SET), + m_processingStatusHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false), + m_timestampAfterHasBeenSet(false), + m_timestampBeforeHasBeenSet(false) +{ +} + +Aws::String ListLineageEventsRequest::SerializePayload() const +{ + return {}; +} + +void ListLineageEventsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_processingStatusHasBeenSet) + { + ss << LineageEventProcessingStatusMapper::GetNameForLineageEventProcessingStatus(m_processingStatus); + uri.AddQueryStringParameter("processingStatus", ss.str()); + ss.str(""); + } + + if(m_sortOrderHasBeenSet) + { + ss << SortOrderMapper::GetNameForSortOrder(m_sortOrder); + uri.AddQueryStringParameter("sortOrder", ss.str()); + ss.str(""); + } + + if(m_timestampAfterHasBeenSet) + { + ss << m_timestampAfter.ToGmtString(Aws::Utils::DateFormat::ISO_8601); + uri.AddQueryStringParameter("timestampAfter", ss.str()); + ss.str(""); + } + + if(m_timestampBeforeHasBeenSet) + { + ss << m_timestampBefore.ToGmtString(Aws::Utils::DateFormat::ISO_8601); + uri.AddQueryStringParameter("timestampBefore", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListLineageEventsResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListLineageEventsResult.cpp new file mode 100644 index 00000000000..836f260c25f --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListLineageEventsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListLineageEventsResult::ListLineageEventsResult() +{ +} + +ListLineageEventsResult::ListLineageEventsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListLineageEventsResult& ListLineageEventsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("items")) + { + Aws::Utils::Array itemsJsonList = jsonValue.GetArray("items"); + for(unsigned itemsIndex = 0; itemsIndex < itemsJsonList.GetLength(); ++itemsIndex) + { + m_items.push_back(itemsJsonList[itemsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListProjectProfilesRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListProjectProfilesRequest.cpp new file mode 100644 index 00000000000..7302020b4b4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListProjectProfilesRequest.cpp @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListProjectProfilesRequest::ListProjectProfilesRequest() : + m_domainIdentifierHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nameHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_sortBy(SortFieldProject::NOT_SET), + m_sortByHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false) +{ +} + +Aws::String ListProjectProfilesRequest::SerializePayload() const +{ + return {}; +} + +void ListProjectProfilesRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nameHasBeenSet) + { + ss << m_name; + uri.AddQueryStringParameter("name", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_sortByHasBeenSet) + { + ss << SortFieldProjectMapper::GetNameForSortFieldProject(m_sortBy); + uri.AddQueryStringParameter("sortBy", ss.str()); + ss.str(""); + } + + if(m_sortOrderHasBeenSet) + { + ss << SortOrderMapper::GetNameForSortOrder(m_sortOrder); + uri.AddQueryStringParameter("sortOrder", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListProjectProfilesResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListProjectProfilesResult.cpp new file mode 100644 index 00000000000..384dff4db72 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListProjectProfilesResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListProjectProfilesResult::ListProjectProfilesResult() +{ +} + +ListProjectProfilesResult::ListProjectProfilesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListProjectProfilesResult& ListProjectProfilesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("items")) + { + Aws::Utils::Array itemsJsonList = jsonValue.GetArray("items"); + for(unsigned itemsIndex = 0; itemsIndex < itemsJsonList.GetLength(); ++itemsIndex) + { + m_items.push_back(itemsJsonList[itemsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ManagedPolicyType.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ManagedPolicyType.cpp index a58396e720c..1de82cd7b78 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/ManagedPolicyType.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ManagedPolicyType.cpp @@ -31,6 +31,8 @@ namespace Aws static const int CREATE_ENVIRONMENT_PROFILE_HASH = HashingUtils::HashString("CREATE_ENVIRONMENT_PROFILE"); static const int DELEGATE_CREATE_ENVIRONMENT_PROFILE_HASH = HashingUtils::HashString("DELEGATE_CREATE_ENVIRONMENT_PROFILE"); static const int CREATE_ENVIRONMENT_HASH = HashingUtils::HashString("CREATE_ENVIRONMENT"); + static const int CREATE_ENVIRONMENT_FROM_BLUEPRINT_HASH = HashingUtils::HashString("CREATE_ENVIRONMENT_FROM_BLUEPRINT"); + static const int CREATE_PROJECT_FROM_PROJECT_PROFILE_HASH = HashingUtils::HashString("CREATE_PROJECT_FROM_PROJECT_PROFILE"); ManagedPolicyType GetManagedPolicyTypeForName(const Aws::String& name) @@ -80,6 +82,14 @@ namespace Aws { return ManagedPolicyType::CREATE_ENVIRONMENT; } + else if (hashCode == CREATE_ENVIRONMENT_FROM_BLUEPRINT_HASH) + { + return ManagedPolicyType::CREATE_ENVIRONMENT_FROM_BLUEPRINT; + } + else if (hashCode == CREATE_PROJECT_FROM_PROJECT_PROFILE_HASH) + { + return ManagedPolicyType::CREATE_PROJECT_FROM_PROJECT_PROFILE; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -118,6 +128,10 @@ namespace Aws return "DELEGATE_CREATE_ENVIRONMENT_PROFILE"; case ManagedPolicyType::CREATE_ENVIRONMENT: return "CREATE_ENVIRONMENT"; + case ManagedPolicyType::CREATE_ENVIRONMENT_FROM_BLUEPRINT: + return "CREATE_ENVIRONMENT_FROM_BLUEPRINT"; + case ManagedPolicyType::CREATE_PROJECT_FROM_PROJECT_PROFILE: + return "CREATE_PROJECT_FROM_PROJECT_PROFILE"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/NameIdentifier.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/NameIdentifier.cpp new file mode 100644 index 00000000000..a1d5558cee1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/NameIdentifier.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +NameIdentifier::NameIdentifier() : + m_nameHasBeenSet(false), + m_namespaceHasBeenSet(false) +{ +} + +NameIdentifier::NameIdentifier(JsonView jsonValue) + : NameIdentifier() +{ + *this = jsonValue; +} + +NameIdentifier& NameIdentifier::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("namespace")) + { + m_namespace = jsonValue.GetString("namespace"); + + m_namespaceHasBeenSet = true; + } + + return *this; +} + +JsonValue NameIdentifier::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_namespaceHasBeenSet) + { + payload.WithString("namespace", m_namespace); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/OAuth2ClientApplication.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/OAuth2ClientApplication.cpp new file mode 100644 index 00000000000..d60af7223b3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/OAuth2ClientApplication.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +OAuth2ClientApplication::OAuth2ClientApplication() : + m_aWSManagedClientApplicationReferenceHasBeenSet(false), + m_userManagedClientApplicationClientIdHasBeenSet(false) +{ +} + +OAuth2ClientApplication::OAuth2ClientApplication(JsonView jsonValue) + : OAuth2ClientApplication() +{ + *this = jsonValue; +} + +OAuth2ClientApplication& OAuth2ClientApplication::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("aWSManagedClientApplicationReference")) + { + m_aWSManagedClientApplicationReference = jsonValue.GetString("aWSManagedClientApplicationReference"); + + m_aWSManagedClientApplicationReferenceHasBeenSet = true; + } + + if(jsonValue.ValueExists("userManagedClientApplicationClientId")) + { + m_userManagedClientApplicationClientId = jsonValue.GetString("userManagedClientApplicationClientId"); + + m_userManagedClientApplicationClientIdHasBeenSet = true; + } + + return *this; +} + +JsonValue OAuth2ClientApplication::Jsonize() const +{ + JsonValue payload; + + if(m_aWSManagedClientApplicationReferenceHasBeenSet) + { + payload.WithString("aWSManagedClientApplicationReference", m_aWSManagedClientApplicationReference); + + } + + if(m_userManagedClientApplicationClientIdHasBeenSet) + { + payload.WithString("userManagedClientApplicationClientId", m_userManagedClientApplicationClientId); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/OAuth2GrantType.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/OAuth2GrantType.cpp new file mode 100644 index 00000000000..195170dac5e --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/OAuth2GrantType.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace OAuth2GrantTypeMapper + { + + static const int AUTHORIZATION_CODE_HASH = HashingUtils::HashString("AUTHORIZATION_CODE"); + static const int CLIENT_CREDENTIALS_HASH = HashingUtils::HashString("CLIENT_CREDENTIALS"); + static const int JWT_BEARER_HASH = HashingUtils::HashString("JWT_BEARER"); + + + OAuth2GrantType GetOAuth2GrantTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == AUTHORIZATION_CODE_HASH) + { + return OAuth2GrantType::AUTHORIZATION_CODE; + } + else if (hashCode == CLIENT_CREDENTIALS_HASH) + { + return OAuth2GrantType::CLIENT_CREDENTIALS; + } + else if (hashCode == JWT_BEARER_HASH) + { + return OAuth2GrantType::JWT_BEARER; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return OAuth2GrantType::NOT_SET; + } + + Aws::String GetNameForOAuth2GrantType(OAuth2GrantType enumValue) + { + switch(enumValue) + { + case OAuth2GrantType::NOT_SET: + return {}; + case OAuth2GrantType::AUTHORIZATION_CODE: + return "AUTHORIZATION_CODE"; + case OAuth2GrantType::CLIENT_CREDENTIALS: + return "CLIENT_CREDENTIALS"; + case OAuth2GrantType::JWT_BEARER: + return "JWT_BEARER"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace OAuth2GrantTypeMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/OAuth2Properties.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/OAuth2Properties.cpp new file mode 100644 index 00000000000..dc552d4f59c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/OAuth2Properties.cpp @@ -0,0 +1,137 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +OAuth2Properties::OAuth2Properties() : + m_authorizationCodePropertiesHasBeenSet(false), + m_oAuth2ClientApplicationHasBeenSet(false), + m_oAuth2CredentialsHasBeenSet(false), + m_oAuth2GrantType(OAuth2GrantType::NOT_SET), + m_oAuth2GrantTypeHasBeenSet(false), + m_tokenUrlHasBeenSet(false), + m_tokenUrlParametersMapHasBeenSet(false) +{ +} + +OAuth2Properties::OAuth2Properties(JsonView jsonValue) + : OAuth2Properties() +{ + *this = jsonValue; +} + +OAuth2Properties& OAuth2Properties::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("authorizationCodeProperties")) + { + m_authorizationCodeProperties = jsonValue.GetObject("authorizationCodeProperties"); + + m_authorizationCodePropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("oAuth2ClientApplication")) + { + m_oAuth2ClientApplication = jsonValue.GetObject("oAuth2ClientApplication"); + + m_oAuth2ClientApplicationHasBeenSet = true; + } + + if(jsonValue.ValueExists("oAuth2Credentials")) + { + m_oAuth2Credentials = jsonValue.GetObject("oAuth2Credentials"); + + m_oAuth2CredentialsHasBeenSet = true; + } + + if(jsonValue.ValueExists("oAuth2GrantType")) + { + m_oAuth2GrantType = OAuth2GrantTypeMapper::GetOAuth2GrantTypeForName(jsonValue.GetString("oAuth2GrantType")); + + m_oAuth2GrantTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("tokenUrl")) + { + m_tokenUrl = jsonValue.GetString("tokenUrl"); + + m_tokenUrlHasBeenSet = true; + } + + if(jsonValue.ValueExists("tokenUrlParametersMap")) + { + Aws::Map tokenUrlParametersMapJsonMap = jsonValue.GetObject("tokenUrlParametersMap").GetAllObjects(); + for(auto& tokenUrlParametersMapItem : tokenUrlParametersMapJsonMap) + { + m_tokenUrlParametersMap[tokenUrlParametersMapItem.first] = tokenUrlParametersMapItem.second.AsString(); + } + m_tokenUrlParametersMapHasBeenSet = true; + } + + return *this; +} + +JsonValue OAuth2Properties::Jsonize() const +{ + JsonValue payload; + + if(m_authorizationCodePropertiesHasBeenSet) + { + payload.WithObject("authorizationCodeProperties", m_authorizationCodeProperties.Jsonize()); + + } + + if(m_oAuth2ClientApplicationHasBeenSet) + { + payload.WithObject("oAuth2ClientApplication", m_oAuth2ClientApplication.Jsonize()); + + } + + if(m_oAuth2CredentialsHasBeenSet) + { + payload.WithObject("oAuth2Credentials", m_oAuth2Credentials.Jsonize()); + + } + + if(m_oAuth2GrantTypeHasBeenSet) + { + payload.WithString("oAuth2GrantType", OAuth2GrantTypeMapper::GetNameForOAuth2GrantType(m_oAuth2GrantType)); + } + + if(m_tokenUrlHasBeenSet) + { + payload.WithString("tokenUrl", m_tokenUrl); + + } + + if(m_tokenUrlParametersMapHasBeenSet) + { + JsonValue tokenUrlParametersMapJsonMap; + for(auto& tokenUrlParametersMapItem : m_tokenUrlParametersMap) + { + tokenUrlParametersMapJsonMap.WithString(tokenUrlParametersMapItem.first, tokenUrlParametersMapItem.second); + } + payload.WithObject("tokenUrlParametersMap", std::move(tokenUrlParametersMapJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/OpenLineageRunEventSummary.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/OpenLineageRunEventSummary.cpp new file mode 100644 index 00000000000..e22b77f292c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/OpenLineageRunEventSummary.cpp @@ -0,0 +1,131 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +OpenLineageRunEventSummary::OpenLineageRunEventSummary() : + m_eventType(OpenLineageRunState::NOT_SET), + m_eventTypeHasBeenSet(false), + m_inputsHasBeenSet(false), + m_jobHasBeenSet(false), + m_outputsHasBeenSet(false), + m_runIdHasBeenSet(false) +{ +} + +OpenLineageRunEventSummary::OpenLineageRunEventSummary(JsonView jsonValue) + : OpenLineageRunEventSummary() +{ + *this = jsonValue; +} + +OpenLineageRunEventSummary& OpenLineageRunEventSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("eventType")) + { + m_eventType = OpenLineageRunStateMapper::GetOpenLineageRunStateForName(jsonValue.GetString("eventType")); + + m_eventTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("inputs")) + { + Aws::Utils::Array inputsJsonList = jsonValue.GetArray("inputs"); + for(unsigned inputsIndex = 0; inputsIndex < inputsJsonList.GetLength(); ++inputsIndex) + { + m_inputs.push_back(inputsJsonList[inputsIndex].AsObject()); + } + m_inputsHasBeenSet = true; + } + + if(jsonValue.ValueExists("job")) + { + m_job = jsonValue.GetObject("job"); + + m_jobHasBeenSet = true; + } + + if(jsonValue.ValueExists("outputs")) + { + Aws::Utils::Array outputsJsonList = jsonValue.GetArray("outputs"); + for(unsigned outputsIndex = 0; outputsIndex < outputsJsonList.GetLength(); ++outputsIndex) + { + m_outputs.push_back(outputsJsonList[outputsIndex].AsObject()); + } + m_outputsHasBeenSet = true; + } + + if(jsonValue.ValueExists("runId")) + { + m_runId = jsonValue.GetString("runId"); + + m_runIdHasBeenSet = true; + } + + return *this; +} + +JsonValue OpenLineageRunEventSummary::Jsonize() const +{ + JsonValue payload; + + if(m_eventTypeHasBeenSet) + { + payload.WithString("eventType", OpenLineageRunStateMapper::GetNameForOpenLineageRunState(m_eventType)); + } + + if(m_inputsHasBeenSet) + { + Aws::Utils::Array inputsJsonList(m_inputs.size()); + for(unsigned inputsIndex = 0; inputsIndex < inputsJsonList.GetLength(); ++inputsIndex) + { + inputsJsonList[inputsIndex].AsObject(m_inputs[inputsIndex].Jsonize()); + } + payload.WithArray("inputs", std::move(inputsJsonList)); + + } + + if(m_jobHasBeenSet) + { + payload.WithObject("job", m_job.Jsonize()); + + } + + if(m_outputsHasBeenSet) + { + Aws::Utils::Array outputsJsonList(m_outputs.size()); + for(unsigned outputsIndex = 0; outputsIndex < outputsJsonList.GetLength(); ++outputsIndex) + { + outputsJsonList[outputsIndex].AsObject(m_outputs[outputsIndex].Jsonize()); + } + payload.WithArray("outputs", std::move(outputsJsonList)); + + } + + if(m_runIdHasBeenSet) + { + payload.WithString("runId", m_runId); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/OpenLineageRunState.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/OpenLineageRunState.cpp new file mode 100644 index 00000000000..4fb5bba0bd2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/OpenLineageRunState.cpp @@ -0,0 +1,100 @@ +/** + * 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 DataZone + { + namespace Model + { + namespace OpenLineageRunStateMapper + { + + static const int START_HASH = HashingUtils::HashString("START"); + static const int RUNNING_HASH = HashingUtils::HashString("RUNNING"); + static const int COMPLETE_HASH = HashingUtils::HashString("COMPLETE"); + static const int ABORT_HASH = HashingUtils::HashString("ABORT"); + static const int FAIL_HASH = HashingUtils::HashString("FAIL"); + static const int OTHER_HASH = HashingUtils::HashString("OTHER"); + + + OpenLineageRunState GetOpenLineageRunStateForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == START_HASH) + { + return OpenLineageRunState::START; + } + else if (hashCode == RUNNING_HASH) + { + return OpenLineageRunState::RUNNING; + } + else if (hashCode == COMPLETE_HASH) + { + return OpenLineageRunState::COMPLETE; + } + else if (hashCode == ABORT_HASH) + { + return OpenLineageRunState::ABORT; + } + else if (hashCode == FAIL_HASH) + { + return OpenLineageRunState::FAIL; + } + else if (hashCode == OTHER_HASH) + { + return OpenLineageRunState::OTHER; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return OpenLineageRunState::NOT_SET; + } + + Aws::String GetNameForOpenLineageRunState(OpenLineageRunState enumValue) + { + switch(enumValue) + { + case OpenLineageRunState::NOT_SET: + return {}; + case OpenLineageRunState::START: + return "START"; + case OpenLineageRunState::RUNNING: + return "RUNNING"; + case OpenLineageRunState::COMPLETE: + return "COMPLETE"; + case OpenLineageRunState::ABORT: + return "ABORT"; + case OpenLineageRunState::FAIL: + return "FAIL"; + case OpenLineageRunState::OTHER: + return "OTHER"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace OpenLineageRunStateMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/OverallDeploymentStatus.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/OverallDeploymentStatus.cpp new file mode 100644 index 00000000000..f9598c70cd9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/OverallDeploymentStatus.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace OverallDeploymentStatusMapper + { + + static const int PENDING_DEPLOYMENT_HASH = HashingUtils::HashString("PENDING_DEPLOYMENT"); + static const int IN_PROGRESS_HASH = HashingUtils::HashString("IN_PROGRESS"); + static const int SUCCESSFUL_HASH = HashingUtils::HashString("SUCCESSFUL"); + static const int FAILED_VALIDATION_HASH = HashingUtils::HashString("FAILED_VALIDATION"); + static const int FAILED_DEPLOYMENT_HASH = HashingUtils::HashString("FAILED_DEPLOYMENT"); + + + OverallDeploymentStatus GetOverallDeploymentStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == PENDING_DEPLOYMENT_HASH) + { + return OverallDeploymentStatus::PENDING_DEPLOYMENT; + } + else if (hashCode == IN_PROGRESS_HASH) + { + return OverallDeploymentStatus::IN_PROGRESS; + } + else if (hashCode == SUCCESSFUL_HASH) + { + return OverallDeploymentStatus::SUCCESSFUL; + } + else if (hashCode == FAILED_VALIDATION_HASH) + { + return OverallDeploymentStatus::FAILED_VALIDATION; + } + else if (hashCode == FAILED_DEPLOYMENT_HASH) + { + return OverallDeploymentStatus::FAILED_DEPLOYMENT; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return OverallDeploymentStatus::NOT_SET; + } + + Aws::String GetNameForOverallDeploymentStatus(OverallDeploymentStatus enumValue) + { + switch(enumValue) + { + case OverallDeploymentStatus::NOT_SET: + return {}; + case OverallDeploymentStatus::PENDING_DEPLOYMENT: + return "PENDING_DEPLOYMENT"; + case OverallDeploymentStatus::IN_PROGRESS: + return "IN_PROGRESS"; + case OverallDeploymentStatus::SUCCESSFUL: + return "SUCCESSFUL"; + case OverallDeploymentStatus::FAILED_VALIDATION: + return "FAILED_VALIDATION"; + case OverallDeploymentStatus::FAILED_DEPLOYMENT: + return "FAILED_DEPLOYMENT"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace OverallDeploymentStatusMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/PhysicalConnectionRequirements.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/PhysicalConnectionRequirements.cpp new file mode 100644 index 00000000000..66f3587734d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/PhysicalConnectionRequirements.cpp @@ -0,0 +1,117 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +PhysicalConnectionRequirements::PhysicalConnectionRequirements() : + m_availabilityZoneHasBeenSet(false), + m_securityGroupIdListHasBeenSet(false), + m_subnetIdHasBeenSet(false), + m_subnetIdListHasBeenSet(false) +{ +} + +PhysicalConnectionRequirements::PhysicalConnectionRequirements(JsonView jsonValue) + : PhysicalConnectionRequirements() +{ + *this = jsonValue; +} + +PhysicalConnectionRequirements& PhysicalConnectionRequirements::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("availabilityZone")) + { + m_availabilityZone = jsonValue.GetString("availabilityZone"); + + m_availabilityZoneHasBeenSet = 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; + } + + if(jsonValue.ValueExists("subnetId")) + { + m_subnetId = jsonValue.GetString("subnetId"); + + m_subnetIdHasBeenSet = true; + } + + 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; + } + + return *this; +} + +JsonValue PhysicalConnectionRequirements::Jsonize() const +{ + JsonValue payload; + + if(m_availabilityZoneHasBeenSet) + { + payload.WithString("availabilityZone", m_availabilityZone); + + } + + 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)); + + } + + if(m_subnetIdHasBeenSet) + { + payload.WithString("subnetId", m_subnetId); + + } + + 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)); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/PhysicalEndpoint.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/PhysicalEndpoint.cpp new file mode 100644 index 00000000000..fe0263e580e --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/PhysicalEndpoint.cpp @@ -0,0 +1,144 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +PhysicalEndpoint::PhysicalEndpoint() : + m_awsLocationHasBeenSet(false), + m_glueConnectionHasBeenSet(false), + m_glueConnectionNameHasBeenSet(false), + m_hostHasBeenSet(false), + m_port(0), + m_portHasBeenSet(false), + m_protocol(Protocol::NOT_SET), + m_protocolHasBeenSet(false), + m_stageHasBeenSet(false) +{ +} + +PhysicalEndpoint::PhysicalEndpoint(JsonView jsonValue) + : PhysicalEndpoint() +{ + *this = jsonValue; +} + +PhysicalEndpoint& PhysicalEndpoint::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("awsLocation")) + { + m_awsLocation = jsonValue.GetObject("awsLocation"); + + m_awsLocationHasBeenSet = true; + } + + if(jsonValue.ValueExists("glueConnection")) + { + m_glueConnection = jsonValue.GetObject("glueConnection"); + + m_glueConnectionHasBeenSet = true; + } + + if(jsonValue.ValueExists("glueConnectionName")) + { + m_glueConnectionName = jsonValue.GetString("glueConnectionName"); + + m_glueConnectionNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("host")) + { + m_host = jsonValue.GetString("host"); + + m_hostHasBeenSet = true; + } + + if(jsonValue.ValueExists("port")) + { + m_port = jsonValue.GetInteger("port"); + + m_portHasBeenSet = true; + } + + if(jsonValue.ValueExists("protocol")) + { + m_protocol = ProtocolMapper::GetProtocolForName(jsonValue.GetString("protocol")); + + m_protocolHasBeenSet = true; + } + + if(jsonValue.ValueExists("stage")) + { + m_stage = jsonValue.GetString("stage"); + + m_stageHasBeenSet = true; + } + + return *this; +} + +JsonValue PhysicalEndpoint::Jsonize() const +{ + JsonValue payload; + + if(m_awsLocationHasBeenSet) + { + payload.WithObject("awsLocation", m_awsLocation.Jsonize()); + + } + + if(m_glueConnectionHasBeenSet) + { + payload.WithObject("glueConnection", m_glueConnection.Jsonize()); + + } + + if(m_glueConnectionNameHasBeenSet) + { + payload.WithString("glueConnectionName", m_glueConnectionName); + + } + + if(m_hostHasBeenSet) + { + payload.WithString("host", m_host); + + } + + if(m_portHasBeenSet) + { + payload.WithInteger("port", m_port); + + } + + if(m_protocolHasBeenSet) + { + payload.WithString("protocol", ProtocolMapper::GetNameForProtocol(m_protocol)); + } + + if(m_stageHasBeenSet) + { + payload.WithString("stage", m_stage); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/PolicyGrantDetail.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/PolicyGrantDetail.cpp index 70f546236f2..33cac1e8c29 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/PolicyGrantDetail.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/PolicyGrantDetail.cpp @@ -23,10 +23,12 @@ PolicyGrantDetail::PolicyGrantDetail() : m_createAssetTypeHasBeenSet(false), m_createDomainUnitHasBeenSet(false), m_createEnvironmentHasBeenSet(false), + m_createEnvironmentFromBlueprintHasBeenSet(false), m_createEnvironmentProfileHasBeenSet(false), m_createFormTypeHasBeenSet(false), m_createGlossaryHasBeenSet(false), m_createProjectHasBeenSet(false), + m_createProjectFromProjectProfileHasBeenSet(false), m_delegateCreateEnvironmentProfileHasBeenSet(false), m_overrideDomainUnitOwnersHasBeenSet(false), m_overrideProjectOwnersHasBeenSet(false) @@ -69,6 +71,13 @@ PolicyGrantDetail& PolicyGrantDetail::operator =(JsonView jsonValue) m_createEnvironmentHasBeenSet = true; } + if(jsonValue.ValueExists("createEnvironmentFromBlueprint")) + { + m_createEnvironmentFromBlueprint = jsonValue.GetObject("createEnvironmentFromBlueprint"); + + m_createEnvironmentFromBlueprintHasBeenSet = true; + } + if(jsonValue.ValueExists("createEnvironmentProfile")) { m_createEnvironmentProfile = jsonValue.GetObject("createEnvironmentProfile"); @@ -97,6 +106,13 @@ PolicyGrantDetail& PolicyGrantDetail::operator =(JsonView jsonValue) m_createProjectHasBeenSet = true; } + if(jsonValue.ValueExists("createProjectFromProjectProfile")) + { + m_createProjectFromProjectProfile = jsonValue.GetObject("createProjectFromProjectProfile"); + + m_createProjectFromProjectProfileHasBeenSet = true; + } + if(jsonValue.ValueExists("delegateCreateEnvironmentProfile")) { m_delegateCreateEnvironmentProfile = jsonValue.GetObject("delegateCreateEnvironmentProfile"); @@ -149,6 +165,12 @@ JsonValue PolicyGrantDetail::Jsonize() const } + if(m_createEnvironmentFromBlueprintHasBeenSet) + { + payload.WithObject("createEnvironmentFromBlueprint", m_createEnvironmentFromBlueprint.Jsonize()); + + } + if(m_createEnvironmentProfileHasBeenSet) { payload.WithObject("createEnvironmentProfile", m_createEnvironmentProfile.Jsonize()); @@ -173,6 +195,12 @@ JsonValue PolicyGrantDetail::Jsonize() const } + if(m_createProjectFromProjectProfileHasBeenSet) + { + payload.WithObject("createProjectFromProjectProfile", m_createProjectFromProjectProfile.Jsonize()); + + } + if(m_delegateCreateEnvironmentProfileHasBeenSet) { payload.WithObject("delegateCreateEnvironmentProfile", m_delegateCreateEnvironmentProfile.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/PostLineageEventRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/PostLineageEventRequest.cpp index f884dbf89e6..d2135c35f5a 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/PostLineageEventRequest.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/PostLineageEventRequest.cpp @@ -5,7 +5,6 @@ #include #include -#include #include #include @@ -14,7 +13,6 @@ using namespace Aws::DataZone::Model; using namespace Aws::Utils::Stream; using namespace Aws::Utils; -using namespace Aws::Http; using namespace Aws; PostLineageEventRequest::PostLineageEventRequest() : @@ -25,15 +23,18 @@ PostLineageEventRequest::PostLineageEventRequest() : } -void PostLineageEventRequest::AddQueryStringParameters(URI& uri) const + +Aws::Http::HeaderValueCollection PostLineageEventRequest::GetRequestSpecificHeaders() const { - Aws::StringStream ss; - if(m_clientTokenHasBeenSet) - { - ss << m_clientToken; - uri.AddQueryStringParameter("clientToken", ss.str()); - ss.str(""); - } + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("client-token", ss.str()); + ss.str(""); + } -} + return headers; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/PostLineageEventResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/PostLineageEventResult.cpp index 0824cb663db..7b9d0130c9f 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/PostLineageEventResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/PostLineageEventResult.cpp @@ -28,7 +28,19 @@ PostLineageEventResult::PostLineageEventResult(const Aws::AmazonWebServiceResult PostLineageEventResult& PostLineageEventResult::operator =(const Aws::AmazonWebServiceResult& result) { - AWS_UNREFERENCED_PARAM(result); + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ProjectProfileSummary.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ProjectProfileSummary.cpp new file mode 100644 index 00000000000..f0c18dd5cbb --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ProjectProfileSummary.cpp @@ -0,0 +1,169 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +ProjectProfileSummary::ProjectProfileSummary() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_domainIdHasBeenSet(false), + m_domainUnitIdHasBeenSet(false), + m_idHasBeenSet(false), + m_lastUpdatedAtHasBeenSet(false), + m_nameHasBeenSet(false), + m_status(Status::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +ProjectProfileSummary::ProjectProfileSummary(JsonView jsonValue) + : ProjectProfileSummary() +{ + *this = jsonValue; +} + +ProjectProfileSummary& ProjectProfileSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + m_domainIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("domainUnitId")) + { + m_domainUnitId = jsonValue.GetString("domainUnitId"); + + m_domainUnitIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + m_idHasBeenSet = true; + } + + if(jsonValue.ValueExists("lastUpdatedAt")) + { + m_lastUpdatedAt = jsonValue.GetString("lastUpdatedAt"); + + m_lastUpdatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = StatusMapper::GetStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + return *this; +} + +JsonValue ProjectProfileSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_domainIdHasBeenSet) + { + payload.WithString("domainId", m_domainId); + + } + + if(m_domainUnitIdHasBeenSet) + { + payload.WithString("domainUnitId", m_domainUnitId); + + } + + if(m_idHasBeenSet) + { + payload.WithString("id", m_id); + + } + + if(m_lastUpdatedAtHasBeenSet) + { + payload.WithString("lastUpdatedAt", m_lastUpdatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", StatusMapper::GetNameForStatus(m_status)); + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/Protocol.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/Protocol.cpp new file mode 100644 index 00000000000..4f5b6545969 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/Protocol.cpp @@ -0,0 +1,107 @@ +/** + * 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 DataZone + { + namespace Model + { + namespace ProtocolMapper + { + + static const int ATHENA_HASH = HashingUtils::HashString("ATHENA"); + static const int GLUE_INTERACTIVE_SESSION_HASH = HashingUtils::HashString("GLUE_INTERACTIVE_SESSION"); + static const int HTTPS_HASH = HashingUtils::HashString("HTTPS"); + static const int JDBC_HASH = HashingUtils::HashString("JDBC"); + static const int LIVY_HASH = HashingUtils::HashString("LIVY"); + static const int ODBC_HASH = HashingUtils::HashString("ODBC"); + static const int PRISM_HASH = HashingUtils::HashString("PRISM"); + + + Protocol GetProtocolForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ATHENA_HASH) + { + return Protocol::ATHENA; + } + else if (hashCode == GLUE_INTERACTIVE_SESSION_HASH) + { + return Protocol::GLUE_INTERACTIVE_SESSION; + } + else if (hashCode == HTTPS_HASH) + { + return Protocol::HTTPS; + } + else if (hashCode == JDBC_HASH) + { + return Protocol::JDBC; + } + else if (hashCode == LIVY_HASH) + { + return Protocol::LIVY; + } + else if (hashCode == ODBC_HASH) + { + return Protocol::ODBC; + } + else if (hashCode == PRISM_HASH) + { + return Protocol::PRISM; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return Protocol::NOT_SET; + } + + Aws::String GetNameForProtocol(Protocol enumValue) + { + switch(enumValue) + { + case Protocol::NOT_SET: + return {}; + case Protocol::ATHENA: + return "ATHENA"; + case Protocol::GLUE_INTERACTIVE_SESSION: + return "GLUE_INTERACTIVE_SESSION"; + case Protocol::HTTPS: + return "HTTPS"; + case Protocol::JDBC: + return "JDBC"; + case Protocol::LIVY: + return "LIVY"; + case Protocol::ODBC: + return "ODBC"; + case Protocol::PRISM: + return "PRISM"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ProtocolMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationRequest.cpp index dfa6d5e3d0d..ed6164dca7f 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationRequest.cpp @@ -16,6 +16,7 @@ PutEnvironmentBlueprintConfigurationRequest::PutEnvironmentBlueprintConfiguratio m_domainIdentifierHasBeenSet(false), m_enabledRegionsHasBeenSet(false), m_environmentBlueprintIdentifierHasBeenSet(false), + m_environmentRolePermissionBoundaryHasBeenSet(false), m_manageAccessRoleArnHasBeenSet(false), m_provisioningConfigurationsHasBeenSet(false), m_provisioningRoleArnHasBeenSet(false), @@ -38,6 +39,12 @@ Aws::String PutEnvironmentBlueprintConfigurationRequest::SerializePayload() cons } + if(m_environmentRolePermissionBoundaryHasBeenSet) + { + payload.WithString("environmentRolePermissionBoundary", m_environmentRolePermissionBoundary); + + } + if(m_manageAccessRoleArnHasBeenSet) { payload.WithString("manageAccessRoleArn", m_manageAccessRoleArn); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationResult.cpp index 150bb17bfab..5dbc40c5e26 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationResult.cpp @@ -56,6 +56,12 @@ PutEnvironmentBlueprintConfigurationResult& PutEnvironmentBlueprintConfiguration } + if(jsonValue.ValueExists("environmentRolePermissionBoundary")) + { + m_environmentRolePermissionBoundary = jsonValue.GetString("environmentRolePermissionBoundary"); + + } + if(jsonValue.ValueExists("manageAccessRoleArn")) { m_manageAccessRoleArn = jsonValue.GetString("manageAccessRoleArn"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftCredentials.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftCredentials.cpp new file mode 100644 index 00000000000..df36dac98d3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftCredentials.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +RedshiftCredentials::RedshiftCredentials() : + m_secretArnHasBeenSet(false), + m_usernamePasswordHasBeenSet(false) +{ +} + +RedshiftCredentials::RedshiftCredentials(JsonView jsonValue) + : RedshiftCredentials() +{ + *this = jsonValue; +} + +RedshiftCredentials& RedshiftCredentials::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("secretArn")) + { + m_secretArn = jsonValue.GetString("secretArn"); + + m_secretArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("usernamePassword")) + { + m_usernamePassword = jsonValue.GetObject("usernamePassword"); + + m_usernamePasswordHasBeenSet = true; + } + + return *this; +} + +JsonValue RedshiftCredentials::Jsonize() const +{ + JsonValue payload; + + if(m_secretArnHasBeenSet) + { + payload.WithString("secretArn", m_secretArn); + + } + + if(m_usernamePasswordHasBeenSet) + { + payload.WithObject("usernamePassword", m_usernamePassword.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftLineageSyncConfigurationInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftLineageSyncConfigurationInput.cpp new file mode 100644 index 00000000000..080ef756312 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftLineageSyncConfigurationInput.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +RedshiftLineageSyncConfigurationInput::RedshiftLineageSyncConfigurationInput() : + m_enabled(false), + m_enabledHasBeenSet(false), + m_scheduleHasBeenSet(false) +{ +} + +RedshiftLineageSyncConfigurationInput::RedshiftLineageSyncConfigurationInput(JsonView jsonValue) + : RedshiftLineageSyncConfigurationInput() +{ + *this = jsonValue; +} + +RedshiftLineageSyncConfigurationInput& RedshiftLineageSyncConfigurationInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("enabled")) + { + m_enabled = jsonValue.GetBool("enabled"); + + m_enabledHasBeenSet = true; + } + + if(jsonValue.ValueExists("schedule")) + { + m_schedule = jsonValue.GetObject("schedule"); + + m_scheduleHasBeenSet = true; + } + + return *this; +} + +JsonValue RedshiftLineageSyncConfigurationInput::Jsonize() const +{ + JsonValue payload; + + if(m_enabledHasBeenSet) + { + payload.WithBool("enabled", m_enabled); + + } + + if(m_scheduleHasBeenSet) + { + payload.WithObject("schedule", m_schedule.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftLineageSyncConfigurationOutput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftLineageSyncConfigurationOutput.cpp new file mode 100644 index 00000000000..0c943e51e89 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftLineageSyncConfigurationOutput.cpp @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +RedshiftLineageSyncConfigurationOutput::RedshiftLineageSyncConfigurationOutput() : + m_enabled(false), + m_enabledHasBeenSet(false), + m_lineageJobIdHasBeenSet(false), + m_scheduleHasBeenSet(false) +{ +} + +RedshiftLineageSyncConfigurationOutput::RedshiftLineageSyncConfigurationOutput(JsonView jsonValue) + : RedshiftLineageSyncConfigurationOutput() +{ + *this = jsonValue; +} + +RedshiftLineageSyncConfigurationOutput& RedshiftLineageSyncConfigurationOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("enabled")) + { + m_enabled = jsonValue.GetBool("enabled"); + + m_enabledHasBeenSet = true; + } + + if(jsonValue.ValueExists("lineageJobId")) + { + m_lineageJobId = jsonValue.GetString("lineageJobId"); + + m_lineageJobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("schedule")) + { + m_schedule = jsonValue.GetObject("schedule"); + + m_scheduleHasBeenSet = true; + } + + return *this; +} + +JsonValue RedshiftLineageSyncConfigurationOutput::Jsonize() const +{ + JsonValue payload; + + if(m_enabledHasBeenSet) + { + payload.WithBool("enabled", m_enabled); + + } + + if(m_lineageJobIdHasBeenSet) + { + payload.WithString("lineageJobId", m_lineageJobId); + + } + + if(m_scheduleHasBeenSet) + { + payload.WithObject("schedule", m_schedule.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftPropertiesInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftPropertiesInput.cpp new file mode 100644 index 00000000000..366f09d9222 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftPropertiesInput.cpp @@ -0,0 +1,130 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +RedshiftPropertiesInput::RedshiftPropertiesInput() : + m_credentialsHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_hostHasBeenSet(false), + m_lineageSyncHasBeenSet(false), + m_port(0), + m_portHasBeenSet(false), + m_storageHasBeenSet(false) +{ +} + +RedshiftPropertiesInput::RedshiftPropertiesInput(JsonView jsonValue) + : RedshiftPropertiesInput() +{ + *this = jsonValue; +} + +RedshiftPropertiesInput& RedshiftPropertiesInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("credentials")) + { + m_credentials = jsonValue.GetObject("credentials"); + + m_credentialsHasBeenSet = true; + } + + if(jsonValue.ValueExists("databaseName")) + { + m_databaseName = jsonValue.GetString("databaseName"); + + m_databaseNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("host")) + { + m_host = jsonValue.GetString("host"); + + m_hostHasBeenSet = true; + } + + if(jsonValue.ValueExists("lineageSync")) + { + m_lineageSync = jsonValue.GetObject("lineageSync"); + + m_lineageSyncHasBeenSet = true; + } + + if(jsonValue.ValueExists("port")) + { + m_port = jsonValue.GetInteger("port"); + + m_portHasBeenSet = true; + } + + if(jsonValue.ValueExists("storage")) + { + m_storage = jsonValue.GetObject("storage"); + + m_storageHasBeenSet = true; + } + + return *this; +} + +JsonValue RedshiftPropertiesInput::Jsonize() const +{ + JsonValue payload; + + if(m_credentialsHasBeenSet) + { + payload.WithObject("credentials", m_credentials.Jsonize()); + + } + + if(m_databaseNameHasBeenSet) + { + payload.WithString("databaseName", m_databaseName); + + } + + if(m_hostHasBeenSet) + { + payload.WithString("host", m_host); + + } + + if(m_lineageSyncHasBeenSet) + { + payload.WithObject("lineageSync", m_lineageSync.Jsonize()); + + } + + if(m_portHasBeenSet) + { + payload.WithInteger("port", m_port); + + } + + if(m_storageHasBeenSet) + { + payload.WithObject("storage", m_storage.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftPropertiesOutput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftPropertiesOutput.cpp new file mode 100644 index 00000000000..11eae6417cc --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftPropertiesOutput.cpp @@ -0,0 +1,172 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +RedshiftPropertiesOutput::RedshiftPropertiesOutput() : + m_credentialsHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_isProvisionedSecret(false), + m_isProvisionedSecretHasBeenSet(false), + m_jdbcIamUrlHasBeenSet(false), + m_jdbcUrlHasBeenSet(false), + m_lineageSyncHasBeenSet(false), + m_redshiftTempDirHasBeenSet(false), + m_status(ConnectionStatus::NOT_SET), + m_statusHasBeenSet(false), + m_storageHasBeenSet(false) +{ +} + +RedshiftPropertiesOutput::RedshiftPropertiesOutput(JsonView jsonValue) + : RedshiftPropertiesOutput() +{ + *this = jsonValue; +} + +RedshiftPropertiesOutput& RedshiftPropertiesOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("credentials")) + { + m_credentials = jsonValue.GetObject("credentials"); + + m_credentialsHasBeenSet = true; + } + + if(jsonValue.ValueExists("databaseName")) + { + m_databaseName = jsonValue.GetString("databaseName"); + + m_databaseNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("isProvisionedSecret")) + { + m_isProvisionedSecret = jsonValue.GetBool("isProvisionedSecret"); + + m_isProvisionedSecretHasBeenSet = true; + } + + if(jsonValue.ValueExists("jdbcIamUrl")) + { + m_jdbcIamUrl = jsonValue.GetString("jdbcIamUrl"); + + m_jdbcIamUrlHasBeenSet = true; + } + + if(jsonValue.ValueExists("jdbcUrl")) + { + m_jdbcUrl = jsonValue.GetString("jdbcUrl"); + + m_jdbcUrlHasBeenSet = true; + } + + if(jsonValue.ValueExists("lineageSync")) + { + m_lineageSync = jsonValue.GetObject("lineageSync"); + + m_lineageSyncHasBeenSet = true; + } + + if(jsonValue.ValueExists("redshiftTempDir")) + { + m_redshiftTempDir = jsonValue.GetString("redshiftTempDir"); + + m_redshiftTempDirHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = ConnectionStatusMapper::GetConnectionStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("storage")) + { + m_storage = jsonValue.GetObject("storage"); + + m_storageHasBeenSet = true; + } + + return *this; +} + +JsonValue RedshiftPropertiesOutput::Jsonize() const +{ + JsonValue payload; + + if(m_credentialsHasBeenSet) + { + payload.WithObject("credentials", m_credentials.Jsonize()); + + } + + if(m_databaseNameHasBeenSet) + { + payload.WithString("databaseName", m_databaseName); + + } + + if(m_isProvisionedSecretHasBeenSet) + { + payload.WithBool("isProvisionedSecret", m_isProvisionedSecret); + + } + + if(m_jdbcIamUrlHasBeenSet) + { + payload.WithString("jdbcIamUrl", m_jdbcIamUrl); + + } + + if(m_jdbcUrlHasBeenSet) + { + payload.WithString("jdbcUrl", m_jdbcUrl); + + } + + if(m_lineageSyncHasBeenSet) + { + payload.WithObject("lineageSync", m_lineageSync.Jsonize()); + + } + + if(m_redshiftTempDirHasBeenSet) + { + payload.WithString("redshiftTempDir", m_redshiftTempDir); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", ConnectionStatusMapper::GetNameForConnectionStatus(m_status)); + } + + if(m_storageHasBeenSet) + { + payload.WithObject("storage", m_storage.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftPropertiesPatch.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftPropertiesPatch.cpp new file mode 100644 index 00000000000..9f11fb6ac73 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftPropertiesPatch.cpp @@ -0,0 +1,130 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +RedshiftPropertiesPatch::RedshiftPropertiesPatch() : + m_credentialsHasBeenSet(false), + m_databaseNameHasBeenSet(false), + m_hostHasBeenSet(false), + m_lineageSyncHasBeenSet(false), + m_port(0), + m_portHasBeenSet(false), + m_storageHasBeenSet(false) +{ +} + +RedshiftPropertiesPatch::RedshiftPropertiesPatch(JsonView jsonValue) + : RedshiftPropertiesPatch() +{ + *this = jsonValue; +} + +RedshiftPropertiesPatch& RedshiftPropertiesPatch::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("credentials")) + { + m_credentials = jsonValue.GetObject("credentials"); + + m_credentialsHasBeenSet = true; + } + + if(jsonValue.ValueExists("databaseName")) + { + m_databaseName = jsonValue.GetString("databaseName"); + + m_databaseNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("host")) + { + m_host = jsonValue.GetString("host"); + + m_hostHasBeenSet = true; + } + + if(jsonValue.ValueExists("lineageSync")) + { + m_lineageSync = jsonValue.GetObject("lineageSync"); + + m_lineageSyncHasBeenSet = true; + } + + if(jsonValue.ValueExists("port")) + { + m_port = jsonValue.GetInteger("port"); + + m_portHasBeenSet = true; + } + + if(jsonValue.ValueExists("storage")) + { + m_storage = jsonValue.GetObject("storage"); + + m_storageHasBeenSet = true; + } + + return *this; +} + +JsonValue RedshiftPropertiesPatch::Jsonize() const +{ + JsonValue payload; + + if(m_credentialsHasBeenSet) + { + payload.WithObject("credentials", m_credentials.Jsonize()); + + } + + if(m_databaseNameHasBeenSet) + { + payload.WithString("databaseName", m_databaseName); + + } + + if(m_hostHasBeenSet) + { + payload.WithString("host", m_host); + + } + + if(m_lineageSyncHasBeenSet) + { + payload.WithObject("lineageSync", m_lineageSync.Jsonize()); + + } + + if(m_portHasBeenSet) + { + payload.WithInteger("port", m_port); + + } + + if(m_storageHasBeenSet) + { + payload.WithObject("storage", m_storage.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftStorageProperties.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftStorageProperties.cpp new file mode 100644 index 00000000000..46341334051 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/RedshiftStorageProperties.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +RedshiftStorageProperties::RedshiftStorageProperties() : + m_clusterNameHasBeenSet(false), + m_workgroupNameHasBeenSet(false) +{ +} + +RedshiftStorageProperties::RedshiftStorageProperties(JsonView jsonValue) + : RedshiftStorageProperties() +{ + *this = jsonValue; +} + +RedshiftStorageProperties& RedshiftStorageProperties::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("clusterName")) + { + m_clusterName = jsonValue.GetString("clusterName"); + + m_clusterNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("workgroupName")) + { + m_workgroupName = jsonValue.GetString("workgroupName"); + + m_workgroupNameHasBeenSet = true; + } + + return *this; +} + +JsonValue RedshiftStorageProperties::Jsonize() const +{ + JsonValue payload; + + if(m_clusterNameHasBeenSet) + { + payload.WithString("clusterName", m_clusterName); + + } + + if(m_workgroupNameHasBeenSet) + { + payload.WithString("workgroupName", m_workgroupName); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/Region.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/Region.cpp new file mode 100644 index 00000000000..2f55e816541 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/Region.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +Region::Region() : + m_regionNameHasBeenSet(false), + m_regionNamePathHasBeenSet(false) +{ +} + +Region::Region(JsonView jsonValue) + : Region() +{ + *this = jsonValue; +} + +Region& Region::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("regionName")) + { + m_regionName = jsonValue.GetString("regionName"); + + m_regionNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("regionNamePath")) + { + m_regionNamePath = jsonValue.GetString("regionNamePath"); + + m_regionNamePathHasBeenSet = true; + } + + return *this; +} + +JsonValue Region::Jsonize() const +{ + JsonValue payload; + + if(m_regionNameHasBeenSet) + { + payload.WithString("regionName", m_regionName); + + } + + if(m_regionNamePathHasBeenSet) + { + payload.WithString("regionNamePath", m_regionNamePath); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SageMakerRunConfigurationInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SageMakerRunConfigurationInput.cpp new file mode 100644 index 00000000000..8e06e42e06a --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/SageMakerRunConfigurationInput.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +SageMakerRunConfigurationInput::SageMakerRunConfigurationInput() : + m_trackingAssetsHasBeenSet(false) +{ +} + +SageMakerRunConfigurationInput::SageMakerRunConfigurationInput(JsonView jsonValue) + : SageMakerRunConfigurationInput() +{ + *this = jsonValue; +} + +SageMakerRunConfigurationInput& SageMakerRunConfigurationInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("trackingAssets")) + { + Aws::Map trackingAssetsJsonMap = jsonValue.GetObject("trackingAssets").GetAllObjects(); + for(auto& trackingAssetsItem : trackingAssetsJsonMap) + { + Aws::Utils::Array trackingAssetArnsJsonList = trackingAssetsItem.second.AsArray(); + Aws::Vector trackingAssetArnsList; + trackingAssetArnsList.reserve((size_t)trackingAssetArnsJsonList.GetLength()); + for(unsigned trackingAssetArnsIndex = 0; trackingAssetArnsIndex < trackingAssetArnsJsonList.GetLength(); ++trackingAssetArnsIndex) + { + trackingAssetArnsList.push_back(trackingAssetArnsJsonList[trackingAssetArnsIndex].AsString()); + } + m_trackingAssets[trackingAssetsItem.first] = std::move(trackingAssetArnsList); + } + m_trackingAssetsHasBeenSet = true; + } + + return *this; +} + +JsonValue SageMakerRunConfigurationInput::Jsonize() const +{ + JsonValue payload; + + if(m_trackingAssetsHasBeenSet) + { + JsonValue trackingAssetsJsonMap; + for(auto& trackingAssetsItem : m_trackingAssets) + { + Aws::Utils::Array trackingAssetArnsJsonList(trackingAssetsItem.second.size()); + for(unsigned trackingAssetArnsIndex = 0; trackingAssetArnsIndex < trackingAssetArnsJsonList.GetLength(); ++trackingAssetArnsIndex) + { + trackingAssetArnsJsonList[trackingAssetArnsIndex].AsString(trackingAssetsItem.second[trackingAssetArnsIndex]); + } + trackingAssetsJsonMap.WithArray(trackingAssetsItem.first, std::move(trackingAssetArnsJsonList)); + } + payload.WithObject("trackingAssets", std::move(trackingAssetsJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SageMakerRunConfigurationOutput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SageMakerRunConfigurationOutput.cpp new file mode 100644 index 00000000000..b13e2e98c29 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/SageMakerRunConfigurationOutput.cpp @@ -0,0 +1,107 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +SageMakerRunConfigurationOutput::SageMakerRunConfigurationOutput() : + m_accountIdHasBeenSet(false), + m_regionHasBeenSet(false), + m_trackingAssetsHasBeenSet(false) +{ +} + +SageMakerRunConfigurationOutput::SageMakerRunConfigurationOutput(JsonView jsonValue) + : SageMakerRunConfigurationOutput() +{ + *this = jsonValue; +} + +SageMakerRunConfigurationOutput& SageMakerRunConfigurationOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("accountId")) + { + m_accountId = jsonValue.GetString("accountId"); + + m_accountIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("region")) + { + m_region = jsonValue.GetString("region"); + + m_regionHasBeenSet = true; + } + + if(jsonValue.ValueExists("trackingAssets")) + { + Aws::Map trackingAssetsJsonMap = jsonValue.GetObject("trackingAssets").GetAllObjects(); + for(auto& trackingAssetsItem : trackingAssetsJsonMap) + { + Aws::Utils::Array trackingAssetArnsJsonList = trackingAssetsItem.second.AsArray(); + Aws::Vector trackingAssetArnsList; + trackingAssetArnsList.reserve((size_t)trackingAssetArnsJsonList.GetLength()); + for(unsigned trackingAssetArnsIndex = 0; trackingAssetArnsIndex < trackingAssetArnsJsonList.GetLength(); ++trackingAssetArnsIndex) + { + trackingAssetArnsList.push_back(trackingAssetArnsJsonList[trackingAssetArnsIndex].AsString()); + } + m_trackingAssets[trackingAssetsItem.first] = std::move(trackingAssetArnsList); + } + m_trackingAssetsHasBeenSet = true; + } + + return *this; +} + +JsonValue SageMakerRunConfigurationOutput::Jsonize() const +{ + JsonValue payload; + + if(m_accountIdHasBeenSet) + { + payload.WithString("accountId", m_accountId); + + } + + if(m_regionHasBeenSet) + { + payload.WithString("region", m_region); + + } + + if(m_trackingAssetsHasBeenSet) + { + JsonValue trackingAssetsJsonMap; + for(auto& trackingAssetsItem : m_trackingAssets) + { + Aws::Utils::Array trackingAssetArnsJsonList(trackingAssetsItem.second.size()); + for(unsigned trackingAssetArnsIndex = 0; trackingAssetArnsIndex < trackingAssetArnsJsonList.GetLength(); ++trackingAssetArnsIndex) + { + trackingAssetArnsJsonList[trackingAssetArnsIndex].AsString(trackingAssetsItem.second[trackingAssetArnsIndex]); + } + trackingAssetsJsonMap.WithArray(trackingAssetsItem.first, std::move(trackingAssetArnsJsonList)); + } + payload.WithObject("trackingAssets", std::move(trackingAssetsJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SortFieldConnection.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SortFieldConnection.cpp new file mode 100644 index 00000000000..29bce7c7198 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/SortFieldConnection.cpp @@ -0,0 +1,65 @@ +/** + * 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 DataZone + { + namespace Model + { + namespace SortFieldConnectionMapper + { + + static const int NAME_HASH = HashingUtils::HashString("NAME"); + + + SortFieldConnection GetSortFieldConnectionForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == NAME_HASH) + { + return SortFieldConnection::NAME; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SortFieldConnection::NOT_SET; + } + + Aws::String GetNameForSortFieldConnection(SortFieldConnection enumValue) + { + switch(enumValue) + { + case SortFieldConnection::NOT_SET: + return {}; + case SortFieldConnection::NAME: + return "NAME"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SortFieldConnectionMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SparkEmrPropertiesInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SparkEmrPropertiesInput.cpp new file mode 100644 index 00000000000..da2d1c393d4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/SparkEmrPropertiesInput.cpp @@ -0,0 +1,143 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +SparkEmrPropertiesInput::SparkEmrPropertiesInput() : + m_computeArnHasBeenSet(false), + m_instanceProfileArnHasBeenSet(false), + m_javaVirtualEnvHasBeenSet(false), + m_logUriHasBeenSet(false), + m_pythonVirtualEnvHasBeenSet(false), + m_runtimeRoleHasBeenSet(false), + m_trustedCertificatesS3UriHasBeenSet(false) +{ +} + +SparkEmrPropertiesInput::SparkEmrPropertiesInput(JsonView jsonValue) + : SparkEmrPropertiesInput() +{ + *this = jsonValue; +} + +SparkEmrPropertiesInput& SparkEmrPropertiesInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("computeArn")) + { + m_computeArn = jsonValue.GetString("computeArn"); + + m_computeArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("instanceProfileArn")) + { + m_instanceProfileArn = jsonValue.GetString("instanceProfileArn"); + + m_instanceProfileArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("javaVirtualEnv")) + { + m_javaVirtualEnv = jsonValue.GetString("javaVirtualEnv"); + + m_javaVirtualEnvHasBeenSet = true; + } + + if(jsonValue.ValueExists("logUri")) + { + m_logUri = jsonValue.GetString("logUri"); + + m_logUriHasBeenSet = true; + } + + if(jsonValue.ValueExists("pythonVirtualEnv")) + { + m_pythonVirtualEnv = jsonValue.GetString("pythonVirtualEnv"); + + m_pythonVirtualEnvHasBeenSet = true; + } + + if(jsonValue.ValueExists("runtimeRole")) + { + m_runtimeRole = jsonValue.GetString("runtimeRole"); + + m_runtimeRoleHasBeenSet = true; + } + + if(jsonValue.ValueExists("trustedCertificatesS3Uri")) + { + m_trustedCertificatesS3Uri = jsonValue.GetString("trustedCertificatesS3Uri"); + + m_trustedCertificatesS3UriHasBeenSet = true; + } + + return *this; +} + +JsonValue SparkEmrPropertiesInput::Jsonize() const +{ + JsonValue payload; + + if(m_computeArnHasBeenSet) + { + payload.WithString("computeArn", m_computeArn); + + } + + if(m_instanceProfileArnHasBeenSet) + { + payload.WithString("instanceProfileArn", m_instanceProfileArn); + + } + + if(m_javaVirtualEnvHasBeenSet) + { + payload.WithString("javaVirtualEnv", m_javaVirtualEnv); + + } + + if(m_logUriHasBeenSet) + { + payload.WithString("logUri", m_logUri); + + } + + if(m_pythonVirtualEnvHasBeenSet) + { + payload.WithString("pythonVirtualEnv", m_pythonVirtualEnv); + + } + + if(m_runtimeRoleHasBeenSet) + { + payload.WithString("runtimeRole", m_runtimeRole); + + } + + if(m_trustedCertificatesS3UriHasBeenSet) + { + payload.WithString("trustedCertificatesS3Uri", m_trustedCertificatesS3Uri); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SparkEmrPropertiesOutput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SparkEmrPropertiesOutput.cpp new file mode 100644 index 00000000000..6f0d3b40849 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/SparkEmrPropertiesOutput.cpp @@ -0,0 +1,198 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +SparkEmrPropertiesOutput::SparkEmrPropertiesOutput() : + m_computeArnHasBeenSet(false), + m_credentialsHasBeenSet(false), + m_credentialsExpirationHasBeenSet(false), + m_governanceType(GovernanceType::NOT_SET), + m_governanceTypeHasBeenSet(false), + m_instanceProfileArnHasBeenSet(false), + m_javaVirtualEnvHasBeenSet(false), + m_livyEndpointHasBeenSet(false), + m_logUriHasBeenSet(false), + m_pythonVirtualEnvHasBeenSet(false), + m_runtimeRoleHasBeenSet(false), + m_trustedCertificatesS3UriHasBeenSet(false) +{ +} + +SparkEmrPropertiesOutput::SparkEmrPropertiesOutput(JsonView jsonValue) + : SparkEmrPropertiesOutput() +{ + *this = jsonValue; +} + +SparkEmrPropertiesOutput& SparkEmrPropertiesOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("computeArn")) + { + m_computeArn = jsonValue.GetString("computeArn"); + + m_computeArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("credentials")) + { + m_credentials = jsonValue.GetObject("credentials"); + + m_credentialsHasBeenSet = true; + } + + if(jsonValue.ValueExists("credentialsExpiration")) + { + m_credentialsExpiration = jsonValue.GetString("credentialsExpiration"); + + m_credentialsExpirationHasBeenSet = true; + } + + if(jsonValue.ValueExists("governanceType")) + { + m_governanceType = GovernanceTypeMapper::GetGovernanceTypeForName(jsonValue.GetString("governanceType")); + + m_governanceTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("instanceProfileArn")) + { + m_instanceProfileArn = jsonValue.GetString("instanceProfileArn"); + + m_instanceProfileArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("javaVirtualEnv")) + { + m_javaVirtualEnv = jsonValue.GetString("javaVirtualEnv"); + + m_javaVirtualEnvHasBeenSet = true; + } + + if(jsonValue.ValueExists("livyEndpoint")) + { + m_livyEndpoint = jsonValue.GetString("livyEndpoint"); + + m_livyEndpointHasBeenSet = true; + } + + if(jsonValue.ValueExists("logUri")) + { + m_logUri = jsonValue.GetString("logUri"); + + m_logUriHasBeenSet = true; + } + + if(jsonValue.ValueExists("pythonVirtualEnv")) + { + m_pythonVirtualEnv = jsonValue.GetString("pythonVirtualEnv"); + + m_pythonVirtualEnvHasBeenSet = true; + } + + if(jsonValue.ValueExists("runtimeRole")) + { + m_runtimeRole = jsonValue.GetString("runtimeRole"); + + m_runtimeRoleHasBeenSet = true; + } + + if(jsonValue.ValueExists("trustedCertificatesS3Uri")) + { + m_trustedCertificatesS3Uri = jsonValue.GetString("trustedCertificatesS3Uri"); + + m_trustedCertificatesS3UriHasBeenSet = true; + } + + return *this; +} + +JsonValue SparkEmrPropertiesOutput::Jsonize() const +{ + JsonValue payload; + + if(m_computeArnHasBeenSet) + { + payload.WithString("computeArn", m_computeArn); + + } + + if(m_credentialsHasBeenSet) + { + payload.WithObject("credentials", m_credentials.Jsonize()); + + } + + if(m_credentialsExpirationHasBeenSet) + { + payload.WithString("credentialsExpiration", m_credentialsExpiration.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_governanceTypeHasBeenSet) + { + payload.WithString("governanceType", GovernanceTypeMapper::GetNameForGovernanceType(m_governanceType)); + } + + if(m_instanceProfileArnHasBeenSet) + { + payload.WithString("instanceProfileArn", m_instanceProfileArn); + + } + + if(m_javaVirtualEnvHasBeenSet) + { + payload.WithString("javaVirtualEnv", m_javaVirtualEnv); + + } + + if(m_livyEndpointHasBeenSet) + { + payload.WithString("livyEndpoint", m_livyEndpoint); + + } + + if(m_logUriHasBeenSet) + { + payload.WithString("logUri", m_logUri); + + } + + if(m_pythonVirtualEnvHasBeenSet) + { + payload.WithString("pythonVirtualEnv", m_pythonVirtualEnv); + + } + + if(m_runtimeRoleHasBeenSet) + { + payload.WithString("runtimeRole", m_runtimeRole); + + } + + if(m_trustedCertificatesS3UriHasBeenSet) + { + payload.WithString("trustedCertificatesS3Uri", m_trustedCertificatesS3Uri); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SparkEmrPropertiesPatch.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SparkEmrPropertiesPatch.cpp new file mode 100644 index 00000000000..6f40106f296 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/SparkEmrPropertiesPatch.cpp @@ -0,0 +1,143 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +SparkEmrPropertiesPatch::SparkEmrPropertiesPatch() : + m_computeArnHasBeenSet(false), + m_instanceProfileArnHasBeenSet(false), + m_javaVirtualEnvHasBeenSet(false), + m_logUriHasBeenSet(false), + m_pythonVirtualEnvHasBeenSet(false), + m_runtimeRoleHasBeenSet(false), + m_trustedCertificatesS3UriHasBeenSet(false) +{ +} + +SparkEmrPropertiesPatch::SparkEmrPropertiesPatch(JsonView jsonValue) + : SparkEmrPropertiesPatch() +{ + *this = jsonValue; +} + +SparkEmrPropertiesPatch& SparkEmrPropertiesPatch::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("computeArn")) + { + m_computeArn = jsonValue.GetString("computeArn"); + + m_computeArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("instanceProfileArn")) + { + m_instanceProfileArn = jsonValue.GetString("instanceProfileArn"); + + m_instanceProfileArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("javaVirtualEnv")) + { + m_javaVirtualEnv = jsonValue.GetString("javaVirtualEnv"); + + m_javaVirtualEnvHasBeenSet = true; + } + + if(jsonValue.ValueExists("logUri")) + { + m_logUri = jsonValue.GetString("logUri"); + + m_logUriHasBeenSet = true; + } + + if(jsonValue.ValueExists("pythonVirtualEnv")) + { + m_pythonVirtualEnv = jsonValue.GetString("pythonVirtualEnv"); + + m_pythonVirtualEnvHasBeenSet = true; + } + + if(jsonValue.ValueExists("runtimeRole")) + { + m_runtimeRole = jsonValue.GetString("runtimeRole"); + + m_runtimeRoleHasBeenSet = true; + } + + if(jsonValue.ValueExists("trustedCertificatesS3Uri")) + { + m_trustedCertificatesS3Uri = jsonValue.GetString("trustedCertificatesS3Uri"); + + m_trustedCertificatesS3UriHasBeenSet = true; + } + + return *this; +} + +JsonValue SparkEmrPropertiesPatch::Jsonize() const +{ + JsonValue payload; + + if(m_computeArnHasBeenSet) + { + payload.WithString("computeArn", m_computeArn); + + } + + if(m_instanceProfileArnHasBeenSet) + { + payload.WithString("instanceProfileArn", m_instanceProfileArn); + + } + + if(m_javaVirtualEnvHasBeenSet) + { + payload.WithString("javaVirtualEnv", m_javaVirtualEnv); + + } + + if(m_logUriHasBeenSet) + { + payload.WithString("logUri", m_logUri); + + } + + if(m_pythonVirtualEnvHasBeenSet) + { + payload.WithString("pythonVirtualEnv", m_pythonVirtualEnv); + + } + + if(m_runtimeRoleHasBeenSet) + { + payload.WithString("runtimeRole", m_runtimeRole); + + } + + if(m_trustedCertificatesS3UriHasBeenSet) + { + payload.WithString("trustedCertificatesS3Uri", m_trustedCertificatesS3Uri); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SparkGlueArgs.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SparkGlueArgs.cpp new file mode 100644 index 00000000000..2b63d13208d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/SparkGlueArgs.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +SparkGlueArgs::SparkGlueArgs() : + m_connectionHasBeenSet(false) +{ +} + +SparkGlueArgs::SparkGlueArgs(JsonView jsonValue) + : SparkGlueArgs() +{ + *this = jsonValue; +} + +SparkGlueArgs& SparkGlueArgs::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("connection")) + { + m_connection = jsonValue.GetString("connection"); + + m_connectionHasBeenSet = true; + } + + return *this; +} + +JsonValue SparkGlueArgs::Jsonize() const +{ + JsonValue payload; + + if(m_connectionHasBeenSet) + { + payload.WithString("connection", m_connection); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SparkGluePropertiesInput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SparkGluePropertiesInput.cpp new file mode 100644 index 00000000000..df832b6baf8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/SparkGluePropertiesInput.cpp @@ -0,0 +1,159 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +SparkGluePropertiesInput::SparkGluePropertiesInput() : + m_additionalArgsHasBeenSet(false), + m_glueConnectionNameHasBeenSet(false), + m_glueVersionHasBeenSet(false), + m_idleTimeout(0), + m_idleTimeoutHasBeenSet(false), + m_javaVirtualEnvHasBeenSet(false), + m_numberOfWorkers(0), + m_numberOfWorkersHasBeenSet(false), + m_pythonVirtualEnvHasBeenSet(false), + m_workerTypeHasBeenSet(false) +{ +} + +SparkGluePropertiesInput::SparkGluePropertiesInput(JsonView jsonValue) + : SparkGluePropertiesInput() +{ + *this = jsonValue; +} + +SparkGluePropertiesInput& SparkGluePropertiesInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("additionalArgs")) + { + m_additionalArgs = jsonValue.GetObject("additionalArgs"); + + m_additionalArgsHasBeenSet = true; + } + + if(jsonValue.ValueExists("glueConnectionName")) + { + m_glueConnectionName = jsonValue.GetString("glueConnectionName"); + + m_glueConnectionNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("glueVersion")) + { + m_glueVersion = jsonValue.GetString("glueVersion"); + + m_glueVersionHasBeenSet = true; + } + + if(jsonValue.ValueExists("idleTimeout")) + { + m_idleTimeout = jsonValue.GetInteger("idleTimeout"); + + m_idleTimeoutHasBeenSet = true; + } + + if(jsonValue.ValueExists("javaVirtualEnv")) + { + m_javaVirtualEnv = jsonValue.GetString("javaVirtualEnv"); + + m_javaVirtualEnvHasBeenSet = true; + } + + if(jsonValue.ValueExists("numberOfWorkers")) + { + m_numberOfWorkers = jsonValue.GetInteger("numberOfWorkers"); + + m_numberOfWorkersHasBeenSet = true; + } + + if(jsonValue.ValueExists("pythonVirtualEnv")) + { + m_pythonVirtualEnv = jsonValue.GetString("pythonVirtualEnv"); + + m_pythonVirtualEnvHasBeenSet = true; + } + + if(jsonValue.ValueExists("workerType")) + { + m_workerType = jsonValue.GetString("workerType"); + + m_workerTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue SparkGluePropertiesInput::Jsonize() const +{ + JsonValue payload; + + if(m_additionalArgsHasBeenSet) + { + payload.WithObject("additionalArgs", m_additionalArgs.Jsonize()); + + } + + if(m_glueConnectionNameHasBeenSet) + { + payload.WithString("glueConnectionName", m_glueConnectionName); + + } + + if(m_glueVersionHasBeenSet) + { + payload.WithString("glueVersion", m_glueVersion); + + } + + if(m_idleTimeoutHasBeenSet) + { + payload.WithInteger("idleTimeout", m_idleTimeout); + + } + + if(m_javaVirtualEnvHasBeenSet) + { + payload.WithString("javaVirtualEnv", m_javaVirtualEnv); + + } + + if(m_numberOfWorkersHasBeenSet) + { + payload.WithInteger("numberOfWorkers", m_numberOfWorkers); + + } + + if(m_pythonVirtualEnvHasBeenSet) + { + payload.WithString("pythonVirtualEnv", m_pythonVirtualEnv); + + } + + if(m_workerTypeHasBeenSet) + { + payload.WithString("workerType", m_workerType); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SparkGluePropertiesOutput.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SparkGluePropertiesOutput.cpp new file mode 100644 index 00000000000..9f4c0604136 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/SparkGluePropertiesOutput.cpp @@ -0,0 +1,159 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +SparkGluePropertiesOutput::SparkGluePropertiesOutput() : + m_additionalArgsHasBeenSet(false), + m_glueConnectionNameHasBeenSet(false), + m_glueVersionHasBeenSet(false), + m_idleTimeout(0), + m_idleTimeoutHasBeenSet(false), + m_javaVirtualEnvHasBeenSet(false), + m_numberOfWorkers(0), + m_numberOfWorkersHasBeenSet(false), + m_pythonVirtualEnvHasBeenSet(false), + m_workerTypeHasBeenSet(false) +{ +} + +SparkGluePropertiesOutput::SparkGluePropertiesOutput(JsonView jsonValue) + : SparkGluePropertiesOutput() +{ + *this = jsonValue; +} + +SparkGluePropertiesOutput& SparkGluePropertiesOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("additionalArgs")) + { + m_additionalArgs = jsonValue.GetObject("additionalArgs"); + + m_additionalArgsHasBeenSet = true; + } + + if(jsonValue.ValueExists("glueConnectionName")) + { + m_glueConnectionName = jsonValue.GetString("glueConnectionName"); + + m_glueConnectionNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("glueVersion")) + { + m_glueVersion = jsonValue.GetString("glueVersion"); + + m_glueVersionHasBeenSet = true; + } + + if(jsonValue.ValueExists("idleTimeout")) + { + m_idleTimeout = jsonValue.GetInteger("idleTimeout"); + + m_idleTimeoutHasBeenSet = true; + } + + if(jsonValue.ValueExists("javaVirtualEnv")) + { + m_javaVirtualEnv = jsonValue.GetString("javaVirtualEnv"); + + m_javaVirtualEnvHasBeenSet = true; + } + + if(jsonValue.ValueExists("numberOfWorkers")) + { + m_numberOfWorkers = jsonValue.GetInteger("numberOfWorkers"); + + m_numberOfWorkersHasBeenSet = true; + } + + if(jsonValue.ValueExists("pythonVirtualEnv")) + { + m_pythonVirtualEnv = jsonValue.GetString("pythonVirtualEnv"); + + m_pythonVirtualEnvHasBeenSet = true; + } + + if(jsonValue.ValueExists("workerType")) + { + m_workerType = jsonValue.GetString("workerType"); + + m_workerTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue SparkGluePropertiesOutput::Jsonize() const +{ + JsonValue payload; + + if(m_additionalArgsHasBeenSet) + { + payload.WithObject("additionalArgs", m_additionalArgs.Jsonize()); + + } + + if(m_glueConnectionNameHasBeenSet) + { + payload.WithString("glueConnectionName", m_glueConnectionName); + + } + + if(m_glueVersionHasBeenSet) + { + payload.WithString("glueVersion", m_glueVersion); + + } + + if(m_idleTimeoutHasBeenSet) + { + payload.WithInteger("idleTimeout", m_idleTimeout); + + } + + if(m_javaVirtualEnvHasBeenSet) + { + payload.WithString("javaVirtualEnv", m_javaVirtualEnv); + + } + + if(m_numberOfWorkersHasBeenSet) + { + payload.WithInteger("numberOfWorkers", m_numberOfWorkers); + + } + + if(m_pythonVirtualEnvHasBeenSet) + { + payload.WithString("pythonVirtualEnv", m_pythonVirtualEnv); + + } + + if(m_workerTypeHasBeenSet) + { + payload.WithString("workerType", m_workerType); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/Status.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/Status.cpp new file mode 100644 index 00000000000..08f95deaac9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/Status.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace StatusMapper + { + + static const int ENABLED_HASH = HashingUtils::HashString("ENABLED"); + static const int DISABLED_HASH = HashingUtils::HashString("DISABLED"); + + + Status GetStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ENABLED_HASH) + { + return Status::ENABLED; + } + else if (hashCode == DISABLED_HASH) + { + return Status::DISABLED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return Status::NOT_SET; + } + + Aws::String GetNameForStatus(Status enumValue) + { + switch(enumValue) + { + case Status::NOT_SET: + return {}; + case Status::ENABLED: + return "ENABLED"; + case Status::DISABLED: + return "DISABLED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace StatusMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateConnectionRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateConnectionRequest.cpp new file mode 100644 index 00000000000..0a9b11a5981 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateConnectionRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateConnectionRequest::UpdateConnectionRequest() : + m_awsLocationHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_domainIdentifierHasBeenSet(false), + m_identifierHasBeenSet(false), + m_propsHasBeenSet(false) +{ +} + +Aws::String UpdateConnectionRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_awsLocationHasBeenSet) + { + payload.WithObject("awsLocation", m_awsLocation.Jsonize()); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_propsHasBeenSet) + { + payload.WithObject("props", m_props.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateConnectionResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateConnectionResult.cpp new file mode 100644 index 00000000000..a394b94a3c8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateConnectionResult.cpp @@ -0,0 +1,107 @@ +/** + * 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::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateConnectionResult::UpdateConnectionResult() : + m_type(ConnectionType::NOT_SET) +{ +} + +UpdateConnectionResult::UpdateConnectionResult(const Aws::AmazonWebServiceResult& result) + : UpdateConnectionResult() +{ + *this = result; +} + +UpdateConnectionResult& UpdateConnectionResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("connectionId")) + { + m_connectionId = jsonValue.GetString("connectionId"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("domainUnitId")) + { + m_domainUnitId = jsonValue.GetString("domainUnitId"); + + } + + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("physicalEndpoints")) + { + Aws::Utils::Array physicalEndpointsJsonList = jsonValue.GetArray("physicalEndpoints"); + for(unsigned physicalEndpointsIndex = 0; physicalEndpointsIndex < physicalEndpointsJsonList.GetLength(); ++physicalEndpointsIndex) + { + m_physicalEndpoints.push_back(physicalEndpointsJsonList[physicalEndpointsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("projectId")) + { + m_projectId = jsonValue.GetString("projectId"); + + } + + if(jsonValue.ValueExists("props")) + { + m_props = jsonValue.GetObject("props"); + + } + + if(jsonValue.ValueExists("type")) + { + m_type = ConnectionTypeMapper::GetConnectionTypeForName(jsonValue.GetString("type")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateDataSourceResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateDataSourceResult.cpp index 61e1ee3b0f6..e1c538e2e79 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateDataSourceResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateDataSourceResult.cpp @@ -50,6 +50,12 @@ UpdateDataSourceResult& UpdateDataSourceResult::operator =(const Aws::AmazonWebS } + if(jsonValue.ValueExists("connectionId")) + { + m_connectionId = jsonValue.GetString("connectionId"); + + } + if(jsonValue.ValueExists("createdAt")) { m_createdAt = jsonValue.GetString("createdAt"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateDomainRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateDomainRequest.cpp index 7b1d9909e72..4f46229138c 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateDomainRequest.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateDomainRequest.cpp @@ -22,6 +22,7 @@ UpdateDomainRequest::UpdateDomainRequest() : m_domainExecutionRoleHasBeenSet(false), m_identifierHasBeenSet(false), m_nameHasBeenSet(false), + m_serviceRoleHasBeenSet(false), m_singleSignOnHasBeenSet(false) { } @@ -48,6 +49,12 @@ Aws::String UpdateDomainRequest::SerializePayload() const } + if(m_serviceRoleHasBeenSet) + { + payload.WithString("serviceRole", m_serviceRole); + + } + if(m_singleSignOnHasBeenSet) { payload.WithObject("singleSignOn", m_singleSignOn.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateDomainResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateDomainResult.cpp index 814f79477fb..7a6d4ae4f45 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateDomainResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateDomainResult.cpp @@ -65,6 +65,12 @@ UpdateDomainResult& UpdateDomainResult::operator =(const Aws::AmazonWebServiceRe } + if(jsonValue.ValueExists("serviceRole")) + { + m_serviceRole = jsonValue.GetString("serviceRole"); + + } + if(jsonValue.ValueExists("singleSignOn")) { m_singleSignOn = jsonValue.GetObject("singleSignOn"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectProfileRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectProfileRequest.cpp new file mode 100644 index 00000000000..0deab65cc9d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectProfileRequest.cpp @@ -0,0 +1,70 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateProjectProfileRequest::UpdateProjectProfileRequest() : + m_descriptionHasBeenSet(false), + m_domainIdentifierHasBeenSet(false), + m_domainUnitIdentifierHasBeenSet(false), + m_environmentConfigurationsHasBeenSet(false), + m_identifierHasBeenSet(false), + m_nameHasBeenSet(false), + m_status(Status::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +Aws::String UpdateProjectProfileRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_domainUnitIdentifierHasBeenSet) + { + payload.WithString("domainUnitIdentifier", m_domainUnitIdentifier); + + } + + if(m_environmentConfigurationsHasBeenSet) + { + Aws::Utils::Array environmentConfigurationsJsonList(m_environmentConfigurations.size()); + for(unsigned environmentConfigurationsIndex = 0; environmentConfigurationsIndex < environmentConfigurationsJsonList.GetLength(); ++environmentConfigurationsIndex) + { + environmentConfigurationsJsonList[environmentConfigurationsIndex].AsObject(m_environmentConfigurations[environmentConfigurationsIndex].Jsonize()); + } + payload.WithArray("environmentConfigurations", std::move(environmentConfigurationsJsonList)); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", StatusMapper::GetNameForStatus(m_status)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectProfileResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectProfileResult.cpp new file mode 100644 index 00000000000..d9400f883b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectProfileResult.cpp @@ -0,0 +1,107 @@ +/** + * 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::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateProjectProfileResult::UpdateProjectProfileResult() : + m_status(Status::NOT_SET) +{ +} + +UpdateProjectProfileResult::UpdateProjectProfileResult(const Aws::AmazonWebServiceResult& result) + : UpdateProjectProfileResult() +{ + *this = result; +} + +UpdateProjectProfileResult& UpdateProjectProfileResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("domainUnitId")) + { + m_domainUnitId = jsonValue.GetString("domainUnitId"); + + } + + if(jsonValue.ValueExists("environmentConfigurations")) + { + Aws::Utils::Array environmentConfigurationsJsonList = jsonValue.GetArray("environmentConfigurations"); + for(unsigned environmentConfigurationsIndex = 0; environmentConfigurationsIndex < environmentConfigurationsJsonList.GetLength(); ++environmentConfigurationsIndex) + { + m_environmentConfigurations.push_back(environmentConfigurationsJsonList[environmentConfigurationsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + } + + if(jsonValue.ValueExists("lastUpdatedAt")) + { + m_lastUpdatedAt = jsonValue.GetString("lastUpdatedAt"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = StatusMapper::GetStatusForName(jsonValue.GetString("status")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectRequest.cpp index da3fc7203c7..3b505ca0440 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectRequest.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectRequest.cpp @@ -15,6 +15,7 @@ using namespace Aws::Utils; UpdateProjectRequest::UpdateProjectRequest() : m_descriptionHasBeenSet(false), m_domainIdentifierHasBeenSet(false), + m_environmentDeploymentDetailsHasBeenSet(false), m_glossaryTermsHasBeenSet(false), m_identifierHasBeenSet(false), m_nameHasBeenSet(false) @@ -31,6 +32,12 @@ Aws::String UpdateProjectRequest::SerializePayload() const } + if(m_environmentDeploymentDetailsHasBeenSet) + { + payload.WithObject("environmentDeploymentDetails", m_environmentDeploymentDetails.Jsonize()); + + } + if(m_glossaryTermsHasBeenSet) { Aws::Utils::Array glossaryTermsJsonList(m_glossaryTerms.size()); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectResult.cpp index 438fb43d391..05f1e8bbe59 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateProjectResult.cpp @@ -61,6 +61,12 @@ UpdateProjectResult& UpdateProjectResult::operator =(const Aws::AmazonWebService } + if(jsonValue.ValueExists("environmentDeploymentDetails")) + { + m_environmentDeploymentDetails = jsonValue.GetObject("environmentDeploymentDetails"); + + } + if(jsonValue.ValueExists("failureReasons")) { Aws::Utils::Array failureReasonsJsonList = jsonValue.GetArray("failureReasons"); @@ -97,12 +103,27 @@ UpdateProjectResult& UpdateProjectResult::operator =(const Aws::AmazonWebService } + if(jsonValue.ValueExists("projectProfileId")) + { + m_projectProfileId = jsonValue.GetString("projectProfileId"); + + } + if(jsonValue.ValueExists("projectStatus")) { m_projectStatus = ProjectStatusMapper::GetProjectStatusForName(jsonValue.GetString("projectStatus")); } + if(jsonValue.ValueExists("userParameters")) + { + Aws::Utils::Array userParametersJsonList = jsonValue.GetArray("userParameters"); + for(unsigned userParametersIndex = 0; userParametersIndex < userParametersJsonList.GetLength(); ++userParametersIndex) + { + m_userParameters.push_back(userParametersJsonList[userParametersIndex].AsObject()); + } + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/UsernamePassword.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/UsernamePassword.cpp new file mode 100644 index 00000000000..3a2c01da21f --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/UsernamePassword.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +UsernamePassword::UsernamePassword() : + m_passwordHasBeenSet(false), + m_usernameHasBeenSet(false) +{ +} + +UsernamePassword::UsernamePassword(JsonView jsonValue) + : UsernamePassword() +{ + *this = jsonValue; +} + +UsernamePassword& UsernamePassword::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("password")) + { + m_password = jsonValue.GetString("password"); + + m_passwordHasBeenSet = true; + } + + if(jsonValue.ValueExists("username")) + { + m_username = jsonValue.GetString("username"); + + m_usernameHasBeenSet = true; + } + + return *this; +} + +JsonValue UsernamePassword::Jsonize() const +{ + JsonValue payload; + + if(m_passwordHasBeenSet) + { + payload.WithString("password", m_password); + + } + + if(m_usernameHasBeenSet) + { + payload.WithString("username", m_username); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/DSQLClient.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/DSQLClient.h index c80dbb6d07b..bafcd497bf2 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/DSQLClient.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/DSQLClient.h @@ -16,15 +16,14 @@ namespace Aws namespace DSQL { /** - *

    Amazon Aurora DSQL is a serverless, distributed SQL database suitable for - * workloads of any size. Aurora DSQL provides you with a familiar relational - * database experience based on PostgreSQL that lets you get started quickly. - * Aurora DSQL offers reliable multi-AZ database clusters in single and - * multi-Region configurations. Aurora DSQL supports active-active read and write - * to endpoints, so Aurora DSQL is always available even if an Availability Zone or - * if an AWS Region is unavailable. With Aurora DSQL, you don't have to manage, - * patch, or scale any servers to manage, patch, or scale. There are no maintenance - * windows or planned downtime.

    + *

    This is an interface reference for Amazon Aurora DSQL. It contains + * documentation for one of the programming or command line interfaces you can use + * to manage Amazon Aurora DSQL.

    Amazon Aurora DSQL is a serverless, + * distributed SQL database suitable for workloads of any size. Aurora DSQL is + * available in both single-Region and multi-Region configurations, so your + * clusters and databases are always available even if an Availability Zone or an + * Amazon Web Services Region are unavailable. Aurora DSQL lets you focus on using + * your data to acquire new insights for your business and customers.

    */ class AWS_DSQL_API DSQLClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { @@ -85,7 +84,7 @@ namespace DSQL virtual ~DSQLClient(); /** - *

    Create a cluster

    See Also:

    Creates a cluster in Amazon Aurora DSQL.

    See Also:

    AWS * API Reference

    */ @@ -110,7 +109,10 @@ namespace DSQL } /** - *

    Create clusters in multiple regions

    See Also:

    Creates multi-Region clusters in Amazon Aurora DSQL. Multi-Region clusters + * require a linked Region list, which is an array of the Regions in which you want + * to create linked clusters. Multi-Region clusters require a witness Region, which + * participates in quorum in failure scenarios.

    See Also:

    AWS * API Reference

    */ @@ -135,7 +137,7 @@ namespace DSQL } /** - *

    Delete a cluster

    See Also:

    Deletes a cluster in Amazon Aurora DSQL.

    See Also:

    AWS * API Reference

    */ @@ -160,7 +162,8 @@ namespace DSQL } /** - *

    Delete clusters in multiple regions

    See Also:

    Deletes a multi-Region cluster in Amazon Aurora DSQL.

    See + * Also:

    AWS * API Reference

    */ @@ -185,7 +188,7 @@ namespace DSQL } /** - *

    Get a cluster

    See Also:

    Retrieves information about a cluster.

    See Also:

    AWS API * Reference

    */ @@ -210,7 +213,7 @@ namespace DSQL } /** - *

    List clusters

    See Also:

    Retrieves information about a list of clusters.

    See Also:

    AWS * API Reference

    */ @@ -235,7 +238,7 @@ namespace DSQL } /** - *

    List all Tags on an ARN

    See Also:

    Lists all of the tags for a resource.

    See Also:

    AWS * API Reference

    */ @@ -260,8 +263,8 @@ namespace DSQL } /** - *

    Add Tags to an ARN

    See Also:

    AWS + *

    Tags a resource with a map of key and value pairs.

    See Also:

    + *
    AWS * API Reference

    */ virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const; @@ -285,7 +288,7 @@ namespace DSQL } /** - *

    Remove Tags from an ARN

    See Also:

    Removes a tag from a resource.

    See Also:

    AWS * API Reference

    */ @@ -310,7 +313,7 @@ namespace DSQL } /** - *

    Update a cluster

    See Also:

    Updates a cluster.

    See Also:

    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ClusterSummary.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ClusterSummary.h index 9d43fe8c689..28fd0046901 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ClusterSummary.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ClusterSummary.h @@ -24,7 +24,7 @@ namespace Model { /** - *

    Cluster Summary

    See Also:

    A summary of the properties of a cluster.

    See Also:

    AWS * API Reference

    */ @@ -38,7 +38,9 @@ namespace Model ///@{ - + /** + *

    The ID of the cluster.

    + */ inline const Aws::String& GetIdentifier() const{ return m_identifier; } inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } @@ -50,7 +52,9 @@ namespace Model ///@} ///@{ - + /** + *

    The ARN of the cluster.

    + */ inline const Aws::String& GetArn() const{ return m_arn; } inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ConflictException.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ConflictException.h index 62c5e862d51..29cd9e80d82 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ConflictException.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ConflictException.h @@ -24,8 +24,7 @@ namespace Model { /** - *

    Updating or deleting a resource can cause an inconsistent state

    See - * Also:

    The submitted action has conflicts.

    See Also:

    AWS * API Reference

    */ @@ -39,9 +38,7 @@ namespace Model ///@{ - /** - *

    Description of the error

    - */ + inline const Aws::String& GetMessage() const{ return m_message; } inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } @@ -54,7 +51,7 @@ namespace Model ///@{ /** - *

    Identifier of the resource affected

    + *

    Resource Id

    */ inline const Aws::String& GetResourceId() const{ return m_resourceId; } inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } @@ -68,7 +65,7 @@ namespace Model ///@{ /** - *

    Type of the resource affected

    + *

    Resource Type

    */ inline const Aws::String& GetResourceType() const{ return m_resourceType; } inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateClusterRequest.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateClusterRequest.h index dc48b9ccd11..3358bc19070 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateClusterRequest.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateClusterRequest.h @@ -35,7 +35,10 @@ namespace Model ///@{ - + /** + *

    If enabled, you can't delete your cluster. You must first disable this + * property before you can delete your cluster.

    + */ inline bool GetDeletionProtectionEnabled() const{ return m_deletionProtectionEnabled; } inline bool DeletionProtectionEnabledHasBeenSet() const { return m_deletionProtectionEnabledHasBeenSet; } inline void SetDeletionProtectionEnabled(bool value) { m_deletionProtectionEnabledHasBeenSet = true; m_deletionProtectionEnabled = value; } @@ -43,7 +46,9 @@ namespace Model ///@} ///@{ - + /** + *

    A map of key and value pairs to use to tag your cluster.

    + */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } @@ -60,7 +65,15 @@ namespace Model ///@} ///@{ - + /** + *

    A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. Idempotency ensures that an API request completes + * only once. With an idempotent request, if the original request completes + * successfully, the subsequent retries with the same client token return the + * result from the original successful request and they have no additional + * effect.

    If you don't specify a client token, the Amazon Web Services SDK + * automatically generates one.

    + */ inline const Aws::String& GetClientToken() const{ return m_clientToken; } inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateClusterResult.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateClusterResult.h index 1f55b22a68f..4c00658d341 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateClusterResult.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateClusterResult.h @@ -40,7 +40,9 @@ namespace Model ///@{ - + /** + *

    The ID of the created cluster.

    + */ inline const Aws::String& GetIdentifier() const{ return m_identifier; } inline void SetIdentifier(const Aws::String& value) { m_identifier = value; } inline void SetIdentifier(Aws::String&& value) { m_identifier = std::move(value); } @@ -51,7 +53,9 @@ namespace Model ///@} ///@{ - + /** + *

    The ARN of the created cluster.

    + */ inline const Aws::String& GetArn() const{ return m_arn; } inline void SetArn(const Aws::String& value) { m_arn = value; } inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } @@ -62,7 +66,9 @@ namespace Model ///@} ///@{ - + /** + *

    The status of the created cluster.

    + */ inline const ClusterStatus& GetStatus() const{ return m_status; } inline void SetStatus(const ClusterStatus& value) { m_status = value; } inline void SetStatus(ClusterStatus&& value) { m_status = std::move(value); } @@ -71,7 +77,9 @@ namespace Model ///@} ///@{ - + /** + *

    The time of when created the cluster.

    + */ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } @@ -80,7 +88,9 @@ namespace Model ///@} ///@{ - + /** + *

    Whether deletion protection is enabled on this cluster.

    + */ inline bool GetDeletionProtectionEnabled() const{ return m_deletionProtectionEnabled; } inline void SetDeletionProtectionEnabled(bool value) { m_deletionProtectionEnabled = value; } inline CreateClusterResult& WithDeletionProtectionEnabled(bool value) { SetDeletionProtectionEnabled(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateMultiRegionClustersRequest.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateMultiRegionClustersRequest.h index 0ed23d6cc86..f35155c22d2 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateMultiRegionClustersRequest.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateMultiRegionClustersRequest.h @@ -37,7 +37,9 @@ namespace Model ///@{ - + /** + *

    An array of the Regions in which you want to create additional clusters.

    + */ inline const Aws::Vector& GetLinkedRegionList() const{ return m_linkedRegionList; } inline bool LinkedRegionListHasBeenSet() const { return m_linkedRegionListHasBeenSet; } inline void SetLinkedRegionList(const Aws::Vector& value) { m_linkedRegionListHasBeenSet = true; m_linkedRegionList = value; } @@ -50,7 +52,9 @@ namespace Model ///@} ///@{ - + /** + *

    A mapping of properties to use when creating linked clusters.

    + */ inline const Aws::Map& GetClusterProperties() const{ return m_clusterProperties; } inline bool ClusterPropertiesHasBeenSet() const { return m_clusterPropertiesHasBeenSet; } inline void SetClusterProperties(const Aws::Map& value) { m_clusterPropertiesHasBeenSet = true; m_clusterProperties = value; } @@ -66,7 +70,9 @@ namespace Model ///@} ///@{ - + /** + *

    The witness Region of multi-Region clusters.

    + */ inline const Aws::String& GetWitnessRegion() const{ return m_witnessRegion; } inline bool WitnessRegionHasBeenSet() const { return m_witnessRegionHasBeenSet; } inline void SetWitnessRegion(const Aws::String& value) { m_witnessRegionHasBeenSet = true; m_witnessRegion = value; } @@ -78,7 +84,15 @@ namespace Model ///@} ///@{ - + /** + *

    A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. Idempotency ensures that an API request completes + * only once. With an idempotent request, if the original request completes + * successfully. The subsequent retries with the same client token return the + * result from the original successful request and they have no additional + * effect.

    If you don't specify a client token, the Amazon Web Services SDK + * automatically generates one.

    + */ inline const Aws::String& GetClientToken() const{ return m_clientToken; } inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateMultiRegionClustersResult.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateMultiRegionClustersResult.h index e8a185980c5..e92598cdfd7 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateMultiRegionClustersResult.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/CreateMultiRegionClustersResult.h @@ -34,7 +34,9 @@ namespace Model ///@{ - + /** + *

    An array that contains the ARNs of all linked clusters.

    + */ inline const Aws::Vector& GetLinkedClusterArns() const{ return m_linkedClusterArns; } inline void SetLinkedClusterArns(const Aws::Vector& value) { m_linkedClusterArns = value; } inline void SetLinkedClusterArns(Aws::Vector&& value) { m_linkedClusterArns = std::move(value); } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/DeleteClusterRequest.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/DeleteClusterRequest.h index 8a25f95b25a..a103d5f0eb4 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/DeleteClusterRequest.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/DeleteClusterRequest.h @@ -40,7 +40,9 @@ namespace Model ///@{ - + /** + *

    The ID of the cluster to delete.

    + */ inline const Aws::String& GetIdentifier() const{ return m_identifier; } inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } @@ -52,7 +54,15 @@ namespace Model ///@} ///@{ - + /** + *

    A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. Idempotency ensures that an API request completes + * only once. With an idempotent request, if the original request completes + * successfully. The subsequent retries with the same client token return the + * result from the original successful request and they have no additional + * effect.

    If you don't specify a client token, the Amazon Web Services SDK + * automatically generates one.

    + */ inline const Aws::String& GetClientToken() const{ return m_clientToken; } inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/DeleteClusterResult.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/DeleteClusterResult.h index 67276a30536..2321b27e05d 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/DeleteClusterResult.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/DeleteClusterResult.h @@ -40,7 +40,9 @@ namespace Model ///@{ - + /** + *

    The ID of the deleted cluster.

    + */ inline const Aws::String& GetIdentifier() const{ return m_identifier; } inline void SetIdentifier(const Aws::String& value) { m_identifier = value; } inline void SetIdentifier(Aws::String&& value) { m_identifier = std::move(value); } @@ -51,7 +53,9 @@ namespace Model ///@} ///@{ - + /** + *

    The ARN of the deleted cluster.

    + */ inline const Aws::String& GetArn() const{ return m_arn; } inline void SetArn(const Aws::String& value) { m_arn = value; } inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } @@ -62,7 +66,9 @@ namespace Model ///@} ///@{ - + /** + *

    The status of the cluster.

    + */ inline const ClusterStatus& GetStatus() const{ return m_status; } inline void SetStatus(const ClusterStatus& value) { m_status = value; } inline void SetStatus(ClusterStatus&& value) { m_status = std::move(value); } @@ -71,7 +77,9 @@ namespace Model ///@} ///@{ - + /** + *

    The time of when the cluster was created.

    + */ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } @@ -80,7 +88,9 @@ namespace Model ///@} ///@{ - + /** + *

    Specifies whether deletion protection was enabled on the cluster.

    + */ inline bool GetDeletionProtectionEnabled() const{ return m_deletionProtectionEnabled; } inline void SetDeletionProtectionEnabled(bool value) { m_deletionProtectionEnabled = value; } inline DeleteClusterResult& WithDeletionProtectionEnabled(bool value) { SetDeletionProtectionEnabled(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/DeleteMultiRegionClustersRequest.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/DeleteMultiRegionClustersRequest.h index ab8616342f5..fe5931769b3 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/DeleteMultiRegionClustersRequest.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/DeleteMultiRegionClustersRequest.h @@ -41,7 +41,10 @@ namespace Model ///@{ - + /** + *

    The ARNs of the clusters linked to the cluster you want to delete. also + * deletes these clusters as part of the operation.

    + */ inline const Aws::Vector& GetLinkedClusterArns() const{ return m_linkedClusterArns; } inline bool LinkedClusterArnsHasBeenSet() const { return m_linkedClusterArnsHasBeenSet; } inline void SetLinkedClusterArns(const Aws::Vector& value) { m_linkedClusterArnsHasBeenSet = true; m_linkedClusterArns = value; } @@ -54,7 +57,15 @@ namespace Model ///@} ///@{ - + /** + *

    A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. Idempotency ensures that an API request completes + * only once. With an idempotent request, if the original request completes + * successfully. The subsequent retries with the same client token return the + * result from the original successful request and they have no additional + * effect.

    If you don't specify a client token, the Amazon Web Services SDK + * automatically generates one.

    + */ inline const Aws::String& GetClientToken() const{ return m_clientToken; } inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/GetClusterRequest.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/GetClusterRequest.h index b121e10ebe5..62f63384963 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/GetClusterRequest.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/GetClusterRequest.h @@ -33,7 +33,9 @@ namespace Model ///@{ - + /** + *

    The ID of the cluster to retrieve.

    + */ inline const Aws::String& GetIdentifier() const{ return m_identifier; } inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/GetClusterResult.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/GetClusterResult.h index 5e3b1c07135..c4fef2675cc 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/GetClusterResult.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/GetClusterResult.h @@ -41,7 +41,9 @@ namespace Model ///@{ - + /** + *

    The ID of the retrieved cluster.

    + */ inline const Aws::String& GetIdentifier() const{ return m_identifier; } inline void SetIdentifier(const Aws::String& value) { m_identifier = value; } inline void SetIdentifier(Aws::String&& value) { m_identifier = std::move(value); } @@ -52,7 +54,9 @@ namespace Model ///@} ///@{ - + /** + *

    The ARN of the retrieved cluster.

    + */ inline const Aws::String& GetArn() const{ return m_arn; } inline void SetArn(const Aws::String& value) { m_arn = value; } inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } @@ -63,7 +67,9 @@ namespace Model ///@} ///@{ - + /** + *

    The status of the retrieved cluster.

    + */ inline const ClusterStatus& GetStatus() const{ return m_status; } inline void SetStatus(const ClusterStatus& value) { m_status = value; } inline void SetStatus(ClusterStatus&& value) { m_status = std::move(value); } @@ -72,7 +78,9 @@ namespace Model ///@} ///@{ - + /** + *

    The time of when the cluster was created.

    + */ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } @@ -81,14 +89,19 @@ namespace Model ///@} ///@{ - + /** + *

    Whether deletion protection is enabled in this cluster.

    + */ inline bool GetDeletionProtectionEnabled() const{ return m_deletionProtectionEnabled; } inline void SetDeletionProtectionEnabled(bool value) { m_deletionProtectionEnabled = value; } inline GetClusterResult& WithDeletionProtectionEnabled(bool value) { SetDeletionProtectionEnabled(value); return *this;} ///@} ///@{ - + /** + *

    The witness Region of the cluster. Applicable only for multi-Region + * clusters.

    + */ inline const Aws::String& GetWitnessRegion() const{ return m_witnessRegion; } inline void SetWitnessRegion(const Aws::String& value) { m_witnessRegion = value; } inline void SetWitnessRegion(Aws::String&& value) { m_witnessRegion = std::move(value); } @@ -99,7 +112,9 @@ namespace Model ///@} ///@{ - + /** + *

    The ARNs of the clusters linked to the retrieved cluster.

    + */ inline const Aws::Vector& GetLinkedClusterArns() const{ return m_linkedClusterArns; } inline void SetLinkedClusterArns(const Aws::Vector& value) { m_linkedClusterArns = value; } inline void SetLinkedClusterArns(Aws::Vector&& value) { m_linkedClusterArns = std::move(value); } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/InternalServerException.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/InternalServerException.h index 38b6c44008c..3a7f002216e 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/InternalServerException.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/InternalServerException.h @@ -24,7 +24,8 @@ namespace Model { /** - *

    Unexpected error during processing of request

    See Also:

    The request processing has failed because of an unknown error, exception or + * failure.

    See Also:

    AWS * API Reference

    */ @@ -38,9 +39,7 @@ namespace Model ///@{ - /** - *

    Description of the error

    - */ + inline const Aws::String& GetMessage() const{ return m_message; } inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } @@ -53,7 +52,7 @@ namespace Model ///@{ /** - *

    Advice to clients on when the call can be safely retried

    + *

    Retry after seconds.

    */ inline int GetRetryAfterSeconds() const{ return m_retryAfterSeconds; } inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/LinkedClusterProperties.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/LinkedClusterProperties.h index f3902884346..2b105804acf 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/LinkedClusterProperties.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/LinkedClusterProperties.h @@ -25,7 +25,7 @@ namespace Model { /** - *

    Linked Cluster Properties

    See Also:

    Properties of linked clusters.

    See Also:

    AWS * API Reference

    */ @@ -39,7 +39,9 @@ namespace Model ///@{ - + /** + *

    Whether deletion protection is enabled.

    + */ inline bool GetDeletionProtectionEnabled() const{ return m_deletionProtectionEnabled; } inline bool DeletionProtectionEnabledHasBeenSet() const { return m_deletionProtectionEnabledHasBeenSet; } inline void SetDeletionProtectionEnabled(bool value) { m_deletionProtectionEnabledHasBeenSet = true; m_deletionProtectionEnabled = value; } @@ -47,7 +49,9 @@ namespace Model ///@} ///@{ - + /** + *

    A map of key and value pairs the linked cluster is tagged with.

    + */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListClustersRequest.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListClustersRequest.h index 62577e6d975..8a4a0ed3156 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListClustersRequest.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListClustersRequest.h @@ -39,7 +39,10 @@ namespace Model ///@{ - + /** + *

    An optional parameter that specifies the maximum number of results to return. + * You can use nextToken to display the next 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; } @@ -47,7 +50,11 @@ namespace Model ///@} ///@{ - + /** + *

    If your initial ListClusters operation returns a nextToken, you can include + * the returned nextToken in following ListClusters operations, which returns + * results in the next page.

    + */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListClustersResult.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListClustersResult.h index 4f30546ddeb..d64a1bf926a 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListClustersResult.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListClustersResult.h @@ -35,7 +35,11 @@ namespace Model ///@{ - + /** + *

    If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. To retrieve the next page, + * make the call again using the returned token.

    + */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } @@ -46,7 +50,9 @@ namespace Model ///@} ///@{ - + /** + *

    An array of the returned clusters.

    + */ inline const Aws::Vector& GetClusters() const{ return m_clusters; } inline void SetClusters(const Aws::Vector& value) { m_clusters = value; } inline void SetClusters(Aws::Vector&& value) { m_clusters = std::move(value); } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListTagsForResourceRequest.h index 3ec46e1a23a..f88e5fffeb9 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListTagsForResourceRequest.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListTagsForResourceRequest.h @@ -33,7 +33,9 @@ namespace Model ///@{ - + /** + *

    The ARN of the resource for which you want to list the tags.

    + */ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListTagsForResourceResult.h index f92b77b1b46..ebdac7dfef5 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListTagsForResourceResult.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ListTagsForResourceResult.h @@ -34,7 +34,9 @@ namespace Model ///@{ - + /** + *

    A map of key and value pairs that you used to tag your resource.

    + */ inline const Aws::Map& GetTags() const{ return m_tags; } inline void SetTags(const Aws::Map& value) { m_tags = value; } inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ResourceNotFoundException.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ResourceNotFoundException.h index c2c37dd179f..79c566fc8ff 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ResourceNotFoundException.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ResourceNotFoundException.h @@ -24,8 +24,7 @@ namespace Model { /** - *

    Request references a resource which does not exist

    See Also:

    - * The resource could not be found.

    See Also:

    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ServiceQuotaExceededException.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ServiceQuotaExceededException.h index aab395bdf24..c506d0e7d5c 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ServiceQuotaExceededException.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ServiceQuotaExceededException.h @@ -24,8 +24,7 @@ namespace Model { /** - *

    Request would cause a service quota to be exceeded

    See Also:

    - * The service limit was exceeded.

    See Also:

    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/TagResourceRequest.h index 734ae4e802a..72d6d189220 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/TagResourceRequest.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/TagResourceRequest.h @@ -34,7 +34,9 @@ namespace Model ///@{ - + /** + *

    The ARN of the resource that you want to tag.

    + */ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } @@ -46,7 +48,9 @@ namespace Model ///@} ///@{ - + /** + *

    A map of key and value pairs to use to tag your resource.

    + */ inline const Aws::Map& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ThrottlingException.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ThrottlingException.h index e276c7abe48..fd04066b109 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ThrottlingException.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ThrottlingException.h @@ -24,7 +24,8 @@ namespace Model { /** - *

    Request was denied due to request throttling

    See Also:

    The request was denied due to request throttling.

    See Also:

    + *
    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/UntagResourceRequest.h index 480244fc5c4..f2e626eca06 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/UntagResourceRequest.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/UntagResourceRequest.h @@ -40,7 +40,9 @@ namespace Model ///@{ - + /** + *

    The ARN of the resource from which to remove tags.

    + */ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } @@ -52,7 +54,9 @@ namespace Model ///@} ///@{ - + /** + *

    The array of 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; } inline void SetTagKeys(const Aws::Vector& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/UpdateClusterRequest.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/UpdateClusterRequest.h index 13df04bbbde..7634027e38b 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/UpdateClusterRequest.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/UpdateClusterRequest.h @@ -34,7 +34,9 @@ namespace Model ///@{ - + /** + *

    The ID of the cluster you want to update.

    + */ inline const Aws::String& GetIdentifier() const{ return m_identifier; } inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } @@ -46,7 +48,9 @@ namespace Model ///@} ///@{ - + /** + *

    Specifies whether to enable deletion protection in your cluster.

    + */ inline bool GetDeletionProtectionEnabled() const{ return m_deletionProtectionEnabled; } inline bool DeletionProtectionEnabledHasBeenSet() const { return m_deletionProtectionEnabledHasBeenSet; } inline void SetDeletionProtectionEnabled(bool value) { m_deletionProtectionEnabledHasBeenSet = true; m_deletionProtectionEnabled = value; } @@ -54,7 +58,15 @@ namespace Model ///@} ///@{ - + /** + *

    A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. Idempotency ensures that an API request completes + * only once. With an idempotent request, if the original request completes + * successfully. The subsequent retries with the same client token return the + * result from the original successful request and they have no additional + * effect.

    If you don't specify a client token, the Amazon Web Services SDK + * automatically generates one.

    + */ inline const Aws::String& GetClientToken() const{ return m_clientToken; } inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/UpdateClusterResult.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/UpdateClusterResult.h index 2e05a2db71f..37e2ca23a64 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/UpdateClusterResult.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/UpdateClusterResult.h @@ -41,7 +41,9 @@ namespace Model ///@{ - + /** + *

    The ID of the cluster to update.

    + */ inline const Aws::String& GetIdentifier() const{ return m_identifier; } inline void SetIdentifier(const Aws::String& value) { m_identifier = value; } inline void SetIdentifier(Aws::String&& value) { m_identifier = std::move(value); } @@ -52,7 +54,9 @@ namespace Model ///@} ///@{ - + /** + *

    The ARN of the updated cluster.

    + */ inline const Aws::String& GetArn() const{ return m_arn; } inline void SetArn(const Aws::String& value) { m_arn = value; } inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } @@ -63,7 +67,9 @@ namespace Model ///@} ///@{ - + /** + *

    The status of the updated cluster.

    + */ inline const ClusterStatus& GetStatus() const{ return m_status; } inline void SetStatus(const ClusterStatus& value) { m_status = value; } inline void SetStatus(ClusterStatus&& value) { m_status = std::move(value); } @@ -72,7 +78,9 @@ namespace Model ///@} ///@{ - + /** + *

    The time of when the cluster was created.

    + */ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } @@ -81,14 +89,18 @@ namespace Model ///@} ///@{ - + /** + *

    Whether deletion protection is enabled for the updated cluster.

    + */ inline bool GetDeletionProtectionEnabled() const{ return m_deletionProtectionEnabled; } inline void SetDeletionProtectionEnabled(bool value) { m_deletionProtectionEnabled = value; } inline UpdateClusterResult& WithDeletionProtectionEnabled(bool value) { SetDeletionProtectionEnabled(value); return *this;} ///@} ///@{ - + /** + *

    The Region that receives all data you write to linked clusters.

    + */ inline const Aws::String& GetWitnessRegion() const{ return m_witnessRegion; } inline void SetWitnessRegion(const Aws::String& value) { m_witnessRegion = value; } inline void SetWitnessRegion(Aws::String&& value) { m_witnessRegion = std::move(value); } @@ -99,7 +111,10 @@ namespace Model ///@} ///@{ - + /** + *

    The ARNs of the clusters linked to the updated cluster. Applicable only for + * multi-Region clusters.

    + */ inline const Aws::Vector& GetLinkedClusterArns() const{ return m_linkedClusterArns; } inline void SetLinkedClusterArns(const Aws::Vector& value) { m_linkedClusterArns = value; } inline void SetLinkedClusterArns(Aws::Vector&& value) { m_linkedClusterArns = std::move(value); } diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ValidationException.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ValidationException.h index d9adfe4fa51..62ab7a65f38 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ValidationException.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ValidationException.h @@ -27,8 +27,8 @@ namespace Model { /** - *

    The input fails to satisfy the constraints specified by an AWS - * service

    See Also:

    The input failed to satisfy the constraints specified by an Amazon Web + * Services service.

    See Also:

    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ValidationExceptionField.h b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ValidationExceptionField.h index c2af28513be..a0f70036d1b 100644 --- a/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ValidationExceptionField.h +++ b/generated/src/aws-cpp-sdk-dsql/include/aws/dsql/model/ValidationExceptionField.h @@ -24,7 +24,8 @@ namespace Model { /** - *

    A field that caused the error

    See Also:

    Stores information about a field passed inside a request that resulted in an + * validation error.

    See Also:

    AWS * API Reference

    */ @@ -39,7 +40,7 @@ namespace Model ///@{ /** - *

    The field name

    + *

    The name of the field.

    */ inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } @@ -53,7 +54,7 @@ namespace Model ///@{ /** - *

    Message describing why the field failed validation

    + *

    A message describing why this field failed validation.

    */ inline const Aws::String& GetMessage() const{ return m_message; } inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-dsql/source/DSQLEndpointRules.cpp b/generated/src/aws-cpp-sdk-dsql/source/DSQLEndpointRules.cpp index 8991a7df7ce..bd998a294cf 100644 --- a/generated/src/aws-cpp-sdk-dsql/source/DSQLEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-dsql/source/DSQLEndpointRules.cpp @@ -10,160 +10,76 @@ namespace Aws { namespace DSQL { -const size_t DSQLEndpointRules::RulesBlobStrLen = 3716; -const size_t DSQLEndpointRules::RulesBlobSize = 3717; +const size_t DSQLEndpointRules::RulesBlobStrLen = 1620; +const size_t DSQLEndpointRules::RulesBlobSize = 1621; 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',':','/','/','d','s','q','l','-','f','i','p','s','.','{','R','e','g','i','o', +'e','r','s','"',':','{','"','U','s','e','F','I','P','S','"',':','{','"','b','u','i','l','t','I','n', +'"',':','"','A','W','S',':',':','U','s','e','F','I','P','S','"',',','"','r','e','q','u','i','r','e', +'d','"',':','t','r','u','e',',','"','d','e','f','a','u','l','t','"',':','f','a','l','s','e',',','"', +'d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"','W','h','e','n',' ','t','r','u','e', +',',' ','s','e','n','d',' ','t','h','i','s',' ','r','e','q','u','e','s','t',' ','t','o',' ','t','h', +'e',' ','F','I','P','S','-','c','o','m','p','l','i','a','n','t',' ','r','e','g','i','o','n','a','l', +' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ','t','h','e',' ','c','o','n','f','i','g','u', +'r','e','d',' ','e','n','d','p','o','i','n','t',' ','d','o','e','s',' ','n','o','t',' ','h','a','v', +'e',' ','a',' ','F','I','P','S',' ','c','o','m','p','l','i','a','n','t',' ','e','n','d','p','o','i', +'n','t',',',' ','d','i','s','p','a','t','c','h','i','n','g',' ','t','h','e',' ','r','e','q','u','e', +'s','t',' ','w','i','l','l',' ','r','e','t','u','r','n',' ','a','n',' ','e','r','r','o','r','.','"', +',','"','t','y','p','e','"',':','"','B','o','o','l','e','a','n','"','}',',','"','E','n','d','p','o', +'i','n','t','"',':','{','"','b','u','i','l','t','I','n','"',':','"','S','D','K',':',':','E','n','d', +'p','o','i','n','t','"',',','"','r','e','q','u','i','r','e','d','"',':','f','a','l','s','e',',','"', +'d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"','O','v','e','r','r','i','d','e',' ', +'t','h','e',' ','e','n','d','p','o','i','n','t',' ','u','s','e','d',' ','t','o',' ','s','e','n','d', +' ','t','h','i','s',' ','r','e','q','u','e','s','t','"',',','"','t','y','p','e','"',':','"','S','t', +'r','i','n','g','"','}',',','"','R','e','g','i','o','n','"',':','{','"','b','u','i','l','t','I','n', +'"',':','"','A','W','S',':',':','R','e','g','i','o','n','"',',','"','r','e','q','u','i','r','e','d', +'"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"', +'T','h','e',' ','A','W','S',' ','r','e','g','i','o','n',' ','u','s','e','d',' ','t','o',' ','d','i', +'s','p','a','t','c','h',' ','t','h','e',' ','r','e','q','u','e','s','t','.','"',',','"','t','y','p', +'e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s','"',':','[','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t', +'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n', +'t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', +'o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P', +'S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a', +'l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a', +'n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o', +'t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o', +'r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d', +'p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d', +'p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', +'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', +'o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e', +'t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n', +'"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n', +'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"', +'}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s', +'u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', +'o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P', +'S','"','}',',','t','r','u','e',']','}',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"', +'u','r','l','"',':','"','h','t','t','p','s',':','/','/','d','s','q','l','-','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','"','}',',','{','"','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',':','/','/','d','s','q','l','.','{','R','e','g','i','o', 'n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S', 't','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i', 'e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p', 'e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t', 'r','e','e','"','}',']',',','"','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',':','/','/','d','s','q','l','-','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',':','/','/','d', -'s','q','l','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e', -'s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"', -',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s', -'"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','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', -':','/','/','d','s','q','l','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o', -'p','e','r','t','i','e','s','"',':','{','}',',','"','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' +'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* DSQLEndpointRules::GetRulesBlob() diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBErrors.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBErrors.h index 2a1559ff8f7..276d3c8e091 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBErrors.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBErrors.h @@ -67,6 +67,7 @@ enum class DynamoDBErrors POINT_IN_TIME_RECOVERY_UNAVAILABLE, POLICY_NOT_FOUND, PROVISIONED_THROUGHPUT_EXCEEDED, + REPLICATED_WRITE_CONFLICT, REPLICA_ALREADY_EXISTS, REPLICA_NOT_FOUND, REQUEST_LIMIT_EXCEEDED, diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/MultiRegionConsistency.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/MultiRegionConsistency.h new file mode 100644 index 00000000000..9dc0e740891 --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/MultiRegionConsistency.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DynamoDB +{ +namespace Model +{ + enum class MultiRegionConsistency + { + NOT_SET, + EVENTUAL, + STRONG + }; + +namespace MultiRegionConsistencyMapper +{ +AWS_DYNAMODB_API MultiRegionConsistency GetMultiRegionConsistencyForName(const Aws::String& name); + +AWS_DYNAMODB_API Aws::String GetNameForMultiRegionConsistency(MultiRegionConsistency value); +} // namespace MultiRegionConsistencyMapper +} // namespace Model +} // namespace DynamoDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/TableDescription.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/TableDescription.h index 18d1dc67546..3fed93d21c7 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/TableDescription.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/TableDescription.h @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -495,6 +496,28 @@ namespace Model inline TableDescription& WithWarmThroughput(const TableWarmThroughputDescription& value) { SetWarmThroughput(value); return *this;} inline TableDescription& WithWarmThroughput(TableWarmThroughputDescription&& value) { SetWarmThroughput(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    Indicates one of the following consistency modes for a global table:

      + *
    • EVENTUAL: Indicates that the global table is configured + * for multi-Region eventual consistency.

    • STRONG: + * Indicates that the global table is configured for multi-Region strong + * consistency (preview).

      Multi-Region strong consistency (MRSC) is a + * new DynamoDB global tables capability currently available in preview mode. For + * more information, see Global + * tables multi-Region strong consistency.

    If you + * don't specify this field, the global table consistency mode defaults to + * EVENTUAL.

    + */ + inline const MultiRegionConsistency& GetMultiRegionConsistency() const{ return m_multiRegionConsistency; } + inline bool MultiRegionConsistencyHasBeenSet() const { return m_multiRegionConsistencyHasBeenSet; } + inline void SetMultiRegionConsistency(const MultiRegionConsistency& value) { m_multiRegionConsistencyHasBeenSet = true; m_multiRegionConsistency = value; } + inline void SetMultiRegionConsistency(MultiRegionConsistency&& value) { m_multiRegionConsistencyHasBeenSet = true; m_multiRegionConsistency = std::move(value); } + inline TableDescription& WithMultiRegionConsistency(const MultiRegionConsistency& value) { SetMultiRegionConsistency(value); return *this;} + inline TableDescription& WithMultiRegionConsistency(MultiRegionConsistency&& value) { SetMultiRegionConsistency(std::move(value)); return *this;} + ///@} private: Aws::Vector m_attributeDefinitions; @@ -571,6 +594,9 @@ namespace Model TableWarmThroughputDescription m_warmThroughput; bool m_warmThroughputHasBeenSet = false; + + MultiRegionConsistency m_multiRegionConsistency; + bool m_multiRegionConsistencyHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTableRequest.h b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTableRequest.h index 312ca0c0129..e5300a3563e 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTableRequest.h +++ b/generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/UpdateTableRequest.h @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -207,6 +208,33 @@ namespace Model inline UpdateTableRequest& WithDeletionProtectionEnabled(bool value) { SetDeletionProtectionEnabled(value); return *this;} ///@} + ///@{ + /** + *

    Specifies the consistency mode for a new global table. This parameter is only + * valid when you create a global table by specifying one or more Create + * actions in the ReplicaUpdates + * action list.

    You can specify one of the following consistency modes:

    + *
    • EVENTUAL: Configures a new global table for + * multi-Region eventual consistency. This is the default consistency mode for + * global tables.

    • STRONG: Configures a new global + * table for multi-Region strong consistency (preview).

      Multi-Region + * strong consistency (MRSC) is a new DynamoDB global tables capability currently + * available in preview mode. For more information, see Global + * tables multi-Region strong consistency.

    If you + * don't specify this parameter, the global table consistency mode defaults to + * EVENTUAL.

    + */ + inline const MultiRegionConsistency& GetMultiRegionConsistency() const{ return m_multiRegionConsistency; } + inline bool MultiRegionConsistencyHasBeenSet() const { return m_multiRegionConsistencyHasBeenSet; } + inline void SetMultiRegionConsistency(const MultiRegionConsistency& value) { m_multiRegionConsistencyHasBeenSet = true; m_multiRegionConsistency = value; } + inline void SetMultiRegionConsistency(MultiRegionConsistency&& value) { m_multiRegionConsistencyHasBeenSet = true; m_multiRegionConsistency = std::move(value); } + inline UpdateTableRequest& WithMultiRegionConsistency(const MultiRegionConsistency& value) { SetMultiRegionConsistency(value); return *this;} + inline UpdateTableRequest& WithMultiRegionConsistency(MultiRegionConsistency&& value) { SetMultiRegionConsistency(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Updates the maximum number of read and write units for the specified table in @@ -266,6 +294,9 @@ namespace Model bool m_deletionProtectionEnabled; bool m_deletionProtectionEnabledHasBeenSet = false; + MultiRegionConsistency m_multiRegionConsistency; + bool m_multiRegionConsistencyHasBeenSet = false; + OnDemandThroughput m_onDemandThroughput; bool m_onDemandThroughputHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBEndpointRules.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBEndpointRules.cpp index 3a277786640..d83691eb9db 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBEndpointRules.cpp @@ -108,9 +108,9 @@ static constexpr RulesBlobT RulesBlob = {{ 'o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"', ':','"','h','t','t','p',':','/','/','l','o','c','a','l','h','o','s','t',':','8','0','0','0','"',',', '"','p','r','o','p','e','r','t','i','e','s','"',':','{','"','a','u','t','h','S','c','h','e','m','e', -'s','"',':','[','{','"','n','a','m','e','"',':','"','s','i','g','v','4','"',',','"','s','i','g','n', -'i','n','g','N','a','m','e','"',':','"','d','y','n','a','m','o','d','b','"',',','"','s','i','g','n', -'i','n','g','R','e','g','i','o','n','"',':','"','u','s','-','e','a','s','t','-','1','"','}',']','}', +'s','"',':','[','{','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','u','s','-', +'e','a','s','t','-','1','"',',','"','s','i','g','n','i','n','g','N','a','m','e','"',':','"','d','y', +'n','a','m','o','d','b','"',',','"','n','a','m','e','"',':','"','s','i','g','v','4','"','}',']','}', ',','"','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', diff --git a/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBErrors.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBErrors.cpp index f6281ed997a..0178173f6ee 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBErrors.cpp +++ b/generated/src/aws-cpp-sdk-dynamodb/source/DynamoDBErrors.cpp @@ -44,6 +44,7 @@ static const int TABLE_NOT_FOUND_HASH = HashingUtils::HashString("TableNotFoundE static const int EXPORT_NOT_FOUND_HASH = HashingUtils::HashString("ExportNotFoundException"); static const int TRANSACTION_IN_PROGRESS_HASH = HashingUtils::HashString("TransactionInProgressException"); static const int BACKUP_IN_USE_HASH = HashingUtils::HashString("BackupInUseException"); +static const int REPLICATED_WRITE_CONFLICT_HASH = HashingUtils::HashString("ReplicatedWriteConflictException"); static const int CONTINUOUS_BACKUPS_UNAVAILABLE_HASH = HashingUtils::HashString("ContinuousBackupsUnavailableException"); static const int TABLE_IN_USE_HASH = HashingUtils::HashString("TableInUseException"); static const int PROVISIONED_THROUGHPUT_EXCEEDED_HASH = HashingUtils::HashString("ProvisionedThroughputExceededException"); @@ -113,6 +114,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(DynamoDBErrors::BACKUP_IN_USE), RetryableType::NOT_RETRYABLE); } + else if (hashCode == REPLICATED_WRITE_CONFLICT_HASH) + { + return AWSError(static_cast(DynamoDBErrors::REPLICATED_WRITE_CONFLICT), RetryableType::NOT_RETRYABLE); + } else if (hashCode == CONTINUOUS_BACKUPS_UNAVAILABLE_HASH) { return AWSError(static_cast(DynamoDBErrors::CONTINUOUS_BACKUPS_UNAVAILABLE), RetryableType::NOT_RETRYABLE); diff --git a/generated/src/aws-cpp-sdk-dynamodb/source/model/MultiRegionConsistency.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/model/MultiRegionConsistency.cpp new file mode 100644 index 00000000000..b568fda6e28 --- /dev/null +++ b/generated/src/aws-cpp-sdk-dynamodb/source/model/MultiRegionConsistency.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DynamoDB + { + namespace Model + { + namespace MultiRegionConsistencyMapper + { + + static const int EVENTUAL_HASH = HashingUtils::HashString("EVENTUAL"); + static const int STRONG_HASH = HashingUtils::HashString("STRONG"); + + + MultiRegionConsistency GetMultiRegionConsistencyForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == EVENTUAL_HASH) + { + return MultiRegionConsistency::EVENTUAL; + } + else if (hashCode == STRONG_HASH) + { + return MultiRegionConsistency::STRONG; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return MultiRegionConsistency::NOT_SET; + } + + Aws::String GetNameForMultiRegionConsistency(MultiRegionConsistency enumValue) + { + switch(enumValue) + { + case MultiRegionConsistency::NOT_SET: + return {}; + case MultiRegionConsistency::EVENTUAL: + return "EVENTUAL"; + case MultiRegionConsistency::STRONG: + return "STRONG"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace MultiRegionConsistencyMapper + } // namespace Model + } // namespace DynamoDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-dynamodb/source/model/TableDescription.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/model/TableDescription.cpp index 2bb7e3ae93e..6b54660abfe 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/source/model/TableDescription.cpp +++ b/generated/src/aws-cpp-sdk-dynamodb/source/model/TableDescription.cpp @@ -47,7 +47,9 @@ TableDescription::TableDescription() : m_deletionProtectionEnabled(false), m_deletionProtectionEnabledHasBeenSet(false), m_onDemandThroughputHasBeenSet(false), - m_warmThroughputHasBeenSet(false) + m_warmThroughputHasBeenSet(false), + m_multiRegionConsistency(MultiRegionConsistency::NOT_SET), + m_multiRegionConsistencyHasBeenSet(false) { } @@ -249,6 +251,13 @@ TableDescription& TableDescription::operator =(JsonView jsonValue) m_warmThroughputHasBeenSet = true; } + if(jsonValue.ValueExists("MultiRegionConsistency")) + { + m_multiRegionConsistency = MultiRegionConsistencyMapper::GetMultiRegionConsistencyForName(jsonValue.GetString("MultiRegionConsistency")); + + m_multiRegionConsistencyHasBeenSet = true; + } + return *this; } @@ -429,6 +438,11 @@ JsonValue TableDescription::Jsonize() const } + if(m_multiRegionConsistencyHasBeenSet) + { + payload.WithString("MultiRegionConsistency", MultiRegionConsistencyMapper::GetNameForMultiRegionConsistency(m_multiRegionConsistency)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-dynamodb/source/model/UpdateTableRequest.cpp b/generated/src/aws-cpp-sdk-dynamodb/source/model/UpdateTableRequest.cpp index 86c851cfb7c..803fa4d7a0d 100644 --- a/generated/src/aws-cpp-sdk-dynamodb/source/model/UpdateTableRequest.cpp +++ b/generated/src/aws-cpp-sdk-dynamodb/source/model/UpdateTableRequest.cpp @@ -26,6 +26,8 @@ UpdateTableRequest::UpdateTableRequest() : m_tableClassHasBeenSet(false), m_deletionProtectionEnabled(false), m_deletionProtectionEnabledHasBeenSet(false), + m_multiRegionConsistency(MultiRegionConsistency::NOT_SET), + m_multiRegionConsistencyHasBeenSet(false), m_onDemandThroughputHasBeenSet(false), m_warmThroughputHasBeenSet(false) { @@ -108,6 +110,11 @@ Aws::String UpdateTableRequest::SerializePayload() const } + if(m_multiRegionConsistencyHasBeenSet) + { + payload.WithString("MultiRegionConsistency", MultiRegionConsistencyMapper::GetNameForMultiRegionConsistency(m_multiRegionConsistency)); + } + if(m_onDemandThroughputHasBeenSet) { payload.WithObject("OnDemandThroughput", m_onDemandThroughput.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueClient.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueClient.h index e37c51d1002..fcb1ad45161 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueClient.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/GlueClient.h @@ -726,6 +726,31 @@ namespace Glue return SubmitAsync(&GlueClient::CreateBlueprint, request, handler, context); } + /** + *

    Creates a new catalog in the Glue Data Catalog.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateCatalogOutcome CreateCatalog(const Model::CreateCatalogRequest& request) const; + + /** + * A Callable wrapper for CreateCatalog that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateCatalogOutcomeCallable CreateCatalogCallable(const CreateCatalogRequestT& request) const + { + return SubmitCallable(&GlueClient::CreateCatalog, request); + } + + /** + * An Async wrapper for CreateCatalog that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateCatalogAsync(const CreateCatalogRequestT& request, const CreateCatalogResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::CreateCatalog, request, handler, context); + } + /** *

    Creates a classifier in the user's account. This can be a * GrokClassifier, an XMLClassifier, a @@ -941,6 +966,96 @@ namespace Glue return SubmitAsync(&GlueClient::CreateDevEndpoint, request, handler, context); } + /** + *

    Creates a Zero-ETL integration in the caller's account between two resources + * with Amazon Resource Names (ARNs): the SourceArn and + * TargetArn.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateIntegrationOutcome CreateIntegration(const Model::CreateIntegrationRequest& request) const; + + /** + * A Callable wrapper for CreateIntegration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateIntegrationOutcomeCallable CreateIntegrationCallable(const CreateIntegrationRequestT& request) const + { + return SubmitCallable(&GlueClient::CreateIntegration, request); + } + + /** + * An Async wrapper for CreateIntegration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateIntegrationAsync(const CreateIntegrationRequestT& request, const CreateIntegrationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::CreateIntegration, request, handler, context); + } + + /** + *

    This API can be used for setting up the ResourceProperty of the + * Glue connection (for the source) or Glue database ARN (for the target). These + * properties can include the role to access the connection or database. To set + * both source and target properties the same API needs to be invoked with the Glue + * connection ARN as ResourceArn with + * SourceProcessingProperties and the Glue database ARN as + * ResourceArn with TargetProcessingProperties + * respectively.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateIntegrationResourcePropertyOutcome CreateIntegrationResourceProperty(const Model::CreateIntegrationResourcePropertyRequest& request) const; + + /** + * A Callable wrapper for CreateIntegrationResourceProperty that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateIntegrationResourcePropertyOutcomeCallable CreateIntegrationResourcePropertyCallable(const CreateIntegrationResourcePropertyRequestT& request) const + { + return SubmitCallable(&GlueClient::CreateIntegrationResourceProperty, request); + } + + /** + * An Async wrapper for CreateIntegrationResourceProperty that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateIntegrationResourcePropertyAsync(const CreateIntegrationResourcePropertyRequestT& request, const CreateIntegrationResourcePropertyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::CreateIntegrationResourceProperty, request, handler, context); + } + + /** + *

    This API is used to provide optional override properties for the the tables + * that need to be replicated. These properties can include properties for + * filtering and partitioning for the source and target tables. To set both source + * and target properties the same API need to be invoked with the Glue connection + * ARN as ResourceArn with SourceTableConfig, and the + * Glue database ARN as ResourceArn with + * TargetTableConfig respectively.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateIntegrationTablePropertiesOutcome CreateIntegrationTableProperties(const Model::CreateIntegrationTablePropertiesRequest& request) const; + + /** + * A Callable wrapper for CreateIntegrationTableProperties that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateIntegrationTablePropertiesOutcomeCallable CreateIntegrationTablePropertiesCallable(const CreateIntegrationTablePropertiesRequestT& request) const + { + return SubmitCallable(&GlueClient::CreateIntegrationTableProperties, request); + } + + /** + * An Async wrapper for CreateIntegrationTableProperties that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateIntegrationTablePropertiesAsync(const CreateIntegrationTablePropertiesRequestT& request, const CreateIntegrationTablePropertiesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::CreateIntegrationTableProperties, request, handler, context); + } + /** *

    Creates a new job definition.

    See Also:

    AWS API @@ -1373,6 +1488,42 @@ namespace Glue return SubmitAsync(&GlueClient::DeleteBlueprint, request, handler, context); } + /** + *

    Removes the specified catalog from the Glue Data Catalog.

    After + * completing this operation, you no longer have access to the databases, tables + * (and all table versions and partitions that might belong to the tables) and the + * user-defined functions in the deleted catalog. Glue deletes these "orphaned" + * resources asynchronously in a timely manner, at the discretion of the + * service.

    To ensure the immediate deletion of all related resources before + * calling the DeleteCatalog operation, use + * DeleteTableVersion (or BatchDeleteTableVersion), + * DeletePartition (or BatchDeletePartition), + * DeleteTable (or BatchDeleteTable), + * DeleteUserDefinedFunction and DeleteDatabase to delete + * any resources that belong to the catalog.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteCatalogOutcome DeleteCatalog(const Model::DeleteCatalogRequest& request) const; + + /** + * A Callable wrapper for DeleteCatalog that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteCatalogOutcomeCallable DeleteCatalogCallable(const DeleteCatalogRequestT& request) const + { + return SubmitCallable(&GlueClient::DeleteCatalog, request); + } + + /** + * An Async wrapper for DeleteCatalog that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteCatalogAsync(const DeleteCatalogRequestT& request, const DeleteCatalogResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::DeleteCatalog, request, handler, context); + } + /** *

    Removes a classifier from the Data Catalog.

    See Also:

    AWS @@ -1639,6 +1790,57 @@ namespace Glue return SubmitAsync(&GlueClient::DeleteDevEndpoint, request, handler, context); } + /** + *

    Deletes the specified Zero-ETL integration.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteIntegrationOutcome DeleteIntegration(const Model::DeleteIntegrationRequest& request) const; + + /** + * A Callable wrapper for DeleteIntegration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteIntegrationOutcomeCallable DeleteIntegrationCallable(const DeleteIntegrationRequestT& request) const + { + return SubmitCallable(&GlueClient::DeleteIntegration, request); + } + + /** + * An Async wrapper for DeleteIntegration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteIntegrationAsync(const DeleteIntegrationRequestT& request, const DeleteIntegrationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::DeleteIntegration, request, handler, context); + } + + /** + *

    Deletes the table properties that have been created for the tables that need + * to be replicated.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteIntegrationTablePropertiesOutcome DeleteIntegrationTableProperties(const Model::DeleteIntegrationTablePropertiesRequest& request) const; + + /** + * A Callable wrapper for DeleteIntegrationTableProperties that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteIntegrationTablePropertiesOutcomeCallable DeleteIntegrationTablePropertiesCallable(const DeleteIntegrationTablePropertiesRequestT& request) const + { + return SubmitCallable(&GlueClient::DeleteIntegrationTableProperties, request); + } + + /** + * An Async wrapper for DeleteIntegrationTableProperties that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteIntegrationTablePropertiesAsync(const DeleteIntegrationTablePropertiesRequestT& request, const DeleteIntegrationTablePropertiesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::DeleteIntegrationTableProperties, request, handler, context); + } + /** *

    Deletes a specified job definition. If the job definition is not found, no * exception is thrown.

    See Also:

    The DescribeConnectionType API provides full details of the + * supported options for a given connection type in Glue.

    See Also:

    + *
    AWS + * API Reference

    + */ + virtual Model::DescribeConnectionTypeOutcome DescribeConnectionType(const Model::DescribeConnectionTypeRequest& request) const; + + /** + * A Callable wrapper for DescribeConnectionType that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DescribeConnectionTypeOutcomeCallable DescribeConnectionTypeCallable(const DescribeConnectionTypeRequestT& request) const + { + return SubmitCallable(&GlueClient::DescribeConnectionType, request); + } + + /** + * An Async wrapper for DescribeConnectionType that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DescribeConnectionTypeAsync(const DescribeConnectionTypeRequestT& request, const DescribeConnectionTypeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::DescribeConnectionType, request, handler, context); + } + + /** + *

    Provides details regarding the entity used with the connection type, with a + * description of the data model for each field in the selected entity.

    The + * response includes all the fields which make up the entity.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::DescribeEntityOutcome DescribeEntity(const Model::DescribeEntityRequest& request) const; + + /** + * A Callable wrapper for DescribeEntity that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DescribeEntityOutcomeCallable DescribeEntityCallable(const DescribeEntityRequestT& request) const + { + return SubmitCallable(&GlueClient::DescribeEntity, request); + } + + /** + * An Async wrapper for DescribeEntity that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DescribeEntityAsync(const DescribeEntityRequestT& request, const DescribeEntityResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::DescribeEntity, request, handler, context); + } + + /** + *

    Returns a list of inbound integrations for the specified + * integration.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DescribeInboundIntegrationsOutcome DescribeInboundIntegrations(const Model::DescribeInboundIntegrationsRequest& request = {}) const; + + /** + * A Callable wrapper for DescribeInboundIntegrations that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DescribeInboundIntegrationsOutcomeCallable DescribeInboundIntegrationsCallable(const DescribeInboundIntegrationsRequestT& request = {}) const + { + return SubmitCallable(&GlueClient::DescribeInboundIntegrations, request); + } + + /** + * An Async wrapper for DescribeInboundIntegrations that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DescribeInboundIntegrationsAsync(const DescribeInboundIntegrationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const DescribeInboundIntegrationsRequestT& request = {}) const + { + return SubmitAsync(&GlueClient::DescribeInboundIntegrations, request, handler, context); + } + + /** + *

    The API is used to retrieve a list of integrations.

    See Also:

    + * AWS + * API Reference

    + */ + virtual Model::DescribeIntegrationsOutcome DescribeIntegrations(const Model::DescribeIntegrationsRequest& request = {}) const; + + /** + * A Callable wrapper for DescribeIntegrations that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DescribeIntegrationsOutcomeCallable DescribeIntegrationsCallable(const DescribeIntegrationsRequestT& request = {}) const + { + return SubmitCallable(&GlueClient::DescribeIntegrations, request); + } + + /** + * An Async wrapper for DescribeIntegrations that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DescribeIntegrationsAsync(const DescribeIntegrationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const DescribeIntegrationsRequestT& request = {}) const + { + return SubmitAsync(&GlueClient::DescribeIntegrations, request, handler, context); + } + /** *

    Retrieves the details of a blueprint.

    See Also:

    AWS @@ -2184,6 +2493,32 @@ namespace Glue return SubmitAsync(&GlueClient::GetBlueprintRuns, request, handler, context); } + /** + *

    The name of the Catalog to retrieve. This should be all + * lowercase.

    See Also:

    AWS API + * Reference

    + */ + virtual Model::GetCatalogOutcome GetCatalog(const Model::GetCatalogRequest& request) const; + + /** + * A Callable wrapper for GetCatalog that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetCatalogOutcomeCallable GetCatalogCallable(const GetCatalogRequestT& request) const + { + return SubmitCallable(&GlueClient::GetCatalog, request); + } + + /** + * An Async wrapper for GetCatalog that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetCatalogAsync(const GetCatalogRequestT& request, const GetCatalogResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::GetCatalog, request, handler, context); + } + /** *

    Retrieves the status of a migration operation.

    See Also:

    AWS @@ -2209,6 +2544,34 @@ namespace Glue return SubmitAsync(&GlueClient::GetCatalogImportStatus, request, handler, context); } + /** + *

    Retrieves all catalogs defined in a catalog in the Glue Data Catalog. For a + * Redshift-federated catalog use case, this operation returns the list of catalogs + * mapped to Redshift databases in the Redshift namespace catalog.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::GetCatalogsOutcome GetCatalogs(const Model::GetCatalogsRequest& request = {}) const; + + /** + * A Callable wrapper for GetCatalogs that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetCatalogsOutcomeCallable GetCatalogsCallable(const GetCatalogsRequestT& request = {}) const + { + return SubmitCallable(&GlueClient::GetCatalogs, request); + } + + /** + * An Async wrapper for GetCatalogs that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetCatalogsAsync(const GetCatalogsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const GetCatalogsRequestT& request = {}) const + { + return SubmitAsync(&GlueClient::GetCatalogs, request, handler, context); + } + /** *

    Retrieve a classifier by name.

    See Also:

    AWS @@ -2862,6 +3225,92 @@ namespace Glue return SubmitAsync(&GlueClient::GetDevEndpoints, request, handler, context); } + /** + *

    This API is used to query preview data from a given connection type or from a + * native Amazon S3 based Glue Data Catalog.

    Returns records as an array of + * JSON blobs. Each record is formatted using Jackson JsonNode based on the field + * type defined by the DescribeEntity API.

    Spark connectors + * generate schemas according to the same data type mapping as in the + * DescribeEntity API. Spark connectors convert data to the + * appropriate data types matching the schema when returning rows.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::GetEntityRecordsOutcome GetEntityRecords(const Model::GetEntityRecordsRequest& request) const; + + /** + * A Callable wrapper for GetEntityRecords that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetEntityRecordsOutcomeCallable GetEntityRecordsCallable(const GetEntityRecordsRequestT& request) const + { + return SubmitCallable(&GlueClient::GetEntityRecords, request); + } + + /** + * An Async wrapper for GetEntityRecords that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetEntityRecordsAsync(const GetEntityRecordsRequestT& request, const GetEntityRecordsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::GetEntityRecords, request, handler, context); + } + + /** + *

    This API is used for fetching the ResourceProperty of the Glue + * connection (for the source) or Glue database ARN (for the target)

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::GetIntegrationResourcePropertyOutcome GetIntegrationResourceProperty(const Model::GetIntegrationResourcePropertyRequest& request) const; + + /** + * A Callable wrapper for GetIntegrationResourceProperty that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetIntegrationResourcePropertyOutcomeCallable GetIntegrationResourcePropertyCallable(const GetIntegrationResourcePropertyRequestT& request) const + { + return SubmitCallable(&GlueClient::GetIntegrationResourceProperty, request); + } + + /** + * An Async wrapper for GetIntegrationResourceProperty that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetIntegrationResourcePropertyAsync(const GetIntegrationResourcePropertyRequestT& request, const GetIntegrationResourcePropertyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::GetIntegrationResourceProperty, request, handler, context); + } + + /** + *

    This API is used to retrieve optional override properties for the tables that + * need to be replicated. These properties can include properties for filtering and + * partition for source and target tables.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetIntegrationTablePropertiesOutcome GetIntegrationTableProperties(const Model::GetIntegrationTablePropertiesRequest& request) const; + + /** + * A Callable wrapper for GetIntegrationTableProperties that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetIntegrationTablePropertiesOutcomeCallable GetIntegrationTablePropertiesCallable(const GetIntegrationTablePropertiesRequestT& request) const + { + return SubmitCallable(&GlueClient::GetIntegrationTableProperties, request); + } + + /** + * An Async wrapper for GetIntegrationTableProperties that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetIntegrationTablePropertiesAsync(const GetIntegrationTablePropertiesRequestT& request, const GetIntegrationTablePropertiesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::GetIntegrationTableProperties, request, handler, context); + } + /** *

    Retrieves an existing job definition.

    See Also:

    AWS API @@ -4079,6 +4528,36 @@ namespace Glue return SubmitAsync(&GlueClient::ListColumnStatisticsTaskRuns, request, handler, context); } + /** + *

    The ListConnectionTypes API provides a discovery mechanism to + * learn available connection types in Glue. The response contains a list of + * connection types with high-level details of what is supported for each + * connection type. The connection types listed are the set of supported options + * for the ConnectionType value in the CreateConnection + * API.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListConnectionTypesOutcome ListConnectionTypes(const Model::ListConnectionTypesRequest& request = {}) const; + + /** + * A Callable wrapper for ListConnectionTypes that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListConnectionTypesOutcomeCallable ListConnectionTypesCallable(const ListConnectionTypesRequestT& request = {}) const + { + return SubmitCallable(&GlueClient::ListConnectionTypes, request); + } + + /** + * An Async wrapper for ListConnectionTypes that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListConnectionTypesAsync(const ListConnectionTypesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListConnectionTypesRequestT& request = {}) const + { + return SubmitAsync(&GlueClient::ListConnectionTypes, request, handler, context); + } + /** *

    Retrieves the names of all crawler resources in this Amazon Web Services * account, or the resources with the specified tag. This operation allows you to @@ -4355,6 +4834,32 @@ namespace Glue return SubmitAsync(&GlueClient::ListDevEndpoints, request, handler, context); } + /** + *

    Returns the available entities supported by the connection type. + *

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListEntitiesOutcome ListEntities(const Model::ListEntitiesRequest& request = {}) const; + + /** + * A Callable wrapper for ListEntities that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListEntitiesOutcomeCallable ListEntitiesCallable(const ListEntitiesRequestT& request = {}) const + { + return SubmitCallable(&GlueClient::ListEntities, request); + } + + /** + * An Async wrapper for ListEntities that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListEntitiesAsync(const ListEntitiesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListEntitiesRequestT& request = {}) const + { + return SubmitAsync(&GlueClient::ListEntities, request, handler, context); + } + /** *

    Retrieves the names of all job resources in this Amazon Web Services account, * or the resources with the specified tag. This operation allows you to see which @@ -4659,6 +5164,32 @@ namespace Glue return SubmitAsync(&GlueClient::ListWorkflows, request, handler, context); } + /** + *

    Modifies a Zero-ETL integration in the caller's account.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::ModifyIntegrationOutcome ModifyIntegration(const Model::ModifyIntegrationRequest& request) const; + + /** + * A Callable wrapper for ModifyIntegration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ModifyIntegrationOutcomeCallable ModifyIntegrationCallable(const ModifyIntegrationRequestT& request) const + { + return SubmitCallable(&GlueClient::ModifyIntegration, request); + } + + /** + * An Async wrapper for ModifyIntegration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ModifyIntegrationAsync(const ModifyIntegrationRequestT& request, const ModifyIntegrationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::ModifyIntegration, request, handler, context); + } + /** *

    Sets the security configuration for a specified catalog. After the * configuration has been set, the specified encryption is applied to every catalog @@ -5700,6 +6231,32 @@ namespace Glue return SubmitAsync(&GlueClient::UpdateBlueprint, request, handler, context); } + /** + *

    Updates an existing catalog's properties in the Glue Data + * Catalog.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::UpdateCatalogOutcome UpdateCatalog(const Model::UpdateCatalogRequest& request) const; + + /** + * A Callable wrapper for UpdateCatalog that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateCatalogOutcomeCallable UpdateCatalogCallable(const UpdateCatalogRequestT& request) const + { + return SubmitCallable(&GlueClient::UpdateCatalog, request); + } + + /** + * An Async wrapper for UpdateCatalog that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateCatalogAsync(const UpdateCatalogRequestT& request, const UpdateCatalogResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::UpdateCatalog, request, handler, context); + } + /** *

    Modifies an existing classifier (a GrokClassifier, an * XMLClassifier, a JsonClassifier, or a @@ -5961,6 +6518,69 @@ namespace Glue return SubmitAsync(&GlueClient::UpdateDevEndpoint, request, handler, context); } + /** + *

    This API can be used for updating the ResourceProperty of the + * Glue connection (for the source) or Glue database ARN (for the target). These + * properties can include the role to access the connection or database. Since the + * same resource can be used across multiple integrations, updating resource + * properties will impact all the integrations using it.

    See Also:

    + * AWS + * API Reference

    + */ + virtual Model::UpdateIntegrationResourcePropertyOutcome UpdateIntegrationResourceProperty(const Model::UpdateIntegrationResourcePropertyRequest& request) const; + + /** + * A Callable wrapper for UpdateIntegrationResourceProperty that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateIntegrationResourcePropertyOutcomeCallable UpdateIntegrationResourcePropertyCallable(const UpdateIntegrationResourcePropertyRequestT& request) const + { + return SubmitCallable(&GlueClient::UpdateIntegrationResourceProperty, request); + } + + /** + * An Async wrapper for UpdateIntegrationResourceProperty that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateIntegrationResourcePropertyAsync(const UpdateIntegrationResourcePropertyRequestT& request, const UpdateIntegrationResourcePropertyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::UpdateIntegrationResourceProperty, request, handler, context); + } + + /** + *

    This API is used to provide optional override properties for the tables that + * need to be replicated. These properties can include properties for filtering and + * partitioning for the source and target tables. To set both source and target + * properties the same API need to be invoked with the Glue connection ARN as + * ResourceArn with SourceTableConfig, and the Glue + * database ARN as ResourceArn with TargetTableConfig + * respectively.

    The override will be reflected across all the integrations + * using same ResourceArn and source table.

    See Also:

    + * AWS + * API Reference

    + */ + virtual Model::UpdateIntegrationTablePropertiesOutcome UpdateIntegrationTableProperties(const Model::UpdateIntegrationTablePropertiesRequest& request) const; + + /** + * A Callable wrapper for UpdateIntegrationTableProperties that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateIntegrationTablePropertiesOutcomeCallable UpdateIntegrationTablePropertiesCallable(const UpdateIntegrationTablePropertiesRequestT& request) const + { + return SubmitCallable(&GlueClient::UpdateIntegrationTableProperties, request); + } + + /** + * An Async wrapper for UpdateIntegrationTableProperties that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateIntegrationTablePropertiesAsync(const UpdateIntegrationTablePropertiesRequestT& request, const UpdateIntegrationTablePropertiesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&GlueClient::UpdateIntegrationTableProperties, request, handler, context); + } + /** *

    Updates an existing job definition. The previous job definition is completely * overwritten by this information.

    See Also:

    #include #include +#include #include #include #include @@ -50,6 +51,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -66,6 +70,7 @@ #include #include #include +#include #include #include #include @@ -76,6 +81,8 @@ #include #include #include +#include +#include #include #include #include @@ -93,10 +100,16 @@ #include #include #include +#include +#include +#include +#include #include #include #include +#include #include +#include #include #include #include @@ -122,6 +135,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -168,6 +184,7 @@ #include #include #include +#include #include #include #include @@ -178,6 +195,7 @@ #include #include #include +#include #include #include #include @@ -189,6 +207,7 @@ #include #include #include +#include #include #include #include @@ -226,6 +245,7 @@ #include #include #include +#include #include #include #include @@ -236,6 +256,8 @@ #include #include #include +#include +#include #include #include #include @@ -249,51 +271,56 @@ #include #include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include +#include #include #include -#include -#include #include #include #include -#include -#include #include -#include -#include #include -#include #include #include #include #include #include -#include -#include -#include #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 GlueClient header */ namespace Aws @@ -358,6 +385,7 @@ namespace Aws class CancelStatementRequest; class CheckSchemaVersionValidityRequest; class CreateBlueprintRequest; + class CreateCatalogRequest; class CreateClassifierRequest; class CreateColumnStatisticsTaskSettingsRequest; class CreateConnectionRequest; @@ -366,6 +394,9 @@ namespace Aws class CreateDataQualityRulesetRequest; class CreateDatabaseRequest; class CreateDevEndpointRequest; + class CreateIntegrationRequest; + class CreateIntegrationResourcePropertyRequest; + class CreateIntegrationTablePropertiesRequest; class CreateJobRequest; class CreateMLTransformRequest; class CreatePartitionRequest; @@ -382,6 +413,7 @@ namespace Aws class CreateUserDefinedFunctionRequest; class CreateWorkflowRequest; class DeleteBlueprintRequest; + class DeleteCatalogRequest; class DeleteClassifierRequest; class DeleteColumnStatisticsForPartitionRequest; class DeleteColumnStatisticsForTableRequest; @@ -392,6 +424,8 @@ namespace Aws class DeleteDataQualityRulesetRequest; class DeleteDatabaseRequest; class DeleteDevEndpointRequest; + class DeleteIntegrationRequest; + class DeleteIntegrationTablePropertiesRequest; class DeleteJobRequest; class DeleteMLTransformRequest; class DeletePartitionRequest; @@ -409,10 +443,16 @@ namespace Aws class DeleteUsageProfileRequest; class DeleteUserDefinedFunctionRequest; class DeleteWorkflowRequest; + class DescribeConnectionTypeRequest; + class DescribeEntityRequest; + class DescribeInboundIntegrationsRequest; + class DescribeIntegrationsRequest; class GetBlueprintRequest; class GetBlueprintRunRequest; class GetBlueprintRunsRequest; + class GetCatalogRequest; class GetCatalogImportStatusRequest; + class GetCatalogsRequest; class GetClassifierRequest; class GetClassifiersRequest; class GetColumnStatisticsForPartitionRequest; @@ -438,6 +478,9 @@ namespace Aws class GetDataflowGraphRequest; class GetDevEndpointRequest; class GetDevEndpointsRequest; + class GetEntityRecordsRequest; + class GetIntegrationResourcePropertyRequest; + class GetIntegrationTablePropertiesRequest; class GetJobRequest; class GetJobBookmarkRequest; class GetJobRunRequest; @@ -484,6 +527,7 @@ namespace Aws class ImportCatalogToGlueRequest; class ListBlueprintsRequest; class ListColumnStatisticsTaskRunsRequest; + class ListConnectionTypesRequest; class ListCrawlersRequest; class ListCrawlsRequest; class ListCustomEntityTypesRequest; @@ -494,6 +538,7 @@ namespace Aws class ListDataQualityStatisticAnnotationsRequest; class ListDataQualityStatisticsRequest; class ListDevEndpointsRequest; + class ListEntitiesRequest; class ListJobsRequest; class ListMLTransformsRequest; class ListRegistriesRequest; @@ -505,6 +550,7 @@ namespace Aws class ListTriggersRequest; class ListUsageProfilesRequest; class ListWorkflowsRequest; + class ModifyIntegrationRequest; class PutDataCatalogEncryptionSettingsRequest; class PutDataQualityProfileAnnotationRequest; class PutResourcePolicyRequest; @@ -542,6 +588,7 @@ namespace Aws class TestConnectionRequest; class UntagResourceRequest; class UpdateBlueprintRequest; + class UpdateCatalogRequest; class UpdateClassifierRequest; class UpdateColumnStatisticsForPartitionRequest; class UpdateColumnStatisticsForTableRequest; @@ -552,6 +599,8 @@ namespace Aws class UpdateDataQualityRulesetRequest; class UpdateDatabaseRequest; class UpdateDevEndpointRequest; + class UpdateIntegrationResourcePropertyRequest; + class UpdateIntegrationTablePropertiesRequest; class UpdateJobRequest; class UpdateJobFromSourceControlRequest; class UpdateMLTransformRequest; @@ -592,6 +641,7 @@ namespace Aws typedef Aws::Utils::Outcome CancelStatementOutcome; typedef Aws::Utils::Outcome CheckSchemaVersionValidityOutcome; typedef Aws::Utils::Outcome CreateBlueprintOutcome; + typedef Aws::Utils::Outcome CreateCatalogOutcome; typedef Aws::Utils::Outcome CreateClassifierOutcome; typedef Aws::Utils::Outcome CreateColumnStatisticsTaskSettingsOutcome; typedef Aws::Utils::Outcome CreateConnectionOutcome; @@ -600,6 +650,9 @@ namespace Aws typedef Aws::Utils::Outcome CreateDataQualityRulesetOutcome; typedef Aws::Utils::Outcome CreateDatabaseOutcome; typedef Aws::Utils::Outcome CreateDevEndpointOutcome; + typedef Aws::Utils::Outcome CreateIntegrationOutcome; + typedef Aws::Utils::Outcome CreateIntegrationResourcePropertyOutcome; + typedef Aws::Utils::Outcome CreateIntegrationTablePropertiesOutcome; typedef Aws::Utils::Outcome CreateJobOutcome; typedef Aws::Utils::Outcome CreateMLTransformOutcome; typedef Aws::Utils::Outcome CreatePartitionOutcome; @@ -616,6 +669,7 @@ namespace Aws typedef Aws::Utils::Outcome CreateUserDefinedFunctionOutcome; typedef Aws::Utils::Outcome CreateWorkflowOutcome; typedef Aws::Utils::Outcome DeleteBlueprintOutcome; + typedef Aws::Utils::Outcome DeleteCatalogOutcome; typedef Aws::Utils::Outcome DeleteClassifierOutcome; typedef Aws::Utils::Outcome DeleteColumnStatisticsForPartitionOutcome; typedef Aws::Utils::Outcome DeleteColumnStatisticsForTableOutcome; @@ -626,6 +680,8 @@ namespace Aws typedef Aws::Utils::Outcome DeleteDataQualityRulesetOutcome; typedef Aws::Utils::Outcome DeleteDatabaseOutcome; typedef Aws::Utils::Outcome DeleteDevEndpointOutcome; + typedef Aws::Utils::Outcome DeleteIntegrationOutcome; + typedef Aws::Utils::Outcome DeleteIntegrationTablePropertiesOutcome; typedef Aws::Utils::Outcome DeleteJobOutcome; typedef Aws::Utils::Outcome DeleteMLTransformOutcome; typedef Aws::Utils::Outcome DeletePartitionOutcome; @@ -643,10 +699,16 @@ namespace Aws typedef Aws::Utils::Outcome DeleteUsageProfileOutcome; typedef Aws::Utils::Outcome DeleteUserDefinedFunctionOutcome; typedef Aws::Utils::Outcome DeleteWorkflowOutcome; + typedef Aws::Utils::Outcome DescribeConnectionTypeOutcome; + typedef Aws::Utils::Outcome DescribeEntityOutcome; + typedef Aws::Utils::Outcome DescribeInboundIntegrationsOutcome; + typedef Aws::Utils::Outcome DescribeIntegrationsOutcome; typedef Aws::Utils::Outcome GetBlueprintOutcome; typedef Aws::Utils::Outcome GetBlueprintRunOutcome; typedef Aws::Utils::Outcome GetBlueprintRunsOutcome; + typedef Aws::Utils::Outcome GetCatalogOutcome; typedef Aws::Utils::Outcome GetCatalogImportStatusOutcome; + typedef Aws::Utils::Outcome GetCatalogsOutcome; typedef Aws::Utils::Outcome GetClassifierOutcome; typedef Aws::Utils::Outcome GetClassifiersOutcome; typedef Aws::Utils::Outcome GetColumnStatisticsForPartitionOutcome; @@ -672,6 +734,9 @@ namespace Aws typedef Aws::Utils::Outcome GetDataflowGraphOutcome; typedef Aws::Utils::Outcome GetDevEndpointOutcome; typedef Aws::Utils::Outcome GetDevEndpointsOutcome; + typedef Aws::Utils::Outcome GetEntityRecordsOutcome; + typedef Aws::Utils::Outcome GetIntegrationResourcePropertyOutcome; + typedef Aws::Utils::Outcome GetIntegrationTablePropertiesOutcome; typedef Aws::Utils::Outcome GetJobOutcome; typedef Aws::Utils::Outcome GetJobBookmarkOutcome; typedef Aws::Utils::Outcome GetJobRunOutcome; @@ -718,6 +783,7 @@ namespace Aws typedef Aws::Utils::Outcome ImportCatalogToGlueOutcome; typedef Aws::Utils::Outcome ListBlueprintsOutcome; typedef Aws::Utils::Outcome ListColumnStatisticsTaskRunsOutcome; + typedef Aws::Utils::Outcome ListConnectionTypesOutcome; typedef Aws::Utils::Outcome ListCrawlersOutcome; typedef Aws::Utils::Outcome ListCrawlsOutcome; typedef Aws::Utils::Outcome ListCustomEntityTypesOutcome; @@ -728,6 +794,7 @@ namespace Aws typedef Aws::Utils::Outcome ListDataQualityStatisticAnnotationsOutcome; typedef Aws::Utils::Outcome ListDataQualityStatisticsOutcome; typedef Aws::Utils::Outcome ListDevEndpointsOutcome; + typedef Aws::Utils::Outcome ListEntitiesOutcome; typedef Aws::Utils::Outcome ListJobsOutcome; typedef Aws::Utils::Outcome ListMLTransformsOutcome; typedef Aws::Utils::Outcome ListRegistriesOutcome; @@ -739,6 +806,7 @@ namespace Aws typedef Aws::Utils::Outcome ListTriggersOutcome; typedef Aws::Utils::Outcome ListUsageProfilesOutcome; typedef Aws::Utils::Outcome ListWorkflowsOutcome; + typedef Aws::Utils::Outcome ModifyIntegrationOutcome; typedef Aws::Utils::Outcome PutDataCatalogEncryptionSettingsOutcome; typedef Aws::Utils::Outcome PutDataQualityProfileAnnotationOutcome; typedef Aws::Utils::Outcome PutResourcePolicyOutcome; @@ -776,6 +844,7 @@ namespace Aws typedef Aws::Utils::Outcome TestConnectionOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; typedef Aws::Utils::Outcome UpdateBlueprintOutcome; + typedef Aws::Utils::Outcome UpdateCatalogOutcome; typedef Aws::Utils::Outcome UpdateClassifierOutcome; typedef Aws::Utils::Outcome UpdateColumnStatisticsForPartitionOutcome; typedef Aws::Utils::Outcome UpdateColumnStatisticsForTableOutcome; @@ -786,6 +855,8 @@ namespace Aws typedef Aws::Utils::Outcome UpdateDataQualityRulesetOutcome; typedef Aws::Utils::Outcome UpdateDatabaseOutcome; typedef Aws::Utils::Outcome UpdateDevEndpointOutcome; + typedef Aws::Utils::Outcome UpdateIntegrationResourcePropertyOutcome; + typedef Aws::Utils::Outcome UpdateIntegrationTablePropertiesOutcome; typedef Aws::Utils::Outcome UpdateJobOutcome; typedef Aws::Utils::Outcome UpdateJobFromSourceControlOutcome; typedef Aws::Utils::Outcome UpdateMLTransformOutcome; @@ -826,6 +897,7 @@ namespace Aws typedef std::future CancelStatementOutcomeCallable; typedef std::future CheckSchemaVersionValidityOutcomeCallable; typedef std::future CreateBlueprintOutcomeCallable; + typedef std::future CreateCatalogOutcomeCallable; typedef std::future CreateClassifierOutcomeCallable; typedef std::future CreateColumnStatisticsTaskSettingsOutcomeCallable; typedef std::future CreateConnectionOutcomeCallable; @@ -834,6 +906,9 @@ namespace Aws typedef std::future CreateDataQualityRulesetOutcomeCallable; typedef std::future CreateDatabaseOutcomeCallable; typedef std::future CreateDevEndpointOutcomeCallable; + typedef std::future CreateIntegrationOutcomeCallable; + typedef std::future CreateIntegrationResourcePropertyOutcomeCallable; + typedef std::future CreateIntegrationTablePropertiesOutcomeCallable; typedef std::future CreateJobOutcomeCallable; typedef std::future CreateMLTransformOutcomeCallable; typedef std::future CreatePartitionOutcomeCallable; @@ -850,6 +925,7 @@ namespace Aws typedef std::future CreateUserDefinedFunctionOutcomeCallable; typedef std::future CreateWorkflowOutcomeCallable; typedef std::future DeleteBlueprintOutcomeCallable; + typedef std::future DeleteCatalogOutcomeCallable; typedef std::future DeleteClassifierOutcomeCallable; typedef std::future DeleteColumnStatisticsForPartitionOutcomeCallable; typedef std::future DeleteColumnStatisticsForTableOutcomeCallable; @@ -860,6 +936,8 @@ namespace Aws typedef std::future DeleteDataQualityRulesetOutcomeCallable; typedef std::future DeleteDatabaseOutcomeCallable; typedef std::future DeleteDevEndpointOutcomeCallable; + typedef std::future DeleteIntegrationOutcomeCallable; + typedef std::future DeleteIntegrationTablePropertiesOutcomeCallable; typedef std::future DeleteJobOutcomeCallable; typedef std::future DeleteMLTransformOutcomeCallable; typedef std::future DeletePartitionOutcomeCallable; @@ -877,10 +955,16 @@ namespace Aws typedef std::future DeleteUsageProfileOutcomeCallable; typedef std::future DeleteUserDefinedFunctionOutcomeCallable; typedef std::future DeleteWorkflowOutcomeCallable; + typedef std::future DescribeConnectionTypeOutcomeCallable; + typedef std::future DescribeEntityOutcomeCallable; + typedef std::future DescribeInboundIntegrationsOutcomeCallable; + typedef std::future DescribeIntegrationsOutcomeCallable; typedef std::future GetBlueprintOutcomeCallable; typedef std::future GetBlueprintRunOutcomeCallable; typedef std::future GetBlueprintRunsOutcomeCallable; + typedef std::future GetCatalogOutcomeCallable; typedef std::future GetCatalogImportStatusOutcomeCallable; + typedef std::future GetCatalogsOutcomeCallable; typedef std::future GetClassifierOutcomeCallable; typedef std::future GetClassifiersOutcomeCallable; typedef std::future GetColumnStatisticsForPartitionOutcomeCallable; @@ -906,6 +990,9 @@ namespace Aws typedef std::future GetDataflowGraphOutcomeCallable; typedef std::future GetDevEndpointOutcomeCallable; typedef std::future GetDevEndpointsOutcomeCallable; + typedef std::future GetEntityRecordsOutcomeCallable; + typedef std::future GetIntegrationResourcePropertyOutcomeCallable; + typedef std::future GetIntegrationTablePropertiesOutcomeCallable; typedef std::future GetJobOutcomeCallable; typedef std::future GetJobBookmarkOutcomeCallable; typedef std::future GetJobRunOutcomeCallable; @@ -952,6 +1039,7 @@ namespace Aws typedef std::future ImportCatalogToGlueOutcomeCallable; typedef std::future ListBlueprintsOutcomeCallable; typedef std::future ListColumnStatisticsTaskRunsOutcomeCallable; + typedef std::future ListConnectionTypesOutcomeCallable; typedef std::future ListCrawlersOutcomeCallable; typedef std::future ListCrawlsOutcomeCallable; typedef std::future ListCustomEntityTypesOutcomeCallable; @@ -962,6 +1050,7 @@ namespace Aws typedef std::future ListDataQualityStatisticAnnotationsOutcomeCallable; typedef std::future ListDataQualityStatisticsOutcomeCallable; typedef std::future ListDevEndpointsOutcomeCallable; + typedef std::future ListEntitiesOutcomeCallable; typedef std::future ListJobsOutcomeCallable; typedef std::future ListMLTransformsOutcomeCallable; typedef std::future ListRegistriesOutcomeCallable; @@ -973,6 +1062,7 @@ namespace Aws typedef std::future ListTriggersOutcomeCallable; typedef std::future ListUsageProfilesOutcomeCallable; typedef std::future ListWorkflowsOutcomeCallable; + typedef std::future ModifyIntegrationOutcomeCallable; typedef std::future PutDataCatalogEncryptionSettingsOutcomeCallable; typedef std::future PutDataQualityProfileAnnotationOutcomeCallable; typedef std::future PutResourcePolicyOutcomeCallable; @@ -1010,6 +1100,7 @@ namespace Aws typedef std::future TestConnectionOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; typedef std::future UpdateBlueprintOutcomeCallable; + typedef std::future UpdateCatalogOutcomeCallable; typedef std::future UpdateClassifierOutcomeCallable; typedef std::future UpdateColumnStatisticsForPartitionOutcomeCallable; typedef std::future UpdateColumnStatisticsForTableOutcomeCallable; @@ -1020,6 +1111,8 @@ namespace Aws typedef std::future UpdateDataQualityRulesetOutcomeCallable; typedef std::future UpdateDatabaseOutcomeCallable; typedef std::future UpdateDevEndpointOutcomeCallable; + typedef std::future UpdateIntegrationResourcePropertyOutcomeCallable; + typedef std::future UpdateIntegrationTablePropertiesOutcomeCallable; typedef std::future UpdateJobOutcomeCallable; typedef std::future UpdateJobFromSourceControlOutcomeCallable; typedef std::future UpdateMLTransformOutcomeCallable; @@ -1063,6 +1156,7 @@ namespace Aws typedef std::function&) > CancelStatementResponseReceivedHandler; typedef std::function&) > CheckSchemaVersionValidityResponseReceivedHandler; typedef std::function&) > CreateBlueprintResponseReceivedHandler; + typedef std::function&) > CreateCatalogResponseReceivedHandler; typedef std::function&) > CreateClassifierResponseReceivedHandler; typedef std::function&) > CreateColumnStatisticsTaskSettingsResponseReceivedHandler; typedef std::function&) > CreateConnectionResponseReceivedHandler; @@ -1071,6 +1165,9 @@ namespace Aws typedef std::function&) > CreateDataQualityRulesetResponseReceivedHandler; typedef std::function&) > CreateDatabaseResponseReceivedHandler; typedef std::function&) > CreateDevEndpointResponseReceivedHandler; + typedef std::function&) > CreateIntegrationResponseReceivedHandler; + typedef std::function&) > CreateIntegrationResourcePropertyResponseReceivedHandler; + typedef std::function&) > CreateIntegrationTablePropertiesResponseReceivedHandler; typedef std::function&) > CreateJobResponseReceivedHandler; typedef std::function&) > CreateMLTransformResponseReceivedHandler; typedef std::function&) > CreatePartitionResponseReceivedHandler; @@ -1087,6 +1184,7 @@ namespace Aws typedef std::function&) > CreateUserDefinedFunctionResponseReceivedHandler; typedef std::function&) > CreateWorkflowResponseReceivedHandler; typedef std::function&) > DeleteBlueprintResponseReceivedHandler; + typedef std::function&) > DeleteCatalogResponseReceivedHandler; typedef std::function&) > DeleteClassifierResponseReceivedHandler; typedef std::function&) > DeleteColumnStatisticsForPartitionResponseReceivedHandler; typedef std::function&) > DeleteColumnStatisticsForTableResponseReceivedHandler; @@ -1097,6 +1195,8 @@ namespace Aws typedef std::function&) > DeleteDataQualityRulesetResponseReceivedHandler; typedef std::function&) > DeleteDatabaseResponseReceivedHandler; typedef std::function&) > DeleteDevEndpointResponseReceivedHandler; + typedef std::function&) > DeleteIntegrationResponseReceivedHandler; + typedef std::function&) > DeleteIntegrationTablePropertiesResponseReceivedHandler; typedef std::function&) > DeleteJobResponseReceivedHandler; typedef std::function&) > DeleteMLTransformResponseReceivedHandler; typedef std::function&) > DeletePartitionResponseReceivedHandler; @@ -1114,10 +1214,16 @@ namespace Aws typedef std::function&) > DeleteUsageProfileResponseReceivedHandler; typedef std::function&) > DeleteUserDefinedFunctionResponseReceivedHandler; typedef std::function&) > DeleteWorkflowResponseReceivedHandler; + typedef std::function&) > DescribeConnectionTypeResponseReceivedHandler; + typedef std::function&) > DescribeEntityResponseReceivedHandler; + typedef std::function&) > DescribeInboundIntegrationsResponseReceivedHandler; + typedef std::function&) > DescribeIntegrationsResponseReceivedHandler; typedef std::function&) > GetBlueprintResponseReceivedHandler; typedef std::function&) > GetBlueprintRunResponseReceivedHandler; typedef std::function&) > GetBlueprintRunsResponseReceivedHandler; + typedef std::function&) > GetCatalogResponseReceivedHandler; typedef std::function&) > GetCatalogImportStatusResponseReceivedHandler; + typedef std::function&) > GetCatalogsResponseReceivedHandler; typedef std::function&) > GetClassifierResponseReceivedHandler; typedef std::function&) > GetClassifiersResponseReceivedHandler; typedef std::function&) > GetColumnStatisticsForPartitionResponseReceivedHandler; @@ -1143,6 +1249,9 @@ namespace Aws typedef std::function&) > GetDataflowGraphResponseReceivedHandler; typedef std::function&) > GetDevEndpointResponseReceivedHandler; typedef std::function&) > GetDevEndpointsResponseReceivedHandler; + typedef std::function&) > GetEntityRecordsResponseReceivedHandler; + typedef std::function&) > GetIntegrationResourcePropertyResponseReceivedHandler; + typedef std::function&) > GetIntegrationTablePropertiesResponseReceivedHandler; typedef std::function&) > GetJobResponseReceivedHandler; typedef std::function&) > GetJobBookmarkResponseReceivedHandler; typedef std::function&) > GetJobRunResponseReceivedHandler; @@ -1189,6 +1298,7 @@ namespace Aws typedef std::function&) > ImportCatalogToGlueResponseReceivedHandler; typedef std::function&) > ListBlueprintsResponseReceivedHandler; typedef std::function&) > ListColumnStatisticsTaskRunsResponseReceivedHandler; + typedef std::function&) > ListConnectionTypesResponseReceivedHandler; typedef std::function&) > ListCrawlersResponseReceivedHandler; typedef std::function&) > ListCrawlsResponseReceivedHandler; typedef std::function&) > ListCustomEntityTypesResponseReceivedHandler; @@ -1199,6 +1309,7 @@ namespace Aws typedef std::function&) > ListDataQualityStatisticAnnotationsResponseReceivedHandler; typedef std::function&) > ListDataQualityStatisticsResponseReceivedHandler; typedef std::function&) > ListDevEndpointsResponseReceivedHandler; + typedef std::function&) > ListEntitiesResponseReceivedHandler; typedef std::function&) > ListJobsResponseReceivedHandler; typedef std::function&) > ListMLTransformsResponseReceivedHandler; typedef std::function&) > ListRegistriesResponseReceivedHandler; @@ -1210,6 +1321,7 @@ namespace Aws typedef std::function&) > ListTriggersResponseReceivedHandler; typedef std::function&) > ListUsageProfilesResponseReceivedHandler; typedef std::function&) > ListWorkflowsResponseReceivedHandler; + typedef std::function&) > ModifyIntegrationResponseReceivedHandler; typedef std::function&) > PutDataCatalogEncryptionSettingsResponseReceivedHandler; typedef std::function&) > PutDataQualityProfileAnnotationResponseReceivedHandler; typedef std::function&) > PutResourcePolicyResponseReceivedHandler; @@ -1247,6 +1359,7 @@ namespace Aws typedef std::function&) > TestConnectionResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; typedef std::function&) > UpdateBlueprintResponseReceivedHandler; + typedef std::function&) > UpdateCatalogResponseReceivedHandler; typedef std::function&) > UpdateClassifierResponseReceivedHandler; typedef std::function&) > UpdateColumnStatisticsForPartitionResponseReceivedHandler; typedef std::function&) > UpdateColumnStatisticsForTableResponseReceivedHandler; @@ -1257,6 +1370,8 @@ namespace Aws typedef std::function&) > UpdateDataQualityRulesetResponseReceivedHandler; typedef std::function&) > UpdateDatabaseResponseReceivedHandler; typedef std::function&) > UpdateDevEndpointResponseReceivedHandler; + typedef std::function&) > UpdateIntegrationResourcePropertyResponseReceivedHandler; + typedef std::function&) > UpdateIntegrationTablePropertiesResponseReceivedHandler; typedef std::function&) > UpdateJobResponseReceivedHandler; typedef std::function&) > UpdateJobFromSourceControlResponseReceivedHandler; typedef std::function&) > UpdateMLTransformResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AllowedValue.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AllowedValue.h new file mode 100644 index 00000000000..5f2e6b28d75 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AllowedValue.h @@ -0,0 +1,79 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    An object representing a value allowed for a property.

    See + * Also:

    AWS + * API Reference

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

    A description of the allowed value.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline AllowedValue& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline AllowedValue& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline AllowedValue& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The value allowed for the property.

    + */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline AllowedValue& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline AllowedValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline AllowedValue& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AuthConfiguration.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AuthConfiguration.h new file mode 100644 index 00000000000..d6436cab2d6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AuthConfiguration.h @@ -0,0 +1,143 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

    The authentication configuration for a connection returned by the + * DescribeConnectionType API.

    See Also:

    AWS + * API Reference

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

    The type of authentication for a connection.

    + */ + inline const Property& GetAuthenticationType() const{ return m_authenticationType; } + inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; } + inline void SetAuthenticationType(const Property& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; } + inline void SetAuthenticationType(Property&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); } + inline AuthConfiguration& WithAuthenticationType(const Property& value) { SetAuthenticationType(value); return *this;} + inline AuthConfiguration& WithAuthenticationType(Property&& value) { SetAuthenticationType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the Secrets Manager.

    + */ + inline const Property& GetSecretArn() const{ return m_secretArn; } + inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; } + inline void SetSecretArn(const Property& value) { m_secretArnHasBeenSet = true; m_secretArn = value; } + inline void SetSecretArn(Property&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); } + inline AuthConfiguration& WithSecretArn(const Property& value) { SetSecretArn(value); return *this;} + inline AuthConfiguration& WithSecretArn(Property&& value) { SetSecretArn(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A map of key-value pairs for the OAuth2 properties. Each value is a a + * Property object.

    + */ + inline const Aws::Map& GetOAuth2Properties() const{ return m_oAuth2Properties; } + inline bool OAuth2PropertiesHasBeenSet() const { return m_oAuth2PropertiesHasBeenSet; } + inline void SetOAuth2Properties(const Aws::Map& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = value; } + inline void SetOAuth2Properties(Aws::Map&& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = std::move(value); } + inline AuthConfiguration& WithOAuth2Properties(const Aws::Map& value) { SetOAuth2Properties(value); return *this;} + inline AuthConfiguration& WithOAuth2Properties(Aws::Map&& value) { SetOAuth2Properties(std::move(value)); return *this;} + inline AuthConfiguration& AddOAuth2Properties(const Aws::String& key, const Property& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties.emplace(key, value); return *this; } + inline AuthConfiguration& AddOAuth2Properties(Aws::String&& key, const Property& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties.emplace(std::move(key), value); return *this; } + inline AuthConfiguration& AddOAuth2Properties(const Aws::String& key, Property&& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties.emplace(key, std::move(value)); return *this; } + inline AuthConfiguration& AddOAuth2Properties(Aws::String&& key, Property&& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties.emplace(std::move(key), std::move(value)); return *this; } + inline AuthConfiguration& AddOAuth2Properties(const char* key, Property&& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties.emplace(key, std::move(value)); return *this; } + inline AuthConfiguration& AddOAuth2Properties(const char* key, const Property& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    A map of key-value pairs for the OAuth2 properties. Each value is a a + * Property object.

    + */ + inline const Aws::Map& GetBasicAuthenticationProperties() const{ return m_basicAuthenticationProperties; } + inline bool BasicAuthenticationPropertiesHasBeenSet() const { return m_basicAuthenticationPropertiesHasBeenSet; } + inline void SetBasicAuthenticationProperties(const Aws::Map& value) { m_basicAuthenticationPropertiesHasBeenSet = true; m_basicAuthenticationProperties = value; } + inline void SetBasicAuthenticationProperties(Aws::Map&& value) { m_basicAuthenticationPropertiesHasBeenSet = true; m_basicAuthenticationProperties = std::move(value); } + inline AuthConfiguration& WithBasicAuthenticationProperties(const Aws::Map& value) { SetBasicAuthenticationProperties(value); return *this;} + inline AuthConfiguration& WithBasicAuthenticationProperties(Aws::Map&& value) { SetBasicAuthenticationProperties(std::move(value)); return *this;} + inline AuthConfiguration& AddBasicAuthenticationProperties(const Aws::String& key, const Property& value) { m_basicAuthenticationPropertiesHasBeenSet = true; m_basicAuthenticationProperties.emplace(key, value); return *this; } + inline AuthConfiguration& AddBasicAuthenticationProperties(Aws::String&& key, const Property& value) { m_basicAuthenticationPropertiesHasBeenSet = true; m_basicAuthenticationProperties.emplace(std::move(key), value); return *this; } + inline AuthConfiguration& AddBasicAuthenticationProperties(const Aws::String& key, Property&& value) { m_basicAuthenticationPropertiesHasBeenSet = true; m_basicAuthenticationProperties.emplace(key, std::move(value)); return *this; } + inline AuthConfiguration& AddBasicAuthenticationProperties(Aws::String&& key, Property&& value) { m_basicAuthenticationPropertiesHasBeenSet = true; m_basicAuthenticationProperties.emplace(std::move(key), std::move(value)); return *this; } + inline AuthConfiguration& AddBasicAuthenticationProperties(const char* key, Property&& value) { m_basicAuthenticationPropertiesHasBeenSet = true; m_basicAuthenticationProperties.emplace(key, std::move(value)); return *this; } + inline AuthConfiguration& AddBasicAuthenticationProperties(const char* key, const Property& value) { m_basicAuthenticationPropertiesHasBeenSet = true; m_basicAuthenticationProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    A map of key-value pairs for the custom authentication properties. Each value + * is a a Property object.

    + */ + inline const Aws::Map& GetCustomAuthenticationProperties() const{ return m_customAuthenticationProperties; } + inline bool CustomAuthenticationPropertiesHasBeenSet() const { return m_customAuthenticationPropertiesHasBeenSet; } + inline void SetCustomAuthenticationProperties(const Aws::Map& value) { m_customAuthenticationPropertiesHasBeenSet = true; m_customAuthenticationProperties = value; } + inline void SetCustomAuthenticationProperties(Aws::Map&& value) { m_customAuthenticationPropertiesHasBeenSet = true; m_customAuthenticationProperties = std::move(value); } + inline AuthConfiguration& WithCustomAuthenticationProperties(const Aws::Map& value) { SetCustomAuthenticationProperties(value); return *this;} + inline AuthConfiguration& WithCustomAuthenticationProperties(Aws::Map&& value) { SetCustomAuthenticationProperties(std::move(value)); return *this;} + inline AuthConfiguration& AddCustomAuthenticationProperties(const Aws::String& key, const Property& value) { m_customAuthenticationPropertiesHasBeenSet = true; m_customAuthenticationProperties.emplace(key, value); return *this; } + inline AuthConfiguration& AddCustomAuthenticationProperties(Aws::String&& key, const Property& value) { m_customAuthenticationPropertiesHasBeenSet = true; m_customAuthenticationProperties.emplace(std::move(key), value); return *this; } + inline AuthConfiguration& AddCustomAuthenticationProperties(const Aws::String& key, Property&& value) { m_customAuthenticationPropertiesHasBeenSet = true; m_customAuthenticationProperties.emplace(key, std::move(value)); return *this; } + inline AuthConfiguration& AddCustomAuthenticationProperties(Aws::String&& key, Property&& value) { m_customAuthenticationPropertiesHasBeenSet = true; m_customAuthenticationProperties.emplace(std::move(key), std::move(value)); return *this; } + inline AuthConfiguration& AddCustomAuthenticationProperties(const char* key, Property&& value) { m_customAuthenticationPropertiesHasBeenSet = true; m_customAuthenticationProperties.emplace(key, std::move(value)); return *this; } + inline AuthConfiguration& AddCustomAuthenticationProperties(const char* key, const Property& value) { m_customAuthenticationPropertiesHasBeenSet = true; m_customAuthenticationProperties.emplace(key, value); return *this; } + ///@} + private: + + Property m_authenticationType; + bool m_authenticationTypeHasBeenSet = false; + + Property m_secretArn; + bool m_secretArnHasBeenSet = false; + + Aws::Map m_oAuth2Properties; + bool m_oAuth2PropertiesHasBeenSet = false; + + Aws::Map m_basicAuthenticationProperties; + bool m_basicAuthenticationPropertiesHasBeenSet = false; + + Aws::Map m_customAuthenticationProperties; + bool m_customAuthenticationPropertiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AuthenticationConfigurationInput.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AuthenticationConfigurationInput.h index b1ca03064fe..039434fa91a 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AuthenticationConfigurationInput.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AuthenticationConfigurationInput.h @@ -8,6 +8,8 @@ #include #include #include +#include +#include #include namespace Aws @@ -79,6 +81,54 @@ namespace Model inline AuthenticationConfigurationInput& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;} inline AuthenticationConfigurationInput& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} ///@} + + ///@{ + /** + *

    The ARN of the KMS key used to encrypt the connection. Only taken an as input + * in the request and stored in the Secret Manager.

    + */ + inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } + inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } + inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } + inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } + inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } + inline AuthenticationConfigurationInput& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} + inline AuthenticationConfigurationInput& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} + inline AuthenticationConfigurationInput& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The credentials used when the authentication type is basic + * authentication.

    + */ + inline const BasicAuthenticationCredentials& GetBasicAuthenticationCredentials() const{ return m_basicAuthenticationCredentials; } + inline bool BasicAuthenticationCredentialsHasBeenSet() const { return m_basicAuthenticationCredentialsHasBeenSet; } + inline void SetBasicAuthenticationCredentials(const BasicAuthenticationCredentials& value) { m_basicAuthenticationCredentialsHasBeenSet = true; m_basicAuthenticationCredentials = value; } + inline void SetBasicAuthenticationCredentials(BasicAuthenticationCredentials&& value) { m_basicAuthenticationCredentialsHasBeenSet = true; m_basicAuthenticationCredentials = std::move(value); } + inline AuthenticationConfigurationInput& WithBasicAuthenticationCredentials(const BasicAuthenticationCredentials& value) { SetBasicAuthenticationCredentials(value); return *this;} + inline AuthenticationConfigurationInput& WithBasicAuthenticationCredentials(BasicAuthenticationCredentials&& value) { SetBasicAuthenticationCredentials(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The credentials used when the authentication type is custom + * authentication.

    + */ + inline const Aws::Map& GetCustomAuthenticationCredentials() const{ return m_customAuthenticationCredentials; } + inline bool CustomAuthenticationCredentialsHasBeenSet() const { return m_customAuthenticationCredentialsHasBeenSet; } + inline void SetCustomAuthenticationCredentials(const Aws::Map& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials = value; } + inline void SetCustomAuthenticationCredentials(Aws::Map&& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials = std::move(value); } + inline AuthenticationConfigurationInput& WithCustomAuthenticationCredentials(const Aws::Map& value) { SetCustomAuthenticationCredentials(value); return *this;} + inline AuthenticationConfigurationInput& WithCustomAuthenticationCredentials(Aws::Map&& value) { SetCustomAuthenticationCredentials(std::move(value)); return *this;} + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(const Aws::String& key, const Aws::String& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(key, value); return *this; } + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(Aws::String&& key, const Aws::String& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(std::move(key), value); return *this; } + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(const Aws::String& key, Aws::String&& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(key, std::move(value)); return *this; } + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(Aws::String&& key, Aws::String&& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(std::move(key), std::move(value)); return *this; } + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(const char* key, Aws::String&& value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(key, std::move(value)); return *this; } + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(Aws::String&& key, const char* value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(std::move(key), value); return *this; } + inline AuthenticationConfigurationInput& AddCustomAuthenticationCredentials(const char* key, const char* value) { m_customAuthenticationCredentialsHasBeenSet = true; m_customAuthenticationCredentials.emplace(key, value); return *this; } + ///@} private: AuthenticationType m_authenticationType; @@ -89,6 +139,15 @@ namespace Model Aws::String m_secretArn; bool m_secretArnHasBeenSet = false; + + Aws::String m_kmsKeyArn; + bool m_kmsKeyArnHasBeenSet = false; + + BasicAuthenticationCredentials m_basicAuthenticationCredentials; + bool m_basicAuthenticationCredentialsHasBeenSet = false; + + Aws::Map m_customAuthenticationCredentials; + bool m_customAuthenticationCredentialsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AuthenticationType.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AuthenticationType.h index 00cdd595a83..e2760d21289 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AuthenticationType.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/AuthenticationType.h @@ -18,7 +18,8 @@ namespace Model NOT_SET, BASIC, OAUTH2, - CUSTOM + CUSTOM, + IAM }; namespace AuthenticationTypeMapper diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BasicAuthenticationCredentials.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BasicAuthenticationCredentials.h new file mode 100644 index 00000000000..f4e4c80d356 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/BasicAuthenticationCredentials.h @@ -0,0 +1,79 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    For supplying basic auth credentials when not providing a + * SecretArn value.

    See Also:

    AWS + * API Reference

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

    The username to connect to the data source.

    + */ + inline const Aws::String& GetUsername() const{ return m_username; } + inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; } + inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; } + inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); } + inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); } + inline BasicAuthenticationCredentials& WithUsername(const Aws::String& value) { SetUsername(value); return *this;} + inline BasicAuthenticationCredentials& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;} + inline BasicAuthenticationCredentials& WithUsername(const char* value) { SetUsername(value); return *this;} + ///@} + + ///@{ + /** + *

    The password to connect to the data source.

    + */ + inline const Aws::String& GetPassword() const{ return m_password; } + inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } + inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } + inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } + inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } + inline BasicAuthenticationCredentials& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} + inline BasicAuthenticationCredentials& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} + inline BasicAuthenticationCredentials& WithPassword(const char* value) { SetPassword(value); return *this;} + ///@} + private: + + Aws::String m_username; + bool m_usernameHasBeenSet = false; + + Aws::String m_password; + bool m_passwordHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Capabilities.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Capabilities.h new file mode 100644 index 00000000000..65654a9b33f --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Capabilities.h @@ -0,0 +1,99 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

    Specifies the supported authentication types returned by the + * DescribeConnectionType API.

    See Also:

    AWS + * API Reference

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

    A list of supported authentication types.

    + */ + inline const Aws::Vector& GetSupportedAuthenticationTypes() const{ return m_supportedAuthenticationTypes; } + inline bool SupportedAuthenticationTypesHasBeenSet() const { return m_supportedAuthenticationTypesHasBeenSet; } + inline void SetSupportedAuthenticationTypes(const Aws::Vector& value) { m_supportedAuthenticationTypesHasBeenSet = true; m_supportedAuthenticationTypes = value; } + inline void SetSupportedAuthenticationTypes(Aws::Vector&& value) { m_supportedAuthenticationTypesHasBeenSet = true; m_supportedAuthenticationTypes = std::move(value); } + inline Capabilities& WithSupportedAuthenticationTypes(const Aws::Vector& value) { SetSupportedAuthenticationTypes(value); return *this;} + inline Capabilities& WithSupportedAuthenticationTypes(Aws::Vector&& value) { SetSupportedAuthenticationTypes(std::move(value)); return *this;} + inline Capabilities& AddSupportedAuthenticationTypes(const AuthenticationType& value) { m_supportedAuthenticationTypesHasBeenSet = true; m_supportedAuthenticationTypes.push_back(value); return *this; } + inline Capabilities& AddSupportedAuthenticationTypes(AuthenticationType&& value) { m_supportedAuthenticationTypesHasBeenSet = true; m_supportedAuthenticationTypes.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    A list of supported data operations.

    + */ + inline const Aws::Vector& GetSupportedDataOperations() const{ return m_supportedDataOperations; } + inline bool SupportedDataOperationsHasBeenSet() const { return m_supportedDataOperationsHasBeenSet; } + inline void SetSupportedDataOperations(const Aws::Vector& value) { m_supportedDataOperationsHasBeenSet = true; m_supportedDataOperations = value; } + inline void SetSupportedDataOperations(Aws::Vector&& value) { m_supportedDataOperationsHasBeenSet = true; m_supportedDataOperations = std::move(value); } + inline Capabilities& WithSupportedDataOperations(const Aws::Vector& value) { SetSupportedDataOperations(value); return *this;} + inline Capabilities& WithSupportedDataOperations(Aws::Vector&& value) { SetSupportedDataOperations(std::move(value)); return *this;} + inline Capabilities& AddSupportedDataOperations(const DataOperation& value) { m_supportedDataOperationsHasBeenSet = true; m_supportedDataOperations.push_back(value); return *this; } + inline Capabilities& AddSupportedDataOperations(DataOperation&& value) { m_supportedDataOperationsHasBeenSet = true; m_supportedDataOperations.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    A list of supported compute environments.

    + */ + inline const Aws::Vector& GetSupportedComputeEnvironments() const{ return m_supportedComputeEnvironments; } + inline bool SupportedComputeEnvironmentsHasBeenSet() const { return m_supportedComputeEnvironmentsHasBeenSet; } + inline void SetSupportedComputeEnvironments(const Aws::Vector& value) { m_supportedComputeEnvironmentsHasBeenSet = true; m_supportedComputeEnvironments = value; } + inline void SetSupportedComputeEnvironments(Aws::Vector&& value) { m_supportedComputeEnvironmentsHasBeenSet = true; m_supportedComputeEnvironments = std::move(value); } + inline Capabilities& WithSupportedComputeEnvironments(const Aws::Vector& value) { SetSupportedComputeEnvironments(value); return *this;} + inline Capabilities& WithSupportedComputeEnvironments(Aws::Vector&& value) { SetSupportedComputeEnvironments(std::move(value)); return *this;} + inline Capabilities& AddSupportedComputeEnvironments(const ComputeEnvironment& value) { m_supportedComputeEnvironmentsHasBeenSet = true; m_supportedComputeEnvironments.push_back(value); return *this; } + inline Capabilities& AddSupportedComputeEnvironments(ComputeEnvironment&& value) { m_supportedComputeEnvironmentsHasBeenSet = true; m_supportedComputeEnvironments.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::Vector m_supportedAuthenticationTypes; + bool m_supportedAuthenticationTypesHasBeenSet = false; + + Aws::Vector m_supportedDataOperations; + bool m_supportedDataOperationsHasBeenSet = false; + + Aws::Vector m_supportedComputeEnvironments; + bool m_supportedComputeEnvironmentsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Catalog.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Catalog.h new file mode 100644 index 00000000000..0a77db41110 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Catalog.h @@ -0,0 +1,263 @@ +/** + * 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 Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

    The catalog object represents a logical grouping of databases in the Glue + * Data Catalog or a federated source. You can now create a Redshift-federated + * catalog or a catalog containing resource links to Redshift databases in another + * account or region.

    See Also:

    AWS API + * Reference

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

    The ID of the catalog. To grant access to the default catalog, this field + * should not be provided.

    + */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + inline Catalog& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + inline Catalog& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + inline Catalog& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the catalog. Cannot be the same as the account ID.

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

    The Amazon Resource Name (ARN) assigned to the catalog resource.

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

    Description string, not more than 2048 bytes long, matching the URI address + * multi-line string pattern. A description of the catalog.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline Catalog& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline Catalog& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline Catalog& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    A map array of key-value pairs that define parameters and properties of the + * catalog.

    + */ + inline const Aws::Map& GetParameters() const{ return m_parameters; } + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } + inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + inline Catalog& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + inline Catalog& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + inline Catalog& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + inline Catalog& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + inline Catalog& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + inline Catalog& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } + inline Catalog& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + inline Catalog& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + inline Catalog& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The time at which the catalog was created.

    + */ + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + inline Catalog& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline Catalog& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The time at which the catalog was last updated.

    + */ + inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } + inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } + inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } + inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } + inline Catalog& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} + inline Catalog& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A TargetRedshiftCatalog object that describes a target catalog + * for database resource linking.

    + */ + inline const TargetRedshiftCatalog& GetTargetRedshiftCatalog() const{ return m_targetRedshiftCatalog; } + inline bool TargetRedshiftCatalogHasBeenSet() const { return m_targetRedshiftCatalogHasBeenSet; } + inline void SetTargetRedshiftCatalog(const TargetRedshiftCatalog& value) { m_targetRedshiftCatalogHasBeenSet = true; m_targetRedshiftCatalog = value; } + inline void SetTargetRedshiftCatalog(TargetRedshiftCatalog&& value) { m_targetRedshiftCatalogHasBeenSet = true; m_targetRedshiftCatalog = std::move(value); } + inline Catalog& WithTargetRedshiftCatalog(const TargetRedshiftCatalog& value) { SetTargetRedshiftCatalog(value); return *this;} + inline Catalog& WithTargetRedshiftCatalog(TargetRedshiftCatalog&& value) { SetTargetRedshiftCatalog(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A FederatedCatalog object that points to an entity outside the + * Glue Data Catalog.

    + */ + inline const FederatedCatalog& GetFederatedCatalog() const{ return m_federatedCatalog; } + inline bool FederatedCatalogHasBeenSet() const { return m_federatedCatalogHasBeenSet; } + inline void SetFederatedCatalog(const FederatedCatalog& value) { m_federatedCatalogHasBeenSet = true; m_federatedCatalog = value; } + inline void SetFederatedCatalog(FederatedCatalog&& value) { m_federatedCatalogHasBeenSet = true; m_federatedCatalog = std::move(value); } + inline Catalog& WithFederatedCatalog(const FederatedCatalog& value) { SetFederatedCatalog(value); return *this;} + inline Catalog& WithFederatedCatalog(FederatedCatalog&& value) { SetFederatedCatalog(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A CatalogProperties object that specifies data lake access + * properties and other custom properties.

    + */ + inline const CatalogPropertiesOutput& GetCatalogProperties() const{ return m_catalogProperties; } + inline bool CatalogPropertiesHasBeenSet() const { return m_catalogPropertiesHasBeenSet; } + inline void SetCatalogProperties(const CatalogPropertiesOutput& value) { m_catalogPropertiesHasBeenSet = true; m_catalogProperties = value; } + inline void SetCatalogProperties(CatalogPropertiesOutput&& value) { m_catalogPropertiesHasBeenSet = true; m_catalogProperties = std::move(value); } + inline Catalog& WithCatalogProperties(const CatalogPropertiesOutput& value) { SetCatalogProperties(value); return *this;} + inline Catalog& WithCatalogProperties(CatalogPropertiesOutput&& value) { SetCatalogProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    An array of PrincipalPermissions objects. Creates a set of + * default permissions on the table(s) for principals. Used by Amazon Web Services + * Lake Formation. Not used in the normal course of Glue operations.

    + */ + inline const Aws::Vector& GetCreateTableDefaultPermissions() const{ return m_createTableDefaultPermissions; } + inline bool CreateTableDefaultPermissionsHasBeenSet() const { return m_createTableDefaultPermissionsHasBeenSet; } + inline void SetCreateTableDefaultPermissions(const Aws::Vector& value) { m_createTableDefaultPermissionsHasBeenSet = true; m_createTableDefaultPermissions = value; } + inline void SetCreateTableDefaultPermissions(Aws::Vector&& value) { m_createTableDefaultPermissionsHasBeenSet = true; m_createTableDefaultPermissions = std::move(value); } + inline Catalog& WithCreateTableDefaultPermissions(const Aws::Vector& value) { SetCreateTableDefaultPermissions(value); return *this;} + inline Catalog& WithCreateTableDefaultPermissions(Aws::Vector&& value) { SetCreateTableDefaultPermissions(std::move(value)); return *this;} + inline Catalog& AddCreateTableDefaultPermissions(const PrincipalPermissions& value) { m_createTableDefaultPermissionsHasBeenSet = true; m_createTableDefaultPermissions.push_back(value); return *this; } + inline Catalog& AddCreateTableDefaultPermissions(PrincipalPermissions&& value) { m_createTableDefaultPermissionsHasBeenSet = true; m_createTableDefaultPermissions.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    An array of PrincipalPermissions objects. Creates a set of + * default permissions on the database(s) for principals. Used by Amazon Web + * Services Lake Formation. Not used in the normal course of Glue operations.

    + */ + inline const Aws::Vector& GetCreateDatabaseDefaultPermissions() const{ return m_createDatabaseDefaultPermissions; } + inline bool CreateDatabaseDefaultPermissionsHasBeenSet() const { return m_createDatabaseDefaultPermissionsHasBeenSet; } + inline void SetCreateDatabaseDefaultPermissions(const Aws::Vector& value) { m_createDatabaseDefaultPermissionsHasBeenSet = true; m_createDatabaseDefaultPermissions = value; } + inline void SetCreateDatabaseDefaultPermissions(Aws::Vector&& value) { m_createDatabaseDefaultPermissionsHasBeenSet = true; m_createDatabaseDefaultPermissions = std::move(value); } + inline Catalog& WithCreateDatabaseDefaultPermissions(const Aws::Vector& value) { SetCreateDatabaseDefaultPermissions(value); return *this;} + inline Catalog& WithCreateDatabaseDefaultPermissions(Aws::Vector&& value) { SetCreateDatabaseDefaultPermissions(std::move(value)); return *this;} + inline Catalog& AddCreateDatabaseDefaultPermissions(const PrincipalPermissions& value) { m_createDatabaseDefaultPermissionsHasBeenSet = true; m_createDatabaseDefaultPermissions.push_back(value); return *this; } + inline Catalog& AddCreateDatabaseDefaultPermissions(PrincipalPermissions&& value) { m_createDatabaseDefaultPermissionsHasBeenSet = true; m_createDatabaseDefaultPermissions.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::Map m_parameters; + bool m_parametersHasBeenSet = false; + + Aws::Utils::DateTime m_createTime; + bool m_createTimeHasBeenSet = false; + + Aws::Utils::DateTime m_updateTime; + bool m_updateTimeHasBeenSet = false; + + TargetRedshiftCatalog m_targetRedshiftCatalog; + bool m_targetRedshiftCatalogHasBeenSet = false; + + FederatedCatalog m_federatedCatalog; + bool m_federatedCatalogHasBeenSet = false; + + CatalogPropertiesOutput m_catalogProperties; + bool m_catalogPropertiesHasBeenSet = false; + + Aws::Vector m_createTableDefaultPermissions; + bool m_createTableDefaultPermissionsHasBeenSet = false; + + Aws::Vector m_createDatabaseDefaultPermissions; + bool m_createDatabaseDefaultPermissionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CatalogInput.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CatalogInput.h new file mode 100644 index 00000000000..1eb1eec9a37 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CatalogInput.h @@ -0,0 +1,179 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    A structure that describes catalog properties.

    See Also:

    AWS + * API Reference

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

    Description string, not more than 2048 bytes long, matching the URI address + * multi-line string pattern. A description of the catalog.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline CatalogInput& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CatalogInput& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CatalogInput& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    A FederatedCatalog object. A FederatedCatalog + * structure that references an entity outside the Glue Data Catalog, for example a + * Redshift database.

    + */ + inline const FederatedCatalog& GetFederatedCatalog() const{ return m_federatedCatalog; } + inline bool FederatedCatalogHasBeenSet() const { return m_federatedCatalogHasBeenSet; } + inline void SetFederatedCatalog(const FederatedCatalog& value) { m_federatedCatalogHasBeenSet = true; m_federatedCatalog = value; } + inline void SetFederatedCatalog(FederatedCatalog&& value) { m_federatedCatalogHasBeenSet = true; m_federatedCatalog = std::move(value); } + inline CatalogInput& WithFederatedCatalog(const FederatedCatalog& value) { SetFederatedCatalog(value); return *this;} + inline CatalogInput& WithFederatedCatalog(FederatedCatalog&& value) { SetFederatedCatalog(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A map array of key-value pairs that define the parameters and properties of + * the catalog.

    + */ + inline const Aws::Map& GetParameters() const{ return m_parameters; } + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } + inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + inline CatalogInput& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + inline CatalogInput& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + inline CatalogInput& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + inline CatalogInput& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + inline CatalogInput& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + inline CatalogInput& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } + inline CatalogInput& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + inline CatalogInput& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + inline CatalogInput& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    A TargetRedshiftCatalog object that describes a target catalog + * for resource linking.

    + */ + inline const TargetRedshiftCatalog& GetTargetRedshiftCatalog() const{ return m_targetRedshiftCatalog; } + inline bool TargetRedshiftCatalogHasBeenSet() const { return m_targetRedshiftCatalogHasBeenSet; } + inline void SetTargetRedshiftCatalog(const TargetRedshiftCatalog& value) { m_targetRedshiftCatalogHasBeenSet = true; m_targetRedshiftCatalog = value; } + inline void SetTargetRedshiftCatalog(TargetRedshiftCatalog&& value) { m_targetRedshiftCatalogHasBeenSet = true; m_targetRedshiftCatalog = std::move(value); } + inline CatalogInput& WithTargetRedshiftCatalog(const TargetRedshiftCatalog& value) { SetTargetRedshiftCatalog(value); return *this;} + inline CatalogInput& WithTargetRedshiftCatalog(TargetRedshiftCatalog&& value) { SetTargetRedshiftCatalog(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A CatalogProperties object that specifies data lake access + * properties and other custom properties.

    + */ + inline const CatalogProperties& GetCatalogProperties() const{ return m_catalogProperties; } + inline bool CatalogPropertiesHasBeenSet() const { return m_catalogPropertiesHasBeenSet; } + inline void SetCatalogProperties(const CatalogProperties& value) { m_catalogPropertiesHasBeenSet = true; m_catalogProperties = value; } + inline void SetCatalogProperties(CatalogProperties&& value) { m_catalogPropertiesHasBeenSet = true; m_catalogProperties = std::move(value); } + inline CatalogInput& WithCatalogProperties(const CatalogProperties& value) { SetCatalogProperties(value); return *this;} + inline CatalogInput& WithCatalogProperties(CatalogProperties&& value) { SetCatalogProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    An array of PrincipalPermissions objects. Creates a set of + * default permissions on the table(s) for principals. Used by Amazon Web Services + * Lake Formation. Typically should be explicitly set as an empty list.

    + */ + inline const Aws::Vector& GetCreateTableDefaultPermissions() const{ return m_createTableDefaultPermissions; } + inline bool CreateTableDefaultPermissionsHasBeenSet() const { return m_createTableDefaultPermissionsHasBeenSet; } + inline void SetCreateTableDefaultPermissions(const Aws::Vector& value) { m_createTableDefaultPermissionsHasBeenSet = true; m_createTableDefaultPermissions = value; } + inline void SetCreateTableDefaultPermissions(Aws::Vector&& value) { m_createTableDefaultPermissionsHasBeenSet = true; m_createTableDefaultPermissions = std::move(value); } + inline CatalogInput& WithCreateTableDefaultPermissions(const Aws::Vector& value) { SetCreateTableDefaultPermissions(value); return *this;} + inline CatalogInput& WithCreateTableDefaultPermissions(Aws::Vector&& value) { SetCreateTableDefaultPermissions(std::move(value)); return *this;} + inline CatalogInput& AddCreateTableDefaultPermissions(const PrincipalPermissions& value) { m_createTableDefaultPermissionsHasBeenSet = true; m_createTableDefaultPermissions.push_back(value); return *this; } + inline CatalogInput& AddCreateTableDefaultPermissions(PrincipalPermissions&& value) { m_createTableDefaultPermissionsHasBeenSet = true; m_createTableDefaultPermissions.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    An array of PrincipalPermissions objects. Creates a set of + * default permissions on the database(s) for principals. Used by Amazon Web + * Services Lake Formation. Typically should be explicitly set as an empty + * list.

    + */ + inline const Aws::Vector& GetCreateDatabaseDefaultPermissions() const{ return m_createDatabaseDefaultPermissions; } + inline bool CreateDatabaseDefaultPermissionsHasBeenSet() const { return m_createDatabaseDefaultPermissionsHasBeenSet; } + inline void SetCreateDatabaseDefaultPermissions(const Aws::Vector& value) { m_createDatabaseDefaultPermissionsHasBeenSet = true; m_createDatabaseDefaultPermissions = value; } + inline void SetCreateDatabaseDefaultPermissions(Aws::Vector&& value) { m_createDatabaseDefaultPermissionsHasBeenSet = true; m_createDatabaseDefaultPermissions = std::move(value); } + inline CatalogInput& WithCreateDatabaseDefaultPermissions(const Aws::Vector& value) { SetCreateDatabaseDefaultPermissions(value); return *this;} + inline CatalogInput& WithCreateDatabaseDefaultPermissions(Aws::Vector&& value) { SetCreateDatabaseDefaultPermissions(std::move(value)); return *this;} + inline CatalogInput& AddCreateDatabaseDefaultPermissions(const PrincipalPermissions& value) { m_createDatabaseDefaultPermissionsHasBeenSet = true; m_createDatabaseDefaultPermissions.push_back(value); return *this; } + inline CatalogInput& AddCreateDatabaseDefaultPermissions(PrincipalPermissions&& value) { m_createDatabaseDefaultPermissionsHasBeenSet = true; m_createDatabaseDefaultPermissions.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + FederatedCatalog m_federatedCatalog; + bool m_federatedCatalogHasBeenSet = false; + + Aws::Map m_parameters; + bool m_parametersHasBeenSet = false; + + TargetRedshiftCatalog m_targetRedshiftCatalog; + bool m_targetRedshiftCatalogHasBeenSet = false; + + CatalogProperties m_catalogProperties; + bool m_catalogPropertiesHasBeenSet = false; + + Aws::Vector m_createTableDefaultPermissions; + bool m_createTableDefaultPermissionsHasBeenSet = false; + + Aws::Vector m_createDatabaseDefaultPermissions; + bool m_createDatabaseDefaultPermissionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CatalogProperties.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CatalogProperties.h new file mode 100644 index 00000000000..f94e3f862e1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CatalogProperties.h @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

    A structure that specifies data lake access properties and other custom + * properties.

    See Also:

    AWS + * API Reference

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

    A DataLakeAccessProperties object that specifies properties to + * configure data lake access for your catalog resource in the Glue Data + * Catalog.

    + */ + inline const DataLakeAccessProperties& GetDataLakeAccessProperties() const{ return m_dataLakeAccessProperties; } + inline bool DataLakeAccessPropertiesHasBeenSet() const { return m_dataLakeAccessPropertiesHasBeenSet; } + inline void SetDataLakeAccessProperties(const DataLakeAccessProperties& value) { m_dataLakeAccessPropertiesHasBeenSet = true; m_dataLakeAccessProperties = value; } + inline void SetDataLakeAccessProperties(DataLakeAccessProperties&& value) { m_dataLakeAccessPropertiesHasBeenSet = true; m_dataLakeAccessProperties = std::move(value); } + inline CatalogProperties& WithDataLakeAccessProperties(const DataLakeAccessProperties& value) { SetDataLakeAccessProperties(value); return *this;} + inline CatalogProperties& WithDataLakeAccessProperties(DataLakeAccessProperties&& value) { SetDataLakeAccessProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Additional key-value properties for the catalog, such as column statistics + * optimizations.

    + */ + inline const Aws::Map& GetCustomProperties() const{ return m_customProperties; } + inline bool CustomPropertiesHasBeenSet() const { return m_customPropertiesHasBeenSet; } + inline void SetCustomProperties(const Aws::Map& value) { m_customPropertiesHasBeenSet = true; m_customProperties = value; } + inline void SetCustomProperties(Aws::Map&& value) { m_customPropertiesHasBeenSet = true; m_customProperties = std::move(value); } + inline CatalogProperties& WithCustomProperties(const Aws::Map& value) { SetCustomProperties(value); return *this;} + inline CatalogProperties& WithCustomProperties(Aws::Map&& value) { SetCustomProperties(std::move(value)); return *this;} + inline CatalogProperties& AddCustomProperties(const Aws::String& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; } + inline CatalogProperties& AddCustomProperties(Aws::String&& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; } + inline CatalogProperties& AddCustomProperties(const Aws::String& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; } + inline CatalogProperties& AddCustomProperties(Aws::String&& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), std::move(value)); return *this; } + inline CatalogProperties& AddCustomProperties(const char* key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; } + inline CatalogProperties& AddCustomProperties(Aws::String&& key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; } + inline CatalogProperties& AddCustomProperties(const char* key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; } + ///@} + private: + + DataLakeAccessProperties m_dataLakeAccessProperties; + bool m_dataLakeAccessPropertiesHasBeenSet = false; + + Aws::Map m_customProperties; + bool m_customPropertiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CatalogPropertiesOutput.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CatalogPropertiesOutput.h new file mode 100644 index 00000000000..b312be34d0f --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CatalogPropertiesOutput.h @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

    Property attributes that include configuration properties for the catalog + * resource.

    See Also:

    AWS + * API Reference

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

    A DataLakeAccessProperties object with input properties to + * configure data lake access for your catalog resource in the Glue Data + * Catalog.

    + */ + inline const DataLakeAccessPropertiesOutput& GetDataLakeAccessProperties() const{ return m_dataLakeAccessProperties; } + inline bool DataLakeAccessPropertiesHasBeenSet() const { return m_dataLakeAccessPropertiesHasBeenSet; } + inline void SetDataLakeAccessProperties(const DataLakeAccessPropertiesOutput& value) { m_dataLakeAccessPropertiesHasBeenSet = true; m_dataLakeAccessProperties = value; } + inline void SetDataLakeAccessProperties(DataLakeAccessPropertiesOutput&& value) { m_dataLakeAccessPropertiesHasBeenSet = true; m_dataLakeAccessProperties = std::move(value); } + inline CatalogPropertiesOutput& WithDataLakeAccessProperties(const DataLakeAccessPropertiesOutput& value) { SetDataLakeAccessProperties(value); return *this;} + inline CatalogPropertiesOutput& WithDataLakeAccessProperties(DataLakeAccessPropertiesOutput&& value) { SetDataLakeAccessProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Additional key-value properties for the catalog, such as column statistics + * optimizations.

    + */ + inline const Aws::Map& GetCustomProperties() const{ return m_customProperties; } + inline bool CustomPropertiesHasBeenSet() const { return m_customPropertiesHasBeenSet; } + inline void SetCustomProperties(const Aws::Map& value) { m_customPropertiesHasBeenSet = true; m_customProperties = value; } + inline void SetCustomProperties(Aws::Map&& value) { m_customPropertiesHasBeenSet = true; m_customProperties = std::move(value); } + inline CatalogPropertiesOutput& WithCustomProperties(const Aws::Map& value) { SetCustomProperties(value); return *this;} + inline CatalogPropertiesOutput& WithCustomProperties(Aws::Map&& value) { SetCustomProperties(std::move(value)); return *this;} + inline CatalogPropertiesOutput& AddCustomProperties(const Aws::String& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; } + inline CatalogPropertiesOutput& AddCustomProperties(Aws::String&& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; } + inline CatalogPropertiesOutput& AddCustomProperties(const Aws::String& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; } + inline CatalogPropertiesOutput& AddCustomProperties(Aws::String&& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), std::move(value)); return *this; } + inline CatalogPropertiesOutput& AddCustomProperties(const char* key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; } + inline CatalogPropertiesOutput& AddCustomProperties(Aws::String&& key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; } + inline CatalogPropertiesOutput& AddCustomProperties(const char* key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; } + ///@} + private: + + DataLakeAccessPropertiesOutput m_dataLakeAccessProperties; + bool m_dataLakeAccessPropertiesHasBeenSet = false; + + Aws::Map m_customProperties; + bool m_customPropertiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ColumnStatisticsTaskSettings.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ColumnStatisticsTaskSettings.h index 66f0f7a539c..2c9ce9880df 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ColumnStatisticsTaskSettings.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ColumnStatisticsTaskSettings.h @@ -8,6 +8,9 @@ #include #include #include +#include +#include +#include #include namespace Aws @@ -146,6 +149,45 @@ namespace Model inline ColumnStatisticsTaskSettings& WithSecurityConfiguration(Aws::String&& value) { SetSecurityConfiguration(std::move(value)); return *this;} inline ColumnStatisticsTaskSettings& WithSecurityConfiguration(const char* value) { SetSecurityConfiguration(value); return *this;} ///@} + + ///@{ + /** + *

    The type of schedule for a column statistics task. Possible values may be + * CRON or AUTO.

    + */ + inline const ScheduleType& GetScheduleType() const{ return m_scheduleType; } + inline bool ScheduleTypeHasBeenSet() const { return m_scheduleTypeHasBeenSet; } + inline void SetScheduleType(const ScheduleType& value) { m_scheduleTypeHasBeenSet = true; m_scheduleType = value; } + inline void SetScheduleType(ScheduleType&& value) { m_scheduleTypeHasBeenSet = true; m_scheduleType = std::move(value); } + inline ColumnStatisticsTaskSettings& WithScheduleType(const ScheduleType& value) { SetScheduleType(value); return *this;} + inline ColumnStatisticsTaskSettings& WithScheduleType(ScheduleType&& value) { SetScheduleType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The source of setting the column statistics task. Possible values may be + * CATALOG or TABLE.

    + */ + inline const SettingSource& GetSettingSource() const{ return m_settingSource; } + inline bool SettingSourceHasBeenSet() const { return m_settingSourceHasBeenSet; } + inline void SetSettingSource(const SettingSource& value) { m_settingSourceHasBeenSet = true; m_settingSource = value; } + inline void SetSettingSource(SettingSource&& value) { m_settingSourceHasBeenSet = true; m_settingSource = std::move(value); } + inline ColumnStatisticsTaskSettings& WithSettingSource(const SettingSource& value) { SetSettingSource(value); return *this;} + inline ColumnStatisticsTaskSettings& WithSettingSource(SettingSource&& value) { SetSettingSource(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The last ExecutionAttempt for the column statistics task + * run.

    + */ + inline const ExecutionAttempt& GetLastExecutionAttempt() const{ return m_lastExecutionAttempt; } + inline bool LastExecutionAttemptHasBeenSet() const { return m_lastExecutionAttemptHasBeenSet; } + inline void SetLastExecutionAttempt(const ExecutionAttempt& value) { m_lastExecutionAttemptHasBeenSet = true; m_lastExecutionAttempt = value; } + inline void SetLastExecutionAttempt(ExecutionAttempt&& value) { m_lastExecutionAttemptHasBeenSet = true; m_lastExecutionAttempt = std::move(value); } + inline ColumnStatisticsTaskSettings& WithLastExecutionAttempt(const ExecutionAttempt& value) { SetLastExecutionAttempt(value); return *this;} + inline ColumnStatisticsTaskSettings& WithLastExecutionAttempt(ExecutionAttempt&& value) { SetLastExecutionAttempt(std::move(value)); return *this;} + ///@} private: Aws::String m_databaseName; @@ -171,6 +213,15 @@ namespace Model Aws::String m_securityConfiguration; bool m_securityConfigurationHasBeenSet = false; + + ScheduleType m_scheduleType; + bool m_scheduleTypeHasBeenSet = false; + + SettingSource m_settingSource; + bool m_settingSourceHasBeenSet = false; + + ExecutionAttempt m_lastExecutionAttempt; + bool m_lastExecutionAttemptHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ComputeEnvironment.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ComputeEnvironment.h new file mode 100644 index 00000000000..2d81854c25f --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ComputeEnvironment.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class ComputeEnvironment + { + NOT_SET, + SPARK, + ATHENA, + PYTHON + }; + +namespace ComputeEnvironmentMapper +{ +AWS_GLUE_API ComputeEnvironment GetComputeEnvironmentForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForComputeEnvironment(ComputeEnvironment value); +} // namespace ComputeEnvironmentMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ComputeEnvironmentConfiguration.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ComputeEnvironmentConfiguration.h new file mode 100644 index 00000000000..2c4ff9f93f0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ComputeEnvironmentConfiguration.h @@ -0,0 +1,215 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    An object containing configuration for a compute environment (such as Spark, + * Python or Athena) returned by the DescribeConnectionType + * API.

    See Also:

    AWS + * API Reference

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

    A name for the compute environment configuration.

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

    A description of the compute environment.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline ComputeEnvironmentConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline ComputeEnvironmentConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline ComputeEnvironmentConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The type of compute environment.

    + */ + inline const ComputeEnvironment& GetComputeEnvironment() const{ return m_computeEnvironment; } + inline bool ComputeEnvironmentHasBeenSet() const { return m_computeEnvironmentHasBeenSet; } + inline void SetComputeEnvironment(const ComputeEnvironment& value) { m_computeEnvironmentHasBeenSet = true; m_computeEnvironment = value; } + inline void SetComputeEnvironment(ComputeEnvironment&& value) { m_computeEnvironmentHasBeenSet = true; m_computeEnvironment = std::move(value); } + inline ComputeEnvironmentConfiguration& WithComputeEnvironment(const ComputeEnvironment& value) { SetComputeEnvironment(value); return *this;} + inline ComputeEnvironmentConfiguration& WithComputeEnvironment(ComputeEnvironment&& value) { SetComputeEnvironment(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The supported authentication types for the compute environment.

    + */ + inline const Aws::Vector& GetSupportedAuthenticationTypes() const{ return m_supportedAuthenticationTypes; } + inline bool SupportedAuthenticationTypesHasBeenSet() const { return m_supportedAuthenticationTypesHasBeenSet; } + inline void SetSupportedAuthenticationTypes(const Aws::Vector& value) { m_supportedAuthenticationTypesHasBeenSet = true; m_supportedAuthenticationTypes = value; } + inline void SetSupportedAuthenticationTypes(Aws::Vector&& value) { m_supportedAuthenticationTypesHasBeenSet = true; m_supportedAuthenticationTypes = std::move(value); } + inline ComputeEnvironmentConfiguration& WithSupportedAuthenticationTypes(const Aws::Vector& value) { SetSupportedAuthenticationTypes(value); return *this;} + inline ComputeEnvironmentConfiguration& WithSupportedAuthenticationTypes(Aws::Vector&& value) { SetSupportedAuthenticationTypes(std::move(value)); return *this;} + inline ComputeEnvironmentConfiguration& AddSupportedAuthenticationTypes(const AuthenticationType& value) { m_supportedAuthenticationTypesHasBeenSet = true; m_supportedAuthenticationTypes.push_back(value); return *this; } + inline ComputeEnvironmentConfiguration& AddSupportedAuthenticationTypes(AuthenticationType&& value) { m_supportedAuthenticationTypesHasBeenSet = true; m_supportedAuthenticationTypes.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The parameters used as connection options for the compute environment.

    + */ + inline const Aws::Map& GetConnectionOptions() const{ return m_connectionOptions; } + inline bool ConnectionOptionsHasBeenSet() const { return m_connectionOptionsHasBeenSet; } + inline void SetConnectionOptions(const Aws::Map& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions = value; } + inline void SetConnectionOptions(Aws::Map&& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions = std::move(value); } + inline ComputeEnvironmentConfiguration& WithConnectionOptions(const Aws::Map& value) { SetConnectionOptions(value); return *this;} + inline ComputeEnvironmentConfiguration& WithConnectionOptions(Aws::Map&& value) { SetConnectionOptions(std::move(value)); return *this;} + inline ComputeEnvironmentConfiguration& AddConnectionOptions(const Aws::String& key, const Property& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(key, value); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionOptions(Aws::String&& key, const Property& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(std::move(key), value); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionOptions(const Aws::String& key, Property&& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(key, std::move(value)); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionOptions(Aws::String&& key, Property&& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(std::move(key), std::move(value)); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionOptions(const char* key, Property&& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(key, std::move(value)); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionOptions(const char* key, const Property& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The connection property name overrides for the compute environment.

    + */ + inline const Aws::Map& GetConnectionPropertyNameOverrides() const{ return m_connectionPropertyNameOverrides; } + inline bool ConnectionPropertyNameOverridesHasBeenSet() const { return m_connectionPropertyNameOverridesHasBeenSet; } + inline void SetConnectionPropertyNameOverrides(const Aws::Map& value) { m_connectionPropertyNameOverridesHasBeenSet = true; m_connectionPropertyNameOverrides = value; } + inline void SetConnectionPropertyNameOverrides(Aws::Map&& value) { m_connectionPropertyNameOverridesHasBeenSet = true; m_connectionPropertyNameOverrides = std::move(value); } + inline ComputeEnvironmentConfiguration& WithConnectionPropertyNameOverrides(const Aws::Map& value) { SetConnectionPropertyNameOverrides(value); return *this;} + inline ComputeEnvironmentConfiguration& WithConnectionPropertyNameOverrides(Aws::Map&& value) { SetConnectionPropertyNameOverrides(std::move(value)); return *this;} + inline ComputeEnvironmentConfiguration& AddConnectionPropertyNameOverrides(const Aws::String& key, const Aws::String& value) { m_connectionPropertyNameOverridesHasBeenSet = true; m_connectionPropertyNameOverrides.emplace(key, value); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionPropertyNameOverrides(Aws::String&& key, const Aws::String& value) { m_connectionPropertyNameOverridesHasBeenSet = true; m_connectionPropertyNameOverrides.emplace(std::move(key), value); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionPropertyNameOverrides(const Aws::String& key, Aws::String&& value) { m_connectionPropertyNameOverridesHasBeenSet = true; m_connectionPropertyNameOverrides.emplace(key, std::move(value)); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionPropertyNameOverrides(Aws::String&& key, Aws::String&& value) { m_connectionPropertyNameOverridesHasBeenSet = true; m_connectionPropertyNameOverrides.emplace(std::move(key), std::move(value)); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionPropertyNameOverrides(const char* key, Aws::String&& value) { m_connectionPropertyNameOverridesHasBeenSet = true; m_connectionPropertyNameOverrides.emplace(key, std::move(value)); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionPropertyNameOverrides(Aws::String&& key, const char* value) { m_connectionPropertyNameOverridesHasBeenSet = true; m_connectionPropertyNameOverrides.emplace(std::move(key), value); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionPropertyNameOverrides(const char* key, const char* value) { m_connectionPropertyNameOverridesHasBeenSet = true; m_connectionPropertyNameOverrides.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The connection option name overrides for the compute environment.

    + */ + inline const Aws::Map& GetConnectionOptionNameOverrides() const{ return m_connectionOptionNameOverrides; } + inline bool ConnectionOptionNameOverridesHasBeenSet() const { return m_connectionOptionNameOverridesHasBeenSet; } + inline void SetConnectionOptionNameOverrides(const Aws::Map& value) { m_connectionOptionNameOverridesHasBeenSet = true; m_connectionOptionNameOverrides = value; } + inline void SetConnectionOptionNameOverrides(Aws::Map&& value) { m_connectionOptionNameOverridesHasBeenSet = true; m_connectionOptionNameOverrides = std::move(value); } + inline ComputeEnvironmentConfiguration& WithConnectionOptionNameOverrides(const Aws::Map& value) { SetConnectionOptionNameOverrides(value); return *this;} + inline ComputeEnvironmentConfiguration& WithConnectionOptionNameOverrides(Aws::Map&& value) { SetConnectionOptionNameOverrides(std::move(value)); return *this;} + inline ComputeEnvironmentConfiguration& AddConnectionOptionNameOverrides(const Aws::String& key, const Aws::String& value) { m_connectionOptionNameOverridesHasBeenSet = true; m_connectionOptionNameOverrides.emplace(key, value); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionOptionNameOverrides(Aws::String&& key, const Aws::String& value) { m_connectionOptionNameOverridesHasBeenSet = true; m_connectionOptionNameOverrides.emplace(std::move(key), value); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionOptionNameOverrides(const Aws::String& key, Aws::String&& value) { m_connectionOptionNameOverridesHasBeenSet = true; m_connectionOptionNameOverrides.emplace(key, std::move(value)); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionOptionNameOverrides(Aws::String&& key, Aws::String&& value) { m_connectionOptionNameOverridesHasBeenSet = true; m_connectionOptionNameOverrides.emplace(std::move(key), std::move(value)); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionOptionNameOverrides(const char* key, Aws::String&& value) { m_connectionOptionNameOverridesHasBeenSet = true; m_connectionOptionNameOverrides.emplace(key, std::move(value)); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionOptionNameOverrides(Aws::String&& key, const char* value) { m_connectionOptionNameOverridesHasBeenSet = true; m_connectionOptionNameOverrides.emplace(std::move(key), value); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionOptionNameOverrides(const char* key, const char* value) { m_connectionOptionNameOverridesHasBeenSet = true; m_connectionOptionNameOverrides.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The connection properties that are required as overrides for the compute + * environment.

    + */ + inline const Aws::Vector& GetConnectionPropertiesRequiredOverrides() const{ return m_connectionPropertiesRequiredOverrides; } + inline bool ConnectionPropertiesRequiredOverridesHasBeenSet() const { return m_connectionPropertiesRequiredOverridesHasBeenSet; } + inline void SetConnectionPropertiesRequiredOverrides(const Aws::Vector& value) { m_connectionPropertiesRequiredOverridesHasBeenSet = true; m_connectionPropertiesRequiredOverrides = value; } + inline void SetConnectionPropertiesRequiredOverrides(Aws::Vector&& value) { m_connectionPropertiesRequiredOverridesHasBeenSet = true; m_connectionPropertiesRequiredOverrides = std::move(value); } + inline ComputeEnvironmentConfiguration& WithConnectionPropertiesRequiredOverrides(const Aws::Vector& value) { SetConnectionPropertiesRequiredOverrides(value); return *this;} + inline ComputeEnvironmentConfiguration& WithConnectionPropertiesRequiredOverrides(Aws::Vector&& value) { SetConnectionPropertiesRequiredOverrides(std::move(value)); return *this;} + inline ComputeEnvironmentConfiguration& AddConnectionPropertiesRequiredOverrides(const Aws::String& value) { m_connectionPropertiesRequiredOverridesHasBeenSet = true; m_connectionPropertiesRequiredOverrides.push_back(value); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionPropertiesRequiredOverrides(Aws::String&& value) { m_connectionPropertiesRequiredOverridesHasBeenSet = true; m_connectionPropertiesRequiredOverrides.push_back(std::move(value)); return *this; } + inline ComputeEnvironmentConfiguration& AddConnectionPropertiesRequiredOverrides(const char* value) { m_connectionPropertiesRequiredOverridesHasBeenSet = true; m_connectionPropertiesRequiredOverrides.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    Indicates whether PhysicalConnectionProperties are required for + * the compute environment.

    + */ + inline bool GetPhysicalConnectionPropertiesRequired() const{ return m_physicalConnectionPropertiesRequired; } + inline bool PhysicalConnectionPropertiesRequiredHasBeenSet() const { return m_physicalConnectionPropertiesRequiredHasBeenSet; } + inline void SetPhysicalConnectionPropertiesRequired(bool value) { m_physicalConnectionPropertiesRequiredHasBeenSet = true; m_physicalConnectionPropertiesRequired = value; } + inline ComputeEnvironmentConfiguration& WithPhysicalConnectionPropertiesRequired(bool value) { SetPhysicalConnectionPropertiesRequired(value); return *this;} + ///@} + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + ComputeEnvironment m_computeEnvironment; + bool m_computeEnvironmentHasBeenSet = false; + + Aws::Vector m_supportedAuthenticationTypes; + bool m_supportedAuthenticationTypesHasBeenSet = false; + + Aws::Map m_connectionOptions; + bool m_connectionOptionsHasBeenSet = false; + + Aws::Map m_connectionPropertyNameOverrides; + bool m_connectionPropertyNameOverridesHasBeenSet = false; + + Aws::Map m_connectionOptionNameOverrides; + bool m_connectionOptionNameOverridesHasBeenSet = false; + + Aws::Vector m_connectionPropertiesRequiredOverrides; + bool m_connectionPropertiesRequiredOverridesHasBeenSet = false; + + bool m_physicalConnectionPropertiesRequired; + bool m_physicalConnectionPropertiesRequiredHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Connection.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Connection.h index 4c086c77995..3d1141cc265 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Connection.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Connection.h @@ -14,6 +14,7 @@ #include #include #include +#include #include namespace Aws @@ -102,26 +103,27 @@ namespace Model ///@{ /** - *

    These key-value pairs define parameters for the connection:

    • - * HOST - The host URI: either the fully qualified domain name (FQDN) - * or the IPv4 address of the database host.

    • PORT - - * The port number, between 1024 and 65535, of the port on which the database host - * is listening for database connections.

    • USER_NAME - * - The name under which to log in to the database. The value string for - * USER_NAME is "USERNAME".

    • - * PASSWORD - A password, if one is used, for the user name.

    • - *
    • ENCRYPTED_PASSWORD - When you enable connection password - * protection by setting ConnectionPasswordEncryption in the Data - * Catalog encryption settings, this field stores the encrypted password.

    • - *
    • JDBC_DRIVER_JAR_URI - The Amazon Simple Storage Service - * (Amazon S3) path of the JAR file that contains the JDBC driver to use.

    • - *
    • JDBC_DRIVER_CLASS_NAME - The class name of the JDBC driver - * to use.

    • JDBC_ENGINE - The name of the JDBC - * engine to use.

    • JDBC_ENGINE_VERSION - The version - * of the JDBC engine to use.

    • CONFIG_FILES - - * (Reserved for future use.)

    • INSTANCE_ID - The - * instance ID to use.

    • JDBC_CONNECTION_URL - The - * URL for connecting to a JDBC data source.

    • + *

      These key-value pairs define parameters for the connection when using the + * version 1 Connection schema:

      • HOST - The host URI: + * either the fully qualified domain name (FQDN) or the IPv4 address of the + * database host.

      • PORT - The port number, between + * 1024 and 65535, of the port on which the database host is listening for database + * connections.

      • USER_NAME - The name under which to + * log in to the database. The value string for USER_NAME is + * "USERNAME".

      • PASSWORD - A password, + * if one is used, for the user name.

      • + * ENCRYPTED_PASSWORD - When you enable connection password protection + * by setting ConnectionPasswordEncryption in the Data Catalog + * encryption settings, this field stores the encrypted password.

      • + *

        JDBC_DRIVER_JAR_URI - The Amazon Simple Storage Service (Amazon + * S3) path of the JAR file that contains the JDBC driver to use.

      • + *

        JDBC_DRIVER_CLASS_NAME - The class name of the JDBC driver to + * use.

      • JDBC_ENGINE - The name of the JDBC engine + * to use.

      • JDBC_ENGINE_VERSION - The version of the + * JDBC engine to use.

      • CONFIG_FILES - (Reserved for + * future use.)

      • INSTANCE_ID - The instance ID to + * use.

      • JDBC_CONNECTION_URL - The URL for + * connecting to a JDBC data source.

      • * JDBC_ENFORCE_SSL - A Boolean string (true, false) specifying * whether Secure Sockets Layer (SSL) with hostname matching is enforced for the * JDBC connection on the client. The default is false.

      • @@ -232,7 +234,26 @@ namespace Model ///@{ /** - *

        This field is not currently used.

        + *

        Connection properties specific to the Spark compute environment.

        + */ + inline const Aws::Map& GetSparkProperties() const{ return m_sparkProperties; } + inline bool SparkPropertiesHasBeenSet() const { return m_sparkPropertiesHasBeenSet; } + inline void SetSparkProperties(const Aws::Map& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties = value; } + inline void SetSparkProperties(Aws::Map&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties = std::move(value); } + inline Connection& WithSparkProperties(const Aws::Map& value) { SetSparkProperties(value); return *this;} + inline Connection& WithSparkProperties(Aws::Map&& value) { SetSparkProperties(std::move(value)); return *this;} + inline Connection& AddSparkProperties(const Aws::String& key, const Aws::String& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, value); return *this; } + inline Connection& AddSparkProperties(Aws::String&& key, const Aws::String& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::move(key), value); return *this; } + inline Connection& AddSparkProperties(const Aws::String& key, Aws::String&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, std::move(value)); return *this; } + inline Connection& AddSparkProperties(Aws::String&& key, Aws::String&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::move(key), std::move(value)); return *this; } + inline Connection& AddSparkProperties(const char* key, Aws::String&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, std::move(value)); return *this; } + inline Connection& AddSparkProperties(Aws::String&& key, const char* value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::move(key), value); return *this; } + inline Connection& AddSparkProperties(const char* key, const char* value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

        Connection properties specific to the Athena compute environment.

        */ inline const Aws::Map& GetAthenaProperties() const{ return m_athenaProperties; } inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; } @@ -249,6 +270,25 @@ namespace Model inline Connection& AddAthenaProperties(const char* key, const char* value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, value); return *this; } ///@} + ///@{ + /** + *

        Connection properties specific to the Python compute environment.

        + */ + inline const Aws::Map& GetPythonProperties() const{ return m_pythonProperties; } + inline bool PythonPropertiesHasBeenSet() const { return m_pythonPropertiesHasBeenSet; } + inline void SetPythonProperties(const Aws::Map& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties = value; } + inline void SetPythonProperties(Aws::Map&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties = std::move(value); } + inline Connection& WithPythonProperties(const Aws::Map& value) { SetPythonProperties(value); return *this;} + inline Connection& WithPythonProperties(Aws::Map&& value) { SetPythonProperties(std::move(value)); return *this;} + inline Connection& AddPythonProperties(const Aws::String& key, const Aws::String& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, value); return *this; } + inline Connection& AddPythonProperties(Aws::String&& key, const Aws::String& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::move(key), value); return *this; } + inline Connection& AddPythonProperties(const Aws::String& key, Aws::String&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, std::move(value)); return *this; } + inline Connection& AddPythonProperties(Aws::String&& key, Aws::String&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::move(key), std::move(value)); return *this; } + inline Connection& AddPythonProperties(const char* key, Aws::String&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, std::move(value)); return *this; } + inline Connection& AddPythonProperties(Aws::String&& key, const char* value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::move(key), value); return *this; } + inline Connection& AddPythonProperties(const char* key, const char* value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, value); return *this; } + ///@} + ///@{ /** *

        The physical connection requirements, such as virtual private cloud (VPC) and @@ -351,6 +391,31 @@ namespace Model inline Connection& WithAuthenticationConfiguration(const AuthenticationConfiguration& value) { SetAuthenticationConfiguration(value); return *this;} inline Connection& WithAuthenticationConfiguration(AuthenticationConfiguration&& value) { SetAuthenticationConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

        The version of the connection schema for this connection. Version 2 supports + * properties for specific compute environments.

        + */ + inline int GetConnectionSchemaVersion() const{ return m_connectionSchemaVersion; } + inline bool ConnectionSchemaVersionHasBeenSet() const { return m_connectionSchemaVersionHasBeenSet; } + inline void SetConnectionSchemaVersion(int value) { m_connectionSchemaVersionHasBeenSet = true; m_connectionSchemaVersion = value; } + inline Connection& WithConnectionSchemaVersion(int value) { SetConnectionSchemaVersion(value); return *this;} + ///@} + + ///@{ + /** + *

        A list of compute environments compatible with the connection.

        + */ + inline const Aws::Vector& GetCompatibleComputeEnvironments() const{ return m_compatibleComputeEnvironments; } + inline bool CompatibleComputeEnvironmentsHasBeenSet() const { return m_compatibleComputeEnvironmentsHasBeenSet; } + inline void SetCompatibleComputeEnvironments(const Aws::Vector& value) { m_compatibleComputeEnvironmentsHasBeenSet = true; m_compatibleComputeEnvironments = value; } + inline void SetCompatibleComputeEnvironments(Aws::Vector&& value) { m_compatibleComputeEnvironmentsHasBeenSet = true; m_compatibleComputeEnvironments = std::move(value); } + inline Connection& WithCompatibleComputeEnvironments(const Aws::Vector& value) { SetCompatibleComputeEnvironments(value); return *this;} + inline Connection& WithCompatibleComputeEnvironments(Aws::Vector&& value) { SetCompatibleComputeEnvironments(std::move(value)); return *this;} + inline Connection& AddCompatibleComputeEnvironments(const ComputeEnvironment& value) { m_compatibleComputeEnvironmentsHasBeenSet = true; m_compatibleComputeEnvironments.push_back(value); return *this; } + inline Connection& AddCompatibleComputeEnvironments(ComputeEnvironment&& value) { m_compatibleComputeEnvironmentsHasBeenSet = true; m_compatibleComputeEnvironments.push_back(std::move(value)); return *this; } + ///@} private: Aws::String m_name; @@ -368,9 +433,15 @@ namespace Model Aws::Map m_connectionProperties; bool m_connectionPropertiesHasBeenSet = false; + Aws::Map m_sparkProperties; + bool m_sparkPropertiesHasBeenSet = false; + Aws::Map m_athenaProperties; bool m_athenaPropertiesHasBeenSet = false; + Aws::Map m_pythonProperties; + bool m_pythonPropertiesHasBeenSet = false; + PhysicalConnectionRequirements m_physicalConnectionRequirements; bool m_physicalConnectionRequirementsHasBeenSet = false; @@ -394,6 +465,12 @@ namespace Model AuthenticationConfiguration m_authenticationConfiguration; bool m_authenticationConfigurationHasBeenSet = false; + + int m_connectionSchemaVersion; + bool m_connectionSchemaVersionHasBeenSet = false; + + Aws::Vector m_compatibleComputeEnvironments; + bool m_compatibleComputeEnvironmentsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionInput.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionInput.h index 5d1a52a1364..ade3bee84db 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionInput.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionInput.h @@ -12,6 +12,7 @@ #include #include #include +#include #include namespace Aws @@ -112,10 +113,7 @@ namespace Model * ConnectionParameters.

        • Required: * CONNECTION_URL.

        • Required: All of * (USERNAME, PASSWORD) or SECRET_ID.

          - *
      • SALESFORCE - Designates a connection to - * Salesforce using OAuth authencation.

        • Requires the - * AuthenticationConfiguration member to be configured.

        • - *
      • VIEW_VALIDATION_REDSHIFT - Designates a + *

    • VIEW_VALIDATION_REDSHIFT - Designates a * connection used for view validation by Amazon Redshift.

    • * VIEW_VALIDATION_ATHENA - Designates a connection used for view * validation by Amazon Athena.

    • NETWORK - @@ -133,7 +131,35 @@ namespace Model * of (USERNAME, PASSWORD) or SECRET_ID.

      *
  • CUSTOM - Uses configuration settings * contained in a custom connector to read from and write to data stores that are - * not natively supported by Glue.

  • SFTP is not + * not natively supported by Glue.

    Additionally, a + * ConnectionType for the following SaaS connectors is supported:

    + *
    • FACEBOOKADS - Designates a connection to Facebook + * Ads.

    • GOOGLEADS - Designates a connection to + * Google Ads.

    • GOOGLESHEETS - Designates a + * connection to Google Sheets.

    • GOOGLEANALYTICS4 - + * Designates a connection to Google Analytics 4.

    • + * HUBSPOT - Designates a connection to HubSpot.

    • + * INSTAGRAMADS - Designates a connection to Instagram Ads.

    • + *
    • INTERCOM - Designates a connection to Intercom.

    • + *
    • JIRACLOUD - Designates a connection to Jira Cloud.

      + *
    • MARKETO - Designates a connection to Adobe Marketo + * Engage.

    • NETSUITEERP - Designates a connection to + * Oracle NetSuite.

    • SALESFORCE - Designates a + * connection to Salesforce using OAuth authentication.

    • + * SALESFORCEMARKETINGCLOUD - Designates a connection to Salesforce + * Marketing Cloud.

    • SALESFORCEPARDOT - Designates a + * connection to Salesforce Marketing Cloud Account Engagement (MCAE).

    • + *
    • SAPODATA - Designates a connection to SAP OData.

    • + *
    • SERVICENOW - Designates a connection to ServiceNow.

      + *
    • SLACK - Designates a connection to Slack.

    • + *
    • SNAPCHATADS - Designates a connection to Snapchat Ads.

      + *
    • STRIPE - Designates a connection to Stripe.

      + *
    • ZENDESK - Designates a connection to Zendesk.

      + *
    • ZOHOCRM - Designates a connection to Zoho CRM.

      + *

    For more information on the connection parameters needed for a + * particular connector, see the documentation for the connector in Adding + * an Glue connectionin the Glue User Guide.

    SFTP is not * supported.

    For more information about how optional ConnectionProperties * are used to configure features in Glue, consult Glue @@ -185,7 +211,26 @@ namespace Model ///@{ /** - *

    This field is not currently used.

    + *

    Connection properties specific to the Spark compute environment.

    + */ + inline const Aws::Map& GetSparkProperties() const{ return m_sparkProperties; } + inline bool SparkPropertiesHasBeenSet() const { return m_sparkPropertiesHasBeenSet; } + inline void SetSparkProperties(const Aws::Map& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties = value; } + inline void SetSparkProperties(Aws::Map&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties = std::move(value); } + inline ConnectionInput& WithSparkProperties(const Aws::Map& value) { SetSparkProperties(value); return *this;} + inline ConnectionInput& WithSparkProperties(Aws::Map&& value) { SetSparkProperties(std::move(value)); return *this;} + inline ConnectionInput& AddSparkProperties(const Aws::String& key, const Aws::String& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, value); return *this; } + inline ConnectionInput& AddSparkProperties(Aws::String&& key, const Aws::String& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::move(key), value); return *this; } + inline ConnectionInput& AddSparkProperties(const Aws::String& key, Aws::String&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, std::move(value)); return *this; } + inline ConnectionInput& AddSparkProperties(Aws::String&& key, Aws::String&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::move(key), std::move(value)); return *this; } + inline ConnectionInput& AddSparkProperties(const char* key, Aws::String&& value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, std::move(value)); return *this; } + inline ConnectionInput& AddSparkProperties(Aws::String&& key, const char* value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(std::move(key), value); return *this; } + inline ConnectionInput& AddSparkProperties(const char* key, const char* value) { m_sparkPropertiesHasBeenSet = true; m_sparkProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Connection properties specific to the Athena compute environment.

    */ inline const Aws::Map& GetAthenaProperties() const{ return m_athenaProperties; } inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; } @@ -202,6 +247,25 @@ namespace Model inline ConnectionInput& AddAthenaProperties(const char* key, const char* value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties.emplace(key, value); return *this; } ///@} + ///@{ + /** + *

    Connection properties specific to the Python compute environment.

    + */ + inline const Aws::Map& GetPythonProperties() const{ return m_pythonProperties; } + inline bool PythonPropertiesHasBeenSet() const { return m_pythonPropertiesHasBeenSet; } + inline void SetPythonProperties(const Aws::Map& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties = value; } + inline void SetPythonProperties(Aws::Map&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties = std::move(value); } + inline ConnectionInput& WithPythonProperties(const Aws::Map& value) { SetPythonProperties(value); return *this;} + inline ConnectionInput& WithPythonProperties(Aws::Map&& value) { SetPythonProperties(std::move(value)); return *this;} + inline ConnectionInput& AddPythonProperties(const Aws::String& key, const Aws::String& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, value); return *this; } + inline ConnectionInput& AddPythonProperties(Aws::String&& key, const Aws::String& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::move(key), value); return *this; } + inline ConnectionInput& AddPythonProperties(const Aws::String& key, Aws::String&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, std::move(value)); return *this; } + inline ConnectionInput& AddPythonProperties(Aws::String&& key, Aws::String&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::move(key), std::move(value)); return *this; } + inline ConnectionInput& AddPythonProperties(const char* key, Aws::String&& value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, std::move(value)); return *this; } + inline ConnectionInput& AddPythonProperties(Aws::String&& key, const char* value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(std::move(key), value); return *this; } + inline ConnectionInput& AddPythonProperties(const char* key, const char* value) { m_pythonPropertiesHasBeenSet = true; m_pythonProperties.emplace(key, value); return *this; } + ///@} + ///@{ /** *

    The physical connection requirements, such as virtual private cloud (VPC) and @@ -218,8 +282,7 @@ namespace Model ///@{ /** - *

    The authentication properties of the connection. Used for a Salesforce - * connection.

    + *

    The authentication properties of the connection.

    */ inline const AuthenticationConfigurationInput& GetAuthenticationConfiguration() const{ return m_authenticationConfiguration; } inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; } @@ -231,14 +294,29 @@ namespace Model ///@{ /** - *

    A flag to validate the credentials during create connection. Used for a - * Salesforce connection. Default is true.

    + *

    A flag to validate the credentials during create connection. Default is true. + *

    */ inline bool GetValidateCredentials() const{ return m_validateCredentials; } inline bool ValidateCredentialsHasBeenSet() const { return m_validateCredentialsHasBeenSet; } inline void SetValidateCredentials(bool value) { m_validateCredentialsHasBeenSet = true; m_validateCredentials = value; } inline ConnectionInput& WithValidateCredentials(bool value) { SetValidateCredentials(value); return *this;} ///@} + + ///@{ + /** + *

    The compute environments that the specified connection properties are + * validated against.

    + */ + inline const Aws::Vector& GetValidateForComputeEnvironments() const{ return m_validateForComputeEnvironments; } + inline bool ValidateForComputeEnvironmentsHasBeenSet() const { return m_validateForComputeEnvironmentsHasBeenSet; } + inline void SetValidateForComputeEnvironments(const Aws::Vector& value) { m_validateForComputeEnvironmentsHasBeenSet = true; m_validateForComputeEnvironments = value; } + inline void SetValidateForComputeEnvironments(Aws::Vector&& value) { m_validateForComputeEnvironmentsHasBeenSet = true; m_validateForComputeEnvironments = std::move(value); } + inline ConnectionInput& WithValidateForComputeEnvironments(const Aws::Vector& value) { SetValidateForComputeEnvironments(value); return *this;} + inline ConnectionInput& WithValidateForComputeEnvironments(Aws::Vector&& value) { SetValidateForComputeEnvironments(std::move(value)); return *this;} + inline ConnectionInput& AddValidateForComputeEnvironments(const ComputeEnvironment& value) { m_validateForComputeEnvironmentsHasBeenSet = true; m_validateForComputeEnvironments.push_back(value); return *this; } + inline ConnectionInput& AddValidateForComputeEnvironments(ComputeEnvironment&& value) { m_validateForComputeEnvironmentsHasBeenSet = true; m_validateForComputeEnvironments.push_back(std::move(value)); return *this; } + ///@} private: Aws::String m_name; @@ -256,9 +334,15 @@ namespace Model Aws::Map m_connectionProperties; bool m_connectionPropertiesHasBeenSet = false; + Aws::Map m_sparkProperties; + bool m_sparkPropertiesHasBeenSet = false; + Aws::Map m_athenaProperties; bool m_athenaPropertiesHasBeenSet = false; + Aws::Map m_pythonProperties; + bool m_pythonPropertiesHasBeenSet = false; + PhysicalConnectionRequirements m_physicalConnectionRequirements; bool m_physicalConnectionRequirementsHasBeenSet = false; @@ -267,6 +351,9 @@ namespace Model bool m_validateCredentials; bool m_validateCredentialsHasBeenSet = false; + + Aws::Vector m_validateForComputeEnvironments; + bool m_validateForComputeEnvironmentsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionPropertyKey.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionPropertyKey.h index 1fff1f5f92e..feb9bf8a8a7 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionPropertyKey.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionPropertyKey.h @@ -42,10 +42,6 @@ namespace Model KAFKA_CLIENT_KEY_PASSWORD, ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD, ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD, - SECRET_ID, - CONNECTOR_URL, - CONNECTOR_TYPE, - CONNECTOR_CLASS_NAME, KAFKA_SASL_MECHANISM, KAFKA_SASL_PLAIN_USERNAME, KAFKA_SASL_PLAIN_PASSWORD, @@ -58,6 +54,12 @@ namespace Model KAFKA_SASL_GSSAPI_KRB5_CONF, KAFKA_SASL_GSSAPI_SERVICE, KAFKA_SASL_GSSAPI_PRINCIPAL, + SECRET_ID, + CONNECTOR_URL, + CONNECTOR_TYPE, + CONNECTOR_CLASS_NAME, + ENDPOINT, + ENDPOINT_TYPE, ROLE_ARN, REGION, WORKGROUP_NAME, diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionType.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionType.h index d73d4849e44..410b1d08df0 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionType.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionType.h @@ -25,7 +25,26 @@ namespace Model CUSTOM, SALESFORCE, VIEW_VALIDATION_REDSHIFT, - VIEW_VALIDATION_ATHENA + VIEW_VALIDATION_ATHENA, + GOOGLEADS, + GOOGLESHEETS, + GOOGLEANALYTICS4, + SERVICENOW, + MARKETO, + SAPODATA, + ZENDESK, + JIRACLOUD, + NETSUITEERP, + HUBSPOT, + FACEBOOKADS, + INSTAGRAMADS, + ZOHOCRM, + SALESFORCEPARDOT, + SALESFORCEMARKETINGCLOUD, + SLACK, + STRIPE, + INTERCOM, + SNAPCHATADS }; namespace ConnectionTypeMapper diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionTypeBrief.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionTypeBrief.h new file mode 100644 index 00000000000..bf5955847ba --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ConnectionTypeBrief.h @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

    Brief information about a supported connection type returned by the + * ListConnectionTypes API.

    See Also:

    AWS + * API Reference

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

    The name of the connection type.

    + */ + inline const ConnectionType& GetConnectionType() const{ return m_connectionType; } + inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; } + inline void SetConnectionType(const ConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; } + inline void SetConnectionType(ConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); } + inline ConnectionTypeBrief& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;} + inline ConnectionTypeBrief& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A description of the connection type.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline ConnectionTypeBrief& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline ConnectionTypeBrief& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline ConnectionTypeBrief& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The supported authentication types, data interface types (compute + * environments), and data operations of the connector.

    + */ + inline const Capabilities& GetCapabilities() const{ return m_capabilities; } + inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; } + inline void SetCapabilities(const Capabilities& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; } + inline void SetCapabilities(Capabilities&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); } + inline ConnectionTypeBrief& WithCapabilities(const Capabilities& value) { SetCapabilities(value); return *this;} + inline ConnectionTypeBrief& WithCapabilities(Capabilities&& value) { SetCapabilities(std::move(value)); return *this;} + ///@} + private: + + ConnectionType m_connectionType; + bool m_connectionTypeHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Capabilities m_capabilities; + bool m_capabilitiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateCatalogRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateCatalogRequest.h new file mode 100644 index 00000000000..82e28cef1be --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateCatalogRequest.h @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + + /** + */ + class CreateCatalogRequest : public GlueRequest + { + public: + AWS_GLUE_API CreateCatalogRequest(); + + // 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 "CreateCatalog"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The name of the catalog to create.

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

    A CatalogInput object that defines the metadata for the + * catalog.

    + */ + inline const CatalogInput& GetCatalogInput() const{ return m_catalogInput; } + inline bool CatalogInputHasBeenSet() const { return m_catalogInputHasBeenSet; } + inline void SetCatalogInput(const CatalogInput& value) { m_catalogInputHasBeenSet = true; m_catalogInput = value; } + inline void SetCatalogInput(CatalogInput&& value) { m_catalogInputHasBeenSet = true; m_catalogInput = std::move(value); } + inline CreateCatalogRequest& WithCatalogInput(const CatalogInput& value) { SetCatalogInput(value); return *this;} + inline CreateCatalogRequest& WithCatalogInput(CatalogInput&& value) { SetCatalogInput(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A map array of key-value pairs, not more than 50 pairs. Each key is a UTF-8 + * string, not less than 1 or more than 128 bytes long. Each value is a UTF-8 + * string, not more than 256 bytes long. The tags you assign to the catalog.

    + */ + inline const Aws::Map& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline CreateCatalogRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + inline CreateCatalogRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + inline CreateCatalogRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + inline CreateCatalogRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline CreateCatalogRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline CreateCatalogRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + inline CreateCatalogRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline CreateCatalogRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline CreateCatalogRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + CatalogInput m_catalogInput; + bool m_catalogInputHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateCatalogResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateCatalogResult.h new file mode 100644 index 00000000000..2f795de9053 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateCatalogResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class CreateCatalogResult + { + public: + AWS_GLUE_API CreateCatalogResult(); + AWS_GLUE_API CreateCatalogResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API CreateCatalogResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline CreateCatalogResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateCatalogResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateCatalogResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationRequest.h new file mode 100644 index 00000000000..ac0799ecb06 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationRequest.h @@ -0,0 +1,188 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class CreateIntegrationRequest : public GlueRequest + { + public: + AWS_GLUE_API CreateIntegrationRequest(); + + // 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 "CreateIntegration"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    A unique name for an integration in Glue.

    + */ + inline const Aws::String& GetIntegrationName() const{ return m_integrationName; } + inline bool IntegrationNameHasBeenSet() const { return m_integrationNameHasBeenSet; } + inline void SetIntegrationName(const Aws::String& value) { m_integrationNameHasBeenSet = true; m_integrationName = value; } + inline void SetIntegrationName(Aws::String&& value) { m_integrationNameHasBeenSet = true; m_integrationName = std::move(value); } + inline void SetIntegrationName(const char* value) { m_integrationNameHasBeenSet = true; m_integrationName.assign(value); } + inline CreateIntegrationRequest& WithIntegrationName(const Aws::String& value) { SetIntegrationName(value); return *this;} + inline CreateIntegrationRequest& WithIntegrationName(Aws::String&& value) { SetIntegrationName(std::move(value)); return *this;} + inline CreateIntegrationRequest& WithIntegrationName(const char* value) { SetIntegrationName(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of the source resource for the integration.

    + */ + inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } + inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } + inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } + inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } + inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } + inline CreateIntegrationRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} + inline CreateIntegrationRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} + inline CreateIntegrationRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of the target resource for the integration.

    + */ + inline const Aws::String& GetTargetArn() const{ return m_targetArn; } + inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; } + inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; } + inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); } + inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); } + inline CreateIntegrationRequest& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;} + inline CreateIntegrationRequest& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;} + inline CreateIntegrationRequest& WithTargetArn(const char* value) { SetTargetArn(value); return *this;} + ///@} + + ///@{ + /** + *

    A description of the integration.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline CreateIntegrationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateIntegrationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateIntegrationRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    Selects source tables for the integration using Maxwell filter syntax.

    + */ + inline const Aws::String& GetDataFilter() const{ return m_dataFilter; } + inline bool DataFilterHasBeenSet() const { return m_dataFilterHasBeenSet; } + inline void SetDataFilter(const Aws::String& value) { m_dataFilterHasBeenSet = true; m_dataFilter = value; } + inline void SetDataFilter(Aws::String&& value) { m_dataFilterHasBeenSet = true; m_dataFilter = std::move(value); } + inline void SetDataFilter(const char* value) { m_dataFilterHasBeenSet = true; m_dataFilter.assign(value); } + inline CreateIntegrationRequest& WithDataFilter(const Aws::String& value) { SetDataFilter(value); return *this;} + inline CreateIntegrationRequest& WithDataFilter(Aws::String&& value) { SetDataFilter(std::move(value)); return *this;} + inline CreateIntegrationRequest& WithDataFilter(const char* value) { SetDataFilter(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of a KMS key used for encrypting the channel.

    + */ + inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } + inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } + inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } + inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } + inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } + inline CreateIntegrationRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} + inline CreateIntegrationRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} + inline CreateIntegrationRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + ///@} + + ///@{ + /** + *

    An optional set of non-secret key–value pairs that contains additional + * contextual information for encryption. This can only be provided if + * KMSKeyId is provided.

    + */ + inline const Aws::Map& GetAdditionalEncryptionContext() const{ return m_additionalEncryptionContext; } + inline bool AdditionalEncryptionContextHasBeenSet() const { return m_additionalEncryptionContextHasBeenSet; } + inline void SetAdditionalEncryptionContext(const Aws::Map& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = value; } + inline void SetAdditionalEncryptionContext(Aws::Map&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = std::move(value); } + inline CreateIntegrationRequest& WithAdditionalEncryptionContext(const Aws::Map& value) { SetAdditionalEncryptionContext(value); return *this;} + inline CreateIntegrationRequest& WithAdditionalEncryptionContext(Aws::Map&& value) { SetAdditionalEncryptionContext(std::move(value)); return *this;} + inline CreateIntegrationRequest& AddAdditionalEncryptionContext(const Aws::String& key, const Aws::String& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, value); return *this; } + inline CreateIntegrationRequest& AddAdditionalEncryptionContext(Aws::String&& key, const Aws::String& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), value); return *this; } + inline CreateIntegrationRequest& AddAdditionalEncryptionContext(const Aws::String& key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; } + inline CreateIntegrationRequest& AddAdditionalEncryptionContext(Aws::String&& key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), std::move(value)); return *this; } + inline CreateIntegrationRequest& AddAdditionalEncryptionContext(const char* key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; } + inline CreateIntegrationRequest& AddAdditionalEncryptionContext(Aws::String&& key, const char* value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), value); return *this; } + inline CreateIntegrationRequest& AddAdditionalEncryptionContext(const char* key, const char* value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Metadata assigned to the resource consisting of a list of key-value + * pairs.

    + */ + inline const Aws::Vector& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline CreateIntegrationRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} + inline CreateIntegrationRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} + inline CreateIntegrationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } + inline CreateIntegrationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_integrationName; + bool m_integrationNameHasBeenSet = false; + + Aws::String m_sourceArn; + bool m_sourceArnHasBeenSet = false; + + Aws::String m_targetArn; + bool m_targetArnHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_dataFilter; + bool m_dataFilterHasBeenSet = false; + + Aws::String m_kmsKeyId; + bool m_kmsKeyIdHasBeenSet = false; + + Aws::Map m_additionalEncryptionContext; + bool m_additionalEncryptionContextHasBeenSet = false; + + Aws::Vector m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationResourcePropertyRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationResourcePropertyRequest.h new file mode 100644 index 00000000000..58f148e9df6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationResourcePropertyRequest.h @@ -0,0 +1,90 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class CreateIntegrationResourcePropertyRequest : public GlueRequest + { + public: + AWS_GLUE_API CreateIntegrationResourcePropertyRequest(); + + // 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 "CreateIntegrationResourceProperty"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The connection ARN of the source, or the database ARN of the target.

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

    The resource properties associated with the integration source.

    + */ + inline const SourceProcessingProperties& GetSourceProcessingProperties() const{ return m_sourceProcessingProperties; } + inline bool SourceProcessingPropertiesHasBeenSet() const { return m_sourceProcessingPropertiesHasBeenSet; } + inline void SetSourceProcessingProperties(const SourceProcessingProperties& value) { m_sourceProcessingPropertiesHasBeenSet = true; m_sourceProcessingProperties = value; } + inline void SetSourceProcessingProperties(SourceProcessingProperties&& value) { m_sourceProcessingPropertiesHasBeenSet = true; m_sourceProcessingProperties = std::move(value); } + inline CreateIntegrationResourcePropertyRequest& WithSourceProcessingProperties(const SourceProcessingProperties& value) { SetSourceProcessingProperties(value); return *this;} + inline CreateIntegrationResourcePropertyRequest& WithSourceProcessingProperties(SourceProcessingProperties&& value) { SetSourceProcessingProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The resource properties associated with the integration target.

    + */ + inline const TargetProcessingProperties& GetTargetProcessingProperties() const{ return m_targetProcessingProperties; } + inline bool TargetProcessingPropertiesHasBeenSet() const { return m_targetProcessingPropertiesHasBeenSet; } + inline void SetTargetProcessingProperties(const TargetProcessingProperties& value) { m_targetProcessingPropertiesHasBeenSet = true; m_targetProcessingProperties = value; } + inline void SetTargetProcessingProperties(TargetProcessingProperties&& value) { m_targetProcessingPropertiesHasBeenSet = true; m_targetProcessingProperties = std::move(value); } + inline CreateIntegrationResourcePropertyRequest& WithTargetProcessingProperties(const TargetProcessingProperties& value) { SetTargetProcessingProperties(value); return *this;} + inline CreateIntegrationResourcePropertyRequest& WithTargetProcessingProperties(TargetProcessingProperties&& value) { SetTargetProcessingProperties(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + SourceProcessingProperties m_sourceProcessingProperties; + bool m_sourceProcessingPropertiesHasBeenSet = false; + + TargetProcessingProperties m_targetProcessingProperties; + bool m_targetProcessingPropertiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationResourcePropertyResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationResourcePropertyResult.h new file mode 100644 index 00000000000..86f242211f2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationResourcePropertyResult.h @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class CreateIntegrationResourcePropertyResult + { + public: + AWS_GLUE_API CreateIntegrationResourcePropertyResult(); + AWS_GLUE_API CreateIntegrationResourcePropertyResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API CreateIntegrationResourcePropertyResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The connection ARN of the source, or the database ARN of the target.

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

    The resource properties associated with the integration source.

    + */ + inline const SourceProcessingProperties& GetSourceProcessingProperties() const{ return m_sourceProcessingProperties; } + inline void SetSourceProcessingProperties(const SourceProcessingProperties& value) { m_sourceProcessingProperties = value; } + inline void SetSourceProcessingProperties(SourceProcessingProperties&& value) { m_sourceProcessingProperties = std::move(value); } + inline CreateIntegrationResourcePropertyResult& WithSourceProcessingProperties(const SourceProcessingProperties& value) { SetSourceProcessingProperties(value); return *this;} + inline CreateIntegrationResourcePropertyResult& WithSourceProcessingProperties(SourceProcessingProperties&& value) { SetSourceProcessingProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The resource properties associated with the integration target.

    + */ + inline const TargetProcessingProperties& GetTargetProcessingProperties() const{ return m_targetProcessingProperties; } + inline void SetTargetProcessingProperties(const TargetProcessingProperties& value) { m_targetProcessingProperties = value; } + inline void SetTargetProcessingProperties(TargetProcessingProperties&& value) { m_targetProcessingProperties = std::move(value); } + inline CreateIntegrationResourcePropertyResult& WithTargetProcessingProperties(const TargetProcessingProperties& value) { SetTargetProcessingProperties(value); return *this;} + inline CreateIntegrationResourcePropertyResult& WithTargetProcessingProperties(TargetProcessingProperties&& value) { SetTargetProcessingProperties(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline CreateIntegrationResourcePropertyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateIntegrationResourcePropertyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateIntegrationResourcePropertyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + + SourceProcessingProperties m_sourceProcessingProperties; + + TargetProcessingProperties m_targetProcessingProperties; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationResult.h new file mode 100644 index 00000000000..ad7bc10f91c --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationResult.h @@ -0,0 +1,248 @@ +/** + * 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 Glue +{ +namespace Model +{ + class CreateIntegrationResult + { + public: + AWS_GLUE_API CreateIntegrationResult(); + AWS_GLUE_API CreateIntegrationResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API CreateIntegrationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The ARN of the source resource for the integration.

    + */ + inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } + inline void SetSourceArn(const Aws::String& value) { m_sourceArn = value; } + inline void SetSourceArn(Aws::String&& value) { m_sourceArn = std::move(value); } + inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); } + inline CreateIntegrationResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} + inline CreateIntegrationResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} + inline CreateIntegrationResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of the target resource for the integration.

    + */ + inline const Aws::String& GetTargetArn() const{ return m_targetArn; } + inline void SetTargetArn(const Aws::String& value) { m_targetArn = value; } + inline void SetTargetArn(Aws::String&& value) { m_targetArn = std::move(value); } + inline void SetTargetArn(const char* value) { m_targetArn.assign(value); } + inline CreateIntegrationResult& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;} + inline CreateIntegrationResult& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;} + inline CreateIntegrationResult& WithTargetArn(const char* value) { SetTargetArn(value); return *this;} + ///@} + + ///@{ + /** + *

    A unique name for an integration in Glue.

    + */ + inline const Aws::String& GetIntegrationName() const{ return m_integrationName; } + inline void SetIntegrationName(const Aws::String& value) { m_integrationName = value; } + inline void SetIntegrationName(Aws::String&& value) { m_integrationName = std::move(value); } + inline void SetIntegrationName(const char* value) { m_integrationName.assign(value); } + inline CreateIntegrationResult& WithIntegrationName(const Aws::String& value) { SetIntegrationName(value); return *this;} + inline CreateIntegrationResult& WithIntegrationName(Aws::String&& value) { SetIntegrationName(std::move(value)); return *this;} + inline CreateIntegrationResult& WithIntegrationName(const char* value) { SetIntegrationName(value); return *this;} + ///@} + + ///@{ + /** + *

    A description of the integration.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline CreateIntegrationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateIntegrationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateIntegrationResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the created integration.

    + */ + inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; } + inline void SetIntegrationArn(const Aws::String& value) { m_integrationArn = value; } + inline void SetIntegrationArn(Aws::String&& value) { m_integrationArn = std::move(value); } + inline void SetIntegrationArn(const char* value) { m_integrationArn.assign(value); } + inline CreateIntegrationResult& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;} + inline CreateIntegrationResult& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;} + inline CreateIntegrationResult& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of a KMS key used for encrypting the channel.

    + */ + inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } + inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; } + inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); } + inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); } + inline CreateIntegrationResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} + inline CreateIntegrationResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} + inline CreateIntegrationResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + ///@} + + ///@{ + /** + *

    An optional set of non-secret key–value pairs that contains additional + * contextual information for encryption.

    + */ + inline const Aws::Map& GetAdditionalEncryptionContext() const{ return m_additionalEncryptionContext; } + inline void SetAdditionalEncryptionContext(const Aws::Map& value) { m_additionalEncryptionContext = value; } + inline void SetAdditionalEncryptionContext(Aws::Map&& value) { m_additionalEncryptionContext = std::move(value); } + inline CreateIntegrationResult& WithAdditionalEncryptionContext(const Aws::Map& value) { SetAdditionalEncryptionContext(value); return *this;} + inline CreateIntegrationResult& WithAdditionalEncryptionContext(Aws::Map&& value) { SetAdditionalEncryptionContext(std::move(value)); return *this;} + inline CreateIntegrationResult& AddAdditionalEncryptionContext(const Aws::String& key, const Aws::String& value) { m_additionalEncryptionContext.emplace(key, value); return *this; } + inline CreateIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, const Aws::String& value) { m_additionalEncryptionContext.emplace(std::move(key), value); return *this; } + inline CreateIntegrationResult& AddAdditionalEncryptionContext(const Aws::String& key, Aws::String&& value) { m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; } + inline CreateIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, Aws::String&& value) { m_additionalEncryptionContext.emplace(std::move(key), std::move(value)); return *this; } + inline CreateIntegrationResult& AddAdditionalEncryptionContext(const char* key, Aws::String&& value) { m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; } + inline CreateIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, const char* value) { m_additionalEncryptionContext.emplace(std::move(key), value); return *this; } + inline CreateIntegrationResult& AddAdditionalEncryptionContext(const char* key, const char* value) { m_additionalEncryptionContext.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Metadata assigned to the resource consisting of a list of key-value + * pairs.

    + */ + inline const Aws::Vector& GetTags() const{ return m_tags; } + inline void SetTags(const Aws::Vector& value) { m_tags = value; } + inline void SetTags(Aws::Vector&& value) { m_tags = std::move(value); } + inline CreateIntegrationResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} + inline CreateIntegrationResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} + inline CreateIntegrationResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } + inline CreateIntegrationResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The status of the integration being created.

    The possible statuses + * are:

    • CREATING: The integration is being created.

    • + *

      ACTIVE: The integration creation succeeds.

    • MODIFYING: The + * integration is being modified.

    • FAILED: The integration + * creation fails.

    • DELETING: The integration is deleted.

      + *
    • SYNCING: The integration is synchronizing.

    • + *

      NEEDS_ATTENTION: The integration needs attention, such as + * synchronization.

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

    The time when the integration was created, in UTC.

    + */ + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + inline CreateIntegrationResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline CreateIntegrationResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A list of errors associated with the integration creation.

    + */ + inline const Aws::Vector& GetErrors() const{ return m_errors; } + inline void SetErrors(const Aws::Vector& value) { m_errors = value; } + inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } + inline CreateIntegrationResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} + inline CreateIntegrationResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} + inline CreateIntegrationResult& AddErrors(const IntegrationError& value) { m_errors.push_back(value); return *this; } + inline CreateIntegrationResult& AddErrors(IntegrationError&& value) { m_errors.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    Selects source tables for the integration using Maxwell filter syntax.

    + */ + inline const Aws::String& GetDataFilter() const{ return m_dataFilter; } + inline void SetDataFilter(const Aws::String& value) { m_dataFilter = value; } + inline void SetDataFilter(Aws::String&& value) { m_dataFilter = std::move(value); } + inline void SetDataFilter(const char* value) { m_dataFilter.assign(value); } + inline CreateIntegrationResult& WithDataFilter(const Aws::String& value) { SetDataFilter(value); return *this;} + inline CreateIntegrationResult& WithDataFilter(Aws::String&& value) { SetDataFilter(std::move(value)); return *this;} + inline CreateIntegrationResult& WithDataFilter(const char* value) { SetDataFilter(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline CreateIntegrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateIntegrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateIntegrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_sourceArn; + + Aws::String m_targetArn; + + Aws::String m_integrationName; + + Aws::String m_description; + + Aws::String m_integrationArn; + + Aws::String m_kmsKeyId; + + Aws::Map m_additionalEncryptionContext; + + Aws::Vector m_tags; + + IntegrationStatus m_status; + + Aws::Utils::DateTime m_createTime; + + Aws::Vector m_errors; + + Aws::String m_dataFilter; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationTablePropertiesRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationTablePropertiesRequest.h new file mode 100644 index 00000000000..b94acba3421 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationTablePropertiesRequest.h @@ -0,0 +1,107 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class CreateIntegrationTablePropertiesRequest : public GlueRequest + { + public: + AWS_GLUE_API CreateIntegrationTablePropertiesRequest(); + + // 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 "CreateIntegrationTableProperties"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The connection ARN of the source, or the database ARN of the target.

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

    The name of the table to be replicated.

    + */ + inline const Aws::String& GetTableName() const{ return m_tableName; } + inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } + inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } + inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } + inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } + inline CreateIntegrationTablePropertiesRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} + inline CreateIntegrationTablePropertiesRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} + inline CreateIntegrationTablePropertiesRequest& WithTableName(const char* value) { SetTableName(value); return *this;} + ///@} + + ///@{ + /** + *

    A structure for the source table configuration.

    + */ + inline const SourceTableConfig& GetSourceTableConfig() const{ return m_sourceTableConfig; } + inline bool SourceTableConfigHasBeenSet() const { return m_sourceTableConfigHasBeenSet; } + inline void SetSourceTableConfig(const SourceTableConfig& value) { m_sourceTableConfigHasBeenSet = true; m_sourceTableConfig = value; } + inline void SetSourceTableConfig(SourceTableConfig&& value) { m_sourceTableConfigHasBeenSet = true; m_sourceTableConfig = std::move(value); } + inline CreateIntegrationTablePropertiesRequest& WithSourceTableConfig(const SourceTableConfig& value) { SetSourceTableConfig(value); return *this;} + inline CreateIntegrationTablePropertiesRequest& WithSourceTableConfig(SourceTableConfig&& value) { SetSourceTableConfig(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A structure for the target table configuration.

    + */ + inline const TargetTableConfig& GetTargetTableConfig() const{ return m_targetTableConfig; } + inline bool TargetTableConfigHasBeenSet() const { return m_targetTableConfigHasBeenSet; } + inline void SetTargetTableConfig(const TargetTableConfig& value) { m_targetTableConfigHasBeenSet = true; m_targetTableConfig = value; } + inline void SetTargetTableConfig(TargetTableConfig&& value) { m_targetTableConfigHasBeenSet = true; m_targetTableConfig = std::move(value); } + inline CreateIntegrationTablePropertiesRequest& WithTargetTableConfig(const TargetTableConfig& value) { SetTargetTableConfig(value); return *this;} + inline CreateIntegrationTablePropertiesRequest& WithTargetTableConfig(TargetTableConfig&& value) { SetTargetTableConfig(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + + SourceTableConfig m_sourceTableConfig; + bool m_sourceTableConfigHasBeenSet = false; + + TargetTableConfig m_targetTableConfig; + bool m_targetTableConfigHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationTablePropertiesResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationTablePropertiesResult.h new file mode 100644 index 00000000000..c94ab678245 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/CreateIntegrationTablePropertiesResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class CreateIntegrationTablePropertiesResult + { + public: + AWS_GLUE_API CreateIntegrationTablePropertiesResult(); + AWS_GLUE_API CreateIntegrationTablePropertiesResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API CreateIntegrationTablePropertiesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline CreateIntegrationTablePropertiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateIntegrationTablePropertiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateIntegrationTablePropertiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DataLakeAccessProperties.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DataLakeAccessProperties.h new file mode 100644 index 00000000000..5a6184b1731 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DataLakeAccessProperties.h @@ -0,0 +1,114 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    Input properties to configure data lake access for your catalog resource in + * the Glue Data Catalog.

    See Also:

    AWS + * API Reference

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

    Turns on or off data lake access for Apache Spark applications that access + * Amazon Redshift databases in the Data Catalog from any non-Redshift engine, such + * as Amazon Athena, Amazon EMR, or Glue ETL.

    + */ + inline bool GetDataLakeAccess() const{ return m_dataLakeAccess; } + inline bool DataLakeAccessHasBeenSet() const { return m_dataLakeAccessHasBeenSet; } + inline void SetDataLakeAccess(bool value) { m_dataLakeAccessHasBeenSet = true; m_dataLakeAccess = value; } + inline DataLakeAccessProperties& WithDataLakeAccess(bool value) { SetDataLakeAccess(value); return *this;} + ///@} + + ///@{ + /** + *

    A role that will be assumed by Glue for transferring data into/out of the + * staging bucket during a query.

    + */ + inline const Aws::String& GetDataTransferRole() const{ return m_dataTransferRole; } + inline bool DataTransferRoleHasBeenSet() const { return m_dataTransferRoleHasBeenSet; } + inline void SetDataTransferRole(const Aws::String& value) { m_dataTransferRoleHasBeenSet = true; m_dataTransferRole = value; } + inline void SetDataTransferRole(Aws::String&& value) { m_dataTransferRoleHasBeenSet = true; m_dataTransferRole = std::move(value); } + inline void SetDataTransferRole(const char* value) { m_dataTransferRoleHasBeenSet = true; m_dataTransferRole.assign(value); } + inline DataLakeAccessProperties& WithDataTransferRole(const Aws::String& value) { SetDataTransferRole(value); return *this;} + inline DataLakeAccessProperties& WithDataTransferRole(Aws::String&& value) { SetDataTransferRole(std::move(value)); return *this;} + inline DataLakeAccessProperties& WithDataTransferRole(const char* value) { SetDataTransferRole(value); return *this;} + ///@} + + ///@{ + /** + *

    An encryption key that will be used for the staging bucket that will be + * created along with the catalog.

    + */ + inline const Aws::String& GetKmsKey() const{ return m_kmsKey; } + inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; } + inline void SetKmsKey(const Aws::String& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; } + inline void SetKmsKey(Aws::String&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); } + inline void SetKmsKey(const char* value) { m_kmsKeyHasBeenSet = true; m_kmsKey.assign(value); } + inline DataLakeAccessProperties& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;} + inline DataLakeAccessProperties& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;} + inline DataLakeAccessProperties& WithKmsKey(const char* value) { SetKmsKey(value); return *this;} + ///@} + + ///@{ + /** + *

    Specifies a federated catalog type for the native catalog resource. The + * currently supported type is aws:redshift.

    + */ + inline const Aws::String& GetCatalogType() const{ return m_catalogType; } + inline bool CatalogTypeHasBeenSet() const { return m_catalogTypeHasBeenSet; } + inline void SetCatalogType(const Aws::String& value) { m_catalogTypeHasBeenSet = true; m_catalogType = value; } + inline void SetCatalogType(Aws::String&& value) { m_catalogTypeHasBeenSet = true; m_catalogType = std::move(value); } + inline void SetCatalogType(const char* value) { m_catalogTypeHasBeenSet = true; m_catalogType.assign(value); } + inline DataLakeAccessProperties& WithCatalogType(const Aws::String& value) { SetCatalogType(value); return *this;} + inline DataLakeAccessProperties& WithCatalogType(Aws::String&& value) { SetCatalogType(std::move(value)); return *this;} + inline DataLakeAccessProperties& WithCatalogType(const char* value) { SetCatalogType(value); return *this;} + ///@} + private: + + bool m_dataLakeAccess; + bool m_dataLakeAccessHasBeenSet = false; + + Aws::String m_dataTransferRole; + bool m_dataTransferRoleHasBeenSet = false; + + Aws::String m_kmsKey; + bool m_kmsKeyHasBeenSet = false; + + Aws::String m_catalogType; + bool m_catalogTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DataLakeAccessPropertiesOutput.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DataLakeAccessPropertiesOutput.h new file mode 100644 index 00000000000..6532690c2df --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DataLakeAccessPropertiesOutput.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

    The output properties of the data lake access configuration for your catalog + * resource in the Glue Data Catalog.

    See Also:

    AWS + * API Reference

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

    Turns on or off data lake access for Apache Spark applications that access + * Amazon Redshift databases in the Data Catalog.

    + */ + inline bool GetDataLakeAccess() const{ return m_dataLakeAccess; } + inline bool DataLakeAccessHasBeenSet() const { return m_dataLakeAccessHasBeenSet; } + inline void SetDataLakeAccess(bool value) { m_dataLakeAccessHasBeenSet = true; m_dataLakeAccess = value; } + inline DataLakeAccessPropertiesOutput& WithDataLakeAccess(bool value) { SetDataLakeAccess(value); return *this;} + ///@} + + ///@{ + /** + *

    A role that will be assumed by Glue for transferring data into/out of the + * staging bucket during a query.

    + */ + inline const Aws::String& GetDataTransferRole() const{ return m_dataTransferRole; } + inline bool DataTransferRoleHasBeenSet() const { return m_dataTransferRoleHasBeenSet; } + inline void SetDataTransferRole(const Aws::String& value) { m_dataTransferRoleHasBeenSet = true; m_dataTransferRole = value; } + inline void SetDataTransferRole(Aws::String&& value) { m_dataTransferRoleHasBeenSet = true; m_dataTransferRole = std::move(value); } + inline void SetDataTransferRole(const char* value) { m_dataTransferRoleHasBeenSet = true; m_dataTransferRole.assign(value); } + inline DataLakeAccessPropertiesOutput& WithDataTransferRole(const Aws::String& value) { SetDataTransferRole(value); return *this;} + inline DataLakeAccessPropertiesOutput& WithDataTransferRole(Aws::String&& value) { SetDataTransferRole(std::move(value)); return *this;} + inline DataLakeAccessPropertiesOutput& WithDataTransferRole(const char* value) { SetDataTransferRole(value); return *this;} + ///@} + + ///@{ + /** + *

    An encryption key that will be used for the staging bucket that will be + * created along with the catalog.

    + */ + inline const Aws::String& GetKmsKey() const{ return m_kmsKey; } + inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; } + inline void SetKmsKey(const Aws::String& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; } + inline void SetKmsKey(Aws::String&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); } + inline void SetKmsKey(const char* value) { m_kmsKeyHasBeenSet = true; m_kmsKey.assign(value); } + inline DataLakeAccessPropertiesOutput& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;} + inline DataLakeAccessPropertiesOutput& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;} + inline DataLakeAccessPropertiesOutput& WithKmsKey(const char* value) { SetKmsKey(value); return *this;} + ///@} + + ///@{ + /** + *

    The managed Redshift Serverless compute name that is created for your catalog + * resource.

    + */ + inline const Aws::String& GetManagedWorkgroupName() const{ return m_managedWorkgroupName; } + inline bool ManagedWorkgroupNameHasBeenSet() const { return m_managedWorkgroupNameHasBeenSet; } + inline void SetManagedWorkgroupName(const Aws::String& value) { m_managedWorkgroupNameHasBeenSet = true; m_managedWorkgroupName = value; } + inline void SetManagedWorkgroupName(Aws::String&& value) { m_managedWorkgroupNameHasBeenSet = true; m_managedWorkgroupName = std::move(value); } + inline void SetManagedWorkgroupName(const char* value) { m_managedWorkgroupNameHasBeenSet = true; m_managedWorkgroupName.assign(value); } + inline DataLakeAccessPropertiesOutput& WithManagedWorkgroupName(const Aws::String& value) { SetManagedWorkgroupName(value); return *this;} + inline DataLakeAccessPropertiesOutput& WithManagedWorkgroupName(Aws::String&& value) { SetManagedWorkgroupName(std::move(value)); return *this;} + inline DataLakeAccessPropertiesOutput& WithManagedWorkgroupName(const char* value) { SetManagedWorkgroupName(value); return *this;} + ///@} + + ///@{ + /** + *

    The managed Redshift Serverless compute status.

    + */ + inline const Aws::String& GetManagedWorkgroupStatus() const{ return m_managedWorkgroupStatus; } + inline bool ManagedWorkgroupStatusHasBeenSet() const { return m_managedWorkgroupStatusHasBeenSet; } + inline void SetManagedWorkgroupStatus(const Aws::String& value) { m_managedWorkgroupStatusHasBeenSet = true; m_managedWorkgroupStatus = value; } + inline void SetManagedWorkgroupStatus(Aws::String&& value) { m_managedWorkgroupStatusHasBeenSet = true; m_managedWorkgroupStatus = std::move(value); } + inline void SetManagedWorkgroupStatus(const char* value) { m_managedWorkgroupStatusHasBeenSet = true; m_managedWorkgroupStatus.assign(value); } + inline DataLakeAccessPropertiesOutput& WithManagedWorkgroupStatus(const Aws::String& value) { SetManagedWorkgroupStatus(value); return *this;} + inline DataLakeAccessPropertiesOutput& WithManagedWorkgroupStatus(Aws::String&& value) { SetManagedWorkgroupStatus(std::move(value)); return *this;} + inline DataLakeAccessPropertiesOutput& WithManagedWorkgroupStatus(const char* value) { SetManagedWorkgroupStatus(value); return *this;} + ///@} + + ///@{ + /** + *

    The default Redshift database resource name in the managed compute.

    + */ + inline const Aws::String& GetRedshiftDatabaseName() const{ return m_redshiftDatabaseName; } + inline bool RedshiftDatabaseNameHasBeenSet() const { return m_redshiftDatabaseNameHasBeenSet; } + inline void SetRedshiftDatabaseName(const Aws::String& value) { m_redshiftDatabaseNameHasBeenSet = true; m_redshiftDatabaseName = value; } + inline void SetRedshiftDatabaseName(Aws::String&& value) { m_redshiftDatabaseNameHasBeenSet = true; m_redshiftDatabaseName = std::move(value); } + inline void SetRedshiftDatabaseName(const char* value) { m_redshiftDatabaseNameHasBeenSet = true; m_redshiftDatabaseName.assign(value); } + inline DataLakeAccessPropertiesOutput& WithRedshiftDatabaseName(const Aws::String& value) { SetRedshiftDatabaseName(value); return *this;} + inline DataLakeAccessPropertiesOutput& WithRedshiftDatabaseName(Aws::String&& value) { SetRedshiftDatabaseName(std::move(value)); return *this;} + inline DataLakeAccessPropertiesOutput& WithRedshiftDatabaseName(const char* value) { SetRedshiftDatabaseName(value); return *this;} + ///@} + + ///@{ + /** + *

    A message that gives more detailed information about the managed workgroup + * status.

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

    Specifies a federated catalog type for the native catalog resource. The + * currently supported type is aws:redshift.

    + */ + inline const Aws::String& GetCatalogType() const{ return m_catalogType; } + inline bool CatalogTypeHasBeenSet() const { return m_catalogTypeHasBeenSet; } + inline void SetCatalogType(const Aws::String& value) { m_catalogTypeHasBeenSet = true; m_catalogType = value; } + inline void SetCatalogType(Aws::String&& value) { m_catalogTypeHasBeenSet = true; m_catalogType = std::move(value); } + inline void SetCatalogType(const char* value) { m_catalogTypeHasBeenSet = true; m_catalogType.assign(value); } + inline DataLakeAccessPropertiesOutput& WithCatalogType(const Aws::String& value) { SetCatalogType(value); return *this;} + inline DataLakeAccessPropertiesOutput& WithCatalogType(Aws::String&& value) { SetCatalogType(std::move(value)); return *this;} + inline DataLakeAccessPropertiesOutput& WithCatalogType(const char* value) { SetCatalogType(value); return *this;} + ///@} + private: + + bool m_dataLakeAccess; + bool m_dataLakeAccessHasBeenSet = false; + + Aws::String m_dataTransferRole; + bool m_dataTransferRoleHasBeenSet = false; + + Aws::String m_kmsKey; + bool m_kmsKeyHasBeenSet = false; + + Aws::String m_managedWorkgroupName; + bool m_managedWorkgroupNameHasBeenSet = false; + + Aws::String m_managedWorkgroupStatus; + bool m_managedWorkgroupStatusHasBeenSet = false; + + Aws::String m_redshiftDatabaseName; + bool m_redshiftDatabaseNameHasBeenSet = false; + + Aws::String m_statusMessage; + bool m_statusMessageHasBeenSet = false; + + Aws::String m_catalogType; + bool m_catalogTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DataOperation.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DataOperation.h new file mode 100644 index 00000000000..dc9e9bde2ab --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DataOperation.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class DataOperation + { + NOT_SET, + READ, + WRITE + }; + +namespace DataOperationMapper +{ +AWS_GLUE_API DataOperation GetDataOperationForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForDataOperation(DataOperation value); +} // namespace DataOperationMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteCatalogRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteCatalogRequest.h new file mode 100644 index 00000000000..380a876fab6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteCatalogRequest.h @@ -0,0 +1,58 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class DeleteCatalogRequest : public GlueRequest + { + public: + AWS_GLUE_API DeleteCatalogRequest(); + + // 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 "DeleteCatalog"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The ID of the catalog.

    + */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + inline DeleteCatalogRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + inline DeleteCatalogRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + inline DeleteCatalogRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + ///@} + private: + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteCatalogResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteCatalogResult.h new file mode 100644 index 00000000000..4f8be92ed22 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteCatalogResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class DeleteCatalogResult + { + public: + AWS_GLUE_API DeleteCatalogResult(); + AWS_GLUE_API DeleteCatalogResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API DeleteCatalogResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DeleteCatalogResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DeleteCatalogResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DeleteCatalogResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationRequest.h new file mode 100644 index 00000000000..f3d7e8cc0df --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationRequest.h @@ -0,0 +1,58 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class DeleteIntegrationRequest : public GlueRequest + { + public: + AWS_GLUE_API DeleteIntegrationRequest(); + + // 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 "DeleteIntegration"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the integration.

    + */ + inline const Aws::String& GetIntegrationIdentifier() const{ return m_integrationIdentifier; } + inline bool IntegrationIdentifierHasBeenSet() const { return m_integrationIdentifierHasBeenSet; } + inline void SetIntegrationIdentifier(const Aws::String& value) { m_integrationIdentifierHasBeenSet = true; m_integrationIdentifier = value; } + inline void SetIntegrationIdentifier(Aws::String&& value) { m_integrationIdentifierHasBeenSet = true; m_integrationIdentifier = std::move(value); } + inline void SetIntegrationIdentifier(const char* value) { m_integrationIdentifierHasBeenSet = true; m_integrationIdentifier.assign(value); } + inline DeleteIntegrationRequest& WithIntegrationIdentifier(const Aws::String& value) { SetIntegrationIdentifier(value); return *this;} + inline DeleteIntegrationRequest& WithIntegrationIdentifier(Aws::String&& value) { SetIntegrationIdentifier(std::move(value)); return *this;} + inline DeleteIntegrationRequest& WithIntegrationIdentifier(const char* value) { SetIntegrationIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_integrationIdentifier; + bool m_integrationIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationResult.h new file mode 100644 index 00000000000..daf120a6df3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationResult.h @@ -0,0 +1,248 @@ +/** + * 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 Glue +{ +namespace Model +{ + class DeleteIntegrationResult + { + public: + AWS_GLUE_API DeleteIntegrationResult(); + AWS_GLUE_API DeleteIntegrationResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API DeleteIntegrationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The ARN of the source for the integration.

    + */ + inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } + inline void SetSourceArn(const Aws::String& value) { m_sourceArn = value; } + inline void SetSourceArn(Aws::String&& value) { m_sourceArn = std::move(value); } + inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); } + inline DeleteIntegrationResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} + inline DeleteIntegrationResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} + inline DeleteIntegrationResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of the target for the integration.

    + */ + inline const Aws::String& GetTargetArn() const{ return m_targetArn; } + inline void SetTargetArn(const Aws::String& value) { m_targetArn = value; } + inline void SetTargetArn(Aws::String&& value) { m_targetArn = std::move(value); } + inline void SetTargetArn(const char* value) { m_targetArn.assign(value); } + inline DeleteIntegrationResult& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;} + inline DeleteIntegrationResult& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;} + inline DeleteIntegrationResult& WithTargetArn(const char* value) { SetTargetArn(value); return *this;} + ///@} + + ///@{ + /** + *

    A unique name for an integration in Glue.

    + */ + inline const Aws::String& GetIntegrationName() const{ return m_integrationName; } + inline void SetIntegrationName(const Aws::String& value) { m_integrationName = value; } + inline void SetIntegrationName(Aws::String&& value) { m_integrationName = std::move(value); } + inline void SetIntegrationName(const char* value) { m_integrationName.assign(value); } + inline DeleteIntegrationResult& WithIntegrationName(const Aws::String& value) { SetIntegrationName(value); return *this;} + inline DeleteIntegrationResult& WithIntegrationName(Aws::String&& value) { SetIntegrationName(std::move(value)); return *this;} + inline DeleteIntegrationResult& WithIntegrationName(const char* value) { SetIntegrationName(value); return *this;} + ///@} + + ///@{ + /** + *

    A description of the integration.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline DeleteIntegrationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline DeleteIntegrationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline DeleteIntegrationResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the integration.

    + */ + inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; } + inline void SetIntegrationArn(const Aws::String& value) { m_integrationArn = value; } + inline void SetIntegrationArn(Aws::String&& value) { m_integrationArn = std::move(value); } + inline void SetIntegrationArn(const char* value) { m_integrationArn.assign(value); } + inline DeleteIntegrationResult& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;} + inline DeleteIntegrationResult& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;} + inline DeleteIntegrationResult& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of a KMS key used for encrypting the channel.

    + */ + inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } + inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; } + inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); } + inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); } + inline DeleteIntegrationResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} + inline DeleteIntegrationResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} + inline DeleteIntegrationResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + ///@} + + ///@{ + /** + *

    An optional set of non-secret key–value pairs that contains additional + * contextual information for encryption.

    + */ + inline const Aws::Map& GetAdditionalEncryptionContext() const{ return m_additionalEncryptionContext; } + inline void SetAdditionalEncryptionContext(const Aws::Map& value) { m_additionalEncryptionContext = value; } + inline void SetAdditionalEncryptionContext(Aws::Map&& value) { m_additionalEncryptionContext = std::move(value); } + inline DeleteIntegrationResult& WithAdditionalEncryptionContext(const Aws::Map& value) { SetAdditionalEncryptionContext(value); return *this;} + inline DeleteIntegrationResult& WithAdditionalEncryptionContext(Aws::Map&& value) { SetAdditionalEncryptionContext(std::move(value)); return *this;} + inline DeleteIntegrationResult& AddAdditionalEncryptionContext(const Aws::String& key, const Aws::String& value) { m_additionalEncryptionContext.emplace(key, value); return *this; } + inline DeleteIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, const Aws::String& value) { m_additionalEncryptionContext.emplace(std::move(key), value); return *this; } + inline DeleteIntegrationResult& AddAdditionalEncryptionContext(const Aws::String& key, Aws::String&& value) { m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; } + inline DeleteIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, Aws::String&& value) { m_additionalEncryptionContext.emplace(std::move(key), std::move(value)); return *this; } + inline DeleteIntegrationResult& AddAdditionalEncryptionContext(const char* key, Aws::String&& value) { m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; } + inline DeleteIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, const char* value) { m_additionalEncryptionContext.emplace(std::move(key), value); return *this; } + inline DeleteIntegrationResult& AddAdditionalEncryptionContext(const char* key, const char* value) { m_additionalEncryptionContext.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Metadata assigned to the resource consisting of a list of key-value + * pairs.

    + */ + inline const Aws::Vector& GetTags() const{ return m_tags; } + inline void SetTags(const Aws::Vector& value) { m_tags = value; } + inline void SetTags(Aws::Vector&& value) { m_tags = std::move(value); } + inline DeleteIntegrationResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} + inline DeleteIntegrationResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} + inline DeleteIntegrationResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } + inline DeleteIntegrationResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The status of the integration being deleted.

    The possible statuses + * are:

    • CREATING: The integration is being created.

    • + *

      ACTIVE: The integration creation succeeds.

    • MODIFYING: The + * integration is being modified.

    • FAILED: The integration + * creation fails.

    • DELETING: The integration is deleted.

      + *
    • SYNCING: The integration is synchronizing.

    • + *

      NEEDS_ATTENTION: The integration needs attention, such as + * synchronization.

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

    The time when the integration was created, in UTC.

    + */ + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + inline DeleteIntegrationResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline DeleteIntegrationResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A list of errors associated with the integration.

    + */ + inline const Aws::Vector& GetErrors() const{ return m_errors; } + inline void SetErrors(const Aws::Vector& value) { m_errors = value; } + inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } + inline DeleteIntegrationResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} + inline DeleteIntegrationResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} + inline DeleteIntegrationResult& AddErrors(const IntegrationError& value) { m_errors.push_back(value); return *this; } + inline DeleteIntegrationResult& AddErrors(IntegrationError&& value) { m_errors.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    Selects source tables for the integration using Maxwell filter syntax.

    + */ + inline const Aws::String& GetDataFilter() const{ return m_dataFilter; } + inline void SetDataFilter(const Aws::String& value) { m_dataFilter = value; } + inline void SetDataFilter(Aws::String&& value) { m_dataFilter = std::move(value); } + inline void SetDataFilter(const char* value) { m_dataFilter.assign(value); } + inline DeleteIntegrationResult& WithDataFilter(const Aws::String& value) { SetDataFilter(value); return *this;} + inline DeleteIntegrationResult& WithDataFilter(Aws::String&& value) { SetDataFilter(std::move(value)); return *this;} + inline DeleteIntegrationResult& WithDataFilter(const char* value) { SetDataFilter(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DeleteIntegrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DeleteIntegrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DeleteIntegrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_sourceArn; + + Aws::String m_targetArn; + + Aws::String m_integrationName; + + Aws::String m_description; + + Aws::String m_integrationArn; + + Aws::String m_kmsKeyId; + + Aws::Map m_additionalEncryptionContext; + + Aws::Vector m_tags; + + IntegrationStatus m_status; + + Aws::Utils::DateTime m_createTime; + + Aws::Vector m_errors; + + Aws::String m_dataFilter; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationTablePropertiesRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationTablePropertiesRequest.h new file mode 100644 index 00000000000..e73aaa29e00 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationTablePropertiesRequest.h @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + + /** + */ + class DeleteIntegrationTablePropertiesRequest : public GlueRequest + { + public: + AWS_GLUE_API DeleteIntegrationTablePropertiesRequest(); + + // 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 "DeleteIntegrationTableProperties"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The connection ARN of the source, or the database ARN of the target.

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

    The name of the table to be replicated.

    + */ + inline const Aws::String& GetTableName() const{ return m_tableName; } + inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } + inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } + inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } + inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } + inline DeleteIntegrationTablePropertiesRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} + inline DeleteIntegrationTablePropertiesRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} + inline DeleteIntegrationTablePropertiesRequest& WithTableName(const char* value) { SetTableName(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationTablePropertiesResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationTablePropertiesResult.h new file mode 100644 index 00000000000..86c98e4f9a1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DeleteIntegrationTablePropertiesResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class DeleteIntegrationTablePropertiesResult + { + public: + AWS_GLUE_API DeleteIntegrationTablePropertiesResult(); + AWS_GLUE_API DeleteIntegrationTablePropertiesResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API DeleteIntegrationTablePropertiesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DeleteIntegrationTablePropertiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DeleteIntegrationTablePropertiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DeleteIntegrationTablePropertiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeConnectionTypeRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeConnectionTypeRequest.h new file mode 100644 index 00000000000..118853cdec0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeConnectionTypeRequest.h @@ -0,0 +1,58 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class DescribeConnectionTypeRequest : public GlueRequest + { + public: + AWS_GLUE_API DescribeConnectionTypeRequest(); + + // 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 "DescribeConnectionType"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The name of the connection type to be described.

    + */ + inline const Aws::String& GetConnectionType() const{ return m_connectionType; } + inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; } + inline void SetConnectionType(const Aws::String& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; } + inline void SetConnectionType(Aws::String&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); } + inline void SetConnectionType(const char* value) { m_connectionTypeHasBeenSet = true; m_connectionType.assign(value); } + inline DescribeConnectionTypeRequest& WithConnectionType(const Aws::String& value) { SetConnectionType(value); return *this;} + inline DescribeConnectionTypeRequest& WithConnectionType(Aws::String&& value) { SetConnectionType(std::move(value)); return *this;} + inline DescribeConnectionTypeRequest& WithConnectionType(const char* value) { SetConnectionType(value); return *this;} + ///@} + private: + + Aws::String m_connectionType; + bool m_connectionTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeConnectionTypeResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeConnectionTypeResult.h new file mode 100644 index 00000000000..f87465c0991 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeConnectionTypeResult.h @@ -0,0 +1,251 @@ +/** + * 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 Glue +{ +namespace Model +{ + class DescribeConnectionTypeResult + { + public: + AWS_GLUE_API DescribeConnectionTypeResult(); + AWS_GLUE_API DescribeConnectionTypeResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API DescribeConnectionTypeResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The name of the connection type.

    + */ + inline const Aws::String& GetConnectionType() const{ return m_connectionType; } + inline void SetConnectionType(const Aws::String& value) { m_connectionType = value; } + inline void SetConnectionType(Aws::String&& value) { m_connectionType = std::move(value); } + inline void SetConnectionType(const char* value) { m_connectionType.assign(value); } + inline DescribeConnectionTypeResult& WithConnectionType(const Aws::String& value) { SetConnectionType(value); return *this;} + inline DescribeConnectionTypeResult& WithConnectionType(Aws::String&& value) { SetConnectionType(std::move(value)); return *this;} + inline DescribeConnectionTypeResult& WithConnectionType(const char* value) { SetConnectionType(value); return *this;} + ///@} + + ///@{ + /** + *

    A description of the connection type.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline DescribeConnectionTypeResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline DescribeConnectionTypeResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline DescribeConnectionTypeResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The supported authentication types, data interface types (compute + * environments), and data operations of the connector.

    + */ + inline const Capabilities& GetCapabilities() const{ return m_capabilities; } + inline void SetCapabilities(const Capabilities& value) { m_capabilities = value; } + inline void SetCapabilities(Capabilities&& value) { m_capabilities = std::move(value); } + inline DescribeConnectionTypeResult& WithCapabilities(const Capabilities& value) { SetCapabilities(value); return *this;} + inline DescribeConnectionTypeResult& WithCapabilities(Capabilities&& value) { SetCapabilities(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Connection properties which are common across compute environments.

    + */ + inline const Aws::Map& GetConnectionProperties() const{ return m_connectionProperties; } + inline void SetConnectionProperties(const Aws::Map& value) { m_connectionProperties = value; } + inline void SetConnectionProperties(Aws::Map&& value) { m_connectionProperties = std::move(value); } + inline DescribeConnectionTypeResult& WithConnectionProperties(const Aws::Map& value) { SetConnectionProperties(value); return *this;} + inline DescribeConnectionTypeResult& WithConnectionProperties(Aws::Map&& value) { SetConnectionProperties(std::move(value)); return *this;} + inline DescribeConnectionTypeResult& AddConnectionProperties(const Aws::String& key, const Property& value) { m_connectionProperties.emplace(key, value); return *this; } + inline DescribeConnectionTypeResult& AddConnectionProperties(Aws::String&& key, const Property& value) { m_connectionProperties.emplace(std::move(key), value); return *this; } + inline DescribeConnectionTypeResult& AddConnectionProperties(const Aws::String& key, Property&& value) { m_connectionProperties.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddConnectionProperties(Aws::String&& key, Property&& value) { m_connectionProperties.emplace(std::move(key), std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddConnectionProperties(const char* key, Property&& value) { m_connectionProperties.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddConnectionProperties(const char* key, const Property& value) { m_connectionProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Returns properties that can be set when creating a connection in the + * ConnectionInput.ConnectionProperties. + * ConnectionOptions defines parameters that can be set in a Spark ETL + * script in the connection options map passed to a dataframe.

    + */ + inline const Aws::Map& GetConnectionOptions() const{ return m_connectionOptions; } + inline void SetConnectionOptions(const Aws::Map& value) { m_connectionOptions = value; } + inline void SetConnectionOptions(Aws::Map&& value) { m_connectionOptions = std::move(value); } + inline DescribeConnectionTypeResult& WithConnectionOptions(const Aws::Map& value) { SetConnectionOptions(value); return *this;} + inline DescribeConnectionTypeResult& WithConnectionOptions(Aws::Map&& value) { SetConnectionOptions(std::move(value)); return *this;} + inline DescribeConnectionTypeResult& AddConnectionOptions(const Aws::String& key, const Property& value) { m_connectionOptions.emplace(key, value); return *this; } + inline DescribeConnectionTypeResult& AddConnectionOptions(Aws::String&& key, const Property& value) { m_connectionOptions.emplace(std::move(key), value); return *this; } + inline DescribeConnectionTypeResult& AddConnectionOptions(const Aws::String& key, Property&& value) { m_connectionOptions.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddConnectionOptions(Aws::String&& key, Property&& value) { m_connectionOptions.emplace(std::move(key), std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddConnectionOptions(const char* key, Property&& value) { m_connectionOptions.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddConnectionOptions(const char* key, const Property& value) { m_connectionOptions.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    The type of authentication used for the connection.

    + */ + inline const AuthConfiguration& GetAuthenticationConfiguration() const{ return m_authenticationConfiguration; } + inline void SetAuthenticationConfiguration(const AuthConfiguration& value) { m_authenticationConfiguration = value; } + inline void SetAuthenticationConfiguration(AuthConfiguration&& value) { m_authenticationConfiguration = std::move(value); } + inline DescribeConnectionTypeResult& WithAuthenticationConfiguration(const AuthConfiguration& value) { SetAuthenticationConfiguration(value); return *this;} + inline DescribeConnectionTypeResult& WithAuthenticationConfiguration(AuthConfiguration&& value) { SetAuthenticationConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The compute environments that are supported by the connection.

    + */ + inline const Aws::Map& GetComputeEnvironmentConfigurations() const{ return m_computeEnvironmentConfigurations; } + inline void SetComputeEnvironmentConfigurations(const Aws::Map& value) { m_computeEnvironmentConfigurations = value; } + inline void SetComputeEnvironmentConfigurations(Aws::Map&& value) { m_computeEnvironmentConfigurations = std::move(value); } + inline DescribeConnectionTypeResult& WithComputeEnvironmentConfigurations(const Aws::Map& value) { SetComputeEnvironmentConfigurations(value); return *this;} + inline DescribeConnectionTypeResult& WithComputeEnvironmentConfigurations(Aws::Map&& value) { SetComputeEnvironmentConfigurations(std::move(value)); return *this;} + inline DescribeConnectionTypeResult& AddComputeEnvironmentConfigurations(const Aws::String& key, const ComputeEnvironmentConfiguration& value) { m_computeEnvironmentConfigurations.emplace(key, value); return *this; } + inline DescribeConnectionTypeResult& AddComputeEnvironmentConfigurations(Aws::String&& key, const ComputeEnvironmentConfiguration& value) { m_computeEnvironmentConfigurations.emplace(std::move(key), value); return *this; } + inline DescribeConnectionTypeResult& AddComputeEnvironmentConfigurations(const Aws::String& key, ComputeEnvironmentConfiguration&& value) { m_computeEnvironmentConfigurations.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddComputeEnvironmentConfigurations(Aws::String&& key, ComputeEnvironmentConfiguration&& value) { m_computeEnvironmentConfigurations.emplace(std::move(key), std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddComputeEnvironmentConfigurations(const char* key, ComputeEnvironmentConfiguration&& value) { m_computeEnvironmentConfigurations.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddComputeEnvironmentConfigurations(const char* key, const ComputeEnvironmentConfiguration& value) { m_computeEnvironmentConfigurations.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Physical requirements for a connection, such as VPC, Subnet and Security + * Group specifications.

    + */ + inline const Aws::Map& GetPhysicalConnectionRequirements() const{ return m_physicalConnectionRequirements; } + inline void SetPhysicalConnectionRequirements(const Aws::Map& value) { m_physicalConnectionRequirements = value; } + inline void SetPhysicalConnectionRequirements(Aws::Map&& value) { m_physicalConnectionRequirements = std::move(value); } + inline DescribeConnectionTypeResult& WithPhysicalConnectionRequirements(const Aws::Map& value) { SetPhysicalConnectionRequirements(value); return *this;} + inline DescribeConnectionTypeResult& WithPhysicalConnectionRequirements(Aws::Map&& value) { SetPhysicalConnectionRequirements(std::move(value)); return *this;} + inline DescribeConnectionTypeResult& AddPhysicalConnectionRequirements(const Aws::String& key, const Property& value) { m_physicalConnectionRequirements.emplace(key, value); return *this; } + inline DescribeConnectionTypeResult& AddPhysicalConnectionRequirements(Aws::String&& key, const Property& value) { m_physicalConnectionRequirements.emplace(std::move(key), value); return *this; } + inline DescribeConnectionTypeResult& AddPhysicalConnectionRequirements(const Aws::String& key, Property&& value) { m_physicalConnectionRequirements.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddPhysicalConnectionRequirements(Aws::String&& key, Property&& value) { m_physicalConnectionRequirements.emplace(std::move(key), std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddPhysicalConnectionRequirements(const char* key, Property&& value) { m_physicalConnectionRequirements.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddPhysicalConnectionRequirements(const char* key, const Property& value) { m_physicalConnectionRequirements.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Connection properties specific to the Athena compute environment.

    + */ + inline const Aws::Map& GetAthenaConnectionProperties() const{ return m_athenaConnectionProperties; } + inline void SetAthenaConnectionProperties(const Aws::Map& value) { m_athenaConnectionProperties = value; } + inline void SetAthenaConnectionProperties(Aws::Map&& value) { m_athenaConnectionProperties = std::move(value); } + inline DescribeConnectionTypeResult& WithAthenaConnectionProperties(const Aws::Map& value) { SetAthenaConnectionProperties(value); return *this;} + inline DescribeConnectionTypeResult& WithAthenaConnectionProperties(Aws::Map&& value) { SetAthenaConnectionProperties(std::move(value)); return *this;} + inline DescribeConnectionTypeResult& AddAthenaConnectionProperties(const Aws::String& key, const Property& value) { m_athenaConnectionProperties.emplace(key, value); return *this; } + inline DescribeConnectionTypeResult& AddAthenaConnectionProperties(Aws::String&& key, const Property& value) { m_athenaConnectionProperties.emplace(std::move(key), value); return *this; } + inline DescribeConnectionTypeResult& AddAthenaConnectionProperties(const Aws::String& key, Property&& value) { m_athenaConnectionProperties.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddAthenaConnectionProperties(Aws::String&& key, Property&& value) { m_athenaConnectionProperties.emplace(std::move(key), std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddAthenaConnectionProperties(const char* key, Property&& value) { m_athenaConnectionProperties.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddAthenaConnectionProperties(const char* key, const Property& value) { m_athenaConnectionProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Connection properties specific to the Python compute environment.

    + */ + inline const Aws::Map& GetPythonConnectionProperties() const{ return m_pythonConnectionProperties; } + inline void SetPythonConnectionProperties(const Aws::Map& value) { m_pythonConnectionProperties = value; } + inline void SetPythonConnectionProperties(Aws::Map&& value) { m_pythonConnectionProperties = std::move(value); } + inline DescribeConnectionTypeResult& WithPythonConnectionProperties(const Aws::Map& value) { SetPythonConnectionProperties(value); return *this;} + inline DescribeConnectionTypeResult& WithPythonConnectionProperties(Aws::Map&& value) { SetPythonConnectionProperties(std::move(value)); return *this;} + inline DescribeConnectionTypeResult& AddPythonConnectionProperties(const Aws::String& key, const Property& value) { m_pythonConnectionProperties.emplace(key, value); return *this; } + inline DescribeConnectionTypeResult& AddPythonConnectionProperties(Aws::String&& key, const Property& value) { m_pythonConnectionProperties.emplace(std::move(key), value); return *this; } + inline DescribeConnectionTypeResult& AddPythonConnectionProperties(const Aws::String& key, Property&& value) { m_pythonConnectionProperties.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddPythonConnectionProperties(Aws::String&& key, Property&& value) { m_pythonConnectionProperties.emplace(std::move(key), std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddPythonConnectionProperties(const char* key, Property&& value) { m_pythonConnectionProperties.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddPythonConnectionProperties(const char* key, const Property& value) { m_pythonConnectionProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Connection properties specific to the Spark compute environment.

    + */ + inline const Aws::Map& GetSparkConnectionProperties() const{ return m_sparkConnectionProperties; } + inline void SetSparkConnectionProperties(const Aws::Map& value) { m_sparkConnectionProperties = value; } + inline void SetSparkConnectionProperties(Aws::Map&& value) { m_sparkConnectionProperties = std::move(value); } + inline DescribeConnectionTypeResult& WithSparkConnectionProperties(const Aws::Map& value) { SetSparkConnectionProperties(value); return *this;} + inline DescribeConnectionTypeResult& WithSparkConnectionProperties(Aws::Map&& value) { SetSparkConnectionProperties(std::move(value)); return *this;} + inline DescribeConnectionTypeResult& AddSparkConnectionProperties(const Aws::String& key, const Property& value) { m_sparkConnectionProperties.emplace(key, value); return *this; } + inline DescribeConnectionTypeResult& AddSparkConnectionProperties(Aws::String&& key, const Property& value) { m_sparkConnectionProperties.emplace(std::move(key), value); return *this; } + inline DescribeConnectionTypeResult& AddSparkConnectionProperties(const Aws::String& key, Property&& value) { m_sparkConnectionProperties.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddSparkConnectionProperties(Aws::String&& key, Property&& value) { m_sparkConnectionProperties.emplace(std::move(key), std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddSparkConnectionProperties(const char* key, Property&& value) { m_sparkConnectionProperties.emplace(key, std::move(value)); return *this; } + inline DescribeConnectionTypeResult& AddSparkConnectionProperties(const char* key, const Property& value) { m_sparkConnectionProperties.emplace(key, value); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DescribeConnectionTypeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DescribeConnectionTypeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DescribeConnectionTypeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_connectionType; + + Aws::String m_description; + + Capabilities m_capabilities; + + Aws::Map m_connectionProperties; + + Aws::Map m_connectionOptions; + + AuthConfiguration m_authenticationConfiguration; + + Aws::Map m_computeEnvironmentConfigurations; + + Aws::Map m_physicalConnectionRequirements; + + Aws::Map m_athenaConnectionProperties; + + Aws::Map m_pythonConnectionProperties; + + Aws::Map m_sparkConnectionProperties; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeEntityRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeEntityRequest.h new file mode 100644 index 00000000000..18b3fa20b9e --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeEntityRequest.h @@ -0,0 +1,128 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class DescribeEntityRequest : public GlueRequest + { + public: + AWS_GLUE_API DescribeEntityRequest(); + + // 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 "DescribeEntity"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The name of the connection that contains the connection type credentials.

    + */ + inline const Aws::String& GetConnectionName() const{ return m_connectionName; } + inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; } + inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; } + inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); } + inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); } + inline DescribeEntityRequest& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;} + inline DescribeEntityRequest& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;} + inline DescribeEntityRequest& WithConnectionName(const char* value) { SetConnectionName(value); return *this;} + ///@} + + ///@{ + /** + *

    The catalog ID of the catalog that contains the connection. This can be null, + * By default, the Amazon Web Services Account ID is the catalog ID.

    + */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + inline DescribeEntityRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + inline DescribeEntityRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + inline DescribeEntityRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the entity that you want to describe from the connection + * type.

    + */ + inline const Aws::String& GetEntityName() const{ return m_entityName; } + inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; } + inline void SetEntityName(const Aws::String& value) { m_entityNameHasBeenSet = true; m_entityName = value; } + inline void SetEntityName(Aws::String&& value) { m_entityNameHasBeenSet = true; m_entityName = std::move(value); } + inline void SetEntityName(const char* value) { m_entityNameHasBeenSet = true; m_entityName.assign(value); } + inline DescribeEntityRequest& WithEntityName(const Aws::String& value) { SetEntityName(value); return *this;} + inline DescribeEntityRequest& WithEntityName(Aws::String&& value) { SetEntityName(std::move(value)); return *this;} + inline DescribeEntityRequest& WithEntityName(const char* value) { SetEntityName(value); return *this;} + ///@} + + ///@{ + /** + *

    A continuation token, included if this is a continuation call.

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

    The version of the API used for the data store.

    + */ + inline const Aws::String& GetDataStoreApiVersion() const{ return m_dataStoreApiVersion; } + inline bool DataStoreApiVersionHasBeenSet() const { return m_dataStoreApiVersionHasBeenSet; } + inline void SetDataStoreApiVersion(const Aws::String& value) { m_dataStoreApiVersionHasBeenSet = true; m_dataStoreApiVersion = value; } + inline void SetDataStoreApiVersion(Aws::String&& value) { m_dataStoreApiVersionHasBeenSet = true; m_dataStoreApiVersion = std::move(value); } + inline void SetDataStoreApiVersion(const char* value) { m_dataStoreApiVersionHasBeenSet = true; m_dataStoreApiVersion.assign(value); } + inline DescribeEntityRequest& WithDataStoreApiVersion(const Aws::String& value) { SetDataStoreApiVersion(value); return *this;} + inline DescribeEntityRequest& WithDataStoreApiVersion(Aws::String&& value) { SetDataStoreApiVersion(std::move(value)); return *this;} + inline DescribeEntityRequest& WithDataStoreApiVersion(const char* value) { SetDataStoreApiVersion(value); return *this;} + ///@} + private: + + Aws::String m_connectionName; + bool m_connectionNameHasBeenSet = false; + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + Aws::String m_entityName; + bool m_entityNameHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_dataStoreApiVersion; + bool m_dataStoreApiVersionHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeEntityResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeEntityResult.h new file mode 100644 index 00000000000..7927742e716 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeEntityResult.h @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class DescribeEntityResult + { + public: + AWS_GLUE_API DescribeEntityResult(); + AWS_GLUE_API DescribeEntityResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API DescribeEntityResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    Describes the fields for that connector entity. This is the list of + * Field objects. Field is very similar to column in a + * database. The Field object has information about different + * properties associated with fields in the connector.

    + */ + inline const Aws::Vector& GetFields() const{ return m_fields; } + inline void SetFields(const Aws::Vector& value) { m_fields = value; } + inline void SetFields(Aws::Vector&& value) { m_fields = std::move(value); } + inline DescribeEntityResult& WithFields(const Aws::Vector& value) { SetFields(value); return *this;} + inline DescribeEntityResult& WithFields(Aws::Vector&& value) { SetFields(std::move(value)); return *this;} + inline DescribeEntityResult& AddFields(const Field& value) { m_fields.push_back(value); return *this; } + inline DescribeEntityResult& AddFields(Field&& value) { m_fields.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    A continuation token, present if the current segment is not the last.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline DescribeEntityResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline DescribeEntityResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline DescribeEntityResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DescribeEntityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DescribeEntityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DescribeEntityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_fields; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeInboundIntegrationsRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeInboundIntegrationsRequest.h new file mode 100644 index 00000000000..fefb3dc5832 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeInboundIntegrationsRequest.h @@ -0,0 +1,106 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class DescribeInboundIntegrationsRequest : public GlueRequest + { + public: + AWS_GLUE_API DescribeInboundIntegrationsRequest(); + + // 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 "DescribeInboundIntegrations"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the integration.

    + */ + inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; } + inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; } + inline void SetIntegrationArn(const Aws::String& value) { m_integrationArnHasBeenSet = true; m_integrationArn = value; } + inline void SetIntegrationArn(Aws::String&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::move(value); } + inline void SetIntegrationArn(const char* value) { m_integrationArnHasBeenSet = true; m_integrationArn.assign(value); } + inline DescribeInboundIntegrationsRequest& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;} + inline DescribeInboundIntegrationsRequest& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;} + inline DescribeInboundIntegrationsRequest& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;} + ///@} + + ///@{ + /** + *

    A token to specify where to start paginating. This is the marker from a + * previously truncated response.

    + */ + inline const Aws::String& GetMarker() const{ return m_marker; } + inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } + inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } + inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } + inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } + inline DescribeInboundIntegrationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} + inline DescribeInboundIntegrationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} + inline DescribeInboundIntegrationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;} + ///@} + + ///@{ + /** + *

    The total number of items to return in the output.

    + */ + inline int GetMaxRecords() const{ return m_maxRecords; } + inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; } + inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; } + inline DescribeInboundIntegrationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the target resource in the integration.

    + */ + inline const Aws::String& GetTargetArn() const{ return m_targetArn; } + inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; } + inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; } + inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); } + inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); } + inline DescribeInboundIntegrationsRequest& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;} + inline DescribeInboundIntegrationsRequest& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;} + inline DescribeInboundIntegrationsRequest& WithTargetArn(const char* value) { SetTargetArn(value); return *this;} + ///@} + private: + + Aws::String m_integrationArn; + bool m_integrationArnHasBeenSet = false; + + Aws::String m_marker; + bool m_markerHasBeenSet = false; + + int m_maxRecords; + bool m_maxRecordsHasBeenSet = false; + + Aws::String m_targetArn; + bool m_targetArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeInboundIntegrationsResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeInboundIntegrationsResult.h new file mode 100644 index 00000000000..d431af6687c --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeInboundIntegrationsResult.h @@ -0,0 +1,85 @@ +/** + * 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 Glue +{ +namespace Model +{ + class DescribeInboundIntegrationsResult + { + public: + AWS_GLUE_API DescribeInboundIntegrationsResult(); + AWS_GLUE_API DescribeInboundIntegrationsResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API DescribeInboundIntegrationsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    A list of inbound integrations.

    + */ + inline const Aws::Vector& GetInboundIntegrations() const{ return m_inboundIntegrations; } + inline void SetInboundIntegrations(const Aws::Vector& value) { m_inboundIntegrations = value; } + inline void SetInboundIntegrations(Aws::Vector&& value) { m_inboundIntegrations = std::move(value); } + inline DescribeInboundIntegrationsResult& WithInboundIntegrations(const Aws::Vector& value) { SetInboundIntegrations(value); return *this;} + inline DescribeInboundIntegrationsResult& WithInboundIntegrations(Aws::Vector&& value) { SetInboundIntegrations(std::move(value)); return *this;} + inline DescribeInboundIntegrationsResult& AddInboundIntegrations(const InboundIntegration& value) { m_inboundIntegrations.push_back(value); return *this; } + inline DescribeInboundIntegrationsResult& AddInboundIntegrations(InboundIntegration&& value) { m_inboundIntegrations.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    A value that indicates the starting point for the next set of response + * records in a subsequent request.

    + */ + inline const Aws::String& GetMarker() const{ return m_marker; } + inline void SetMarker(const Aws::String& value) { m_marker = value; } + inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); } + inline void SetMarker(const char* value) { m_marker.assign(value); } + inline DescribeInboundIntegrationsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} + inline DescribeInboundIntegrationsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} + inline DescribeInboundIntegrationsResult& WithMarker(const char* value) { SetMarker(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DescribeInboundIntegrationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DescribeInboundIntegrationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DescribeInboundIntegrationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_inboundIntegrations; + + Aws::String m_marker; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeIntegrationsRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeIntegrationsRequest.h new file mode 100644 index 00000000000..4b3b1bdf5f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeIntegrationsRequest.h @@ -0,0 +1,110 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class DescribeIntegrationsRequest : public GlueRequest + { + public: + AWS_GLUE_API DescribeIntegrationsRequest(); + + // 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 "DescribeIntegrations"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the integration.

    + */ + inline const Aws::String& GetIntegrationIdentifier() const{ return m_integrationIdentifier; } + inline bool IntegrationIdentifierHasBeenSet() const { return m_integrationIdentifierHasBeenSet; } + inline void SetIntegrationIdentifier(const Aws::String& value) { m_integrationIdentifierHasBeenSet = true; m_integrationIdentifier = value; } + inline void SetIntegrationIdentifier(Aws::String&& value) { m_integrationIdentifierHasBeenSet = true; m_integrationIdentifier = std::move(value); } + inline void SetIntegrationIdentifier(const char* value) { m_integrationIdentifierHasBeenSet = true; m_integrationIdentifier.assign(value); } + inline DescribeIntegrationsRequest& WithIntegrationIdentifier(const Aws::String& value) { SetIntegrationIdentifier(value); return *this;} + inline DescribeIntegrationsRequest& WithIntegrationIdentifier(Aws::String&& value) { SetIntegrationIdentifier(std::move(value)); return *this;} + inline DescribeIntegrationsRequest& WithIntegrationIdentifier(const char* value) { SetIntegrationIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    A value that indicates the starting point for the next set of response + * records in a subsequent request.

    + */ + inline const Aws::String& GetMarker() const{ return m_marker; } + inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } + inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } + inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } + inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } + inline DescribeIntegrationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} + inline DescribeIntegrationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} + inline DescribeIntegrationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;} + ///@} + + ///@{ + /** + *

    The total number of items to return in the output.

    + */ + inline int GetMaxRecords() const{ return m_maxRecords; } + inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; } + inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; } + inline DescribeIntegrationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} + ///@} + + ///@{ + /** + *

    A list of key and values, to filter down the results. Supported keys are + * "Status", "IntegrationName", and "SourceArn". IntegrationName is limited to only + * one value.

    + */ + inline const Aws::Vector& GetFilters() const{ return m_filters; } + inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } + inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } + inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } + inline DescribeIntegrationsRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} + inline DescribeIntegrationsRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} + inline DescribeIntegrationsRequest& AddFilters(const IntegrationFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } + inline DescribeIntegrationsRequest& AddFilters(IntegrationFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_integrationIdentifier; + bool m_integrationIdentifierHasBeenSet = false; + + Aws::String m_marker; + bool m_markerHasBeenSet = false; + + int m_maxRecords; + bool m_maxRecordsHasBeenSet = false; + + Aws::Vector m_filters; + bool m_filtersHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeIntegrationsResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeIntegrationsResult.h new file mode 100644 index 00000000000..f4b4ce53ad3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/DescribeIntegrationsResult.h @@ -0,0 +1,85 @@ +/** + * 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 Glue +{ +namespace Model +{ + class DescribeIntegrationsResult + { + public: + AWS_GLUE_API DescribeIntegrationsResult(); + AWS_GLUE_API DescribeIntegrationsResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API DescribeIntegrationsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    A list of zero-ETL integrations.

    + */ + inline const Aws::Vector& GetIntegrations() const{ return m_integrations; } + inline void SetIntegrations(const Aws::Vector& value) { m_integrations = value; } + inline void SetIntegrations(Aws::Vector&& value) { m_integrations = std::move(value); } + inline DescribeIntegrationsResult& WithIntegrations(const Aws::Vector& value) { SetIntegrations(value); return *this;} + inline DescribeIntegrationsResult& WithIntegrations(Aws::Vector&& value) { SetIntegrations(std::move(value)); return *this;} + inline DescribeIntegrationsResult& AddIntegrations(const Integration& value) { m_integrations.push_back(value); return *this; } + inline DescribeIntegrationsResult& AddIntegrations(Integration&& value) { m_integrations.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    A value that indicates the starting point for the next set of response + * records in a subsequent request.

    + */ + inline const Aws::String& GetMarker() const{ return m_marker; } + inline void SetMarker(const Aws::String& value) { m_marker = value; } + inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); } + inline void SetMarker(const char* value) { m_marker.assign(value); } + inline DescribeIntegrationsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} + inline DescribeIntegrationsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} + inline DescribeIntegrationsResult& WithMarker(const char* value) { SetMarker(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DescribeIntegrationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DescribeIntegrationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DescribeIntegrationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_integrations; + + Aws::String m_marker; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Entity.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Entity.h new file mode 100644 index 00000000000..fd4464825a4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Entity.h @@ -0,0 +1,154 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    An entity supported by a given ConnectionType.

    See + * Also:

    AWS API + * Reference

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

    The name of the entity.

    + */ + inline const Aws::String& GetEntityName() const{ return m_entityName; } + inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; } + inline void SetEntityName(const Aws::String& value) { m_entityNameHasBeenSet = true; m_entityName = value; } + inline void SetEntityName(Aws::String&& value) { m_entityNameHasBeenSet = true; m_entityName = std::move(value); } + inline void SetEntityName(const char* value) { m_entityNameHasBeenSet = true; m_entityName.assign(value); } + inline Entity& WithEntityName(const Aws::String& value) { SetEntityName(value); return *this;} + inline Entity& WithEntityName(Aws::String&& value) { SetEntityName(std::move(value)); return *this;} + inline Entity& WithEntityName(const char* value) { SetEntityName(value); return *this;} + ///@} + + ///@{ + /** + *

    Label used for the entity.

    + */ + inline const Aws::String& GetLabel() const{ return m_label; } + inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } + inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } + inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } + inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } + inline Entity& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} + inline Entity& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} + inline Entity& WithLabel(const char* value) { SetLabel(value); return *this;} + ///@} + + ///@{ + /** + *

    A Boolean value which helps to determine whether there are sub objects that + * can be listed.

    + */ + inline bool GetIsParentEntity() const{ return m_isParentEntity; } + inline bool IsParentEntityHasBeenSet() const { return m_isParentEntityHasBeenSet; } + inline void SetIsParentEntity(bool value) { m_isParentEntityHasBeenSet = true; m_isParentEntity = value; } + inline Entity& WithIsParentEntity(bool value) { SetIsParentEntity(value); return *this;} + ///@} + + ///@{ + /** + *

    A description of the entity.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline Entity& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline Entity& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline Entity& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The type of entities that are present in the response. This value depends on + * the source connection. For example this is SObjects for Salesforce + * and databases or schemas or tables for + * sources like Amazon Redshift.

    + */ + inline const Aws::String& GetCategory() const{ return m_category; } + inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } + inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; } + inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } + inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); } + inline Entity& WithCategory(const Aws::String& value) { SetCategory(value); return *this;} + inline Entity& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;} + inline Entity& WithCategory(const char* value) { SetCategory(value); return *this;} + ///@} + + ///@{ + /** + *

    An optional map of keys which may be returned for an entity by a + * connector.

    + */ + inline const Aws::Map& GetCustomProperties() const{ return m_customProperties; } + inline bool CustomPropertiesHasBeenSet() const { return m_customPropertiesHasBeenSet; } + inline void SetCustomProperties(const Aws::Map& value) { m_customPropertiesHasBeenSet = true; m_customProperties = value; } + inline void SetCustomProperties(Aws::Map&& value) { m_customPropertiesHasBeenSet = true; m_customProperties = std::move(value); } + inline Entity& WithCustomProperties(const Aws::Map& value) { SetCustomProperties(value); return *this;} + inline Entity& WithCustomProperties(Aws::Map&& value) { SetCustomProperties(std::move(value)); return *this;} + inline Entity& AddCustomProperties(const Aws::String& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; } + inline Entity& AddCustomProperties(Aws::String&& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; } + inline Entity& AddCustomProperties(const Aws::String& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; } + inline Entity& AddCustomProperties(Aws::String&& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), std::move(value)); return *this; } + inline Entity& AddCustomProperties(const char* key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; } + inline Entity& AddCustomProperties(Aws::String&& key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; } + inline Entity& AddCustomProperties(const char* key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_entityName; + bool m_entityNameHasBeenSet = false; + + Aws::String m_label; + bool m_labelHasBeenSet = false; + + bool m_isParentEntity; + bool m_isParentEntityHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_category; + bool m_categoryHasBeenSet = false; + + Aws::Map m_customProperties; + bool m_customPropertiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ExecutionAttempt.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ExecutionAttempt.h new file mode 100644 index 00000000000..a49e73273ef --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ExecutionAttempt.h @@ -0,0 +1,110 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    A run attempt for a column statistics task run.

    See Also:

    AWS + * API Reference

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

    The status of the last column statistics task run.

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

    A task run ID for the last column statistics task run.

    + */ + inline const Aws::String& GetColumnStatisticsTaskRunId() const{ return m_columnStatisticsTaskRunId; } + inline bool ColumnStatisticsTaskRunIdHasBeenSet() const { return m_columnStatisticsTaskRunIdHasBeenSet; } + inline void SetColumnStatisticsTaskRunId(const Aws::String& value) { m_columnStatisticsTaskRunIdHasBeenSet = true; m_columnStatisticsTaskRunId = value; } + inline void SetColumnStatisticsTaskRunId(Aws::String&& value) { m_columnStatisticsTaskRunIdHasBeenSet = true; m_columnStatisticsTaskRunId = std::move(value); } + inline void SetColumnStatisticsTaskRunId(const char* value) { m_columnStatisticsTaskRunIdHasBeenSet = true; m_columnStatisticsTaskRunId.assign(value); } + inline ExecutionAttempt& WithColumnStatisticsTaskRunId(const Aws::String& value) { SetColumnStatisticsTaskRunId(value); return *this;} + inline ExecutionAttempt& WithColumnStatisticsTaskRunId(Aws::String&& value) { SetColumnStatisticsTaskRunId(std::move(value)); return *this;} + inline ExecutionAttempt& WithColumnStatisticsTaskRunId(const char* value) { SetColumnStatisticsTaskRunId(value); return *this;} + ///@} + + ///@{ + /** + *

    A timestamp when the last column statistics task run occurred.

    + */ + inline const Aws::Utils::DateTime& GetExecutionTimestamp() const{ return m_executionTimestamp; } + inline bool ExecutionTimestampHasBeenSet() const { return m_executionTimestampHasBeenSet; } + inline void SetExecutionTimestamp(const Aws::Utils::DateTime& value) { m_executionTimestampHasBeenSet = true; m_executionTimestamp = value; } + inline void SetExecutionTimestamp(Aws::Utils::DateTime&& value) { m_executionTimestampHasBeenSet = true; m_executionTimestamp = std::move(value); } + inline ExecutionAttempt& WithExecutionTimestamp(const Aws::Utils::DateTime& value) { SetExecutionTimestamp(value); return *this;} + inline ExecutionAttempt& WithExecutionTimestamp(Aws::Utils::DateTime&& value) { SetExecutionTimestamp(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    An error message associated with the last column statistics task run.

    + */ + inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } + inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } + inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } + inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } + inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } + inline ExecutionAttempt& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} + inline ExecutionAttempt& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} + inline ExecutionAttempt& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} + ///@} + private: + + ExecutionStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_columnStatisticsTaskRunId; + bool m_columnStatisticsTaskRunIdHasBeenSet = false; + + Aws::Utils::DateTime m_executionTimestamp; + bool m_executionTimestampHasBeenSet = false; + + Aws::String m_errorMessage; + bool m_errorMessageHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ExecutionStatus.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ExecutionStatus.h new file mode 100644 index 00000000000..55b920c073a --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ExecutionStatus.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class ExecutionStatus + { + NOT_SET, + FAILED, + STARTED + }; + +namespace ExecutionStatusMapper +{ +AWS_GLUE_API ExecutionStatus GetExecutionStatusForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForExecutionStatus(ExecutionStatus value); +} // namespace ExecutionStatusMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/FederatedCatalog.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/FederatedCatalog.h new file mode 100644 index 00000000000..337fe399dfa --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/FederatedCatalog.h @@ -0,0 +1,80 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

    A catalog that points to an entity outside the Glue Data + * Catalog.

    See Also:

    AWS + * API Reference

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

    A unique identifier for the federated catalog.

    + */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline FederatedCatalog& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline FederatedCatalog& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline FederatedCatalog& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the connection to an external data source, for example a + * Redshift-federated catalog.

    + */ + inline const Aws::String& GetConnectionName() const{ return m_connectionName; } + inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; } + inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; } + inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); } + inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); } + inline FederatedCatalog& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;} + inline FederatedCatalog& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;} + inline FederatedCatalog& WithConnectionName(const char* value) { SetConnectionName(value); return *this;} + ///@} + private: + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + + Aws::String m_connectionName; + bool m_connectionNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Field.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Field.h new file mode 100644 index 00000000000..119111f690c --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Field.h @@ -0,0 +1,332 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    The Field object has information about the different properties + * associated with a field in the connector.

    See Also:

    AWS API + * Reference

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

    A unique identifier for the field.

    + */ + inline const Aws::String& GetFieldName() const{ return m_fieldName; } + inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; } + inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; } + inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); } + inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); } + inline Field& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;} + inline Field& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;} + inline Field& WithFieldName(const char* value) { SetFieldName(value); return *this;} + ///@} + + ///@{ + /** + *

    A readable label used for the field.

    + */ + inline const Aws::String& GetLabel() const{ return m_label; } + inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } + inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } + inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } + inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } + inline Field& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} + inline Field& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} + inline Field& WithLabel(const char* value) { SetLabel(value); return *this;} + ///@} + + ///@{ + /** + *

    A description of the field.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline Field& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline Field& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline Field& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The type of data in the field.

    + */ + inline const FieldDataType& GetFieldType() const{ return m_fieldType; } + inline bool FieldTypeHasBeenSet() const { return m_fieldTypeHasBeenSet; } + inline void SetFieldType(const FieldDataType& value) { m_fieldTypeHasBeenSet = true; m_fieldType = value; } + inline void SetFieldType(FieldDataType&& value) { m_fieldTypeHasBeenSet = true; m_fieldType = std::move(value); } + inline Field& WithFieldType(const FieldDataType& value) { SetFieldType(value); return *this;} + inline Field& WithFieldType(FieldDataType&& value) { SetFieldType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether this field can used as a primary key for the given + * entity.

    + */ + inline bool GetIsPrimaryKey() const{ return m_isPrimaryKey; } + inline bool IsPrimaryKeyHasBeenSet() const { return m_isPrimaryKeyHasBeenSet; } + inline void SetIsPrimaryKey(bool value) { m_isPrimaryKeyHasBeenSet = true; m_isPrimaryKey = value; } + inline Field& WithIsPrimaryKey(bool value) { SetIsPrimaryKey(value); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether this field can be nullable or not.

    + */ + inline bool GetIsNullable() const{ return m_isNullable; } + inline bool IsNullableHasBeenSet() const { return m_isNullableHasBeenSet; } + inline void SetIsNullable(bool value) { m_isNullableHasBeenSet = true; m_isNullable = value; } + inline Field& WithIsNullable(bool value) { SetIsNullable(value); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether this field can be added in Select clause of SQL query or + * whether it is retrievable or not.

    + */ + inline bool GetIsRetrievable() const{ return m_isRetrievable; } + inline bool IsRetrievableHasBeenSet() const { return m_isRetrievableHasBeenSet; } + inline void SetIsRetrievable(bool value) { m_isRetrievableHasBeenSet = true; m_isRetrievable = value; } + inline Field& WithIsRetrievable(bool value) { SetIsRetrievable(value); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether this field can used in a filter clause (WHERE + * clause) of a SQL statement when querying data.

    + */ + inline bool GetIsFilterable() const{ return m_isFilterable; } + inline bool IsFilterableHasBeenSet() const { return m_isFilterableHasBeenSet; } + inline void SetIsFilterable(bool value) { m_isFilterableHasBeenSet = true; m_isFilterable = value; } + inline Field& WithIsFilterable(bool value) { SetIsFilterable(value); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether a given field can be used in partitioning the query made to + * SaaS.

    + */ + inline bool GetIsPartitionable() const{ return m_isPartitionable; } + inline bool IsPartitionableHasBeenSet() const { return m_isPartitionableHasBeenSet; } + inline void SetIsPartitionable(bool value) { m_isPartitionableHasBeenSet = true; m_isPartitionable = value; } + inline Field& WithIsPartitionable(bool value) { SetIsPartitionable(value); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether this field can be created as part of a destination + * write.

    + */ + inline bool GetIsCreateable() const{ return m_isCreateable; } + inline bool IsCreateableHasBeenSet() const { return m_isCreateableHasBeenSet; } + inline void SetIsCreateable(bool value) { m_isCreateableHasBeenSet = true; m_isCreateable = value; } + inline Field& WithIsCreateable(bool value) { SetIsCreateable(value); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether this field can be updated as part of a destination + * write.

    + */ + inline bool GetIsUpdateable() const{ return m_isUpdateable; } + inline bool IsUpdateableHasBeenSet() const { return m_isUpdateableHasBeenSet; } + inline void SetIsUpdateable(bool value) { m_isUpdateableHasBeenSet = true; m_isUpdateable = value; } + inline Field& WithIsUpdateable(bool value) { SetIsUpdateable(value); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether this field can be upserted as part of a destination + * write.

    + */ + inline bool GetIsUpsertable() const{ return m_isUpsertable; } + inline bool IsUpsertableHasBeenSet() const { return m_isUpsertableHasBeenSet; } + inline void SetIsUpsertable(bool value) { m_isUpsertableHasBeenSet = true; m_isUpsertable = value; } + inline Field& WithIsUpsertable(bool value) { SetIsUpsertable(value); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether this field is populated automatically when the object is + * created, such as a created at timestamp.

    + */ + inline bool GetIsDefaultOnCreate() const{ return m_isDefaultOnCreate; } + inline bool IsDefaultOnCreateHasBeenSet() const { return m_isDefaultOnCreateHasBeenSet; } + inline void SetIsDefaultOnCreate(bool value) { m_isDefaultOnCreateHasBeenSet = true; m_isDefaultOnCreate = value; } + inline Field& WithIsDefaultOnCreate(bool value) { SetIsDefaultOnCreate(value); return *this;} + ///@} + + ///@{ + /** + *

    A list of supported values for the field.

    + */ + inline const Aws::Vector& GetSupportedValues() const{ return m_supportedValues; } + inline bool SupportedValuesHasBeenSet() const { return m_supportedValuesHasBeenSet; } + inline void SetSupportedValues(const Aws::Vector& value) { m_supportedValuesHasBeenSet = true; m_supportedValues = value; } + inline void SetSupportedValues(Aws::Vector&& value) { m_supportedValuesHasBeenSet = true; m_supportedValues = std::move(value); } + inline Field& WithSupportedValues(const Aws::Vector& value) { SetSupportedValues(value); return *this;} + inline Field& WithSupportedValues(Aws::Vector&& value) { SetSupportedValues(std::move(value)); return *this;} + inline Field& AddSupportedValues(const Aws::String& value) { m_supportedValuesHasBeenSet = true; m_supportedValues.push_back(value); return *this; } + inline Field& AddSupportedValues(Aws::String&& value) { m_supportedValuesHasBeenSet = true; m_supportedValues.push_back(std::move(value)); return *this; } + inline Field& AddSupportedValues(const char* value) { m_supportedValuesHasBeenSet = true; m_supportedValues.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    Indicates the support filter operators for this field.

    + */ + inline const Aws::Vector& GetSupportedFilterOperators() const{ return m_supportedFilterOperators; } + inline bool SupportedFilterOperatorsHasBeenSet() const { return m_supportedFilterOperatorsHasBeenSet; } + inline void SetSupportedFilterOperators(const Aws::Vector& value) { m_supportedFilterOperatorsHasBeenSet = true; m_supportedFilterOperators = value; } + inline void SetSupportedFilterOperators(Aws::Vector&& value) { m_supportedFilterOperatorsHasBeenSet = true; m_supportedFilterOperators = std::move(value); } + inline Field& WithSupportedFilterOperators(const Aws::Vector& value) { SetSupportedFilterOperators(value); return *this;} + inline Field& WithSupportedFilterOperators(Aws::Vector&& value) { SetSupportedFilterOperators(std::move(value)); return *this;} + inline Field& AddSupportedFilterOperators(const FieldFilterOperator& value) { m_supportedFilterOperatorsHasBeenSet = true; m_supportedFilterOperators.push_back(value); return *this; } + inline Field& AddSupportedFilterOperators(FieldFilterOperator&& value) { m_supportedFilterOperatorsHasBeenSet = true; m_supportedFilterOperators.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    A parent field name for a nested field.

    + */ + inline const Aws::String& GetParentField() const{ return m_parentField; } + inline bool ParentFieldHasBeenSet() const { return m_parentFieldHasBeenSet; } + inline void SetParentField(const Aws::String& value) { m_parentFieldHasBeenSet = true; m_parentField = value; } + inline void SetParentField(Aws::String&& value) { m_parentFieldHasBeenSet = true; m_parentField = std::move(value); } + inline void SetParentField(const char* value) { m_parentFieldHasBeenSet = true; m_parentField.assign(value); } + inline Field& WithParentField(const Aws::String& value) { SetParentField(value); return *this;} + inline Field& WithParentField(Aws::String&& value) { SetParentField(std::move(value)); return *this;} + inline Field& WithParentField(const char* value) { SetParentField(value); return *this;} + ///@} + + ///@{ + /** + *

    The data type returned by the SaaS API, such as “picklist” or “textarea” from + * Salesforce.

    + */ + inline const Aws::String& GetNativeDataType() const{ return m_nativeDataType; } + inline bool NativeDataTypeHasBeenSet() const { return m_nativeDataTypeHasBeenSet; } + inline void SetNativeDataType(const Aws::String& value) { m_nativeDataTypeHasBeenSet = true; m_nativeDataType = value; } + inline void SetNativeDataType(Aws::String&& value) { m_nativeDataTypeHasBeenSet = true; m_nativeDataType = std::move(value); } + inline void SetNativeDataType(const char* value) { m_nativeDataTypeHasBeenSet = true; m_nativeDataType.assign(value); } + inline Field& WithNativeDataType(const Aws::String& value) { SetNativeDataType(value); return *this;} + inline Field& WithNativeDataType(Aws::String&& value) { SetNativeDataType(std::move(value)); return *this;} + inline Field& WithNativeDataType(const char* value) { SetNativeDataType(value); return *this;} + ///@} + + ///@{ + /** + *

    Optional map of keys which may be returned.

    + */ + inline const Aws::Map& GetCustomProperties() const{ return m_customProperties; } + inline bool CustomPropertiesHasBeenSet() const { return m_customPropertiesHasBeenSet; } + inline void SetCustomProperties(const Aws::Map& value) { m_customPropertiesHasBeenSet = true; m_customProperties = value; } + inline void SetCustomProperties(Aws::Map&& value) { m_customPropertiesHasBeenSet = true; m_customProperties = std::move(value); } + inline Field& WithCustomProperties(const Aws::Map& value) { SetCustomProperties(value); return *this;} + inline Field& WithCustomProperties(Aws::Map&& value) { SetCustomProperties(std::move(value)); return *this;} + inline Field& AddCustomProperties(const Aws::String& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; } + inline Field& AddCustomProperties(Aws::String&& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; } + inline Field& AddCustomProperties(const Aws::String& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; } + inline Field& AddCustomProperties(Aws::String&& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), std::move(value)); return *this; } + inline Field& AddCustomProperties(const char* key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; } + inline Field& AddCustomProperties(Aws::String&& key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; } + inline Field& AddCustomProperties(const char* key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_fieldName; + bool m_fieldNameHasBeenSet = false; + + Aws::String m_label; + bool m_labelHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + FieldDataType m_fieldType; + bool m_fieldTypeHasBeenSet = false; + + bool m_isPrimaryKey; + bool m_isPrimaryKeyHasBeenSet = false; + + bool m_isNullable; + bool m_isNullableHasBeenSet = false; + + bool m_isRetrievable; + bool m_isRetrievableHasBeenSet = false; + + bool m_isFilterable; + bool m_isFilterableHasBeenSet = false; + + bool m_isPartitionable; + bool m_isPartitionableHasBeenSet = false; + + bool m_isCreateable; + bool m_isCreateableHasBeenSet = false; + + bool m_isUpdateable; + bool m_isUpdateableHasBeenSet = false; + + bool m_isUpsertable; + bool m_isUpsertableHasBeenSet = false; + + bool m_isDefaultOnCreate; + bool m_isDefaultOnCreateHasBeenSet = false; + + Aws::Vector m_supportedValues; + bool m_supportedValuesHasBeenSet = false; + + Aws::Vector m_supportedFilterOperators; + bool m_supportedFilterOperatorsHasBeenSet = false; + + Aws::String m_parentField; + bool m_parentFieldHasBeenSet = false; + + Aws::String m_nativeDataType; + bool m_nativeDataTypeHasBeenSet = false; + + Aws::Map m_customProperties; + bool m_customPropertiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/FieldDataType.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/FieldDataType.h new file mode 100644 index 00000000000..5ddf803cf8f --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/FieldDataType.h @@ -0,0 +1,45 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class FieldDataType + { + NOT_SET, + INT, + SMALLINT, + BIGINT, + FLOAT, + LONG, + DATE, + BOOLEAN, + MAP, + ARRAY, + STRING, + TIMESTAMP, + DECIMAL, + BYTE, + SHORT, + DOUBLE, + STRUCT + }; + +namespace FieldDataTypeMapper +{ +AWS_GLUE_API FieldDataType GetFieldDataTypeForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForFieldDataType(FieldDataType value); +} // namespace FieldDataTypeMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/FieldFilterOperator.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/FieldFilterOperator.h new file mode 100644 index 00000000000..1773adb2418 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/FieldFilterOperator.h @@ -0,0 +1,38 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class FieldFilterOperator + { + NOT_SET, + LESS_THAN, + GREATER_THAN, + BETWEEN, + EQUAL_TO, + NOT_EQUAL_TO, + GREATER_THAN_OR_EQUAL_TO, + LESS_THAN_OR_EQUAL_TO, + CONTAINS, + ORDER_BY + }; + +namespace FieldFilterOperatorMapper +{ +AWS_GLUE_API FieldFilterOperator GetFieldFilterOperatorForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForFieldFilterOperator(FieldFilterOperator value); +} // namespace FieldFilterOperatorMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogRequest.h new file mode 100644 index 00000000000..d69d68e9cb1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogRequest.h @@ -0,0 +1,59 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class GetCatalogRequest : public GlueRequest + { + public: + AWS_GLUE_API GetCatalogRequest(); + + // 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 "GetCatalog"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The ID of the parent catalog in which the catalog resides. If none is + * provided, the Amazon Web Services Account Number is used by default.

    + */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + inline GetCatalogRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + inline GetCatalogRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + inline GetCatalogRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + ///@} + private: + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogResult.h new file mode 100644 index 00000000000..5ae0523acec --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogResult.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class GetCatalogResult + { + public: + AWS_GLUE_API GetCatalogResult(); + AWS_GLUE_API GetCatalogResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API GetCatalogResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    A Catalog object. The definition of the specified catalog in the + * Glue Data Catalog.

    + */ + inline const Catalog& GetCatalog() const{ return m_catalog; } + inline void SetCatalog(const Catalog& value) { m_catalog = value; } + inline void SetCatalog(Catalog&& value) { m_catalog = std::move(value); } + inline GetCatalogResult& WithCatalog(const Catalog& value) { SetCatalog(value); return *this;} + inline GetCatalogResult& WithCatalog(Catalog&& value) { SetCatalog(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetCatalogResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetCatalogResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetCatalogResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Catalog m_catalog; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogsRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogsRequest.h new file mode 100644 index 00000000000..2f727446423 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogsRequest.h @@ -0,0 +1,103 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class GetCatalogsRequest : public GlueRequest + { + public: + AWS_GLUE_API GetCatalogsRequest(); + + // 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 "GetCatalogs"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The ID of the parent catalog in which the catalog resides. If none is + * provided, the Amazon Web Services Account Number is used by default.

    + */ + inline const Aws::String& GetParentCatalogId() const{ return m_parentCatalogId; } + inline bool ParentCatalogIdHasBeenSet() const { return m_parentCatalogIdHasBeenSet; } + inline void SetParentCatalogId(const Aws::String& value) { m_parentCatalogIdHasBeenSet = true; m_parentCatalogId = value; } + inline void SetParentCatalogId(Aws::String&& value) { m_parentCatalogIdHasBeenSet = true; m_parentCatalogId = std::move(value); } + inline void SetParentCatalogId(const char* value) { m_parentCatalogIdHasBeenSet = true; m_parentCatalogId.assign(value); } + inline GetCatalogsRequest& WithParentCatalogId(const Aws::String& value) { SetParentCatalogId(value); return *this;} + inline GetCatalogsRequest& WithParentCatalogId(Aws::String&& value) { SetParentCatalogId(std::move(value)); return *this;} + inline GetCatalogsRequest& WithParentCatalogId(const char* value) { SetParentCatalogId(value); return *this;} + ///@} + + ///@{ + /** + *

    A continuation token, if this is a continuation call.

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

    The maximum number of catalogs to return in one 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 GetCatalogsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

    When specified as true, iterates through the account and returns all catalog + * resources (including top-level resources and child resources)

    + */ + inline bool GetRecursive() const{ return m_recursive; } + inline bool RecursiveHasBeenSet() const { return m_recursiveHasBeenSet; } + inline void SetRecursive(bool value) { m_recursiveHasBeenSet = true; m_recursive = value; } + inline GetCatalogsRequest& WithRecursive(bool value) { SetRecursive(value); return *this;} + ///@} + private: + + Aws::String m_parentCatalogId; + bool m_parentCatalogIdHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + bool m_recursive; + bool m_recursiveHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogsResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogsResult.h new file mode 100644 index 00000000000..34145506690 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetCatalogsResult.h @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class GetCatalogsResult + { + public: + AWS_GLUE_API GetCatalogsResult(); + AWS_GLUE_API GetCatalogsResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API GetCatalogsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    An array of Catalog objects. A list of Catalog + * objects from the specified parent catalog.

    + */ + inline const Aws::Vector& GetCatalogList() const{ return m_catalogList; } + inline void SetCatalogList(const Aws::Vector& value) { m_catalogList = value; } + inline void SetCatalogList(Aws::Vector&& value) { m_catalogList = std::move(value); } + inline GetCatalogsResult& WithCatalogList(const Aws::Vector& value) { SetCatalogList(value); return *this;} + inline GetCatalogsResult& WithCatalogList(Aws::Vector&& value) { SetCatalogList(std::move(value)); return *this;} + inline GetCatalogsResult& AddCatalogList(const Catalog& value) { m_catalogList.push_back(value); return *this; } + inline GetCatalogsResult& AddCatalogList(Catalog&& value) { m_catalogList.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    A continuation token for paginating the returned list of tokens, returned if + * the current segment of the list is not the last.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline GetCatalogsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline GetCatalogsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline GetCatalogsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetCatalogsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetCatalogsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetCatalogsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_catalogList; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetConnectionRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetConnectionRequest.h index de7b49b8fd3..a103e9cdc86 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetConnectionRequest.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetConnectionRequest.h @@ -7,6 +7,7 @@ #include #include #include +#include #include namespace Aws @@ -76,6 +77,19 @@ namespace Model inline void SetHidePassword(bool value) { m_hidePasswordHasBeenSet = true; m_hidePassword = value; } inline GetConnectionRequest& WithHidePassword(bool value) { SetHidePassword(value); return *this;} ///@} + + ///@{ + /** + *

    For connections that may be used in multiple services, specifies returning + * properties for the specified compute environment.

    + */ + inline const ComputeEnvironment& GetApplyOverrideForComputeEnvironment() const{ return m_applyOverrideForComputeEnvironment; } + inline bool ApplyOverrideForComputeEnvironmentHasBeenSet() const { return m_applyOverrideForComputeEnvironmentHasBeenSet; } + inline void SetApplyOverrideForComputeEnvironment(const ComputeEnvironment& value) { m_applyOverrideForComputeEnvironmentHasBeenSet = true; m_applyOverrideForComputeEnvironment = value; } + inline void SetApplyOverrideForComputeEnvironment(ComputeEnvironment&& value) { m_applyOverrideForComputeEnvironmentHasBeenSet = true; m_applyOverrideForComputeEnvironment = std::move(value); } + inline GetConnectionRequest& WithApplyOverrideForComputeEnvironment(const ComputeEnvironment& value) { SetApplyOverrideForComputeEnvironment(value); return *this;} + inline GetConnectionRequest& WithApplyOverrideForComputeEnvironment(ComputeEnvironment&& value) { SetApplyOverrideForComputeEnvironment(std::move(value)); return *this;} + ///@} private: Aws::String m_catalogId; @@ -86,6 +100,9 @@ namespace Model bool m_hidePassword; bool m_hidePasswordHasBeenSet = false; + + ComputeEnvironment m_applyOverrideForComputeEnvironment; + bool m_applyOverrideForComputeEnvironmentHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetConnectionsFilter.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetConnectionsFilter.h index 25b8f68744b..24bae306e31 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetConnectionsFilter.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetConnectionsFilter.h @@ -67,6 +67,16 @@ namespace Model inline GetConnectionsFilter& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;} inline GetConnectionsFilter& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    Denotes if the connection was created with schema version 1 or 2.

    + */ + inline int GetConnectionSchemaVersion() const{ return m_connectionSchemaVersion; } + inline bool ConnectionSchemaVersionHasBeenSet() const { return m_connectionSchemaVersionHasBeenSet; } + inline void SetConnectionSchemaVersion(int value) { m_connectionSchemaVersionHasBeenSet = true; m_connectionSchemaVersion = value; } + inline GetConnectionsFilter& WithConnectionSchemaVersion(int value) { SetConnectionSchemaVersion(value); return *this;} + ///@} private: Aws::Vector m_matchCriteria; @@ -74,6 +84,9 @@ namespace Model ConnectionType m_connectionType; bool m_connectionTypeHasBeenSet = false; + + int m_connectionSchemaVersion; + bool m_connectionSchemaVersionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetEntityRecordsRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetEntityRecordsRequest.h new file mode 100644 index 00000000000..8cc987f3b18 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetEntityRecordsRequest.h @@ -0,0 +1,217 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class GetEntityRecordsRequest : public GlueRequest + { + public: + AWS_GLUE_API GetEntityRecordsRequest(); + + // 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 "GetEntityRecords"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The name of the connection that contains the connection type credentials.

    + */ + inline const Aws::String& GetConnectionName() const{ return m_connectionName; } + inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; } + inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; } + inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); } + inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); } + inline GetEntityRecordsRequest& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;} + inline GetEntityRecordsRequest& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;} + inline GetEntityRecordsRequest& WithConnectionName(const char* value) { SetConnectionName(value); return *this;} + ///@} + + ///@{ + /** + *

    The catalog ID of the catalog that contains the connection. This can be null, + * By default, the Amazon Web Services Account ID is the catalog ID.

    + */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + inline GetEntityRecordsRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + inline GetEntityRecordsRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + inline GetEntityRecordsRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + ///@} + + ///@{ + /** + *

    Name of the entity that we want to query the preview data from the given + * connection type.

    + */ + inline const Aws::String& GetEntityName() const{ return m_entityName; } + inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; } + inline void SetEntityName(const Aws::String& value) { m_entityNameHasBeenSet = true; m_entityName = value; } + inline void SetEntityName(Aws::String&& value) { m_entityNameHasBeenSet = true; m_entityName = std::move(value); } + inline void SetEntityName(const char* value) { m_entityNameHasBeenSet = true; m_entityName.assign(value); } + inline GetEntityRecordsRequest& WithEntityName(const Aws::String& value) { SetEntityName(value); return *this;} + inline GetEntityRecordsRequest& WithEntityName(Aws::String&& value) { SetEntityName(std::move(value)); return *this;} + inline GetEntityRecordsRequest& WithEntityName(const char* value) { SetEntityName(value); return *this;} + ///@} + + ///@{ + /** + *

    A continuation token, included if this is a continuation call.

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

    The API version of the SaaS connector.

    + */ + inline const Aws::String& GetDataStoreApiVersion() const{ return m_dataStoreApiVersion; } + inline bool DataStoreApiVersionHasBeenSet() const { return m_dataStoreApiVersionHasBeenSet; } + inline void SetDataStoreApiVersion(const Aws::String& value) { m_dataStoreApiVersionHasBeenSet = true; m_dataStoreApiVersion = value; } + inline void SetDataStoreApiVersion(Aws::String&& value) { m_dataStoreApiVersionHasBeenSet = true; m_dataStoreApiVersion = std::move(value); } + inline void SetDataStoreApiVersion(const char* value) { m_dataStoreApiVersionHasBeenSet = true; m_dataStoreApiVersion.assign(value); } + inline GetEntityRecordsRequest& WithDataStoreApiVersion(const Aws::String& value) { SetDataStoreApiVersion(value); return *this;} + inline GetEntityRecordsRequest& WithDataStoreApiVersion(Aws::String&& value) { SetDataStoreApiVersion(std::move(value)); return *this;} + inline GetEntityRecordsRequest& WithDataStoreApiVersion(const char* value) { SetDataStoreApiVersion(value); return *this;} + ///@} + + ///@{ + /** + *

    Connector options that are required to query the data.

    + */ + inline const Aws::Map& GetConnectionOptions() const{ return m_connectionOptions; } + inline bool ConnectionOptionsHasBeenSet() const { return m_connectionOptionsHasBeenSet; } + inline void SetConnectionOptions(const Aws::Map& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions = value; } + inline void SetConnectionOptions(Aws::Map&& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions = std::move(value); } + inline GetEntityRecordsRequest& WithConnectionOptions(const Aws::Map& value) { SetConnectionOptions(value); return *this;} + inline GetEntityRecordsRequest& WithConnectionOptions(Aws::Map&& value) { SetConnectionOptions(std::move(value)); return *this;} + inline GetEntityRecordsRequest& AddConnectionOptions(const Aws::String& key, const Aws::String& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(key, value); return *this; } + inline GetEntityRecordsRequest& AddConnectionOptions(Aws::String&& key, const Aws::String& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(std::move(key), value); return *this; } + inline GetEntityRecordsRequest& AddConnectionOptions(const Aws::String& key, Aws::String&& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(key, std::move(value)); return *this; } + inline GetEntityRecordsRequest& AddConnectionOptions(Aws::String&& key, Aws::String&& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(std::move(key), std::move(value)); return *this; } + inline GetEntityRecordsRequest& AddConnectionOptions(const char* key, Aws::String&& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(key, std::move(value)); return *this; } + inline GetEntityRecordsRequest& AddConnectionOptions(Aws::String&& key, const char* value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(std::move(key), value); return *this; } + inline GetEntityRecordsRequest& AddConnectionOptions(const char* key, const char* value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    A filter predicate that you can apply in the query request.

    + */ + inline const Aws::String& GetFilterPredicate() const{ return m_filterPredicate; } + inline bool FilterPredicateHasBeenSet() const { return m_filterPredicateHasBeenSet; } + inline void SetFilterPredicate(const Aws::String& value) { m_filterPredicateHasBeenSet = true; m_filterPredicate = value; } + inline void SetFilterPredicate(Aws::String&& value) { m_filterPredicateHasBeenSet = true; m_filterPredicate = std::move(value); } + inline void SetFilterPredicate(const char* value) { m_filterPredicateHasBeenSet = true; m_filterPredicate.assign(value); } + inline GetEntityRecordsRequest& WithFilterPredicate(const Aws::String& value) { SetFilterPredicate(value); return *this;} + inline GetEntityRecordsRequest& WithFilterPredicate(Aws::String&& value) { SetFilterPredicate(std::move(value)); return *this;} + inline GetEntityRecordsRequest& WithFilterPredicate(const char* value) { SetFilterPredicate(value); return *this;} + ///@} + + ///@{ + /** + *

    Limits the number of records fetched with the request.

    + */ + inline long long GetLimit() const{ return m_limit; } + inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } + inline void SetLimit(long long value) { m_limitHasBeenSet = true; m_limit = value; } + inline GetEntityRecordsRequest& WithLimit(long long value) { SetLimit(value); return *this;} + ///@} + + ///@{ + /** + *

    A parameter that orders the response preview data.

    + */ + inline const Aws::String& GetOrderBy() const{ return m_orderBy; } + inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; } + inline void SetOrderBy(const Aws::String& value) { m_orderByHasBeenSet = true; m_orderBy = value; } + inline void SetOrderBy(Aws::String&& value) { m_orderByHasBeenSet = true; m_orderBy = std::move(value); } + inline void SetOrderBy(const char* value) { m_orderByHasBeenSet = true; m_orderBy.assign(value); } + inline GetEntityRecordsRequest& WithOrderBy(const Aws::String& value) { SetOrderBy(value); return *this;} + inline GetEntityRecordsRequest& WithOrderBy(Aws::String&& value) { SetOrderBy(std::move(value)); return *this;} + inline GetEntityRecordsRequest& WithOrderBy(const char* value) { SetOrderBy(value); return *this;} + ///@} + + ///@{ + /** + *

    List of fields that we want to fetch as part of preview data.

    + */ + inline const Aws::Vector& GetSelectedFields() const{ return m_selectedFields; } + inline bool SelectedFieldsHasBeenSet() const { return m_selectedFieldsHasBeenSet; } + inline void SetSelectedFields(const Aws::Vector& value) { m_selectedFieldsHasBeenSet = true; m_selectedFields = value; } + inline void SetSelectedFields(Aws::Vector&& value) { m_selectedFieldsHasBeenSet = true; m_selectedFields = std::move(value); } + inline GetEntityRecordsRequest& WithSelectedFields(const Aws::Vector& value) { SetSelectedFields(value); return *this;} + inline GetEntityRecordsRequest& WithSelectedFields(Aws::Vector&& value) { SetSelectedFields(std::move(value)); return *this;} + inline GetEntityRecordsRequest& AddSelectedFields(const Aws::String& value) { m_selectedFieldsHasBeenSet = true; m_selectedFields.push_back(value); return *this; } + inline GetEntityRecordsRequest& AddSelectedFields(Aws::String&& value) { m_selectedFieldsHasBeenSet = true; m_selectedFields.push_back(std::move(value)); return *this; } + inline GetEntityRecordsRequest& AddSelectedFields(const char* value) { m_selectedFieldsHasBeenSet = true; m_selectedFields.push_back(value); return *this; } + ///@} + private: + + Aws::String m_connectionName; + bool m_connectionNameHasBeenSet = false; + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + Aws::String m_entityName; + bool m_entityNameHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_dataStoreApiVersion; + bool m_dataStoreApiVersionHasBeenSet = false; + + Aws::Map m_connectionOptions; + bool m_connectionOptionsHasBeenSet = false; + + Aws::String m_filterPredicate; + bool m_filterPredicateHasBeenSet = false; + + long long m_limit; + bool m_limitHasBeenSet = false; + + Aws::String m_orderBy; + bool m_orderByHasBeenSet = false; + + Aws::Vector m_selectedFields; + bool m_selectedFieldsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetEntityRecordsResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetEntityRecordsResult.h new file mode 100644 index 00000000000..b5270157e7d --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetEntityRecordsResult.h @@ -0,0 +1,84 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class GetEntityRecordsResult + { + public: + AWS_GLUE_API GetEntityRecordsResult(); + AWS_GLUE_API GetEntityRecordsResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API GetEntityRecordsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    A list of the requested objects.

    + */ + inline const Aws::Vector& GetRecords() const{ return m_records; } + inline void SetRecords(const Aws::Vector& value) { m_records = value; } + inline void SetRecords(Aws::Vector&& value) { m_records = std::move(value); } + inline GetEntityRecordsResult& WithRecords(const Aws::Vector& value) { SetRecords(value); return *this;} + inline GetEntityRecordsResult& WithRecords(Aws::Vector&& value) { SetRecords(std::move(value)); return *this;} + inline GetEntityRecordsResult& AddRecords(const Aws::Utils::Document& value) { m_records.push_back(value); return *this; } + inline GetEntityRecordsResult& AddRecords(Aws::Utils::Document&& value) { m_records.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    A continuation token, present if the current segment is not the last.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline GetEntityRecordsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline GetEntityRecordsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline GetEntityRecordsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetEntityRecordsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetEntityRecordsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetEntityRecordsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_records; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationResourcePropertyRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationResourcePropertyRequest.h new file mode 100644 index 00000000000..2600ccc6745 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationResourcePropertyRequest.h @@ -0,0 +1,58 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class GetIntegrationResourcePropertyRequest : public GlueRequest + { + public: + AWS_GLUE_API GetIntegrationResourcePropertyRequest(); + + // 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 "GetIntegrationResourceProperty"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The connection ARN of the source, or the database ARN of the target.

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

    The connection ARN of the source, or the database ARN of the target.

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

    The resource properties associated with the integration source.

    + */ + inline const SourceProcessingProperties& GetSourceProcessingProperties() const{ return m_sourceProcessingProperties; } + inline void SetSourceProcessingProperties(const SourceProcessingProperties& value) { m_sourceProcessingProperties = value; } + inline void SetSourceProcessingProperties(SourceProcessingProperties&& value) { m_sourceProcessingProperties = std::move(value); } + inline GetIntegrationResourcePropertyResult& WithSourceProcessingProperties(const SourceProcessingProperties& value) { SetSourceProcessingProperties(value); return *this;} + inline GetIntegrationResourcePropertyResult& WithSourceProcessingProperties(SourceProcessingProperties&& value) { SetSourceProcessingProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The resource properties associated with the integration target.

    + */ + inline const TargetProcessingProperties& GetTargetProcessingProperties() const{ return m_targetProcessingProperties; } + inline void SetTargetProcessingProperties(const TargetProcessingProperties& value) { m_targetProcessingProperties = value; } + inline void SetTargetProcessingProperties(TargetProcessingProperties&& value) { m_targetProcessingProperties = std::move(value); } + inline GetIntegrationResourcePropertyResult& WithTargetProcessingProperties(const TargetProcessingProperties& value) { SetTargetProcessingProperties(value); return *this;} + inline GetIntegrationResourcePropertyResult& WithTargetProcessingProperties(TargetProcessingProperties&& value) { SetTargetProcessingProperties(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetIntegrationResourcePropertyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetIntegrationResourcePropertyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetIntegrationResourcePropertyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + + SourceProcessingProperties m_sourceProcessingProperties; + + TargetProcessingProperties m_targetProcessingProperties; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationTablePropertiesRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationTablePropertiesRequest.h new file mode 100644 index 00000000000..2e3ad1f3cb6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationTablePropertiesRequest.h @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + + /** + */ + class GetIntegrationTablePropertiesRequest : public GlueRequest + { + public: + AWS_GLUE_API GetIntegrationTablePropertiesRequest(); + + // 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 "GetIntegrationTableProperties"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The connection ARN of the source, or the database ARN of the target.

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

    The name of the table to be replicated.

    + */ + inline const Aws::String& GetTableName() const{ return m_tableName; } + inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } + inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } + inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } + inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } + inline GetIntegrationTablePropertiesRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} + inline GetIntegrationTablePropertiesRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} + inline GetIntegrationTablePropertiesRequest& WithTableName(const char* value) { SetTableName(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationTablePropertiesResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationTablePropertiesResult.h new file mode 100644 index 00000000000..af12e7bfcca --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/GetIntegrationTablePropertiesResult.h @@ -0,0 +1,110 @@ +/** + * 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 Glue +{ +namespace Model +{ + class GetIntegrationTablePropertiesResult + { + public: + AWS_GLUE_API GetIntegrationTablePropertiesResult(); + AWS_GLUE_API GetIntegrationTablePropertiesResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API GetIntegrationTablePropertiesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The connection ARN of the source, or the database ARN of the target.

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

    The name of the table to be replicated.

    + */ + inline const Aws::String& GetTableName() const{ return m_tableName; } + inline void SetTableName(const Aws::String& value) { m_tableName = value; } + inline void SetTableName(Aws::String&& value) { m_tableName = std::move(value); } + inline void SetTableName(const char* value) { m_tableName.assign(value); } + inline GetIntegrationTablePropertiesResult& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} + inline GetIntegrationTablePropertiesResult& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} + inline GetIntegrationTablePropertiesResult& WithTableName(const char* value) { SetTableName(value); return *this;} + ///@} + + ///@{ + /** + *

    A structure for the source table configuration.

    + */ + inline const SourceTableConfig& GetSourceTableConfig() const{ return m_sourceTableConfig; } + inline void SetSourceTableConfig(const SourceTableConfig& value) { m_sourceTableConfig = value; } + inline void SetSourceTableConfig(SourceTableConfig&& value) { m_sourceTableConfig = std::move(value); } + inline GetIntegrationTablePropertiesResult& WithSourceTableConfig(const SourceTableConfig& value) { SetSourceTableConfig(value); return *this;} + inline GetIntegrationTablePropertiesResult& WithSourceTableConfig(SourceTableConfig&& value) { SetSourceTableConfig(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A structure for the target table configuration.

    + */ + inline const TargetTableConfig& GetTargetTableConfig() const{ return m_targetTableConfig; } + inline void SetTargetTableConfig(const TargetTableConfig& value) { m_targetTableConfig = value; } + inline void SetTargetTableConfig(TargetTableConfig&& value) { m_targetTableConfig = std::move(value); } + inline GetIntegrationTablePropertiesResult& WithTargetTableConfig(const TargetTableConfig& value) { SetTargetTableConfig(value); return *this;} + inline GetIntegrationTablePropertiesResult& WithTargetTableConfig(TargetTableConfig&& value) { SetTargetTableConfig(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetIntegrationTablePropertiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetIntegrationTablePropertiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetIntegrationTablePropertiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + + Aws::String m_tableName; + + SourceTableConfig m_sourceTableConfig; + + TargetTableConfig m_targetTableConfig; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/InboundIntegration.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/InboundIntegration.h new file mode 100644 index 00000000000..c245abfa4ac --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/InboundIntegration.h @@ -0,0 +1,153 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    A structure for an integration that writes data into a + * resource.

    See Also:

    AWS + * API Reference

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

    The ARN of the source resource for the integration.

    + */ + inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } + inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } + inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } + inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } + inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } + inline InboundIntegration& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} + inline InboundIntegration& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} + inline InboundIntegration& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of the target resource for the integration.

    + */ + inline const Aws::String& GetTargetArn() const{ return m_targetArn; } + inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; } + inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; } + inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); } + inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); } + inline InboundIntegration& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;} + inline InboundIntegration& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;} + inline InboundIntegration& WithTargetArn(const char* value) { SetTargetArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of the zero-ETL integration.

    + */ + inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; } + inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; } + inline void SetIntegrationArn(const Aws::String& value) { m_integrationArnHasBeenSet = true; m_integrationArn = value; } + inline void SetIntegrationArn(Aws::String&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::move(value); } + inline void SetIntegrationArn(const char* value) { m_integrationArnHasBeenSet = true; m_integrationArn.assign(value); } + inline InboundIntegration& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;} + inline InboundIntegration& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;} + inline InboundIntegration& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The possible statuses are:

    • CREATING: The integration is + * being created.

    • ACTIVE: The integration creation succeeds.

      + *
    • MODIFYING: The integration is being modified.

    • + *

      FAILED: The integration creation fails.

    • DELETING: The + * integration is deleted.

    • SYNCING: The integration is + * synchronizing.

    • NEEDS_ATTENTION: The integration needs + * attention, such as synchronization.

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

    The time that the integration was created, in UTC.

    + */ + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + inline InboundIntegration& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline InboundIntegration& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A list of errors associated with the integration.

    + */ + inline const Aws::Vector& GetErrors() const{ return m_errors; } + inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; } + inline void SetErrors(const Aws::Vector& value) { m_errorsHasBeenSet = true; m_errors = value; } + inline void SetErrors(Aws::Vector&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); } + inline InboundIntegration& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} + inline InboundIntegration& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} + inline InboundIntegration& AddErrors(const IntegrationError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; } + inline InboundIntegration& AddErrors(IntegrationError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_sourceArn; + bool m_sourceArnHasBeenSet = false; + + Aws::String m_targetArn; + bool m_targetArnHasBeenSet = false; + + Aws::String m_integrationArn; + bool m_integrationArnHasBeenSet = false; + + IntegrationStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::Utils::DateTime m_createTime; + bool m_createTimeHasBeenSet = false; + + Aws::Vector m_errors; + bool m_errorsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Integration.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Integration.h new file mode 100644 index 00000000000..832f0e87129 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Integration.h @@ -0,0 +1,264 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    Describes a zero-ETL integration.

    See Also:

    AWS + * API Reference

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

    The ARN for the source of the integration.

    + */ + inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } + inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } + inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } + inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } + inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } + inline Integration& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} + inline Integration& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} + inline Integration& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN for the target of the integration.

    + */ + inline const Aws::String& GetTargetArn() const{ return m_targetArn; } + inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; } + inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; } + inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); } + inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); } + inline Integration& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;} + inline Integration& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;} + inline Integration& WithTargetArn(const char* value) { SetTargetArn(value); return *this;} + ///@} + + ///@{ + /** + *

    A description for the integration.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline Integration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline Integration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline Integration& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    A unique name for the integration.

    + */ + inline const Aws::String& GetIntegrationName() const{ return m_integrationName; } + inline bool IntegrationNameHasBeenSet() const { return m_integrationNameHasBeenSet; } + inline void SetIntegrationName(const Aws::String& value) { m_integrationNameHasBeenSet = true; m_integrationName = value; } + inline void SetIntegrationName(Aws::String&& value) { m_integrationNameHasBeenSet = true; m_integrationName = std::move(value); } + inline void SetIntegrationName(const char* value) { m_integrationNameHasBeenSet = true; m_integrationName.assign(value); } + inline Integration& WithIntegrationName(const Aws::String& value) { SetIntegrationName(value); return *this;} + inline Integration& WithIntegrationName(Aws::String&& value) { SetIntegrationName(std::move(value)); return *this;} + inline Integration& WithIntegrationName(const char* value) { SetIntegrationName(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the integration.

    + */ + inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; } + inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; } + inline void SetIntegrationArn(const Aws::String& value) { m_integrationArnHasBeenSet = true; m_integrationArn = value; } + inline void SetIntegrationArn(Aws::String&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::move(value); } + inline void SetIntegrationArn(const char* value) { m_integrationArnHasBeenSet = true; m_integrationArn.assign(value); } + inline Integration& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;} + inline Integration& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;} + inline Integration& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of a KMS key used for encrypting the channel.

    + */ + inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } + inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } + inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } + inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } + inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } + inline Integration& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} + inline Integration& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} + inline Integration& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + ///@} + + ///@{ + /** + *

    An optional set of non-secret key–value pairs that contains additional + * contextual information for encryption. This can only be provided if + * KMSKeyId is provided.

    + */ + inline const Aws::Map& GetAdditionalEncryptionContext() const{ return m_additionalEncryptionContext; } + inline bool AdditionalEncryptionContextHasBeenSet() const { return m_additionalEncryptionContextHasBeenSet; } + inline void SetAdditionalEncryptionContext(const Aws::Map& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = value; } + inline void SetAdditionalEncryptionContext(Aws::Map&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = std::move(value); } + inline Integration& WithAdditionalEncryptionContext(const Aws::Map& value) { SetAdditionalEncryptionContext(value); return *this;} + inline Integration& WithAdditionalEncryptionContext(Aws::Map&& value) { SetAdditionalEncryptionContext(std::move(value)); return *this;} + inline Integration& AddAdditionalEncryptionContext(const Aws::String& key, const Aws::String& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, value); return *this; } + inline Integration& AddAdditionalEncryptionContext(Aws::String&& key, const Aws::String& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), value); return *this; } + inline Integration& AddAdditionalEncryptionContext(const Aws::String& key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; } + inline Integration& AddAdditionalEncryptionContext(Aws::String&& key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), std::move(value)); return *this; } + inline Integration& AddAdditionalEncryptionContext(const char* key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; } + inline Integration& AddAdditionalEncryptionContext(Aws::String&& key, const char* value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), value); return *this; } + inline Integration& AddAdditionalEncryptionContext(const char* key, const char* value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Metadata assigned to the resource consisting of a list of key-value + * pairs.

    + */ + inline const Aws::Vector& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline Integration& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} + inline Integration& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} + inline Integration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } + inline Integration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The possible statuses are:

    • CREATING: The integration is + * being created.

    • ACTIVE: The integration creation succeeds.

      + *
    • MODIFYING: The integration is being modified.

    • + *

      FAILED: The integration creation fails.

    • DELETING: The + * integration is deleted.

    • SYNCING: The integration is + * synchronizing.

    • NEEDS_ATTENTION: The integration needs + * attention, such as synchronization.

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

    The time that the integration was created, in UTC.

    + */ + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + inline Integration& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline Integration& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A list of errors associated with the integration.

    + */ + inline const Aws::Vector& GetErrors() const{ return m_errors; } + inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; } + inline void SetErrors(const Aws::Vector& value) { m_errorsHasBeenSet = true; m_errors = value; } + inline void SetErrors(Aws::Vector&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); } + inline Integration& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} + inline Integration& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} + inline Integration& AddErrors(const IntegrationError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; } + inline Integration& AddErrors(IntegrationError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    Selects source tables for the integration using Maxwell filter syntax.

    + */ + inline const Aws::String& GetDataFilter() const{ return m_dataFilter; } + inline bool DataFilterHasBeenSet() const { return m_dataFilterHasBeenSet; } + inline void SetDataFilter(const Aws::String& value) { m_dataFilterHasBeenSet = true; m_dataFilter = value; } + inline void SetDataFilter(Aws::String&& value) { m_dataFilterHasBeenSet = true; m_dataFilter = std::move(value); } + inline void SetDataFilter(const char* value) { m_dataFilterHasBeenSet = true; m_dataFilter.assign(value); } + inline Integration& WithDataFilter(const Aws::String& value) { SetDataFilter(value); return *this;} + inline Integration& WithDataFilter(Aws::String&& value) { SetDataFilter(std::move(value)); return *this;} + inline Integration& WithDataFilter(const char* value) { SetDataFilter(value); return *this;} + ///@} + private: + + Aws::String m_sourceArn; + bool m_sourceArnHasBeenSet = false; + + Aws::String m_targetArn; + bool m_targetArnHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_integrationName; + bool m_integrationNameHasBeenSet = false; + + Aws::String m_integrationArn; + bool m_integrationArnHasBeenSet = false; + + Aws::String m_kmsKeyId; + bool m_kmsKeyIdHasBeenSet = false; + + Aws::Map m_additionalEncryptionContext; + bool m_additionalEncryptionContextHasBeenSet = false; + + Aws::Vector m_tags; + bool m_tagsHasBeenSet = false; + + IntegrationStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::Utils::DateTime m_createTime; + bool m_createTimeHasBeenSet = false; + + Aws::Vector m_errors; + bool m_errorsHasBeenSet = false; + + Aws::String m_dataFilter; + bool m_dataFilterHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationError.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationError.h new file mode 100644 index 00000000000..110e5a4a2fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationError.h @@ -0,0 +1,79 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    An error associated with a zero-ETL integration.

    See Also:

    + * AWS + * API Reference

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

    The code associated with this error.

    + */ + inline const Aws::String& GetErrorCode() const{ return m_errorCode; } + inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } + inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } + inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } + inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } + inline IntegrationError& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} + inline IntegrationError& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} + inline IntegrationError& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} + ///@} + + ///@{ + /** + *

    A message describing the error.

    + */ + inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } + inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } + inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } + inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } + inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } + inline IntegrationError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} + inline IntegrationError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} + inline IntegrationError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} + ///@} + private: + + Aws::String m_errorCode; + bool m_errorCodeHasBeenSet = false; + + Aws::String m_errorMessage; + bool m_errorMessageHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationFilter.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationFilter.h new file mode 100644 index 00000000000..50f1fa5dbab --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationFilter.h @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

    A filter that can be used when invoking a DescribeIntegrations + * request.

    See Also:

    AWS + * API Reference

    + */ + class IntegrationFilter + { + public: + AWS_GLUE_API IntegrationFilter(); + AWS_GLUE_API IntegrationFilter(Aws::Utils::Json::JsonView jsonValue); + AWS_GLUE_API IntegrationFilter& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_GLUE_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; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline IntegrationFilter& WithName(const Aws::String& value) { SetName(value); return *this;} + inline IntegrationFilter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline IntegrationFilter& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

    A list of filter values.

    + */ + inline const Aws::Vector& GetValues() const{ return m_values; } + inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } + inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } + inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } + inline IntegrationFilter& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} + inline IntegrationFilter& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} + inline IntegrationFilter& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } + inline IntegrationFilter& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } + inline IntegrationFilter& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } + ///@} + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::Vector m_values; + bool m_valuesHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationPartition.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationPartition.h new file mode 100644 index 00000000000..e98b9124dbe --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationPartition.h @@ -0,0 +1,79 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    A structure that describes how data is partitioned on the + * target.

    See Also:

    AWS + * API Reference

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

    The field name used to partition data on the target.

    + */ + inline const Aws::String& GetFieldName() const{ return m_fieldName; } + inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; } + inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; } + inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); } + inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); } + inline IntegrationPartition& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;} + inline IntegrationPartition& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;} + inline IntegrationPartition& WithFieldName(const char* value) { SetFieldName(value); return *this;} + ///@} + + ///@{ + /** + *

    Specifies a function used to partition data on the target.

    + */ + inline const Aws::String& GetFunctionSpec() const{ return m_functionSpec; } + inline bool FunctionSpecHasBeenSet() const { return m_functionSpecHasBeenSet; } + inline void SetFunctionSpec(const Aws::String& value) { m_functionSpecHasBeenSet = true; m_functionSpec = value; } + inline void SetFunctionSpec(Aws::String&& value) { m_functionSpecHasBeenSet = true; m_functionSpec = std::move(value); } + inline void SetFunctionSpec(const char* value) { m_functionSpecHasBeenSet = true; m_functionSpec.assign(value); } + inline IntegrationPartition& WithFunctionSpec(const Aws::String& value) { SetFunctionSpec(value); return *this;} + inline IntegrationPartition& WithFunctionSpec(Aws::String&& value) { SetFunctionSpec(std::move(value)); return *this;} + inline IntegrationPartition& WithFunctionSpec(const char* value) { SetFunctionSpec(value); return *this;} + ///@} + private: + + Aws::String m_fieldName; + bool m_fieldNameHasBeenSet = false; + + Aws::String m_functionSpec; + bool m_functionSpecHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationStatus.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationStatus.h new file mode 100644 index 00000000000..f5c0b06699a --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/IntegrationStatus.h @@ -0,0 +1,36 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class IntegrationStatus + { + NOT_SET, + CREATING, + ACTIVE, + MODIFYING, + FAILED, + DELETING, + SYNCING, + NEEDS_ATTENTION + }; + +namespace IntegrationStatusMapper +{ +AWS_GLUE_API IntegrationStatus GetIntegrationStatusForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForIntegrationStatus(IntegrationStatus value); +} // namespace IntegrationStatusMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListConnectionTypesRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListConnectionTypesRequest.h new file mode 100644 index 00000000000..b25f55ad0e4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListConnectionTypesRequest.h @@ -0,0 +1,71 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class ListConnectionTypesRequest : public GlueRequest + { + public: + AWS_GLUE_API ListConnectionTypesRequest(); + + // 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 "ListConnectionTypes"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() 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 ListConnectionTypesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

    A continuation token, if this is a continuation call.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListConnectionTypesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListConnectionTypesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListConnectionTypesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + private: + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListConnectionTypesResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListConnectionTypesResult.h new file mode 100644 index 00000000000..9f61220a84d --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListConnectionTypesResult.h @@ -0,0 +1,85 @@ +/** + * 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 Glue +{ +namespace Model +{ + class ListConnectionTypesResult + { + public: + AWS_GLUE_API ListConnectionTypesResult(); + AWS_GLUE_API ListConnectionTypesResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API ListConnectionTypesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    A list of ConnectionTypeBrief objects containing brief + * information about the supported connection types.

    + */ + inline const Aws::Vector& GetConnectionTypes() const{ return m_connectionTypes; } + inline void SetConnectionTypes(const Aws::Vector& value) { m_connectionTypes = value; } + inline void SetConnectionTypes(Aws::Vector&& value) { m_connectionTypes = std::move(value); } + inline ListConnectionTypesResult& WithConnectionTypes(const Aws::Vector& value) { SetConnectionTypes(value); return *this;} + inline ListConnectionTypesResult& WithConnectionTypes(Aws::Vector&& value) { SetConnectionTypes(std::move(value)); return *this;} + inline ListConnectionTypesResult& AddConnectionTypes(const ConnectionTypeBrief& value) { m_connectionTypes.push_back(value); return *this; } + inline ListConnectionTypesResult& AddConnectionTypes(ConnectionTypeBrief&& value) { m_connectionTypes.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    A continuation token, if the current list segment is not the last.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListConnectionTypesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListConnectionTypesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListConnectionTypesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListConnectionTypesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListConnectionTypesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListConnectionTypesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_connectionTypes; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListEntitiesRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListEntitiesRequest.h new file mode 100644 index 00000000000..7b4e0061ad4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListEntitiesRequest.h @@ -0,0 +1,130 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + + /** + */ + class ListEntitiesRequest : public GlueRequest + { + public: + AWS_GLUE_API ListEntitiesRequest(); + + // 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 "ListEntities"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    A name for the connection that has required credentials to query any + * connection type.

    + */ + inline const Aws::String& GetConnectionName() const{ return m_connectionName; } + inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; } + inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; } + inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); } + inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); } + inline ListEntitiesRequest& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;} + inline ListEntitiesRequest& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;} + inline ListEntitiesRequest& WithConnectionName(const char* value) { SetConnectionName(value); return *this;} + ///@} + + ///@{ + /** + *

    The catalog ID of the catalog that contains the connection. This can be null, + * By default, the Amazon Web Services Account ID is the catalog ID.

    + */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + inline ListEntitiesRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + inline ListEntitiesRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + inline ListEntitiesRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + ///@} + + ///@{ + /** + *

    Name of the parent entity for which you want to list the children. This + * parameter takes a fully-qualified path of the entity in order to list the child + * entities.

    + */ + inline const Aws::String& GetParentEntityName() const{ return m_parentEntityName; } + inline bool ParentEntityNameHasBeenSet() const { return m_parentEntityNameHasBeenSet; } + inline void SetParentEntityName(const Aws::String& value) { m_parentEntityNameHasBeenSet = true; m_parentEntityName = value; } + inline void SetParentEntityName(Aws::String&& value) { m_parentEntityNameHasBeenSet = true; m_parentEntityName = std::move(value); } + inline void SetParentEntityName(const char* value) { m_parentEntityNameHasBeenSet = true; m_parentEntityName.assign(value); } + inline ListEntitiesRequest& WithParentEntityName(const Aws::String& value) { SetParentEntityName(value); return *this;} + inline ListEntitiesRequest& WithParentEntityName(Aws::String&& value) { SetParentEntityName(std::move(value)); return *this;} + inline ListEntitiesRequest& WithParentEntityName(const char* value) { SetParentEntityName(value); return *this;} + ///@} + + ///@{ + /** + *

    A continuation token, included if this is a continuation call.

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

    The API version of the SaaS connector.

    + */ + inline const Aws::String& GetDataStoreApiVersion() const{ return m_dataStoreApiVersion; } + inline bool DataStoreApiVersionHasBeenSet() const { return m_dataStoreApiVersionHasBeenSet; } + inline void SetDataStoreApiVersion(const Aws::String& value) { m_dataStoreApiVersionHasBeenSet = true; m_dataStoreApiVersion = value; } + inline void SetDataStoreApiVersion(Aws::String&& value) { m_dataStoreApiVersionHasBeenSet = true; m_dataStoreApiVersion = std::move(value); } + inline void SetDataStoreApiVersion(const char* value) { m_dataStoreApiVersionHasBeenSet = true; m_dataStoreApiVersion.assign(value); } + inline ListEntitiesRequest& WithDataStoreApiVersion(const Aws::String& value) { SetDataStoreApiVersion(value); return *this;} + inline ListEntitiesRequest& WithDataStoreApiVersion(Aws::String&& value) { SetDataStoreApiVersion(std::move(value)); return *this;} + inline ListEntitiesRequest& WithDataStoreApiVersion(const char* value) { SetDataStoreApiVersion(value); return *this;} + ///@} + private: + + Aws::String m_connectionName; + bool m_connectionNameHasBeenSet = false; + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + Aws::String m_parentEntityName; + bool m_parentEntityNameHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_dataStoreApiVersion; + bool m_dataStoreApiVersionHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListEntitiesResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListEntitiesResult.h new file mode 100644 index 00000000000..49fda755407 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ListEntitiesResult.h @@ -0,0 +1,84 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class ListEntitiesResult + { + public: + AWS_GLUE_API ListEntitiesResult(); + AWS_GLUE_API ListEntitiesResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API ListEntitiesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    A list of Entity objects.

    + */ + inline const Aws::Vector& GetEntities() const{ return m_entities; } + inline void SetEntities(const Aws::Vector& value) { m_entities = value; } + inline void SetEntities(Aws::Vector&& value) { m_entities = std::move(value); } + inline ListEntitiesResult& WithEntities(const Aws::Vector& value) { SetEntities(value); return *this;} + inline ListEntitiesResult& WithEntities(Aws::Vector&& value) { SetEntities(std::move(value)); return *this;} + inline ListEntitiesResult& AddEntities(const Entity& value) { m_entities.push_back(value); return *this; } + inline ListEntitiesResult& AddEntities(Entity&& value) { m_entities.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    A continuation token, present if the current segment is not the last.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListEntitiesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListEntitiesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListEntitiesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListEntitiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListEntitiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListEntitiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_entities; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ModifyIntegrationRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ModifyIntegrationRequest.h new file mode 100644 index 00000000000..19c0caff175 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ModifyIntegrationRequest.h @@ -0,0 +1,109 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + + /** + */ + class ModifyIntegrationRequest : public GlueRequest + { + public: + AWS_GLUE_API ModifyIntegrationRequest(); + + // 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 "ModifyIntegration"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the integration.

    + */ + inline const Aws::String& GetIntegrationIdentifier() const{ return m_integrationIdentifier; } + inline bool IntegrationIdentifierHasBeenSet() const { return m_integrationIdentifierHasBeenSet; } + inline void SetIntegrationIdentifier(const Aws::String& value) { m_integrationIdentifierHasBeenSet = true; m_integrationIdentifier = value; } + inline void SetIntegrationIdentifier(Aws::String&& value) { m_integrationIdentifierHasBeenSet = true; m_integrationIdentifier = std::move(value); } + inline void SetIntegrationIdentifier(const char* value) { m_integrationIdentifierHasBeenSet = true; m_integrationIdentifier.assign(value); } + inline ModifyIntegrationRequest& WithIntegrationIdentifier(const Aws::String& value) { SetIntegrationIdentifier(value); return *this;} + inline ModifyIntegrationRequest& WithIntegrationIdentifier(Aws::String&& value) { SetIntegrationIdentifier(std::move(value)); return *this;} + inline ModifyIntegrationRequest& WithIntegrationIdentifier(const char* value) { SetIntegrationIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    A description of the integration.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline ModifyIntegrationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline ModifyIntegrationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline ModifyIntegrationRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    Selects source tables for the integration using Maxwell filter syntax.

    + */ + inline const Aws::String& GetDataFilter() const{ return m_dataFilter; } + inline bool DataFilterHasBeenSet() const { return m_dataFilterHasBeenSet; } + inline void SetDataFilter(const Aws::String& value) { m_dataFilterHasBeenSet = true; m_dataFilter = value; } + inline void SetDataFilter(Aws::String&& value) { m_dataFilterHasBeenSet = true; m_dataFilter = std::move(value); } + inline void SetDataFilter(const char* value) { m_dataFilterHasBeenSet = true; m_dataFilter.assign(value); } + inline ModifyIntegrationRequest& WithDataFilter(const Aws::String& value) { SetDataFilter(value); return *this;} + inline ModifyIntegrationRequest& WithDataFilter(Aws::String&& value) { SetDataFilter(std::move(value)); return *this;} + inline ModifyIntegrationRequest& WithDataFilter(const char* value) { SetDataFilter(value); return *this;} + ///@} + + ///@{ + /** + *

    A unique name for an integration in Glue.

    + */ + inline const Aws::String& GetIntegrationName() const{ return m_integrationName; } + inline bool IntegrationNameHasBeenSet() const { return m_integrationNameHasBeenSet; } + inline void SetIntegrationName(const Aws::String& value) { m_integrationNameHasBeenSet = true; m_integrationName = value; } + inline void SetIntegrationName(Aws::String&& value) { m_integrationNameHasBeenSet = true; m_integrationName = std::move(value); } + inline void SetIntegrationName(const char* value) { m_integrationNameHasBeenSet = true; m_integrationName.assign(value); } + inline ModifyIntegrationRequest& WithIntegrationName(const Aws::String& value) { SetIntegrationName(value); return *this;} + inline ModifyIntegrationRequest& WithIntegrationName(Aws::String&& value) { SetIntegrationName(std::move(value)); return *this;} + inline ModifyIntegrationRequest& WithIntegrationName(const char* value) { SetIntegrationName(value); return *this;} + ///@} + private: + + Aws::String m_integrationIdentifier; + bool m_integrationIdentifierHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_dataFilter; + bool m_dataFilterHasBeenSet = false; + + Aws::String m_integrationName; + bool m_integrationNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ModifyIntegrationResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ModifyIntegrationResult.h new file mode 100644 index 00000000000..ada310d362b --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ModifyIntegrationResult.h @@ -0,0 +1,248 @@ +/** + * 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 Glue +{ +namespace Model +{ + class ModifyIntegrationResult + { + public: + AWS_GLUE_API ModifyIntegrationResult(); + AWS_GLUE_API ModifyIntegrationResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API ModifyIntegrationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The ARN of the source for the integration.

    + */ + inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } + inline void SetSourceArn(const Aws::String& value) { m_sourceArn = value; } + inline void SetSourceArn(Aws::String&& value) { m_sourceArn = std::move(value); } + inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); } + inline ModifyIntegrationResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} + inline ModifyIntegrationResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} + inline ModifyIntegrationResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of the target for the integration.

    + */ + inline const Aws::String& GetTargetArn() const{ return m_targetArn; } + inline void SetTargetArn(const Aws::String& value) { m_targetArn = value; } + inline void SetTargetArn(Aws::String&& value) { m_targetArn = std::move(value); } + inline void SetTargetArn(const char* value) { m_targetArn.assign(value); } + inline ModifyIntegrationResult& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;} + inline ModifyIntegrationResult& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;} + inline ModifyIntegrationResult& WithTargetArn(const char* value) { SetTargetArn(value); return *this;} + ///@} + + ///@{ + /** + *

    A unique name for an integration in Glue.

    + */ + inline const Aws::String& GetIntegrationName() const{ return m_integrationName; } + inline void SetIntegrationName(const Aws::String& value) { m_integrationName = value; } + inline void SetIntegrationName(Aws::String&& value) { m_integrationName = std::move(value); } + inline void SetIntegrationName(const char* value) { m_integrationName.assign(value); } + inline ModifyIntegrationResult& WithIntegrationName(const Aws::String& value) { SetIntegrationName(value); return *this;} + inline ModifyIntegrationResult& WithIntegrationName(Aws::String&& value) { SetIntegrationName(std::move(value)); return *this;} + inline ModifyIntegrationResult& WithIntegrationName(const char* value) { SetIntegrationName(value); return *this;} + ///@} + + ///@{ + /** + *

    A description of the integration.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline ModifyIntegrationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline ModifyIntegrationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline ModifyIntegrationResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the integration.

    + */ + inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; } + inline void SetIntegrationArn(const Aws::String& value) { m_integrationArn = value; } + inline void SetIntegrationArn(Aws::String&& value) { m_integrationArn = std::move(value); } + inline void SetIntegrationArn(const char* value) { m_integrationArn.assign(value); } + inline ModifyIntegrationResult& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;} + inline ModifyIntegrationResult& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;} + inline ModifyIntegrationResult& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of a KMS key used for encrypting the channel.

    + */ + inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } + inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; } + inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); } + inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); } + inline ModifyIntegrationResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} + inline ModifyIntegrationResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} + inline ModifyIntegrationResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + ///@} + + ///@{ + /** + *

    An optional set of non-secret key–value pairs that contains additional + * contextual information for encryption.

    + */ + inline const Aws::Map& GetAdditionalEncryptionContext() const{ return m_additionalEncryptionContext; } + inline void SetAdditionalEncryptionContext(const Aws::Map& value) { m_additionalEncryptionContext = value; } + inline void SetAdditionalEncryptionContext(Aws::Map&& value) { m_additionalEncryptionContext = std::move(value); } + inline ModifyIntegrationResult& WithAdditionalEncryptionContext(const Aws::Map& value) { SetAdditionalEncryptionContext(value); return *this;} + inline ModifyIntegrationResult& WithAdditionalEncryptionContext(Aws::Map&& value) { SetAdditionalEncryptionContext(std::move(value)); return *this;} + inline ModifyIntegrationResult& AddAdditionalEncryptionContext(const Aws::String& key, const Aws::String& value) { m_additionalEncryptionContext.emplace(key, value); return *this; } + inline ModifyIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, const Aws::String& value) { m_additionalEncryptionContext.emplace(std::move(key), value); return *this; } + inline ModifyIntegrationResult& AddAdditionalEncryptionContext(const Aws::String& key, Aws::String&& value) { m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; } + inline ModifyIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, Aws::String&& value) { m_additionalEncryptionContext.emplace(std::move(key), std::move(value)); return *this; } + inline ModifyIntegrationResult& AddAdditionalEncryptionContext(const char* key, Aws::String&& value) { m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; } + inline ModifyIntegrationResult& AddAdditionalEncryptionContext(Aws::String&& key, const char* value) { m_additionalEncryptionContext.emplace(std::move(key), value); return *this; } + inline ModifyIntegrationResult& AddAdditionalEncryptionContext(const char* key, const char* value) { m_additionalEncryptionContext.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

    Metadata assigned to the resource consisting of a list of key-value + * pairs.

    + */ + inline const Aws::Vector& GetTags() const{ return m_tags; } + inline void SetTags(const Aws::Vector& value) { m_tags = value; } + inline void SetTags(Aws::Vector&& value) { m_tags = std::move(value); } + inline ModifyIntegrationResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} + inline ModifyIntegrationResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} + inline ModifyIntegrationResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } + inline ModifyIntegrationResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The status of the integration being modified.

    The possible statuses + * are:

    • CREATING: The integration is being created.

    • + *

      ACTIVE: The integration creation succeeds.

    • MODIFYING: The + * integration is being modified.

    • FAILED: The integration + * creation fails.

    • DELETING: The integration is deleted.

      + *
    • SYNCING: The integration is synchronizing.

    • + *

      NEEDS_ATTENTION: The integration needs attention, such as + * synchronization.

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

    The time when the integration was created, in UTC.

    + */ + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + inline ModifyIntegrationResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline ModifyIntegrationResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A list of errors associated with the integration modification.

    + */ + inline const Aws::Vector& GetErrors() const{ return m_errors; } + inline void SetErrors(const Aws::Vector& value) { m_errors = value; } + inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } + inline ModifyIntegrationResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} + inline ModifyIntegrationResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} + inline ModifyIntegrationResult& AddErrors(const IntegrationError& value) { m_errors.push_back(value); return *this; } + inline ModifyIntegrationResult& AddErrors(IntegrationError&& value) { m_errors.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    Selects source tables for the integration using Maxwell filter syntax.

    + */ + inline const Aws::String& GetDataFilter() const{ return m_dataFilter; } + inline void SetDataFilter(const Aws::String& value) { m_dataFilter = value; } + inline void SetDataFilter(Aws::String&& value) { m_dataFilter = std::move(value); } + inline void SetDataFilter(const char* value) { m_dataFilter.assign(value); } + inline ModifyIntegrationResult& WithDataFilter(const Aws::String& value) { SetDataFilter(value); return *this;} + inline ModifyIntegrationResult& WithDataFilter(Aws::String&& value) { SetDataFilter(std::move(value)); return *this;} + inline ModifyIntegrationResult& WithDataFilter(const char* value) { SetDataFilter(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ModifyIntegrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ModifyIntegrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ModifyIntegrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_sourceArn; + + Aws::String m_targetArn; + + Aws::String m_integrationName; + + Aws::String m_description; + + Aws::String m_integrationArn; + + Aws::String m_kmsKeyId; + + Aws::Map m_additionalEncryptionContext; + + Aws::Vector m_tags; + + IntegrationStatus m_status; + + Aws::Utils::DateTime m_createTime; + + Aws::Vector m_errors; + + Aws::String m_dataFilter; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/OAuth2Credentials.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/OAuth2Credentials.h new file mode 100644 index 00000000000..a5a34ad04c7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/OAuth2Credentials.h @@ -0,0 +1,114 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    The credentials used when the authentication type is OAuth2 + * authentication.

    See Also:

    AWS + * API Reference

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

    The client application client secret if the client application is user + * managed.

    + */ + inline const Aws::String& GetUserManagedClientApplicationClientSecret() const{ return m_userManagedClientApplicationClientSecret; } + inline bool UserManagedClientApplicationClientSecretHasBeenSet() const { return m_userManagedClientApplicationClientSecretHasBeenSet; } + inline void SetUserManagedClientApplicationClientSecret(const Aws::String& value) { m_userManagedClientApplicationClientSecretHasBeenSet = true; m_userManagedClientApplicationClientSecret = value; } + inline void SetUserManagedClientApplicationClientSecret(Aws::String&& value) { m_userManagedClientApplicationClientSecretHasBeenSet = true; m_userManagedClientApplicationClientSecret = std::move(value); } + inline void SetUserManagedClientApplicationClientSecret(const char* value) { m_userManagedClientApplicationClientSecretHasBeenSet = true; m_userManagedClientApplicationClientSecret.assign(value); } + inline OAuth2Credentials& WithUserManagedClientApplicationClientSecret(const Aws::String& value) { SetUserManagedClientApplicationClientSecret(value); return *this;} + inline OAuth2Credentials& WithUserManagedClientApplicationClientSecret(Aws::String&& value) { SetUserManagedClientApplicationClientSecret(std::move(value)); return *this;} + inline OAuth2Credentials& WithUserManagedClientApplicationClientSecret(const char* value) { SetUserManagedClientApplicationClientSecret(value); return *this;} + ///@} + + ///@{ + /** + *

    The access token used when the authentication type is OAuth2.

    + */ + inline const Aws::String& GetAccessToken() const{ return m_accessToken; } + inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; } + inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; } + inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); } + inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); } + inline OAuth2Credentials& WithAccessToken(const Aws::String& value) { SetAccessToken(value); return *this;} + inline OAuth2Credentials& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;} + inline OAuth2Credentials& WithAccessToken(const char* value) { SetAccessToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The refresh token used when the authentication type is OAuth2.

    + */ + inline const Aws::String& GetRefreshToken() const{ return m_refreshToken; } + inline bool RefreshTokenHasBeenSet() const { return m_refreshTokenHasBeenSet; } + inline void SetRefreshToken(const Aws::String& value) { m_refreshTokenHasBeenSet = true; m_refreshToken = value; } + inline void SetRefreshToken(Aws::String&& value) { m_refreshTokenHasBeenSet = true; m_refreshToken = std::move(value); } + inline void SetRefreshToken(const char* value) { m_refreshTokenHasBeenSet = true; m_refreshToken.assign(value); } + inline OAuth2Credentials& WithRefreshToken(const Aws::String& value) { SetRefreshToken(value); return *this;} + inline OAuth2Credentials& WithRefreshToken(Aws::String&& value) { SetRefreshToken(std::move(value)); return *this;} + inline OAuth2Credentials& WithRefreshToken(const char* value) { SetRefreshToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The JSON Web Token (JWT) used when the authentication type is OAuth2.

    + */ + inline const Aws::String& GetJwtToken() const{ return m_jwtToken; } + inline bool JwtTokenHasBeenSet() const { return m_jwtTokenHasBeenSet; } + inline void SetJwtToken(const Aws::String& value) { m_jwtTokenHasBeenSet = true; m_jwtToken = value; } + inline void SetJwtToken(Aws::String&& value) { m_jwtTokenHasBeenSet = true; m_jwtToken = std::move(value); } + inline void SetJwtToken(const char* value) { m_jwtTokenHasBeenSet = true; m_jwtToken.assign(value); } + inline OAuth2Credentials& WithJwtToken(const Aws::String& value) { SetJwtToken(value); return *this;} + inline OAuth2Credentials& WithJwtToken(Aws::String&& value) { SetJwtToken(std::move(value)); return *this;} + inline OAuth2Credentials& WithJwtToken(const char* value) { SetJwtToken(value); return *this;} + ///@} + private: + + Aws::String m_userManagedClientApplicationClientSecret; + bool m_userManagedClientApplicationClientSecretHasBeenSet = false; + + Aws::String m_accessToken; + bool m_accessTokenHasBeenSet = false; + + Aws::String m_refreshToken; + bool m_refreshTokenHasBeenSet = false; + + Aws::String m_jwtToken; + bool m_jwtTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/OAuth2PropertiesInput.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/OAuth2PropertiesInput.h index 8ff0ec413b2..6700f172a89 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/OAuth2PropertiesInput.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/OAuth2PropertiesInput.h @@ -10,6 +10,7 @@ #include #include #include +#include #include namespace Aws @@ -115,6 +116,19 @@ namespace Model inline OAuth2PropertiesInput& WithAuthorizationCodeProperties(const AuthorizationCodeProperties& value) { SetAuthorizationCodeProperties(value); return *this;} inline OAuth2PropertiesInput& WithAuthorizationCodeProperties(AuthorizationCodeProperties&& value) { SetAuthorizationCodeProperties(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    The credentials used when the authentication type is OAuth2 + * authentication.

    + */ + inline const OAuth2Credentials& GetOAuth2Credentials() const{ return m_oAuth2Credentials; } + inline bool OAuth2CredentialsHasBeenSet() const { return m_oAuth2CredentialsHasBeenSet; } + inline void SetOAuth2Credentials(const OAuth2Credentials& value) { m_oAuth2CredentialsHasBeenSet = true; m_oAuth2Credentials = value; } + inline void SetOAuth2Credentials(OAuth2Credentials&& value) { m_oAuth2CredentialsHasBeenSet = true; m_oAuth2Credentials = std::move(value); } + inline OAuth2PropertiesInput& WithOAuth2Credentials(const OAuth2Credentials& value) { SetOAuth2Credentials(value); return *this;} + inline OAuth2PropertiesInput& WithOAuth2Credentials(OAuth2Credentials&& value) { SetOAuth2Credentials(std::move(value)); return *this;} + ///@} private: OAuth2GrantType m_oAuth2GrantType; @@ -131,6 +145,9 @@ namespace Model AuthorizationCodeProperties m_authorizationCodeProperties; bool m_authorizationCodePropertiesHasBeenSet = false; + + OAuth2Credentials m_oAuth2Credentials; + bool m_oAuth2CredentialsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Property.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Property.h new file mode 100644 index 00000000000..9d65c86adac --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Property.h @@ -0,0 +1,165 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

    An object that defines a connection type for a compute + * environment.

    See Also:

    AWS API + * Reference

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

    The name of the property.

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

    A description of the property.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline Property& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline Property& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline Property& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether the property is required.

    + */ + inline bool GetRequired() const{ return m_required; } + inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; } + inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; } + inline Property& WithRequired(bool value) { SetRequired(value); return *this;} + ///@} + + ///@{ + /** + *

    The default value for the property.

    + */ + inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; } + inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; } + inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; } + inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); } + inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); } + inline Property& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;} + inline Property& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;} + inline Property& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;} + ///@} + + ///@{ + /** + *

    Describes the type of property.

    + */ + inline const Aws::Vector& GetPropertyTypes() const{ return m_propertyTypes; } + inline bool PropertyTypesHasBeenSet() const { return m_propertyTypesHasBeenSet; } + inline void SetPropertyTypes(const Aws::Vector& value) { m_propertyTypesHasBeenSet = true; m_propertyTypes = value; } + inline void SetPropertyTypes(Aws::Vector&& value) { m_propertyTypesHasBeenSet = true; m_propertyTypes = std::move(value); } + inline Property& WithPropertyTypes(const Aws::Vector& value) { SetPropertyTypes(value); return *this;} + inline Property& WithPropertyTypes(Aws::Vector&& value) { SetPropertyTypes(std::move(value)); return *this;} + inline Property& AddPropertyTypes(const PropertyType& value) { m_propertyTypesHasBeenSet = true; m_propertyTypes.push_back(value); return *this; } + inline Property& AddPropertyTypes(PropertyType&& value) { m_propertyTypesHasBeenSet = true; m_propertyTypes.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    A list of AllowedValue objects representing the values allowed + * for the property.

    + */ + inline const Aws::Vector& GetAllowedValues() const{ return m_allowedValues; } + inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; } + inline void SetAllowedValues(const Aws::Vector& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; } + inline void SetAllowedValues(Aws::Vector&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); } + inline Property& WithAllowedValues(const Aws::Vector& value) { SetAllowedValues(value); return *this;} + inline Property& WithAllowedValues(Aws::Vector&& value) { SetAllowedValues(std::move(value)); return *this;} + inline Property& AddAllowedValues(const AllowedValue& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; } + inline Property& AddAllowedValues(AllowedValue&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    Indicates which data operations are applicable to the property.

    + */ + inline const Aws::Vector& GetDataOperationScopes() const{ return m_dataOperationScopes; } + inline bool DataOperationScopesHasBeenSet() const { return m_dataOperationScopesHasBeenSet; } + inline void SetDataOperationScopes(const Aws::Vector& value) { m_dataOperationScopesHasBeenSet = true; m_dataOperationScopes = value; } + inline void SetDataOperationScopes(Aws::Vector&& value) { m_dataOperationScopesHasBeenSet = true; m_dataOperationScopes = std::move(value); } + inline Property& WithDataOperationScopes(const Aws::Vector& value) { SetDataOperationScopes(value); return *this;} + inline Property& WithDataOperationScopes(Aws::Vector&& value) { SetDataOperationScopes(std::move(value)); return *this;} + inline Property& AddDataOperationScopes(const DataOperation& value) { m_dataOperationScopesHasBeenSet = true; m_dataOperationScopes.push_back(value); return *this; } + inline Property& AddDataOperationScopes(DataOperation&& value) { m_dataOperationScopesHasBeenSet = true; m_dataOperationScopes.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + bool m_required; + bool m_requiredHasBeenSet = false; + + Aws::String m_defaultValue; + bool m_defaultValueHasBeenSet = false; + + Aws::Vector m_propertyTypes; + bool m_propertyTypesHasBeenSet = false; + + Aws::Vector m_allowedValues; + bool m_allowedValuesHasBeenSet = false; + + Aws::Vector m_dataOperationScopes; + bool m_dataOperationScopesHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/PropertyType.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/PropertyType.h new file mode 100644 index 00000000000..1d6be2a1621 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/PropertyType.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class PropertyType + { + NOT_SET, + USER_INPUT, + SECRET, + READ_ONLY, + UNUSED, + SECRET_OR_USER_INPUT + }; + +namespace PropertyTypeMapper +{ +AWS_GLUE_API PropertyType GetPropertyTypeForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForPropertyType(PropertyType value); +} // namespace PropertyTypeMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ScheduleType.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ScheduleType.h new file mode 100644 index 00000000000..f193371c159 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ScheduleType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class ScheduleType + { + NOT_SET, + CRON, + AUTO + }; + +namespace ScheduleTypeMapper +{ +AWS_GLUE_API ScheduleType GetScheduleTypeForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForScheduleType(ScheduleType value); +} // namespace ScheduleTypeMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/SettingSource.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/SettingSource.h new file mode 100644 index 00000000000..ed394c690f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/SettingSource.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class SettingSource + { + NOT_SET, + CATALOG, + TABLE + }; + +namespace SettingSourceMapper +{ +AWS_GLUE_API SettingSource GetSettingSourceForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForSettingSource(SettingSource value); +} // namespace SettingSourceMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/SourceProcessingProperties.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/SourceProcessingProperties.h new file mode 100644 index 00000000000..4648cc17af5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/SourceProcessingProperties.h @@ -0,0 +1,62 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    The resource properties associated with the integration source.

    See + * Also:

    AWS + * API Reference

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

    The IAM role to access the Glue connection.

    + */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + inline SourceProcessingProperties& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline SourceProcessingProperties& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline SourceProcessingProperties& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + ///@} + private: + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/SourceTableConfig.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/SourceTableConfig.h new file mode 100644 index 00000000000..a2a9bbc7aa9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/SourceTableConfig.h @@ -0,0 +1,116 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    Properties used by the source leg to process data from the + * source.

    See Also:

    AWS + * API Reference

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

    A list of fields used for column-level filtering.

    + */ + inline const Aws::Vector& GetFields() const{ return m_fields; } + inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; } + inline void SetFields(const Aws::Vector& value) { m_fieldsHasBeenSet = true; m_fields = value; } + inline void SetFields(Aws::Vector&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); } + inline SourceTableConfig& WithFields(const Aws::Vector& value) { SetFields(value); return *this;} + inline SourceTableConfig& WithFields(Aws::Vector&& value) { SetFields(std::move(value)); return *this;} + inline SourceTableConfig& AddFields(const Aws::String& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; } + inline SourceTableConfig& AddFields(Aws::String&& value) { m_fieldsHasBeenSet = true; m_fields.push_back(std::move(value)); return *this; } + inline SourceTableConfig& AddFields(const char* value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    A condition clause used for row-level filtering.

    + */ + inline const Aws::String& GetFilterPredicate() const{ return m_filterPredicate; } + inline bool FilterPredicateHasBeenSet() const { return m_filterPredicateHasBeenSet; } + inline void SetFilterPredicate(const Aws::String& value) { m_filterPredicateHasBeenSet = true; m_filterPredicate = value; } + inline void SetFilterPredicate(Aws::String&& value) { m_filterPredicateHasBeenSet = true; m_filterPredicate = std::move(value); } + inline void SetFilterPredicate(const char* value) { m_filterPredicateHasBeenSet = true; m_filterPredicate.assign(value); } + inline SourceTableConfig& WithFilterPredicate(const Aws::String& value) { SetFilterPredicate(value); return *this;} + inline SourceTableConfig& WithFilterPredicate(Aws::String&& value) { SetFilterPredicate(std::move(value)); return *this;} + inline SourceTableConfig& WithFilterPredicate(const char* value) { SetFilterPredicate(value); return *this;} + ///@} + + ///@{ + /** + *

    Unique identifier of a record.

    + */ + inline const Aws::Vector& GetPrimaryKey() const{ return m_primaryKey; } + inline bool PrimaryKeyHasBeenSet() const { return m_primaryKeyHasBeenSet; } + inline void SetPrimaryKey(const Aws::Vector& value) { m_primaryKeyHasBeenSet = true; m_primaryKey = value; } + inline void SetPrimaryKey(Aws::Vector&& value) { m_primaryKeyHasBeenSet = true; m_primaryKey = std::move(value); } + inline SourceTableConfig& WithPrimaryKey(const Aws::Vector& value) { SetPrimaryKey(value); return *this;} + inline SourceTableConfig& WithPrimaryKey(Aws::Vector&& value) { SetPrimaryKey(std::move(value)); return *this;} + inline SourceTableConfig& AddPrimaryKey(const Aws::String& value) { m_primaryKeyHasBeenSet = true; m_primaryKey.push_back(value); return *this; } + inline SourceTableConfig& AddPrimaryKey(Aws::String&& value) { m_primaryKeyHasBeenSet = true; m_primaryKey.push_back(std::move(value)); return *this; } + inline SourceTableConfig& AddPrimaryKey(const char* value) { m_primaryKeyHasBeenSet = true; m_primaryKey.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    Incremental pull timestamp-based field.

    + */ + inline const Aws::String& GetRecordUpdateField() const{ return m_recordUpdateField; } + inline bool RecordUpdateFieldHasBeenSet() const { return m_recordUpdateFieldHasBeenSet; } + inline void SetRecordUpdateField(const Aws::String& value) { m_recordUpdateFieldHasBeenSet = true; m_recordUpdateField = value; } + inline void SetRecordUpdateField(Aws::String&& value) { m_recordUpdateFieldHasBeenSet = true; m_recordUpdateField = std::move(value); } + inline void SetRecordUpdateField(const char* value) { m_recordUpdateFieldHasBeenSet = true; m_recordUpdateField.assign(value); } + inline SourceTableConfig& WithRecordUpdateField(const Aws::String& value) { SetRecordUpdateField(value); return *this;} + inline SourceTableConfig& WithRecordUpdateField(Aws::String&& value) { SetRecordUpdateField(std::move(value)); return *this;} + inline SourceTableConfig& WithRecordUpdateField(const char* value) { SetRecordUpdateField(value); return *this;} + ///@} + private: + + Aws::Vector m_fields; + bool m_fieldsHasBeenSet = false; + + Aws::String m_filterPredicate; + bool m_filterPredicateHasBeenSet = false; + + Aws::Vector m_primaryKey; + bool m_primaryKeyHasBeenSet = false; + + Aws::String m_recordUpdateField; + bool m_recordUpdateFieldHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Tag.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Tag.h new file mode 100644 index 00000000000..0696c5531f0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/Tag.h @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

    The Tag object represents a label that you can assign to an + * Amazon Web Services resource. Each tag consists of a key and an optional value, + * both of which you define.

    For more information about tags, and + * controlling access to resources in Glue, see Amazon Web + * Services Tags in Glue and Specifying + * Glue Resource ARNs in the developer guide.

    See Also:

    AWS API + * Reference

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

    The tag key. The key is required when you create a tag on an object. The key + * is case-sensitive, and must not contain the prefix aws.

    + */ + inline const Aws::String& GetKey() const{ return m_key; } + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + inline Tag& WithKey(const Aws::String& value) { SetKey(value); return *this;} + inline Tag& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + inline Tag& WithKey(const char* value) { SetKey(value); return *this;} + ///@} + + ///@{ + /** + *

    The tag value. The value is optional when you create a tag on an object. The + * value is case-sensitive, and must not contain the prefix aws.

    + */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline Tag& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline Tag& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline Tag& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_key; + bool m_keyHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TargetProcessingProperties.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TargetProcessingProperties.h new file mode 100644 index 00000000000..cc2b21176c2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TargetProcessingProperties.h @@ -0,0 +1,115 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

    The resource properties associated with the integration target.

    See + * Also:

    AWS + * API Reference

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

    The IAM role to access the Glue database.

    + */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + inline TargetProcessingProperties& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline TargetProcessingProperties& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline TargetProcessingProperties& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of the KMS key used for encryption.

    + */ + inline const Aws::String& GetKmsArn() const{ return m_kmsArn; } + inline bool KmsArnHasBeenSet() const { return m_kmsArnHasBeenSet; } + inline void SetKmsArn(const Aws::String& value) { m_kmsArnHasBeenSet = true; m_kmsArn = value; } + inline void SetKmsArn(Aws::String&& value) { m_kmsArnHasBeenSet = true; m_kmsArn = std::move(value); } + inline void SetKmsArn(const char* value) { m_kmsArnHasBeenSet = true; m_kmsArn.assign(value); } + inline TargetProcessingProperties& WithKmsArn(const Aws::String& value) { SetKmsArn(value); return *this;} + inline TargetProcessingProperties& WithKmsArn(Aws::String&& value) { SetKmsArn(std::move(value)); return *this;} + inline TargetProcessingProperties& WithKmsArn(const char* value) { SetKmsArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The Glue network connection to configure the Glue job running in the customer + * VPC.

    + */ + inline const Aws::String& GetConnectionName() const{ return m_connectionName; } + inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; } + inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; } + inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); } + inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); } + inline TargetProcessingProperties& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;} + inline TargetProcessingProperties& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;} + inline TargetProcessingProperties& WithConnectionName(const char* value) { SetConnectionName(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of an Eventbridge event bus to receive the integration status + * notification.

    + */ + inline const Aws::String& GetEventBusArn() const{ return m_eventBusArn; } + inline bool EventBusArnHasBeenSet() const { return m_eventBusArnHasBeenSet; } + inline void SetEventBusArn(const Aws::String& value) { m_eventBusArnHasBeenSet = true; m_eventBusArn = value; } + inline void SetEventBusArn(Aws::String&& value) { m_eventBusArnHasBeenSet = true; m_eventBusArn = std::move(value); } + inline void SetEventBusArn(const char* value) { m_eventBusArnHasBeenSet = true; m_eventBusArn.assign(value); } + inline TargetProcessingProperties& WithEventBusArn(const Aws::String& value) { SetEventBusArn(value); return *this;} + inline TargetProcessingProperties& WithEventBusArn(Aws::String&& value) { SetEventBusArn(std::move(value)); return *this;} + inline TargetProcessingProperties& WithEventBusArn(const char* value) { SetEventBusArn(value); return *this;} + ///@} + private: + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + + Aws::String m_kmsArn; + bool m_kmsArnHasBeenSet = false; + + Aws::String m_connectionName; + bool m_connectionNameHasBeenSet = false; + + Aws::String m_eventBusArn; + bool m_eventBusArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TargetRedshiftCatalog.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TargetRedshiftCatalog.h new file mode 100644 index 00000000000..21712d383be --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TargetRedshiftCatalog.h @@ -0,0 +1,62 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    A structure that describes a target catalog for resource + * linking.

    See Also:

    AWS + * API Reference

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

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

    + */ + inline const Aws::String& GetCatalogArn() const{ return m_catalogArn; } + inline bool CatalogArnHasBeenSet() const { return m_catalogArnHasBeenSet; } + inline void SetCatalogArn(const Aws::String& value) { m_catalogArnHasBeenSet = true; m_catalogArn = value; } + inline void SetCatalogArn(Aws::String&& value) { m_catalogArnHasBeenSet = true; m_catalogArn = std::move(value); } + inline void SetCatalogArn(const char* value) { m_catalogArnHasBeenSet = true; m_catalogArn.assign(value); } + inline TargetRedshiftCatalog& WithCatalogArn(const Aws::String& value) { SetCatalogArn(value); return *this;} + inline TargetRedshiftCatalog& WithCatalogArn(Aws::String&& value) { SetCatalogArn(std::move(value)); return *this;} + inline TargetRedshiftCatalog& WithCatalogArn(const char* value) { SetCatalogArn(value); return *this;} + ///@} + private: + + Aws::String m_catalogArn; + bool m_catalogArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TargetTableConfig.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TargetTableConfig.h new file mode 100644 index 00000000000..1fca95efc62 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TargetTableConfig.h @@ -0,0 +1,98 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + *

    Properties used by the target leg to partition the data on the + * target.

    See Also:

    AWS + * API Reference

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

    Specifies how nested objects are flattened to top-level elements. Valid + * values are: "TOPLEVEL", "FULL", or "NOUNNEST".

    + */ + inline const UnnestSpec& GetUnnestSpec() const{ return m_unnestSpec; } + inline bool UnnestSpecHasBeenSet() const { return m_unnestSpecHasBeenSet; } + inline void SetUnnestSpec(const UnnestSpec& value) { m_unnestSpecHasBeenSet = true; m_unnestSpec = value; } + inline void SetUnnestSpec(UnnestSpec&& value) { m_unnestSpecHasBeenSet = true; m_unnestSpec = std::move(value); } + inline TargetTableConfig& WithUnnestSpec(const UnnestSpec& value) { SetUnnestSpec(value); return *this;} + inline TargetTableConfig& WithUnnestSpec(UnnestSpec&& value) { SetUnnestSpec(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Determines the file layout on the target.

    + */ + inline const Aws::Vector& GetPartitionSpec() const{ return m_partitionSpec; } + inline bool PartitionSpecHasBeenSet() const { return m_partitionSpecHasBeenSet; } + inline void SetPartitionSpec(const Aws::Vector& value) { m_partitionSpecHasBeenSet = true; m_partitionSpec = value; } + inline void SetPartitionSpec(Aws::Vector&& value) { m_partitionSpecHasBeenSet = true; m_partitionSpec = std::move(value); } + inline TargetTableConfig& WithPartitionSpec(const Aws::Vector& value) { SetPartitionSpec(value); return *this;} + inline TargetTableConfig& WithPartitionSpec(Aws::Vector&& value) { SetPartitionSpec(std::move(value)); return *this;} + inline TargetTableConfig& AddPartitionSpec(const IntegrationPartition& value) { m_partitionSpecHasBeenSet = true; m_partitionSpec.push_back(value); return *this; } + inline TargetTableConfig& AddPartitionSpec(IntegrationPartition&& value) { m_partitionSpecHasBeenSet = true; m_partitionSpec.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The optional name of a target table.

    + */ + inline const Aws::String& GetTargetTableName() const{ return m_targetTableName; } + inline bool TargetTableNameHasBeenSet() const { return m_targetTableNameHasBeenSet; } + inline void SetTargetTableName(const Aws::String& value) { m_targetTableNameHasBeenSet = true; m_targetTableName = value; } + inline void SetTargetTableName(Aws::String&& value) { m_targetTableNameHasBeenSet = true; m_targetTableName = std::move(value); } + inline void SetTargetTableName(const char* value) { m_targetTableNameHasBeenSet = true; m_targetTableName.assign(value); } + inline TargetTableConfig& WithTargetTableName(const Aws::String& value) { SetTargetTableName(value); return *this;} + inline TargetTableConfig& WithTargetTableName(Aws::String&& value) { SetTargetTableName(std::move(value)); return *this;} + inline TargetTableConfig& WithTargetTableName(const char* value) { SetTargetTableName(value); return *this;} + ///@} + private: + + UnnestSpec m_unnestSpec; + bool m_unnestSpecHasBeenSet = false; + + Aws::Vector m_partitionSpec; + bool m_partitionSpecHasBeenSet = false; + + Aws::String m_targetTableName; + bool m_targetTableNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TestConnectionRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TestConnectionRequest.h index c0b6faf3baa..4decbd3030b 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TestConnectionRequest.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TestConnectionRequest.h @@ -50,6 +50,20 @@ namespace Model inline TestConnectionRequest& WithConnectionName(const char* value) { SetConnectionName(value); return *this;} ///@} + ///@{ + /** + *

    The catalog ID where the connection resides.

    + */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + inline TestConnectionRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + inline TestConnectionRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + inline TestConnectionRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + ///@} + ///@{ /** *

    A structure that is used to specify testing a connection to a service.

    @@ -66,6 +80,9 @@ namespace Model Aws::String m_connectionName; bool m_connectionNameHasBeenSet = false; + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + TestConnectionInput m_testConnectionInput; bool m_testConnectionInputHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UnnestSpec.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UnnestSpec.h new file mode 100644 index 00000000000..f98b8a1b31b --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UnnestSpec.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class UnnestSpec + { + NOT_SET, + TOPLEVEL, + FULL, + NOUNNEST + }; + +namespace UnnestSpecMapper +{ +AWS_GLUE_API UnnestSpec GetUnnestSpecForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForUnnestSpec(UnnestSpec value); +} // namespace UnnestSpecMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateCatalogRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateCatalogRequest.h new file mode 100644 index 00000000000..7dfe4d64efb --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateCatalogRequest.h @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + + /** + */ + class UpdateCatalogRequest : public GlueRequest + { + public: + AWS_GLUE_API UpdateCatalogRequest(); + + // 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 "UpdateCatalog"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The ID of the catalog.

    + */ + inline const Aws::String& GetCatalogId() const{ return m_catalogId; } + inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } + inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } + inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } + inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } + inline UpdateCatalogRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} + inline UpdateCatalogRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} + inline UpdateCatalogRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} + ///@} + + ///@{ + /** + *

    A CatalogInput object specifying the new properties of an + * existing catalog.

    + */ + inline const CatalogInput& GetCatalogInput() const{ return m_catalogInput; } + inline bool CatalogInputHasBeenSet() const { return m_catalogInputHasBeenSet; } + inline void SetCatalogInput(const CatalogInput& value) { m_catalogInputHasBeenSet = true; m_catalogInput = value; } + inline void SetCatalogInput(CatalogInput&& value) { m_catalogInputHasBeenSet = true; m_catalogInput = std::move(value); } + inline UpdateCatalogRequest& WithCatalogInput(const CatalogInput& value) { SetCatalogInput(value); return *this;} + inline UpdateCatalogRequest& WithCatalogInput(CatalogInput&& value) { SetCatalogInput(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_catalogId; + bool m_catalogIdHasBeenSet = false; + + CatalogInput m_catalogInput; + bool m_catalogInputHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateCatalogResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateCatalogResult.h new file mode 100644 index 00000000000..47c7118dcff --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateCatalogResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class UpdateCatalogResult + { + public: + AWS_GLUE_API UpdateCatalogResult(); + AWS_GLUE_API UpdateCatalogResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API UpdateCatalogResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateCatalogResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateCatalogResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateCatalogResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationResourcePropertyRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationResourcePropertyRequest.h new file mode 100644 index 00000000000..bdeb90635c5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationResourcePropertyRequest.h @@ -0,0 +1,90 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class UpdateIntegrationResourcePropertyRequest : public GlueRequest + { + public: + AWS_GLUE_API UpdateIntegrationResourcePropertyRequest(); + + // 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 "UpdateIntegrationResourceProperty"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The connection ARN of the source, or the database ARN of the target.

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

    The resource properties associated with the integration source.

    + */ + inline const SourceProcessingProperties& GetSourceProcessingProperties() const{ return m_sourceProcessingProperties; } + inline bool SourceProcessingPropertiesHasBeenSet() const { return m_sourceProcessingPropertiesHasBeenSet; } + inline void SetSourceProcessingProperties(const SourceProcessingProperties& value) { m_sourceProcessingPropertiesHasBeenSet = true; m_sourceProcessingProperties = value; } + inline void SetSourceProcessingProperties(SourceProcessingProperties&& value) { m_sourceProcessingPropertiesHasBeenSet = true; m_sourceProcessingProperties = std::move(value); } + inline UpdateIntegrationResourcePropertyRequest& WithSourceProcessingProperties(const SourceProcessingProperties& value) { SetSourceProcessingProperties(value); return *this;} + inline UpdateIntegrationResourcePropertyRequest& WithSourceProcessingProperties(SourceProcessingProperties&& value) { SetSourceProcessingProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The resource properties associated with the integration target.

    + */ + inline const TargetProcessingProperties& GetTargetProcessingProperties() const{ return m_targetProcessingProperties; } + inline bool TargetProcessingPropertiesHasBeenSet() const { return m_targetProcessingPropertiesHasBeenSet; } + inline void SetTargetProcessingProperties(const TargetProcessingProperties& value) { m_targetProcessingPropertiesHasBeenSet = true; m_targetProcessingProperties = value; } + inline void SetTargetProcessingProperties(TargetProcessingProperties&& value) { m_targetProcessingPropertiesHasBeenSet = true; m_targetProcessingProperties = std::move(value); } + inline UpdateIntegrationResourcePropertyRequest& WithTargetProcessingProperties(const TargetProcessingProperties& value) { SetTargetProcessingProperties(value); return *this;} + inline UpdateIntegrationResourcePropertyRequest& WithTargetProcessingProperties(TargetProcessingProperties&& value) { SetTargetProcessingProperties(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + SourceProcessingProperties m_sourceProcessingProperties; + bool m_sourceProcessingPropertiesHasBeenSet = false; + + TargetProcessingProperties m_targetProcessingProperties; + bool m_targetProcessingPropertiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationResourcePropertyResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationResourcePropertyResult.h new file mode 100644 index 00000000000..6fa96a39336 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationResourcePropertyResult.h @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class UpdateIntegrationResourcePropertyResult + { + public: + AWS_GLUE_API UpdateIntegrationResourcePropertyResult(); + AWS_GLUE_API UpdateIntegrationResourcePropertyResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API UpdateIntegrationResourcePropertyResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The connection ARN of the source, or the database ARN of the target.

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

    The resource properties associated with the integration source.

    + */ + inline const SourceProcessingProperties& GetSourceProcessingProperties() const{ return m_sourceProcessingProperties; } + inline void SetSourceProcessingProperties(const SourceProcessingProperties& value) { m_sourceProcessingProperties = value; } + inline void SetSourceProcessingProperties(SourceProcessingProperties&& value) { m_sourceProcessingProperties = std::move(value); } + inline UpdateIntegrationResourcePropertyResult& WithSourceProcessingProperties(const SourceProcessingProperties& value) { SetSourceProcessingProperties(value); return *this;} + inline UpdateIntegrationResourcePropertyResult& WithSourceProcessingProperties(SourceProcessingProperties&& value) { SetSourceProcessingProperties(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The resource properties associated with the integration target.

    + */ + inline const TargetProcessingProperties& GetTargetProcessingProperties() const{ return m_targetProcessingProperties; } + inline void SetTargetProcessingProperties(const TargetProcessingProperties& value) { m_targetProcessingProperties = value; } + inline void SetTargetProcessingProperties(TargetProcessingProperties&& value) { m_targetProcessingProperties = std::move(value); } + inline UpdateIntegrationResourcePropertyResult& WithTargetProcessingProperties(const TargetProcessingProperties& value) { SetTargetProcessingProperties(value); return *this;} + inline UpdateIntegrationResourcePropertyResult& WithTargetProcessingProperties(TargetProcessingProperties&& value) { SetTargetProcessingProperties(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateIntegrationResourcePropertyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateIntegrationResourcePropertyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateIntegrationResourcePropertyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + + SourceProcessingProperties m_sourceProcessingProperties; + + TargetProcessingProperties m_targetProcessingProperties; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationTablePropertiesRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationTablePropertiesRequest.h new file mode 100644 index 00000000000..7b27e54e5bc --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationTablePropertiesRequest.h @@ -0,0 +1,107 @@ +/** + * 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 Glue +{ +namespace Model +{ + + /** + */ + class UpdateIntegrationTablePropertiesRequest : public GlueRequest + { + public: + AWS_GLUE_API UpdateIntegrationTablePropertiesRequest(); + + // 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 "UpdateIntegrationTableProperties"; } + + AWS_GLUE_API Aws::String SerializePayload() const override; + + AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    The connection ARN of the source, or the database ARN of the target.

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

    The name of the table to be replicated.

    + */ + inline const Aws::String& GetTableName() const{ return m_tableName; } + inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } + inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } + inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } + inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } + inline UpdateIntegrationTablePropertiesRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} + inline UpdateIntegrationTablePropertiesRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} + inline UpdateIntegrationTablePropertiesRequest& WithTableName(const char* value) { SetTableName(value); return *this;} + ///@} + + ///@{ + /** + *

    A structure for the source table configuration.

    + */ + inline const SourceTableConfig& GetSourceTableConfig() const{ return m_sourceTableConfig; } + inline bool SourceTableConfigHasBeenSet() const { return m_sourceTableConfigHasBeenSet; } + inline void SetSourceTableConfig(const SourceTableConfig& value) { m_sourceTableConfigHasBeenSet = true; m_sourceTableConfig = value; } + inline void SetSourceTableConfig(SourceTableConfig&& value) { m_sourceTableConfigHasBeenSet = true; m_sourceTableConfig = std::move(value); } + inline UpdateIntegrationTablePropertiesRequest& WithSourceTableConfig(const SourceTableConfig& value) { SetSourceTableConfig(value); return *this;} + inline UpdateIntegrationTablePropertiesRequest& WithSourceTableConfig(SourceTableConfig&& value) { SetSourceTableConfig(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A structure for the target table configuration.

    + */ + inline const TargetTableConfig& GetTargetTableConfig() const{ return m_targetTableConfig; } + inline bool TargetTableConfigHasBeenSet() const { return m_targetTableConfigHasBeenSet; } + inline void SetTargetTableConfig(const TargetTableConfig& value) { m_targetTableConfigHasBeenSet = true; m_targetTableConfig = value; } + inline void SetTargetTableConfig(TargetTableConfig&& value) { m_targetTableConfigHasBeenSet = true; m_targetTableConfig = std::move(value); } + inline UpdateIntegrationTablePropertiesRequest& WithTargetTableConfig(const TargetTableConfig& value) { SetTargetTableConfig(value); return *this;} + inline UpdateIntegrationTablePropertiesRequest& WithTargetTableConfig(TargetTableConfig&& value) { SetTargetTableConfig(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + + SourceTableConfig m_sourceTableConfig; + bool m_sourceTableConfigHasBeenSet = false; + + TargetTableConfig m_targetTableConfig; + bool m_targetTableConfigHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationTablePropertiesResult.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationTablePropertiesResult.h new file mode 100644 index 00000000000..a3ee3b15252 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateIntegrationTablePropertiesResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + class UpdateIntegrationTablePropertiesResult + { + public: + AWS_GLUE_API UpdateIntegrationTablePropertiesResult(); + AWS_GLUE_API UpdateIntegrationTablePropertiesResult(const Aws::AmazonWebServiceResult& result); + AWS_GLUE_API UpdateIntegrationTablePropertiesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateIntegrationTablePropertiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateIntegrationTablePropertiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateIntegrationTablePropertiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/GlueClient.cpp b/generated/src/aws-cpp-sdk-glue/source/GlueClient.cpp index 7064035e58f..8ecaef9e537 100644 --- a/generated/src/aws-cpp-sdk-glue/source/GlueClient.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/GlueClient.cpp @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #include @@ -53,6 +54,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -69,6 +73,7 @@ #include #include #include +#include #include #include #include @@ -79,6 +84,8 @@ #include #include #include +#include +#include #include #include #include @@ -96,10 +103,16 @@ #include #include #include +#include +#include +#include +#include #include #include #include +#include #include +#include #include #include #include @@ -108,19 +121,6 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include @@ -888,6 +888,32 @@ CreateBlueprintOutcome GlueClient::CreateBlueprint(const CreateBlueprintRequest& {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateCatalogOutcome GlueClient::CreateCatalog(const CreateCatalogRequest& request) const +{ + AWS_OPERATION_GUARD(CreateCatalog); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateCatalog, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateCatalog, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateCatalog, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateCatalog", + {{ 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( + [&]()-> CreateCatalogOutcome { + 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, CreateCatalog, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return CreateCatalogOutcome(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()}}); +} + CreateClassifierOutcome GlueClient::CreateClassifier(const CreateClassifierRequest& request) const { AWS_OPERATION_GUARD(CreateClassifier); @@ -1096,6 +1122,84 @@ CreateDevEndpointOutcome GlueClient::CreateDevEndpoint(const CreateDevEndpointRe {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateIntegrationOutcome GlueClient::CreateIntegration(const CreateIntegrationRequest& request) const +{ + AWS_OPERATION_GUARD(CreateIntegration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateIntegration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateIntegration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateIntegration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateIntegration", + {{ 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( + [&]()-> CreateIntegrationOutcome { + 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, CreateIntegration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return CreateIntegrationOutcome(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()}}); +} + +CreateIntegrationResourcePropertyOutcome GlueClient::CreateIntegrationResourceProperty(const CreateIntegrationResourcePropertyRequest& request) const +{ + AWS_OPERATION_GUARD(CreateIntegrationResourceProperty); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateIntegrationResourceProperty, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateIntegrationResourceProperty, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateIntegrationResourceProperty, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateIntegrationResourceProperty", + {{ 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( + [&]()-> CreateIntegrationResourcePropertyOutcome { + 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, CreateIntegrationResourceProperty, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return CreateIntegrationResourcePropertyOutcome(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()}}); +} + +CreateIntegrationTablePropertiesOutcome GlueClient::CreateIntegrationTableProperties(const CreateIntegrationTablePropertiesRequest& request) const +{ + AWS_OPERATION_GUARD(CreateIntegrationTableProperties); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateIntegrationTableProperties, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateIntegrationTableProperties, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateIntegrationTableProperties, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateIntegrationTableProperties", + {{ 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( + [&]()-> CreateIntegrationTablePropertiesOutcome { + 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, CreateIntegrationTableProperties, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return CreateIntegrationTablePropertiesOutcome(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()}}); +} + CreateJobOutcome GlueClient::CreateJob(const CreateJobRequest& request) const { AWS_OPERATION_GUARD(CreateJob); @@ -1512,6 +1616,32 @@ DeleteBlueprintOutcome GlueClient::DeleteBlueprint(const DeleteBlueprintRequest& {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteCatalogOutcome GlueClient::DeleteCatalog(const DeleteCatalogRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteCatalog); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteCatalog, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteCatalog, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteCatalog, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteCatalog", + {{ 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( + [&]()-> DeleteCatalogOutcome { + 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, DeleteCatalog, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DeleteCatalogOutcome(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()}}); +} + DeleteClassifierOutcome GlueClient::DeleteClassifier(const DeleteClassifierRequest& request) const { AWS_OPERATION_GUARD(DeleteClassifier); @@ -1772,6 +1902,58 @@ DeleteDevEndpointOutcome GlueClient::DeleteDevEndpoint(const DeleteDevEndpointRe {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteIntegrationOutcome GlueClient::DeleteIntegration(const DeleteIntegrationRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteIntegration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteIntegration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteIntegration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteIntegration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteIntegration", + {{ 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( + [&]()-> DeleteIntegrationOutcome { + 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, DeleteIntegration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DeleteIntegrationOutcome(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()}}); +} + +DeleteIntegrationTablePropertiesOutcome GlueClient::DeleteIntegrationTableProperties(const DeleteIntegrationTablePropertiesRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteIntegrationTableProperties); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteIntegrationTableProperties, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteIntegrationTableProperties, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteIntegrationTableProperties, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteIntegrationTableProperties", + {{ 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( + [&]()-> DeleteIntegrationTablePropertiesOutcome { + 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, DeleteIntegrationTableProperties, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DeleteIntegrationTablePropertiesOutcome(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()}}); +} + DeleteJobOutcome GlueClient::DeleteJob(const DeleteJobRequest& request) const { AWS_OPERATION_GUARD(DeleteJob); @@ -2214,6 +2396,110 @@ DeleteWorkflowOutcome GlueClient::DeleteWorkflow(const DeleteWorkflowRequest& re {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DescribeConnectionTypeOutcome GlueClient::DescribeConnectionType(const DescribeConnectionTypeRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeConnectionType); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeConnectionType, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeConnectionType, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeConnectionType, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeConnectionType", + {{ 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( + [&]()-> DescribeConnectionTypeOutcome { + 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, DescribeConnectionType, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DescribeConnectionTypeOutcome(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()}}); +} + +DescribeEntityOutcome GlueClient::DescribeEntity(const DescribeEntityRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeEntity); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeEntity, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeEntity, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeEntity, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeEntity", + {{ 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( + [&]()-> DescribeEntityOutcome { + 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, DescribeEntity, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DescribeEntityOutcome(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()}}); +} + +DescribeInboundIntegrationsOutcome GlueClient::DescribeInboundIntegrations(const DescribeInboundIntegrationsRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeInboundIntegrations); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeInboundIntegrations, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeInboundIntegrations, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeInboundIntegrations, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeInboundIntegrations", + {{ 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( + [&]()-> DescribeInboundIntegrationsOutcome { + 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, DescribeInboundIntegrations, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DescribeInboundIntegrationsOutcome(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()}}); +} + +DescribeIntegrationsOutcome GlueClient::DescribeIntegrations(const DescribeIntegrationsRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeIntegrations); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeIntegrations, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeIntegrations, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeIntegrations, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeIntegrations", + {{ 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( + [&]()-> DescribeIntegrationsOutcome { + 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, DescribeIntegrations, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DescribeIntegrationsOutcome(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()}}); +} + GetBlueprintOutcome GlueClient::GetBlueprint(const GetBlueprintRequest& request) const { AWS_OPERATION_GUARD(GetBlueprint); @@ -2292,6 +2578,32 @@ GetBlueprintRunsOutcome GlueClient::GetBlueprintRuns(const GetBlueprintRunsReque {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetCatalogOutcome GlueClient::GetCatalog(const GetCatalogRequest& request) const +{ + AWS_OPERATION_GUARD(GetCatalog); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetCatalog, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetCatalog, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetCatalog, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetCatalog", + {{ 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( + [&]()-> GetCatalogOutcome { + 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, GetCatalog, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetCatalogOutcome(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()}}); +} + GetCatalogImportStatusOutcome GlueClient::GetCatalogImportStatus(const GetCatalogImportStatusRequest& request) const { AWS_OPERATION_GUARD(GetCatalogImportStatus); @@ -2318,6 +2630,32 @@ GetCatalogImportStatusOutcome GlueClient::GetCatalogImportStatus(const GetCatalo {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetCatalogsOutcome GlueClient::GetCatalogs(const GetCatalogsRequest& request) const +{ + AWS_OPERATION_GUARD(GetCatalogs); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetCatalogs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetCatalogs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetCatalogs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetCatalogs", + {{ 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( + [&]()-> GetCatalogsOutcome { + 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, GetCatalogs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetCatalogsOutcome(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()}}); +} + GetClassifierOutcome GlueClient::GetClassifier(const GetClassifierRequest& request) const { AWS_OPERATION_GUARD(GetClassifier); @@ -2526,341 +2864,3 @@ GetConnectionOutcome GlueClient::GetConnection(const GetConnectionRequest& reque {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -GetConnectionsOutcome GlueClient::GetConnections(const GetConnectionsRequest& request) const -{ - AWS_OPERATION_GUARD(GetConnections); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetConnections, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetConnections, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetConnections, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetConnections", - {{ 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( - [&]()-> GetConnectionsOutcome { - 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, GetConnections, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetConnectionsOutcome(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()}}); -} - -GetCrawlerOutcome GlueClient::GetCrawler(const GetCrawlerRequest& request) const -{ - AWS_OPERATION_GUARD(GetCrawler); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetCrawler, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetCrawler, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetCrawler, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetCrawler", - {{ 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( - [&]()-> GetCrawlerOutcome { - 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, GetCrawler, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetCrawlerOutcome(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()}}); -} - -GetCrawlerMetricsOutcome GlueClient::GetCrawlerMetrics(const GetCrawlerMetricsRequest& request) const -{ - AWS_OPERATION_GUARD(GetCrawlerMetrics); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetCrawlerMetrics, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetCrawlerMetrics, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetCrawlerMetrics, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetCrawlerMetrics", - {{ 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( - [&]()-> GetCrawlerMetricsOutcome { - 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, GetCrawlerMetrics, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetCrawlerMetricsOutcome(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()}}); -} - -GetCrawlersOutcome GlueClient::GetCrawlers(const GetCrawlersRequest& request) const -{ - AWS_OPERATION_GUARD(GetCrawlers); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetCrawlers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetCrawlers, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetCrawlers, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetCrawlers", - {{ 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( - [&]()-> GetCrawlersOutcome { - 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, GetCrawlers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetCrawlersOutcome(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()}}); -} - -GetCustomEntityTypeOutcome GlueClient::GetCustomEntityType(const GetCustomEntityTypeRequest& request) const -{ - AWS_OPERATION_GUARD(GetCustomEntityType); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetCustomEntityType, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetCustomEntityType, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetCustomEntityType, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetCustomEntityType", - {{ 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( - [&]()-> GetCustomEntityTypeOutcome { - 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, GetCustomEntityType, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetCustomEntityTypeOutcome(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()}}); -} - -GetDataCatalogEncryptionSettingsOutcome GlueClient::GetDataCatalogEncryptionSettings(const GetDataCatalogEncryptionSettingsRequest& request) const -{ - AWS_OPERATION_GUARD(GetDataCatalogEncryptionSettings); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataCatalogEncryptionSettings, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataCatalogEncryptionSettings, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetDataCatalogEncryptionSettings, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataCatalogEncryptionSettings", - {{ 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( - [&]()-> GetDataCatalogEncryptionSettingsOutcome { - 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, GetDataCatalogEncryptionSettings, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetDataCatalogEncryptionSettingsOutcome(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()}}); -} - -GetDataQualityModelOutcome GlueClient::GetDataQualityModel(const GetDataQualityModelRequest& request) const -{ - AWS_OPERATION_GUARD(GetDataQualityModel); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityModel, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetDataQualityModel, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityModel", - {{ 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( - [&]()-> GetDataQualityModelOutcome { - 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, GetDataQualityModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetDataQualityModelOutcome(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()}}); -} - -GetDataQualityModelResultOutcome GlueClient::GetDataQualityModelResult(const GetDataQualityModelResultRequest& request) const -{ - AWS_OPERATION_GUARD(GetDataQualityModelResult); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityModelResult, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityModelResult, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetDataQualityModelResult, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityModelResult", - {{ 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( - [&]()-> GetDataQualityModelResultOutcome { - 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, GetDataQualityModelResult, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetDataQualityModelResultOutcome(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()}}); -} - -GetDataQualityResultOutcome GlueClient::GetDataQualityResult(const GetDataQualityResultRequest& request) const -{ - AWS_OPERATION_GUARD(GetDataQualityResult); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityResult, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityResult, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetDataQualityResult, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityResult", - {{ 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( - [&]()-> GetDataQualityResultOutcome { - 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, GetDataQualityResult, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetDataQualityResultOutcome(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()}}); -} - -GetDataQualityRuleRecommendationRunOutcome GlueClient::GetDataQualityRuleRecommendationRun(const GetDataQualityRuleRecommendationRunRequest& request) const -{ - AWS_OPERATION_GUARD(GetDataQualityRuleRecommendationRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityRuleRecommendationRun", - {{ 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( - [&]()-> GetDataQualityRuleRecommendationRunOutcome { - 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, GetDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetDataQualityRuleRecommendationRunOutcome(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()}}); -} - -GetDataQualityRulesetOutcome GlueClient::GetDataQualityRuleset(const GetDataQualityRulesetRequest& request) const -{ - AWS_OPERATION_GUARD(GetDataQualityRuleset); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityRuleset, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityRuleset, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetDataQualityRuleset, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityRuleset", - {{ 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( - [&]()-> GetDataQualityRulesetOutcome { - 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, GetDataQualityRuleset, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetDataQualityRulesetOutcome(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()}}); -} - -GetDataQualityRulesetEvaluationRunOutcome GlueClient::GetDataQualityRulesetEvaluationRun(const GetDataQualityRulesetEvaluationRunRequest& request) const -{ - AWS_OPERATION_GUARD(GetDataQualityRulesetEvaluationRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityRulesetEvaluationRun", - {{ 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( - [&]()-> GetDataQualityRulesetEvaluationRunOutcome { - 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, GetDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetDataQualityRulesetEvaluationRunOutcome(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()}}); -} - -GetDatabaseOutcome GlueClient::GetDatabase(const GetDatabaseRequest& request) const -{ - AWS_OPERATION_GUARD(GetDatabase); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDatabase, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDatabase, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetDatabase, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDatabase", - {{ 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( - [&]()-> GetDatabaseOutcome { - 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, GetDatabase, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return GetDatabaseOutcome(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-glue/source/GlueClient1.cpp b/generated/src/aws-cpp-sdk-glue/source/GlueClient1.cpp index 5164f16c6fb..3febc5c22b8 100644 --- a/generated/src/aws-cpp-sdk-glue/source/GlueClient1.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/GlueClient1.cpp @@ -21,10 +21,26 @@ #include #include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include #include #include +#include +#include +#include #include #include #include @@ -71,6 +87,7 @@ #include #include #include +#include #include #include #include @@ -81,6 +98,7 @@ #include #include #include +#include #include #include #include @@ -92,6 +110,7 @@ #include #include #include +#include #include #include #include @@ -102,25 +121,6 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include @@ -136,6 +136,344 @@ using namespace smithy::components::tracing; using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; +GetConnectionsOutcome GlueClient::GetConnections(const GetConnectionsRequest& request) const +{ + AWS_OPERATION_GUARD(GetConnections); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetConnections, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetConnections, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetConnections, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetConnections", + {{ 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( + [&]()-> GetConnectionsOutcome { + 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, GetConnections, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetConnectionsOutcome(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()}}); +} + +GetCrawlerOutcome GlueClient::GetCrawler(const GetCrawlerRequest& request) const +{ + AWS_OPERATION_GUARD(GetCrawler); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetCrawler, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetCrawler, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetCrawler, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetCrawler", + {{ 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( + [&]()-> GetCrawlerOutcome { + 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, GetCrawler, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetCrawlerOutcome(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()}}); +} + +GetCrawlerMetricsOutcome GlueClient::GetCrawlerMetrics(const GetCrawlerMetricsRequest& request) const +{ + AWS_OPERATION_GUARD(GetCrawlerMetrics); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetCrawlerMetrics, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetCrawlerMetrics, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetCrawlerMetrics, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetCrawlerMetrics", + {{ 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( + [&]()-> GetCrawlerMetricsOutcome { + 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, GetCrawlerMetrics, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetCrawlerMetricsOutcome(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()}}); +} + +GetCrawlersOutcome GlueClient::GetCrawlers(const GetCrawlersRequest& request) const +{ + AWS_OPERATION_GUARD(GetCrawlers); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetCrawlers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetCrawlers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetCrawlers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetCrawlers", + {{ 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( + [&]()-> GetCrawlersOutcome { + 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, GetCrawlers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetCrawlersOutcome(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()}}); +} + +GetCustomEntityTypeOutcome GlueClient::GetCustomEntityType(const GetCustomEntityTypeRequest& request) const +{ + AWS_OPERATION_GUARD(GetCustomEntityType); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetCustomEntityType, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetCustomEntityType, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetCustomEntityType, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetCustomEntityType", + {{ 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( + [&]()-> GetCustomEntityTypeOutcome { + 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, GetCustomEntityType, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetCustomEntityTypeOutcome(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()}}); +} + +GetDataCatalogEncryptionSettingsOutcome GlueClient::GetDataCatalogEncryptionSettings(const GetDataCatalogEncryptionSettingsRequest& request) const +{ + AWS_OPERATION_GUARD(GetDataCatalogEncryptionSettings); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataCatalogEncryptionSettings, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataCatalogEncryptionSettings, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetDataCatalogEncryptionSettings, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataCatalogEncryptionSettings", + {{ 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( + [&]()-> GetDataCatalogEncryptionSettingsOutcome { + 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, GetDataCatalogEncryptionSettings, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetDataCatalogEncryptionSettingsOutcome(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()}}); +} + +GetDataQualityModelOutcome GlueClient::GetDataQualityModel(const GetDataQualityModelRequest& request) const +{ + AWS_OPERATION_GUARD(GetDataQualityModel); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityModel, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetDataQualityModel, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityModel", + {{ 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( + [&]()-> GetDataQualityModelOutcome { + 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, GetDataQualityModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetDataQualityModelOutcome(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()}}); +} + +GetDataQualityModelResultOutcome GlueClient::GetDataQualityModelResult(const GetDataQualityModelResultRequest& request) const +{ + AWS_OPERATION_GUARD(GetDataQualityModelResult); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityModelResult, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityModelResult, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetDataQualityModelResult, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityModelResult", + {{ 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( + [&]()-> GetDataQualityModelResultOutcome { + 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, GetDataQualityModelResult, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetDataQualityModelResultOutcome(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()}}); +} + +GetDataQualityResultOutcome GlueClient::GetDataQualityResult(const GetDataQualityResultRequest& request) const +{ + AWS_OPERATION_GUARD(GetDataQualityResult); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityResult, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityResult, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetDataQualityResult, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityResult", + {{ 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( + [&]()-> GetDataQualityResultOutcome { + 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, GetDataQualityResult, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetDataQualityResultOutcome(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()}}); +} + +GetDataQualityRuleRecommendationRunOutcome GlueClient::GetDataQualityRuleRecommendationRun(const GetDataQualityRuleRecommendationRunRequest& request) const +{ + AWS_OPERATION_GUARD(GetDataQualityRuleRecommendationRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityRuleRecommendationRun", + {{ 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( + [&]()-> GetDataQualityRuleRecommendationRunOutcome { + 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, GetDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetDataQualityRuleRecommendationRunOutcome(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()}}); +} + +GetDataQualityRulesetOutcome GlueClient::GetDataQualityRuleset(const GetDataQualityRulesetRequest& request) const +{ + AWS_OPERATION_GUARD(GetDataQualityRuleset); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityRuleset, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityRuleset, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetDataQualityRuleset, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityRuleset", + {{ 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( + [&]()-> GetDataQualityRulesetOutcome { + 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, GetDataQualityRuleset, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetDataQualityRulesetOutcome(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()}}); +} + +GetDataQualityRulesetEvaluationRunOutcome GlueClient::GetDataQualityRulesetEvaluationRun(const GetDataQualityRulesetEvaluationRunRequest& request) const +{ + AWS_OPERATION_GUARD(GetDataQualityRulesetEvaluationRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityRulesetEvaluationRun", + {{ 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( + [&]()-> GetDataQualityRulesetEvaluationRunOutcome { + 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, GetDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetDataQualityRulesetEvaluationRunOutcome(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()}}); +} + +GetDatabaseOutcome GlueClient::GetDatabase(const GetDatabaseRequest& request) const +{ + AWS_OPERATION_GUARD(GetDatabase); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDatabase, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDatabase, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetDatabase, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDatabase", + {{ 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( + [&]()-> GetDatabaseOutcome { + 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, GetDatabase, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetDatabaseOutcome(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()}}); +} + GetDatabasesOutcome GlueClient::GetDatabases(const GetDatabasesRequest& request) const { AWS_OPERATION_GUARD(GetDatabases); @@ -240,6 +578,84 @@ GetDevEndpointsOutcome GlueClient::GetDevEndpoints(const GetDevEndpointsRequest& {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetEntityRecordsOutcome GlueClient::GetEntityRecords(const GetEntityRecordsRequest& request) const +{ + AWS_OPERATION_GUARD(GetEntityRecords); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetEntityRecords, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetEntityRecords, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetEntityRecords, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetEntityRecords", + {{ 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( + [&]()-> GetEntityRecordsOutcome { + 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, GetEntityRecords, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetEntityRecordsOutcome(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()}}); +} + +GetIntegrationResourcePropertyOutcome GlueClient::GetIntegrationResourceProperty(const GetIntegrationResourcePropertyRequest& request) const +{ + AWS_OPERATION_GUARD(GetIntegrationResourceProperty); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetIntegrationResourceProperty, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetIntegrationResourceProperty, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetIntegrationResourceProperty, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetIntegrationResourceProperty", + {{ 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( + [&]()-> GetIntegrationResourcePropertyOutcome { + 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, GetIntegrationResourceProperty, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetIntegrationResourcePropertyOutcome(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()}}); +} + +GetIntegrationTablePropertiesOutcome GlueClient::GetIntegrationTableProperties(const GetIntegrationTablePropertiesRequest& request) const +{ + AWS_OPERATION_GUARD(GetIntegrationTableProperties); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetIntegrationTableProperties, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetIntegrationTableProperties, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetIntegrationTableProperties, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetIntegrationTableProperties", + {{ 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( + [&]()-> GetIntegrationTablePropertiesOutcome { + 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, GetIntegrationTableProperties, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return GetIntegrationTablePropertiesOutcome(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()}}); +} + GetJobOutcome GlueClient::GetJob(const GetJobRequest& request) const { AWS_OPERATION_GUARD(GetJob); @@ -1436,6 +1852,32 @@ ListColumnStatisticsTaskRunsOutcome GlueClient::ListColumnStatisticsTaskRuns(con {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListConnectionTypesOutcome GlueClient::ListConnectionTypes(const ListConnectionTypesRequest& request) const +{ + AWS_OPERATION_GUARD(ListConnectionTypes); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListConnectionTypes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListConnectionTypes, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListConnectionTypes, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListConnectionTypes", + {{ 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( + [&]()-> ListConnectionTypesOutcome { + 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, ListConnectionTypes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListConnectionTypesOutcome(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()}}); +} + ListCrawlersOutcome GlueClient::ListCrawlers(const ListCrawlersRequest& request) const { AWS_OPERATION_GUARD(ListCrawlers); @@ -1696,6 +2138,32 @@ ListDevEndpointsOutcome GlueClient::ListDevEndpoints(const ListDevEndpointsReque {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListEntitiesOutcome GlueClient::ListEntities(const ListEntitiesRequest& request) const +{ + AWS_OPERATION_GUARD(ListEntities); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListEntities, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListEntities, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListEntities, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListEntities", + {{ 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( + [&]()-> ListEntitiesOutcome { + 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, ListEntities, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListEntitiesOutcome(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()}}); +} + ListJobsOutcome GlueClient::ListJobs(const ListJobsRequest& request) const { AWS_OPERATION_GUARD(ListJobs); @@ -1982,6 +2450,32 @@ ListWorkflowsOutcome GlueClient::ListWorkflows(const ListWorkflowsRequest& reque {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ModifyIntegrationOutcome GlueClient::ModifyIntegration(const ModifyIntegrationRequest& request) const +{ + AWS_OPERATION_GUARD(ModifyIntegration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ModifyIntegration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ModifyIntegration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ModifyIntegration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ModifyIntegration", + {{ 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( + [&]()-> ModifyIntegrationOutcome { + 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, ModifyIntegration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ModifyIntegrationOutcome(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()}}); +} + PutDataCatalogEncryptionSettingsOutcome GlueClient::PutDataCatalogEncryptionSettings(const PutDataCatalogEncryptionSettingsRequest& request) const { AWS_OPERATION_GUARD(PutDataCatalogEncryptionSettings); @@ -2242,497 +2736,3 @@ ResumeWorkflowRunOutcome GlueClient::ResumeWorkflowRun(const ResumeWorkflowRunRe {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -RunStatementOutcome GlueClient::RunStatement(const RunStatementRequest& request) const -{ - AWS_OPERATION_GUARD(RunStatement); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, RunStatement, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RunStatement, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, RunStatement, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".RunStatement", - {{ 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( - [&]()-> RunStatementOutcome { - 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, RunStatement, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return RunStatementOutcome(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()}}); -} - -SearchTablesOutcome GlueClient::SearchTables(const SearchTablesRequest& request) const -{ - AWS_OPERATION_GUARD(SearchTables); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, SearchTables, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SearchTables, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, SearchTables, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SearchTables", - {{ 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( - [&]()-> SearchTablesOutcome { - 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, SearchTables, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return SearchTablesOutcome(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()}}); -} - -StartBlueprintRunOutcome GlueClient::StartBlueprintRun(const StartBlueprintRunRequest& request) const -{ - AWS_OPERATION_GUARD(StartBlueprintRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartBlueprintRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartBlueprintRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartBlueprintRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartBlueprintRun", - {{ 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( - [&]()-> StartBlueprintRunOutcome { - 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, StartBlueprintRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartBlueprintRunOutcome(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()}}); -} - -StartColumnStatisticsTaskRunOutcome GlueClient::StartColumnStatisticsTaskRun(const StartColumnStatisticsTaskRunRequest& request) const -{ - AWS_OPERATION_GUARD(StartColumnStatisticsTaskRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartColumnStatisticsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartColumnStatisticsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartColumnStatisticsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartColumnStatisticsTaskRun", - {{ 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( - [&]()-> StartColumnStatisticsTaskRunOutcome { - 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, StartColumnStatisticsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartColumnStatisticsTaskRunOutcome(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()}}); -} - -StartColumnStatisticsTaskRunScheduleOutcome GlueClient::StartColumnStatisticsTaskRunSchedule(const StartColumnStatisticsTaskRunScheduleRequest& request) const -{ - AWS_OPERATION_GUARD(StartColumnStatisticsTaskRunSchedule); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartColumnStatisticsTaskRunSchedule", - {{ 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( - [&]()-> StartColumnStatisticsTaskRunScheduleOutcome { - 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, StartColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartColumnStatisticsTaskRunScheduleOutcome(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()}}); -} - -StartCrawlerOutcome GlueClient::StartCrawler(const StartCrawlerRequest& request) const -{ - AWS_OPERATION_GUARD(StartCrawler); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartCrawler, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartCrawler, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartCrawler, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartCrawler", - {{ 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( - [&]()-> StartCrawlerOutcome { - 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, StartCrawler, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartCrawlerOutcome(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()}}); -} - -StartCrawlerScheduleOutcome GlueClient::StartCrawlerSchedule(const StartCrawlerScheduleRequest& request) const -{ - AWS_OPERATION_GUARD(StartCrawlerSchedule); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartCrawlerSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartCrawlerSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartCrawlerSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartCrawlerSchedule", - {{ 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( - [&]()-> StartCrawlerScheduleOutcome { - 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, StartCrawlerSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartCrawlerScheduleOutcome(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()}}); -} - -StartDataQualityRuleRecommendationRunOutcome GlueClient::StartDataQualityRuleRecommendationRun(const StartDataQualityRuleRecommendationRunRequest& request) const -{ - AWS_OPERATION_GUARD(StartDataQualityRuleRecommendationRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartDataQualityRuleRecommendationRun", - {{ 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( - [&]()-> StartDataQualityRuleRecommendationRunOutcome { - 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, StartDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartDataQualityRuleRecommendationRunOutcome(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()}}); -} - -StartDataQualityRulesetEvaluationRunOutcome GlueClient::StartDataQualityRulesetEvaluationRun(const StartDataQualityRulesetEvaluationRunRequest& request) const -{ - AWS_OPERATION_GUARD(StartDataQualityRulesetEvaluationRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartDataQualityRulesetEvaluationRun", - {{ 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( - [&]()-> StartDataQualityRulesetEvaluationRunOutcome { - 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, StartDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartDataQualityRulesetEvaluationRunOutcome(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()}}); -} - -StartExportLabelsTaskRunOutcome GlueClient::StartExportLabelsTaskRun(const StartExportLabelsTaskRunRequest& request) const -{ - AWS_OPERATION_GUARD(StartExportLabelsTaskRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartExportLabelsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartExportLabelsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartExportLabelsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartExportLabelsTaskRun", - {{ 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( - [&]()-> StartExportLabelsTaskRunOutcome { - 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, StartExportLabelsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartExportLabelsTaskRunOutcome(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()}}); -} - -StartImportLabelsTaskRunOutcome GlueClient::StartImportLabelsTaskRun(const StartImportLabelsTaskRunRequest& request) const -{ - AWS_OPERATION_GUARD(StartImportLabelsTaskRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartImportLabelsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartImportLabelsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartImportLabelsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartImportLabelsTaskRun", - {{ 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( - [&]()-> StartImportLabelsTaskRunOutcome { - 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, StartImportLabelsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartImportLabelsTaskRunOutcome(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()}}); -} - -StartJobRunOutcome GlueClient::StartJobRun(const StartJobRunRequest& request) const -{ - AWS_OPERATION_GUARD(StartJobRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartJobRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartJobRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartJobRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartJobRun", - {{ 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( - [&]()-> StartJobRunOutcome { - 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, StartJobRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartJobRunOutcome(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()}}); -} - -StartMLEvaluationTaskRunOutcome GlueClient::StartMLEvaluationTaskRun(const StartMLEvaluationTaskRunRequest& request) const -{ - AWS_OPERATION_GUARD(StartMLEvaluationTaskRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartMLEvaluationTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartMLEvaluationTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartMLEvaluationTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartMLEvaluationTaskRun", - {{ 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( - [&]()-> StartMLEvaluationTaskRunOutcome { - 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, StartMLEvaluationTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartMLEvaluationTaskRunOutcome(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()}}); -} - -StartMLLabelingSetGenerationTaskRunOutcome GlueClient::StartMLLabelingSetGenerationTaskRun(const StartMLLabelingSetGenerationTaskRunRequest& request) const -{ - AWS_OPERATION_GUARD(StartMLLabelingSetGenerationTaskRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartMLLabelingSetGenerationTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartMLLabelingSetGenerationTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartMLLabelingSetGenerationTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartMLLabelingSetGenerationTaskRun", - {{ 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( - [&]()-> StartMLLabelingSetGenerationTaskRunOutcome { - 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, StartMLLabelingSetGenerationTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartMLLabelingSetGenerationTaskRunOutcome(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()}}); -} - -StartTriggerOutcome GlueClient::StartTrigger(const StartTriggerRequest& request) const -{ - AWS_OPERATION_GUARD(StartTrigger); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartTrigger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartTrigger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartTrigger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartTrigger", - {{ 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( - [&]()-> StartTriggerOutcome { - 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, StartTrigger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartTriggerOutcome(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()}}); -} - -StartWorkflowRunOutcome GlueClient::StartWorkflowRun(const StartWorkflowRunRequest& request) const -{ - AWS_OPERATION_GUARD(StartWorkflowRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartWorkflowRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartWorkflowRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartWorkflowRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartWorkflowRun", - {{ 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( - [&]()-> StartWorkflowRunOutcome { - 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, StartWorkflowRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StartWorkflowRunOutcome(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()}}); -} - -StopColumnStatisticsTaskRunOutcome GlueClient::StopColumnStatisticsTaskRun(const StopColumnStatisticsTaskRunRequest& request) const -{ - AWS_OPERATION_GUARD(StopColumnStatisticsTaskRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopColumnStatisticsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopColumnStatisticsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StopColumnStatisticsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopColumnStatisticsTaskRun", - {{ 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( - [&]()-> StopColumnStatisticsTaskRunOutcome { - 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, StopColumnStatisticsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StopColumnStatisticsTaskRunOutcome(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()}}); -} - -StopColumnStatisticsTaskRunScheduleOutcome GlueClient::StopColumnStatisticsTaskRunSchedule(const StopColumnStatisticsTaskRunScheduleRequest& request) const -{ - AWS_OPERATION_GUARD(StopColumnStatisticsTaskRunSchedule); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StopColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopColumnStatisticsTaskRunSchedule", - {{ 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( - [&]()-> StopColumnStatisticsTaskRunScheduleOutcome { - 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, StopColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StopColumnStatisticsTaskRunScheduleOutcome(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()}}); -} - -StopCrawlerOutcome GlueClient::StopCrawler(const StopCrawlerRequest& request) const -{ - AWS_OPERATION_GUARD(StopCrawler); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopCrawler, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopCrawler, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StopCrawler, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopCrawler", - {{ 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( - [&]()-> StopCrawlerOutcome { - 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, StopCrawler, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return StopCrawlerOutcome(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-glue/source/GlueClient2.cpp b/generated/src/aws-cpp-sdk-glue/source/GlueClient2.cpp index 2ad4a384a68..6c9cbeb5887 100644 --- a/generated/src/aws-cpp-sdk-glue/source/GlueClient2.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/GlueClient2.cpp @@ -21,6 +21,25 @@ #include #include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include #include @@ -29,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -39,6 +59,8 @@ #include #include #include +#include +#include #include #include #include @@ -67,6 +89,500 @@ using namespace smithy::components::tracing; using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; +RunStatementOutcome GlueClient::RunStatement(const RunStatementRequest& request) const +{ + AWS_OPERATION_GUARD(RunStatement); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, RunStatement, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RunStatement, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, RunStatement, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".RunStatement", + {{ 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( + [&]()-> RunStatementOutcome { + 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, RunStatement, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return RunStatementOutcome(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()}}); +} + +SearchTablesOutcome GlueClient::SearchTables(const SearchTablesRequest& request) const +{ + AWS_OPERATION_GUARD(SearchTables); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, SearchTables, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SearchTables, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, SearchTables, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SearchTables", + {{ 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( + [&]()-> SearchTablesOutcome { + 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, SearchTables, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return SearchTablesOutcome(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()}}); +} + +StartBlueprintRunOutcome GlueClient::StartBlueprintRun(const StartBlueprintRunRequest& request) const +{ + AWS_OPERATION_GUARD(StartBlueprintRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartBlueprintRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartBlueprintRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartBlueprintRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartBlueprintRun", + {{ 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( + [&]()-> StartBlueprintRunOutcome { + 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, StartBlueprintRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartBlueprintRunOutcome(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()}}); +} + +StartColumnStatisticsTaskRunOutcome GlueClient::StartColumnStatisticsTaskRun(const StartColumnStatisticsTaskRunRequest& request) const +{ + AWS_OPERATION_GUARD(StartColumnStatisticsTaskRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartColumnStatisticsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartColumnStatisticsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartColumnStatisticsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartColumnStatisticsTaskRun", + {{ 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( + [&]()-> StartColumnStatisticsTaskRunOutcome { + 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, StartColumnStatisticsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartColumnStatisticsTaskRunOutcome(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()}}); +} + +StartColumnStatisticsTaskRunScheduleOutcome GlueClient::StartColumnStatisticsTaskRunSchedule(const StartColumnStatisticsTaskRunScheduleRequest& request) const +{ + AWS_OPERATION_GUARD(StartColumnStatisticsTaskRunSchedule); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartColumnStatisticsTaskRunSchedule", + {{ 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( + [&]()-> StartColumnStatisticsTaskRunScheduleOutcome { + 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, StartColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartColumnStatisticsTaskRunScheduleOutcome(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()}}); +} + +StartCrawlerOutcome GlueClient::StartCrawler(const StartCrawlerRequest& request) const +{ + AWS_OPERATION_GUARD(StartCrawler); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartCrawler, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartCrawler, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartCrawler, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartCrawler", + {{ 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( + [&]()-> StartCrawlerOutcome { + 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, StartCrawler, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartCrawlerOutcome(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()}}); +} + +StartCrawlerScheduleOutcome GlueClient::StartCrawlerSchedule(const StartCrawlerScheduleRequest& request) const +{ + AWS_OPERATION_GUARD(StartCrawlerSchedule); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartCrawlerSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartCrawlerSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartCrawlerSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartCrawlerSchedule", + {{ 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( + [&]()-> StartCrawlerScheduleOutcome { + 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, StartCrawlerSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartCrawlerScheduleOutcome(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()}}); +} + +StartDataQualityRuleRecommendationRunOutcome GlueClient::StartDataQualityRuleRecommendationRun(const StartDataQualityRuleRecommendationRunRequest& request) const +{ + AWS_OPERATION_GUARD(StartDataQualityRuleRecommendationRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartDataQualityRuleRecommendationRun", + {{ 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( + [&]()-> StartDataQualityRuleRecommendationRunOutcome { + 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, StartDataQualityRuleRecommendationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartDataQualityRuleRecommendationRunOutcome(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()}}); +} + +StartDataQualityRulesetEvaluationRunOutcome GlueClient::StartDataQualityRulesetEvaluationRun(const StartDataQualityRulesetEvaluationRunRequest& request) const +{ + AWS_OPERATION_GUARD(StartDataQualityRulesetEvaluationRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartDataQualityRulesetEvaluationRun", + {{ 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( + [&]()-> StartDataQualityRulesetEvaluationRunOutcome { + 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, StartDataQualityRulesetEvaluationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartDataQualityRulesetEvaluationRunOutcome(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()}}); +} + +StartExportLabelsTaskRunOutcome GlueClient::StartExportLabelsTaskRun(const StartExportLabelsTaskRunRequest& request) const +{ + AWS_OPERATION_GUARD(StartExportLabelsTaskRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartExportLabelsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartExportLabelsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartExportLabelsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartExportLabelsTaskRun", + {{ 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( + [&]()-> StartExportLabelsTaskRunOutcome { + 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, StartExportLabelsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartExportLabelsTaskRunOutcome(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()}}); +} + +StartImportLabelsTaskRunOutcome GlueClient::StartImportLabelsTaskRun(const StartImportLabelsTaskRunRequest& request) const +{ + AWS_OPERATION_GUARD(StartImportLabelsTaskRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartImportLabelsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartImportLabelsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartImportLabelsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartImportLabelsTaskRun", + {{ 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( + [&]()-> StartImportLabelsTaskRunOutcome { + 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, StartImportLabelsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartImportLabelsTaskRunOutcome(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()}}); +} + +StartJobRunOutcome GlueClient::StartJobRun(const StartJobRunRequest& request) const +{ + AWS_OPERATION_GUARD(StartJobRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartJobRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartJobRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartJobRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartJobRun", + {{ 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( + [&]()-> StartJobRunOutcome { + 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, StartJobRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartJobRunOutcome(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()}}); +} + +StartMLEvaluationTaskRunOutcome GlueClient::StartMLEvaluationTaskRun(const StartMLEvaluationTaskRunRequest& request) const +{ + AWS_OPERATION_GUARD(StartMLEvaluationTaskRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartMLEvaluationTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartMLEvaluationTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartMLEvaluationTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartMLEvaluationTaskRun", + {{ 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( + [&]()-> StartMLEvaluationTaskRunOutcome { + 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, StartMLEvaluationTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartMLEvaluationTaskRunOutcome(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()}}); +} + +StartMLLabelingSetGenerationTaskRunOutcome GlueClient::StartMLLabelingSetGenerationTaskRun(const StartMLLabelingSetGenerationTaskRunRequest& request) const +{ + AWS_OPERATION_GUARD(StartMLLabelingSetGenerationTaskRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartMLLabelingSetGenerationTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartMLLabelingSetGenerationTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartMLLabelingSetGenerationTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartMLLabelingSetGenerationTaskRun", + {{ 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( + [&]()-> StartMLLabelingSetGenerationTaskRunOutcome { + 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, StartMLLabelingSetGenerationTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartMLLabelingSetGenerationTaskRunOutcome(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()}}); +} + +StartTriggerOutcome GlueClient::StartTrigger(const StartTriggerRequest& request) const +{ + AWS_OPERATION_GUARD(StartTrigger); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartTrigger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartTrigger, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartTrigger, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartTrigger", + {{ 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( + [&]()-> StartTriggerOutcome { + 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, StartTrigger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartTriggerOutcome(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()}}); +} + +StartWorkflowRunOutcome GlueClient::StartWorkflowRun(const StartWorkflowRunRequest& request) const +{ + AWS_OPERATION_GUARD(StartWorkflowRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartWorkflowRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartWorkflowRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartWorkflowRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartWorkflowRun", + {{ 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( + [&]()-> StartWorkflowRunOutcome { + 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, StartWorkflowRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StartWorkflowRunOutcome(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()}}); +} + +StopColumnStatisticsTaskRunOutcome GlueClient::StopColumnStatisticsTaskRun(const StopColumnStatisticsTaskRunRequest& request) const +{ + AWS_OPERATION_GUARD(StopColumnStatisticsTaskRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopColumnStatisticsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopColumnStatisticsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StopColumnStatisticsTaskRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopColumnStatisticsTaskRun", + {{ 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( + [&]()-> StopColumnStatisticsTaskRunOutcome { + 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, StopColumnStatisticsTaskRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StopColumnStatisticsTaskRunOutcome(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()}}); +} + +StopColumnStatisticsTaskRunScheduleOutcome GlueClient::StopColumnStatisticsTaskRunSchedule(const StopColumnStatisticsTaskRunScheduleRequest& request) const +{ + AWS_OPERATION_GUARD(StopColumnStatisticsTaskRunSchedule); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StopColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopColumnStatisticsTaskRunSchedule", + {{ 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( + [&]()-> StopColumnStatisticsTaskRunScheduleOutcome { + 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, StopColumnStatisticsTaskRunSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StopColumnStatisticsTaskRunScheduleOutcome(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()}}); +} + +StopCrawlerOutcome GlueClient::StopCrawler(const StopCrawlerRequest& request) const +{ + AWS_OPERATION_GUARD(StopCrawler); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopCrawler, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopCrawler, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StopCrawler, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopCrawler", + {{ 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( + [&]()-> StopCrawlerOutcome { + 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, StopCrawler, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return StopCrawlerOutcome(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()}}); +} + StopCrawlerScheduleOutcome GlueClient::StopCrawlerSchedule(const StopCrawlerScheduleRequest& request) const { AWS_OPERATION_GUARD(StopCrawlerSchedule); @@ -275,6 +791,32 @@ UpdateBlueprintOutcome GlueClient::UpdateBlueprint(const UpdateBlueprintRequest& {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateCatalogOutcome GlueClient::UpdateCatalog(const UpdateCatalogRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateCatalog); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateCatalog, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateCatalog, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateCatalog, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateCatalog", + {{ 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( + [&]()-> UpdateCatalogOutcome { + 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, UpdateCatalog, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return UpdateCatalogOutcome(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()}}); +} + UpdateClassifierOutcome GlueClient::UpdateClassifier(const UpdateClassifierRequest& request) const { AWS_OPERATION_GUARD(UpdateClassifier); @@ -535,6 +1077,58 @@ UpdateDevEndpointOutcome GlueClient::UpdateDevEndpoint(const UpdateDevEndpointRe {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateIntegrationResourcePropertyOutcome GlueClient::UpdateIntegrationResourceProperty(const UpdateIntegrationResourcePropertyRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateIntegrationResourceProperty); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateIntegrationResourceProperty, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateIntegrationResourceProperty, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateIntegrationResourceProperty, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateIntegrationResourceProperty", + {{ 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( + [&]()-> UpdateIntegrationResourcePropertyOutcome { + 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, UpdateIntegrationResourceProperty, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return UpdateIntegrationResourcePropertyOutcome(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()}}); +} + +UpdateIntegrationTablePropertiesOutcome GlueClient::UpdateIntegrationTableProperties(const UpdateIntegrationTablePropertiesRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateIntegrationTableProperties); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateIntegrationTableProperties, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateIntegrationTableProperties, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateIntegrationTableProperties, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateIntegrationTableProperties", + {{ 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( + [&]()-> UpdateIntegrationTablePropertiesOutcome { + 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, UpdateIntegrationTableProperties, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return UpdateIntegrationTablePropertiesOutcome(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()}}); +} + UpdateJobOutcome GlueClient::UpdateJob(const UpdateJobRequest& request) const { AWS_OPERATION_GUARD(UpdateJob); diff --git a/generated/src/aws-cpp-sdk-glue/source/GlueErrors.cpp b/generated/src/aws-cpp-sdk-glue/source/GlueErrors.cpp index ac673bda725..5351a51a249 100644 --- a/generated/src/aws-cpp-sdk-glue/source/GlueErrors.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/GlueErrors.cpp @@ -55,14 +55,18 @@ static const int SCHEDULER_RUNNING_HASH = HashingUtils::HashString("SchedulerRun static const int CONCURRENT_MODIFICATION_HASH = HashingUtils::HashString("ConcurrentModificationException"); static const int CRAWLER_RUNNING_HASH = HashingUtils::HashString("CrawlerRunningException"); static const int COLUMN_STATISTICS_TASK_RUNNING_HASH = HashingUtils::HashString("ColumnStatisticsTaskRunningException"); +static const int INVALID_INTEGRATION_STATE_FAULT_HASH = HashingUtils::HashString("InvalidIntegrationStateFault"); static const int GLUE_ENCRYPTION_HASH = HashingUtils::HashString("GlueEncryptionException"); static const int M_L_TRANSFORM_NOT_READY_HASH = HashingUtils::HashString("MLTransformNotReadyException"); +static const int INTEGRATION_NOT_FOUND_FAULT_HASH = HashingUtils::HashString("IntegrationNotFoundFault"); static const int PERMISSION_TYPE_MISMATCH_HASH = HashingUtils::HashString("PermissionTypeMismatchException"); static const int RESOURCE_NUMBER_LIMIT_EXCEEDED_HASH = HashingUtils::HashString("ResourceNumberLimitExceededException"); static const int COLUMN_STATISTICS_TASK_NOT_RUNNING_HASH = HashingUtils::HashString("ColumnStatisticsTaskNotRunningException"); +static const int K_M_S_KEY_NOT_ACCESSIBLE_FAULT_HASH = HashingUtils::HashString("KMSKeyNotAccessibleFault"); static const int OPERATION_TIMEOUT_HASH = HashingUtils::HashString("OperationTimeoutException"); static const int VERSION_MISMATCH_HASH = HashingUtils::HashString("VersionMismatchException"); static const int CRAWLER_NOT_RUNNING_HASH = HashingUtils::HashString("CrawlerNotRunningException"); +static const int INTERNAL_SERVER_HASH = HashingUtils::HashString("InternalServerException"); static const int SCHEDULER_NOT_RUNNING_HASH = HashingUtils::HashString("SchedulerNotRunningException"); static const int OPERATION_NOT_SUPPORTED_HASH = HashingUtils::HashString("OperationNotSupportedException"); static const int COLUMN_STATISTICS_TASK_STOPPING_HASH = HashingUtils::HashString("ColumnStatisticsTaskStoppingException"); @@ -72,15 +76,18 @@ static const int CONDITION_CHECK_FAILURE_HASH = HashingUtils::HashString("Condit static const int INVALID_INPUT_HASH = HashingUtils::HashString("InvalidInputException"); static const int INTERNAL_SERVICE_HASH = HashingUtils::HashString("InternalServiceException"); static const int FEDERATED_RESOURCE_ALREADY_EXISTS_HASH = HashingUtils::HashString("FederatedResourceAlreadyExistsException"); +static const int INTEGRATION_QUOTA_EXCEEDED_FAULT_HASH = HashingUtils::HashString("IntegrationQuotaExceededFault"); static const int ILLEGAL_WORKFLOW_STATE_HASH = HashingUtils::HashString("IllegalWorkflowStateException"); static const int ENTITY_NOT_FOUND_HASH = HashingUtils::HashString("EntityNotFoundException"); static const int INVALID_STATE_HASH = HashingUtils::HashString("InvalidStateException"); +static const int INTEGRATION_CONFLICT_OPERATION_FAULT_HASH = HashingUtils::HashString("IntegrationConflictOperationFault"); static const int SCHEDULER_TRANSITIONING_HASH = HashingUtils::HashString("SchedulerTransitioningException"); static const int CRAWLER_STOPPING_HASH = HashingUtils::HashString("CrawlerStoppingException"); static const int NO_SCHEDULE_HASH = HashingUtils::HashString("NoScheduleException"); static const int CONCURRENT_RUNS_EXCEEDED_HASH = HashingUtils::HashString("ConcurrentRunsExceededException"); static const int ILLEGAL_SESSION_STATE_HASH = HashingUtils::HashString("IllegalSessionStateException"); static const int FEDERATION_SOURCE_HASH = HashingUtils::HashString("FederationSourceException"); +static const int TARGET_RESOURCE_NOT_FOUND_HASH = HashingUtils::HashString("TargetResourceNotFound"); AWSError GetErrorForName(const char* errorName) @@ -119,6 +126,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(GlueErrors::COLUMN_STATISTICS_TASK_RUNNING), RetryableType::NOT_RETRYABLE); } + else if (hashCode == INVALID_INTEGRATION_STATE_FAULT_HASH) + { + return AWSError(static_cast(GlueErrors::INVALID_INTEGRATION_STATE_FAULT), RetryableType::NOT_RETRYABLE); + } else if (hashCode == GLUE_ENCRYPTION_HASH) { return AWSError(static_cast(GlueErrors::GLUE_ENCRYPTION), RetryableType::NOT_RETRYABLE); @@ -127,6 +138,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(GlueErrors::M_L_TRANSFORM_NOT_READY), RetryableType::NOT_RETRYABLE); } + else if (hashCode == INTEGRATION_NOT_FOUND_FAULT_HASH) + { + return AWSError(static_cast(GlueErrors::INTEGRATION_NOT_FOUND_FAULT), RetryableType::NOT_RETRYABLE); + } else if (hashCode == PERMISSION_TYPE_MISMATCH_HASH) { return AWSError(static_cast(GlueErrors::PERMISSION_TYPE_MISMATCH), RetryableType::NOT_RETRYABLE); @@ -139,6 +154,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(GlueErrors::COLUMN_STATISTICS_TASK_NOT_RUNNING), RetryableType::NOT_RETRYABLE); } + else if (hashCode == K_M_S_KEY_NOT_ACCESSIBLE_FAULT_HASH) + { + return AWSError(static_cast(GlueErrors::K_M_S_KEY_NOT_ACCESSIBLE_FAULT), RetryableType::NOT_RETRYABLE); + } else if (hashCode == OPERATION_TIMEOUT_HASH) { return AWSError(static_cast(GlueErrors::OPERATION_TIMEOUT), RetryableType::NOT_RETRYABLE); @@ -151,6 +170,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(GlueErrors::CRAWLER_NOT_RUNNING), RetryableType::NOT_RETRYABLE); } + else if (hashCode == INTERNAL_SERVER_HASH) + { + return AWSError(static_cast(GlueErrors::INTERNAL_SERVER), RetryableType::NOT_RETRYABLE); + } else if (hashCode == SCHEDULER_NOT_RUNNING_HASH) { return AWSError(static_cast(GlueErrors::SCHEDULER_NOT_RUNNING), RetryableType::NOT_RETRYABLE); @@ -187,6 +210,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(GlueErrors::FEDERATED_RESOURCE_ALREADY_EXISTS), RetryableType::NOT_RETRYABLE); } + else if (hashCode == INTEGRATION_QUOTA_EXCEEDED_FAULT_HASH) + { + return AWSError(static_cast(GlueErrors::INTEGRATION_QUOTA_EXCEEDED_FAULT), RetryableType::NOT_RETRYABLE); + } else if (hashCode == ILLEGAL_WORKFLOW_STATE_HASH) { return AWSError(static_cast(GlueErrors::ILLEGAL_WORKFLOW_STATE), RetryableType::NOT_RETRYABLE); @@ -199,6 +226,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(GlueErrors::INVALID_STATE), RetryableType::NOT_RETRYABLE); } + else if (hashCode == INTEGRATION_CONFLICT_OPERATION_FAULT_HASH) + { + return AWSError(static_cast(GlueErrors::INTEGRATION_CONFLICT_OPERATION_FAULT), RetryableType::NOT_RETRYABLE); + } else if (hashCode == SCHEDULER_TRANSITIONING_HASH) { return AWSError(static_cast(GlueErrors::SCHEDULER_TRANSITIONING), RetryableType::NOT_RETRYABLE); @@ -223,6 +254,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(GlueErrors::FEDERATION_SOURCE), RetryableType::NOT_RETRYABLE); } + else if (hashCode == TARGET_RESOURCE_NOT_FOUND_HASH) + { + return AWSError(static_cast(GlueErrors::TARGET_RESOURCE_NOT_FOUND), RetryableType::NOT_RETRYABLE); + } return AWSError(CoreErrors::UNKNOWN, false); } diff --git a/generated/src/aws-cpp-sdk-glue/source/model/AllowedValue.cpp b/generated/src/aws-cpp-sdk-glue/source/model/AllowedValue.cpp new file mode 100644 index 00000000000..fee9437052b --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/AllowedValue.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +AllowedValue::AllowedValue() : + m_descriptionHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +AllowedValue::AllowedValue(JsonView jsonValue) + : AllowedValue() +{ + *this = jsonValue; +} + +AllowedValue& AllowedValue::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Value")) + { + m_value = jsonValue.GetString("Value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue AllowedValue::Jsonize() const +{ + JsonValue payload; + + if(m_descriptionHasBeenSet) + { + payload.WithString("Description", m_description); + + } + + if(m_valueHasBeenSet) + { + payload.WithString("Value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/AuthConfiguration.cpp b/generated/src/aws-cpp-sdk-glue/source/model/AuthConfiguration.cpp new file mode 100644 index 00000000000..f0d599d9605 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/AuthConfiguration.cpp @@ -0,0 +1,139 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +AuthConfiguration::AuthConfiguration() : + m_authenticationTypeHasBeenSet(false), + m_secretArnHasBeenSet(false), + m_oAuth2PropertiesHasBeenSet(false), + m_basicAuthenticationPropertiesHasBeenSet(false), + m_customAuthenticationPropertiesHasBeenSet(false) +{ +} + +AuthConfiguration::AuthConfiguration(JsonView jsonValue) + : AuthConfiguration() +{ + *this = jsonValue; +} + +AuthConfiguration& AuthConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("AuthenticationType")) + { + m_authenticationType = jsonValue.GetObject("AuthenticationType"); + + m_authenticationTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("SecretArn")) + { + m_secretArn = jsonValue.GetObject("SecretArn"); + + m_secretArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("OAuth2Properties")) + { + Aws::Map oAuth2PropertiesJsonMap = jsonValue.GetObject("OAuth2Properties").GetAllObjects(); + for(auto& oAuth2PropertiesItem : oAuth2PropertiesJsonMap) + { + m_oAuth2Properties[oAuth2PropertiesItem.first] = oAuth2PropertiesItem.second.AsObject(); + } + m_oAuth2PropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("BasicAuthenticationProperties")) + { + Aws::Map basicAuthenticationPropertiesJsonMap = jsonValue.GetObject("BasicAuthenticationProperties").GetAllObjects(); + for(auto& basicAuthenticationPropertiesItem : basicAuthenticationPropertiesJsonMap) + { + m_basicAuthenticationProperties[basicAuthenticationPropertiesItem.first] = basicAuthenticationPropertiesItem.second.AsObject(); + } + m_basicAuthenticationPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("CustomAuthenticationProperties")) + { + Aws::Map customAuthenticationPropertiesJsonMap = jsonValue.GetObject("CustomAuthenticationProperties").GetAllObjects(); + for(auto& customAuthenticationPropertiesItem : customAuthenticationPropertiesJsonMap) + { + m_customAuthenticationProperties[customAuthenticationPropertiesItem.first] = customAuthenticationPropertiesItem.second.AsObject(); + } + m_customAuthenticationPropertiesHasBeenSet = true; + } + + return *this; +} + +JsonValue AuthConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_authenticationTypeHasBeenSet) + { + payload.WithObject("AuthenticationType", m_authenticationType.Jsonize()); + + } + + if(m_secretArnHasBeenSet) + { + payload.WithObject("SecretArn", m_secretArn.Jsonize()); + + } + + if(m_oAuth2PropertiesHasBeenSet) + { + JsonValue oAuth2PropertiesJsonMap; + for(auto& oAuth2PropertiesItem : m_oAuth2Properties) + { + oAuth2PropertiesJsonMap.WithObject(oAuth2PropertiesItem.first, oAuth2PropertiesItem.second.Jsonize()); + } + payload.WithObject("OAuth2Properties", std::move(oAuth2PropertiesJsonMap)); + + } + + if(m_basicAuthenticationPropertiesHasBeenSet) + { + JsonValue basicAuthenticationPropertiesJsonMap; + for(auto& basicAuthenticationPropertiesItem : m_basicAuthenticationProperties) + { + basicAuthenticationPropertiesJsonMap.WithObject(basicAuthenticationPropertiesItem.first, basicAuthenticationPropertiesItem.second.Jsonize()); + } + payload.WithObject("BasicAuthenticationProperties", std::move(basicAuthenticationPropertiesJsonMap)); + + } + + if(m_customAuthenticationPropertiesHasBeenSet) + { + JsonValue customAuthenticationPropertiesJsonMap; + for(auto& customAuthenticationPropertiesItem : m_customAuthenticationProperties) + { + customAuthenticationPropertiesJsonMap.WithObject(customAuthenticationPropertiesItem.first, customAuthenticationPropertiesItem.second.Jsonize()); + } + payload.WithObject("CustomAuthenticationProperties", std::move(customAuthenticationPropertiesJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/AuthenticationConfigurationInput.cpp b/generated/src/aws-cpp-sdk-glue/source/model/AuthenticationConfigurationInput.cpp index 667928afc55..03c1d35c54c 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/AuthenticationConfigurationInput.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/AuthenticationConfigurationInput.cpp @@ -22,7 +22,10 @@ AuthenticationConfigurationInput::AuthenticationConfigurationInput() : m_authenticationType(AuthenticationType::NOT_SET), m_authenticationTypeHasBeenSet(false), m_oAuth2PropertiesHasBeenSet(false), - m_secretArnHasBeenSet(false) + m_secretArnHasBeenSet(false), + m_kmsKeyArnHasBeenSet(false), + m_basicAuthenticationCredentialsHasBeenSet(false), + m_customAuthenticationCredentialsHasBeenSet(false) { } @@ -55,6 +58,30 @@ AuthenticationConfigurationInput& AuthenticationConfigurationInput::operator =(J m_secretArnHasBeenSet = true; } + if(jsonValue.ValueExists("KmsKeyArn")) + { + m_kmsKeyArn = jsonValue.GetString("KmsKeyArn"); + + m_kmsKeyArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("BasicAuthenticationCredentials")) + { + m_basicAuthenticationCredentials = jsonValue.GetObject("BasicAuthenticationCredentials"); + + m_basicAuthenticationCredentialsHasBeenSet = true; + } + + if(jsonValue.ValueExists("CustomAuthenticationCredentials")) + { + Aws::Map customAuthenticationCredentialsJsonMap = jsonValue.GetObject("CustomAuthenticationCredentials").GetAllObjects(); + for(auto& customAuthenticationCredentialsItem : customAuthenticationCredentialsJsonMap) + { + m_customAuthenticationCredentials[customAuthenticationCredentialsItem.first] = customAuthenticationCredentialsItem.second.AsString(); + } + m_customAuthenticationCredentialsHasBeenSet = true; + } + return *this; } @@ -79,6 +106,29 @@ JsonValue AuthenticationConfigurationInput::Jsonize() const } + if(m_kmsKeyArnHasBeenSet) + { + payload.WithString("KmsKeyArn", m_kmsKeyArn); + + } + + if(m_basicAuthenticationCredentialsHasBeenSet) + { + payload.WithObject("BasicAuthenticationCredentials", m_basicAuthenticationCredentials.Jsonize()); + + } + + if(m_customAuthenticationCredentialsHasBeenSet) + { + JsonValue customAuthenticationCredentialsJsonMap; + for(auto& customAuthenticationCredentialsItem : m_customAuthenticationCredentials) + { + customAuthenticationCredentialsJsonMap.WithString(customAuthenticationCredentialsItem.first, customAuthenticationCredentialsItem.second); + } + payload.WithObject("CustomAuthenticationCredentials", std::move(customAuthenticationCredentialsJsonMap)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-glue/source/model/AuthenticationType.cpp b/generated/src/aws-cpp-sdk-glue/source/model/AuthenticationType.cpp index c609d665213..8d25c91e48a 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/AuthenticationType.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/AuthenticationType.cpp @@ -23,6 +23,7 @@ namespace Aws static const int BASIC_HASH = HashingUtils::HashString("BASIC"); static const int OAUTH2_HASH = HashingUtils::HashString("OAUTH2"); static const int CUSTOM_HASH = HashingUtils::HashString("CUSTOM"); + static const int IAM_HASH = HashingUtils::HashString("IAM"); AuthenticationType GetAuthenticationTypeForName(const Aws::String& name) @@ -40,6 +41,10 @@ namespace Aws { return AuthenticationType::CUSTOM; } + else if (hashCode == IAM_HASH) + { + return AuthenticationType::IAM; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -62,6 +67,8 @@ namespace Aws return "OAUTH2"; case AuthenticationType::CUSTOM: return "CUSTOM"; + case AuthenticationType::IAM: + return "IAM"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-glue/source/model/BasicAuthenticationCredentials.cpp b/generated/src/aws-cpp-sdk-glue/source/model/BasicAuthenticationCredentials.cpp new file mode 100644 index 00000000000..c34369eae46 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/BasicAuthenticationCredentials.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +BasicAuthenticationCredentials::BasicAuthenticationCredentials() : + m_usernameHasBeenSet(false), + m_passwordHasBeenSet(false) +{ +} + +BasicAuthenticationCredentials::BasicAuthenticationCredentials(JsonView jsonValue) + : BasicAuthenticationCredentials() +{ + *this = jsonValue; +} + +BasicAuthenticationCredentials& BasicAuthenticationCredentials::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Username")) + { + m_username = jsonValue.GetString("Username"); + + m_usernameHasBeenSet = true; + } + + if(jsonValue.ValueExists("Password")) + { + m_password = jsonValue.GetString("Password"); + + m_passwordHasBeenSet = true; + } + + return *this; +} + +JsonValue BasicAuthenticationCredentials::Jsonize() const +{ + JsonValue payload; + + if(m_usernameHasBeenSet) + { + payload.WithString("Username", m_username); + + } + + if(m_passwordHasBeenSet) + { + payload.WithString("Password", m_password); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/Capabilities.cpp b/generated/src/aws-cpp-sdk-glue/source/model/Capabilities.cpp new file mode 100644 index 00000000000..2c174f4e03f --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/Capabilities.cpp @@ -0,0 +1,111 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +Capabilities::Capabilities() : + m_supportedAuthenticationTypesHasBeenSet(false), + m_supportedDataOperationsHasBeenSet(false), + m_supportedComputeEnvironmentsHasBeenSet(false) +{ +} + +Capabilities::Capabilities(JsonView jsonValue) + : Capabilities() +{ + *this = jsonValue; +} + +Capabilities& Capabilities::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("SupportedAuthenticationTypes")) + { + Aws::Utils::Array supportedAuthenticationTypesJsonList = jsonValue.GetArray("SupportedAuthenticationTypes"); + for(unsigned supportedAuthenticationTypesIndex = 0; supportedAuthenticationTypesIndex < supportedAuthenticationTypesJsonList.GetLength(); ++supportedAuthenticationTypesIndex) + { + m_supportedAuthenticationTypes.push_back(AuthenticationTypeMapper::GetAuthenticationTypeForName(supportedAuthenticationTypesJsonList[supportedAuthenticationTypesIndex].AsString())); + } + m_supportedAuthenticationTypesHasBeenSet = true; + } + + if(jsonValue.ValueExists("SupportedDataOperations")) + { + Aws::Utils::Array supportedDataOperationsJsonList = jsonValue.GetArray("SupportedDataOperations"); + for(unsigned supportedDataOperationsIndex = 0; supportedDataOperationsIndex < supportedDataOperationsJsonList.GetLength(); ++supportedDataOperationsIndex) + { + m_supportedDataOperations.push_back(DataOperationMapper::GetDataOperationForName(supportedDataOperationsJsonList[supportedDataOperationsIndex].AsString())); + } + m_supportedDataOperationsHasBeenSet = true; + } + + if(jsonValue.ValueExists("SupportedComputeEnvironments")) + { + Aws::Utils::Array supportedComputeEnvironmentsJsonList = jsonValue.GetArray("SupportedComputeEnvironments"); + for(unsigned supportedComputeEnvironmentsIndex = 0; supportedComputeEnvironmentsIndex < supportedComputeEnvironmentsJsonList.GetLength(); ++supportedComputeEnvironmentsIndex) + { + m_supportedComputeEnvironments.push_back(ComputeEnvironmentMapper::GetComputeEnvironmentForName(supportedComputeEnvironmentsJsonList[supportedComputeEnvironmentsIndex].AsString())); + } + m_supportedComputeEnvironmentsHasBeenSet = true; + } + + return *this; +} + +JsonValue Capabilities::Jsonize() const +{ + JsonValue payload; + + if(m_supportedAuthenticationTypesHasBeenSet) + { + Aws::Utils::Array supportedAuthenticationTypesJsonList(m_supportedAuthenticationTypes.size()); + for(unsigned supportedAuthenticationTypesIndex = 0; supportedAuthenticationTypesIndex < supportedAuthenticationTypesJsonList.GetLength(); ++supportedAuthenticationTypesIndex) + { + supportedAuthenticationTypesJsonList[supportedAuthenticationTypesIndex].AsString(AuthenticationTypeMapper::GetNameForAuthenticationType(m_supportedAuthenticationTypes[supportedAuthenticationTypesIndex])); + } + payload.WithArray("SupportedAuthenticationTypes", std::move(supportedAuthenticationTypesJsonList)); + + } + + if(m_supportedDataOperationsHasBeenSet) + { + Aws::Utils::Array supportedDataOperationsJsonList(m_supportedDataOperations.size()); + for(unsigned supportedDataOperationsIndex = 0; supportedDataOperationsIndex < supportedDataOperationsJsonList.GetLength(); ++supportedDataOperationsIndex) + { + supportedDataOperationsJsonList[supportedDataOperationsIndex].AsString(DataOperationMapper::GetNameForDataOperation(m_supportedDataOperations[supportedDataOperationsIndex])); + } + payload.WithArray("SupportedDataOperations", std::move(supportedDataOperationsJsonList)); + + } + + if(m_supportedComputeEnvironmentsHasBeenSet) + { + Aws::Utils::Array supportedComputeEnvironmentsJsonList(m_supportedComputeEnvironments.size()); + for(unsigned supportedComputeEnvironmentsIndex = 0; supportedComputeEnvironmentsIndex < supportedComputeEnvironmentsJsonList.GetLength(); ++supportedComputeEnvironmentsIndex) + { + supportedComputeEnvironmentsJsonList[supportedComputeEnvironmentsIndex].AsString(ComputeEnvironmentMapper::GetNameForComputeEnvironment(m_supportedComputeEnvironments[supportedComputeEnvironmentsIndex])); + } + payload.WithArray("SupportedComputeEnvironments", std::move(supportedComputeEnvironmentsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/Catalog.cpp b/generated/src/aws-cpp-sdk-glue/source/model/Catalog.cpp new file mode 100644 index 00000000000..3d37ecaf2d1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/Catalog.cpp @@ -0,0 +1,235 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +Catalog::Catalog() : + m_catalogIdHasBeenSet(false), + m_nameHasBeenSet(false), + m_resourceArnHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_parametersHasBeenSet(false), + m_createTimeHasBeenSet(false), + m_updateTimeHasBeenSet(false), + m_targetRedshiftCatalogHasBeenSet(false), + m_federatedCatalogHasBeenSet(false), + m_catalogPropertiesHasBeenSet(false), + m_createTableDefaultPermissionsHasBeenSet(false), + m_createDatabaseDefaultPermissionsHasBeenSet(false) +{ +} + +Catalog::Catalog(JsonView jsonValue) + : Catalog() +{ + *this = jsonValue; +} + +Catalog& Catalog::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("CatalogId")) + { + m_catalogId = jsonValue.GetString("CatalogId"); + + m_catalogIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("Name")) + { + m_name = jsonValue.GetString("Name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceArn")) + { + m_resourceArn = jsonValue.GetString("ResourceArn"); + + m_resourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); + + m_descriptionHasBeenSet = 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; + } + + if(jsonValue.ValueExists("CreateTime")) + { + m_createTime = jsonValue.GetDouble("CreateTime"); + + m_createTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("UpdateTime")) + { + m_updateTime = jsonValue.GetDouble("UpdateTime"); + + m_updateTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("TargetRedshiftCatalog")) + { + m_targetRedshiftCatalog = jsonValue.GetObject("TargetRedshiftCatalog"); + + m_targetRedshiftCatalogHasBeenSet = true; + } + + if(jsonValue.ValueExists("FederatedCatalog")) + { + m_federatedCatalog = jsonValue.GetObject("FederatedCatalog"); + + m_federatedCatalogHasBeenSet = true; + } + + if(jsonValue.ValueExists("CatalogProperties")) + { + m_catalogProperties = jsonValue.GetObject("CatalogProperties"); + + m_catalogPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreateTableDefaultPermissions")) + { + Aws::Utils::Array createTableDefaultPermissionsJsonList = jsonValue.GetArray("CreateTableDefaultPermissions"); + for(unsigned createTableDefaultPermissionsIndex = 0; createTableDefaultPermissionsIndex < createTableDefaultPermissionsJsonList.GetLength(); ++createTableDefaultPermissionsIndex) + { + m_createTableDefaultPermissions.push_back(createTableDefaultPermissionsJsonList[createTableDefaultPermissionsIndex].AsObject()); + } + m_createTableDefaultPermissionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreateDatabaseDefaultPermissions")) + { + Aws::Utils::Array createDatabaseDefaultPermissionsJsonList = jsonValue.GetArray("CreateDatabaseDefaultPermissions"); + for(unsigned createDatabaseDefaultPermissionsIndex = 0; createDatabaseDefaultPermissionsIndex < createDatabaseDefaultPermissionsJsonList.GetLength(); ++createDatabaseDefaultPermissionsIndex) + { + m_createDatabaseDefaultPermissions.push_back(createDatabaseDefaultPermissionsJsonList[createDatabaseDefaultPermissionsIndex].AsObject()); + } + m_createDatabaseDefaultPermissionsHasBeenSet = true; + } + + return *this; +} + +JsonValue Catalog::Jsonize() const +{ + JsonValue payload; + + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("Name", m_name); + + } + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("Description", m_description); + + } + + if(m_parametersHasBeenSet) + { + JsonValue parametersJsonMap; + for(auto& parametersItem : m_parameters) + { + parametersJsonMap.WithString(parametersItem.first, parametersItem.second); + } + payload.WithObject("Parameters", std::move(parametersJsonMap)); + + } + + if(m_createTimeHasBeenSet) + { + payload.WithDouble("CreateTime", m_createTime.SecondsWithMSPrecision()); + } + + if(m_updateTimeHasBeenSet) + { + payload.WithDouble("UpdateTime", m_updateTime.SecondsWithMSPrecision()); + } + + if(m_targetRedshiftCatalogHasBeenSet) + { + payload.WithObject("TargetRedshiftCatalog", m_targetRedshiftCatalog.Jsonize()); + + } + + if(m_federatedCatalogHasBeenSet) + { + payload.WithObject("FederatedCatalog", m_federatedCatalog.Jsonize()); + + } + + if(m_catalogPropertiesHasBeenSet) + { + payload.WithObject("CatalogProperties", m_catalogProperties.Jsonize()); + + } + + if(m_createTableDefaultPermissionsHasBeenSet) + { + Aws::Utils::Array createTableDefaultPermissionsJsonList(m_createTableDefaultPermissions.size()); + for(unsigned createTableDefaultPermissionsIndex = 0; createTableDefaultPermissionsIndex < createTableDefaultPermissionsJsonList.GetLength(); ++createTableDefaultPermissionsIndex) + { + createTableDefaultPermissionsJsonList[createTableDefaultPermissionsIndex].AsObject(m_createTableDefaultPermissions[createTableDefaultPermissionsIndex].Jsonize()); + } + payload.WithArray("CreateTableDefaultPermissions", std::move(createTableDefaultPermissionsJsonList)); + + } + + if(m_createDatabaseDefaultPermissionsHasBeenSet) + { + Aws::Utils::Array createDatabaseDefaultPermissionsJsonList(m_createDatabaseDefaultPermissions.size()); + for(unsigned createDatabaseDefaultPermissionsIndex = 0; createDatabaseDefaultPermissionsIndex < createDatabaseDefaultPermissionsJsonList.GetLength(); ++createDatabaseDefaultPermissionsIndex) + { + createDatabaseDefaultPermissionsJsonList[createDatabaseDefaultPermissionsIndex].AsObject(m_createDatabaseDefaultPermissions[createDatabaseDefaultPermissionsIndex].Jsonize()); + } + payload.WithArray("CreateDatabaseDefaultPermissions", std::move(createDatabaseDefaultPermissionsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CatalogInput.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CatalogInput.cpp new file mode 100644 index 00000000000..e8559a64116 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CatalogInput.cpp @@ -0,0 +1,167 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +CatalogInput::CatalogInput() : + m_descriptionHasBeenSet(false), + m_federatedCatalogHasBeenSet(false), + m_parametersHasBeenSet(false), + m_targetRedshiftCatalogHasBeenSet(false), + m_catalogPropertiesHasBeenSet(false), + m_createTableDefaultPermissionsHasBeenSet(false), + m_createDatabaseDefaultPermissionsHasBeenSet(false) +{ +} + +CatalogInput::CatalogInput(JsonView jsonValue) + : CatalogInput() +{ + *this = jsonValue; +} + +CatalogInput& CatalogInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("FederatedCatalog")) + { + m_federatedCatalog = jsonValue.GetObject("FederatedCatalog"); + + m_federatedCatalogHasBeenSet = 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; + } + + if(jsonValue.ValueExists("TargetRedshiftCatalog")) + { + m_targetRedshiftCatalog = jsonValue.GetObject("TargetRedshiftCatalog"); + + m_targetRedshiftCatalogHasBeenSet = true; + } + + if(jsonValue.ValueExists("CatalogProperties")) + { + m_catalogProperties = jsonValue.GetObject("CatalogProperties"); + + m_catalogPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreateTableDefaultPermissions")) + { + Aws::Utils::Array createTableDefaultPermissionsJsonList = jsonValue.GetArray("CreateTableDefaultPermissions"); + for(unsigned createTableDefaultPermissionsIndex = 0; createTableDefaultPermissionsIndex < createTableDefaultPermissionsJsonList.GetLength(); ++createTableDefaultPermissionsIndex) + { + m_createTableDefaultPermissions.push_back(createTableDefaultPermissionsJsonList[createTableDefaultPermissionsIndex].AsObject()); + } + m_createTableDefaultPermissionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreateDatabaseDefaultPermissions")) + { + Aws::Utils::Array createDatabaseDefaultPermissionsJsonList = jsonValue.GetArray("CreateDatabaseDefaultPermissions"); + for(unsigned createDatabaseDefaultPermissionsIndex = 0; createDatabaseDefaultPermissionsIndex < createDatabaseDefaultPermissionsJsonList.GetLength(); ++createDatabaseDefaultPermissionsIndex) + { + m_createDatabaseDefaultPermissions.push_back(createDatabaseDefaultPermissionsJsonList[createDatabaseDefaultPermissionsIndex].AsObject()); + } + m_createDatabaseDefaultPermissionsHasBeenSet = true; + } + + return *this; +} + +JsonValue CatalogInput::Jsonize() const +{ + JsonValue payload; + + if(m_descriptionHasBeenSet) + { + payload.WithString("Description", m_description); + + } + + if(m_federatedCatalogHasBeenSet) + { + payload.WithObject("FederatedCatalog", m_federatedCatalog.Jsonize()); + + } + + if(m_parametersHasBeenSet) + { + JsonValue parametersJsonMap; + for(auto& parametersItem : m_parameters) + { + parametersJsonMap.WithString(parametersItem.first, parametersItem.second); + } + payload.WithObject("Parameters", std::move(parametersJsonMap)); + + } + + if(m_targetRedshiftCatalogHasBeenSet) + { + payload.WithObject("TargetRedshiftCatalog", m_targetRedshiftCatalog.Jsonize()); + + } + + if(m_catalogPropertiesHasBeenSet) + { + payload.WithObject("CatalogProperties", m_catalogProperties.Jsonize()); + + } + + if(m_createTableDefaultPermissionsHasBeenSet) + { + Aws::Utils::Array createTableDefaultPermissionsJsonList(m_createTableDefaultPermissions.size()); + for(unsigned createTableDefaultPermissionsIndex = 0; createTableDefaultPermissionsIndex < createTableDefaultPermissionsJsonList.GetLength(); ++createTableDefaultPermissionsIndex) + { + createTableDefaultPermissionsJsonList[createTableDefaultPermissionsIndex].AsObject(m_createTableDefaultPermissions[createTableDefaultPermissionsIndex].Jsonize()); + } + payload.WithArray("CreateTableDefaultPermissions", std::move(createTableDefaultPermissionsJsonList)); + + } + + if(m_createDatabaseDefaultPermissionsHasBeenSet) + { + Aws::Utils::Array createDatabaseDefaultPermissionsJsonList(m_createDatabaseDefaultPermissions.size()); + for(unsigned createDatabaseDefaultPermissionsIndex = 0; createDatabaseDefaultPermissionsIndex < createDatabaseDefaultPermissionsJsonList.GetLength(); ++createDatabaseDefaultPermissionsIndex) + { + createDatabaseDefaultPermissionsJsonList[createDatabaseDefaultPermissionsIndex].AsObject(m_createDatabaseDefaultPermissions[createDatabaseDefaultPermissionsIndex].Jsonize()); + } + payload.WithArray("CreateDatabaseDefaultPermissions", std::move(createDatabaseDefaultPermissionsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CatalogProperties.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CatalogProperties.cpp new file mode 100644 index 00000000000..7e1aa9af8b9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CatalogProperties.cpp @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +CatalogProperties::CatalogProperties() : + m_dataLakeAccessPropertiesHasBeenSet(false), + m_customPropertiesHasBeenSet(false) +{ +} + +CatalogProperties::CatalogProperties(JsonView jsonValue) + : CatalogProperties() +{ + *this = jsonValue; +} + +CatalogProperties& CatalogProperties::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DataLakeAccessProperties")) + { + m_dataLakeAccessProperties = jsonValue.GetObject("DataLakeAccessProperties"); + + m_dataLakeAccessPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("CustomProperties")) + { + Aws::Map customPropertiesJsonMap = jsonValue.GetObject("CustomProperties").GetAllObjects(); + for(auto& customPropertiesItem : customPropertiesJsonMap) + { + m_customProperties[customPropertiesItem.first] = customPropertiesItem.second.AsString(); + } + m_customPropertiesHasBeenSet = true; + } + + return *this; +} + +JsonValue CatalogProperties::Jsonize() const +{ + JsonValue payload; + + if(m_dataLakeAccessPropertiesHasBeenSet) + { + payload.WithObject("DataLakeAccessProperties", m_dataLakeAccessProperties.Jsonize()); + + } + + if(m_customPropertiesHasBeenSet) + { + JsonValue customPropertiesJsonMap; + for(auto& customPropertiesItem : m_customProperties) + { + customPropertiesJsonMap.WithString(customPropertiesItem.first, customPropertiesItem.second); + } + payload.WithObject("CustomProperties", std::move(customPropertiesJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CatalogPropertiesOutput.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CatalogPropertiesOutput.cpp new file mode 100644 index 00000000000..c3bbf14dd01 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CatalogPropertiesOutput.cpp @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +CatalogPropertiesOutput::CatalogPropertiesOutput() : + m_dataLakeAccessPropertiesHasBeenSet(false), + m_customPropertiesHasBeenSet(false) +{ +} + +CatalogPropertiesOutput::CatalogPropertiesOutput(JsonView jsonValue) + : CatalogPropertiesOutput() +{ + *this = jsonValue; +} + +CatalogPropertiesOutput& CatalogPropertiesOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DataLakeAccessProperties")) + { + m_dataLakeAccessProperties = jsonValue.GetObject("DataLakeAccessProperties"); + + m_dataLakeAccessPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("CustomProperties")) + { + Aws::Map customPropertiesJsonMap = jsonValue.GetObject("CustomProperties").GetAllObjects(); + for(auto& customPropertiesItem : customPropertiesJsonMap) + { + m_customProperties[customPropertiesItem.first] = customPropertiesItem.second.AsString(); + } + m_customPropertiesHasBeenSet = true; + } + + return *this; +} + +JsonValue CatalogPropertiesOutput::Jsonize() const +{ + JsonValue payload; + + if(m_dataLakeAccessPropertiesHasBeenSet) + { + payload.WithObject("DataLakeAccessProperties", m_dataLakeAccessProperties.Jsonize()); + + } + + if(m_customPropertiesHasBeenSet) + { + JsonValue customPropertiesJsonMap; + for(auto& customPropertiesItem : m_customProperties) + { + customPropertiesJsonMap.WithString(customPropertiesItem.first, customPropertiesItem.second); + } + payload.WithObject("CustomProperties", std::move(customPropertiesJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ColumnStatisticsTaskSettings.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ColumnStatisticsTaskSettings.cpp index ee1bad45679..290a3645d16 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/ColumnStatisticsTaskSettings.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/ColumnStatisticsTaskSettings.cpp @@ -27,7 +27,12 @@ ColumnStatisticsTaskSettings::ColumnStatisticsTaskSettings() : m_roleHasBeenSet(false), m_sampleSize(0.0), m_sampleSizeHasBeenSet(false), - m_securityConfigurationHasBeenSet(false) + m_securityConfigurationHasBeenSet(false), + m_scheduleType(ScheduleType::NOT_SET), + m_scheduleTypeHasBeenSet(false), + m_settingSource(SettingSource::NOT_SET), + m_settingSourceHasBeenSet(false), + m_lastExecutionAttemptHasBeenSet(false) { } @@ -98,6 +103,27 @@ ColumnStatisticsTaskSettings& ColumnStatisticsTaskSettings::operator =(JsonView m_securityConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("ScheduleType")) + { + m_scheduleType = ScheduleTypeMapper::GetScheduleTypeForName(jsonValue.GetString("ScheduleType")); + + m_scheduleTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("SettingSource")) + { + m_settingSource = SettingSourceMapper::GetSettingSourceForName(jsonValue.GetString("SettingSource")); + + m_settingSourceHasBeenSet = true; + } + + if(jsonValue.ValueExists("LastExecutionAttempt")) + { + m_lastExecutionAttempt = jsonValue.GetObject("LastExecutionAttempt"); + + m_lastExecutionAttemptHasBeenSet = true; + } + return *this; } @@ -158,6 +184,22 @@ JsonValue ColumnStatisticsTaskSettings::Jsonize() const } + if(m_scheduleTypeHasBeenSet) + { + payload.WithString("ScheduleType", ScheduleTypeMapper::GetNameForScheduleType(m_scheduleType)); + } + + if(m_settingSourceHasBeenSet) + { + payload.WithString("SettingSource", SettingSourceMapper::GetNameForSettingSource(m_settingSource)); + } + + if(m_lastExecutionAttemptHasBeenSet) + { + payload.WithObject("LastExecutionAttempt", m_lastExecutionAttempt.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ComputeEnvironment.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ComputeEnvironment.cpp new file mode 100644 index 00000000000..a2a80e1dab3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ComputeEnvironment.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Glue + { + namespace Model + { + namespace ComputeEnvironmentMapper + { + + static const int SPARK_HASH = HashingUtils::HashString("SPARK"); + static const int ATHENA_HASH = HashingUtils::HashString("ATHENA"); + static const int PYTHON_HASH = HashingUtils::HashString("PYTHON"); + + + ComputeEnvironment GetComputeEnvironmentForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SPARK_HASH) + { + return ComputeEnvironment::SPARK; + } + else if (hashCode == ATHENA_HASH) + { + return ComputeEnvironment::ATHENA; + } + else if (hashCode == PYTHON_HASH) + { + return ComputeEnvironment::PYTHON; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ComputeEnvironment::NOT_SET; + } + + Aws::String GetNameForComputeEnvironment(ComputeEnvironment enumValue) + { + switch(enumValue) + { + case ComputeEnvironment::NOT_SET: + return {}; + case ComputeEnvironment::SPARK: + return "SPARK"; + case ComputeEnvironment::ATHENA: + return "ATHENA"; + case ComputeEnvironment::PYTHON: + return "PYTHON"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ComputeEnvironmentMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ComputeEnvironmentConfiguration.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ComputeEnvironmentConfiguration.cpp new file mode 100644 index 00000000000..379a30077cd --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ComputeEnvironmentConfiguration.cpp @@ -0,0 +1,212 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +ComputeEnvironmentConfiguration::ComputeEnvironmentConfiguration() : + m_nameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_computeEnvironment(ComputeEnvironment::NOT_SET), + m_computeEnvironmentHasBeenSet(false), + m_supportedAuthenticationTypesHasBeenSet(false), + m_connectionOptionsHasBeenSet(false), + m_connectionPropertyNameOverridesHasBeenSet(false), + m_connectionOptionNameOverridesHasBeenSet(false), + m_connectionPropertiesRequiredOverridesHasBeenSet(false), + m_physicalConnectionPropertiesRequired(false), + m_physicalConnectionPropertiesRequiredHasBeenSet(false) +{ +} + +ComputeEnvironmentConfiguration::ComputeEnvironmentConfiguration(JsonView jsonValue) + : ComputeEnvironmentConfiguration() +{ + *this = jsonValue; +} + +ComputeEnvironmentConfiguration& ComputeEnvironmentConfiguration::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("ComputeEnvironment")) + { + m_computeEnvironment = ComputeEnvironmentMapper::GetComputeEnvironmentForName(jsonValue.GetString("ComputeEnvironment")); + + m_computeEnvironmentHasBeenSet = true; + } + + if(jsonValue.ValueExists("SupportedAuthenticationTypes")) + { + Aws::Utils::Array supportedAuthenticationTypesJsonList = jsonValue.GetArray("SupportedAuthenticationTypes"); + for(unsigned supportedAuthenticationTypesIndex = 0; supportedAuthenticationTypesIndex < supportedAuthenticationTypesJsonList.GetLength(); ++supportedAuthenticationTypesIndex) + { + m_supportedAuthenticationTypes.push_back(AuthenticationTypeMapper::GetAuthenticationTypeForName(supportedAuthenticationTypesJsonList[supportedAuthenticationTypesIndex].AsString())); + } + m_supportedAuthenticationTypesHasBeenSet = true; + } + + if(jsonValue.ValueExists("ConnectionOptions")) + { + Aws::Map connectionOptionsJsonMap = jsonValue.GetObject("ConnectionOptions").GetAllObjects(); + for(auto& connectionOptionsItem : connectionOptionsJsonMap) + { + m_connectionOptions[connectionOptionsItem.first] = connectionOptionsItem.second.AsObject(); + } + m_connectionOptionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("ConnectionPropertyNameOverrides")) + { + Aws::Map connectionPropertyNameOverridesJsonMap = jsonValue.GetObject("ConnectionPropertyNameOverrides").GetAllObjects(); + for(auto& connectionPropertyNameOverridesItem : connectionPropertyNameOverridesJsonMap) + { + m_connectionPropertyNameOverrides[connectionPropertyNameOverridesItem.first] = connectionPropertyNameOverridesItem.second.AsString(); + } + m_connectionPropertyNameOverridesHasBeenSet = true; + } + + if(jsonValue.ValueExists("ConnectionOptionNameOverrides")) + { + Aws::Map connectionOptionNameOverridesJsonMap = jsonValue.GetObject("ConnectionOptionNameOverrides").GetAllObjects(); + for(auto& connectionOptionNameOverridesItem : connectionOptionNameOverridesJsonMap) + { + m_connectionOptionNameOverrides[connectionOptionNameOverridesItem.first] = connectionOptionNameOverridesItem.second.AsString(); + } + m_connectionOptionNameOverridesHasBeenSet = true; + } + + if(jsonValue.ValueExists("ConnectionPropertiesRequiredOverrides")) + { + Aws::Utils::Array connectionPropertiesRequiredOverridesJsonList = jsonValue.GetArray("ConnectionPropertiesRequiredOverrides"); + for(unsigned connectionPropertiesRequiredOverridesIndex = 0; connectionPropertiesRequiredOverridesIndex < connectionPropertiesRequiredOverridesJsonList.GetLength(); ++connectionPropertiesRequiredOverridesIndex) + { + m_connectionPropertiesRequiredOverrides.push_back(connectionPropertiesRequiredOverridesJsonList[connectionPropertiesRequiredOverridesIndex].AsString()); + } + m_connectionPropertiesRequiredOverridesHasBeenSet = true; + } + + if(jsonValue.ValueExists("PhysicalConnectionPropertiesRequired")) + { + m_physicalConnectionPropertiesRequired = jsonValue.GetBool("PhysicalConnectionPropertiesRequired"); + + m_physicalConnectionPropertiesRequiredHasBeenSet = true; + } + + return *this; +} + +JsonValue ComputeEnvironmentConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("Name", m_name); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("Description", m_description); + + } + + if(m_computeEnvironmentHasBeenSet) + { + payload.WithString("ComputeEnvironment", ComputeEnvironmentMapper::GetNameForComputeEnvironment(m_computeEnvironment)); + } + + if(m_supportedAuthenticationTypesHasBeenSet) + { + Aws::Utils::Array supportedAuthenticationTypesJsonList(m_supportedAuthenticationTypes.size()); + for(unsigned supportedAuthenticationTypesIndex = 0; supportedAuthenticationTypesIndex < supportedAuthenticationTypesJsonList.GetLength(); ++supportedAuthenticationTypesIndex) + { + supportedAuthenticationTypesJsonList[supportedAuthenticationTypesIndex].AsString(AuthenticationTypeMapper::GetNameForAuthenticationType(m_supportedAuthenticationTypes[supportedAuthenticationTypesIndex])); + } + payload.WithArray("SupportedAuthenticationTypes", std::move(supportedAuthenticationTypesJsonList)); + + } + + if(m_connectionOptionsHasBeenSet) + { + JsonValue connectionOptionsJsonMap; + for(auto& connectionOptionsItem : m_connectionOptions) + { + connectionOptionsJsonMap.WithObject(connectionOptionsItem.first, connectionOptionsItem.second.Jsonize()); + } + payload.WithObject("ConnectionOptions", std::move(connectionOptionsJsonMap)); + + } + + if(m_connectionPropertyNameOverridesHasBeenSet) + { + JsonValue connectionPropertyNameOverridesJsonMap; + for(auto& connectionPropertyNameOverridesItem : m_connectionPropertyNameOverrides) + { + connectionPropertyNameOverridesJsonMap.WithString(connectionPropertyNameOverridesItem.first, connectionPropertyNameOverridesItem.second); + } + payload.WithObject("ConnectionPropertyNameOverrides", std::move(connectionPropertyNameOverridesJsonMap)); + + } + + if(m_connectionOptionNameOverridesHasBeenSet) + { + JsonValue connectionOptionNameOverridesJsonMap; + for(auto& connectionOptionNameOverridesItem : m_connectionOptionNameOverrides) + { + connectionOptionNameOverridesJsonMap.WithString(connectionOptionNameOverridesItem.first, connectionOptionNameOverridesItem.second); + } + payload.WithObject("ConnectionOptionNameOverrides", std::move(connectionOptionNameOverridesJsonMap)); + + } + + if(m_connectionPropertiesRequiredOverridesHasBeenSet) + { + Aws::Utils::Array connectionPropertiesRequiredOverridesJsonList(m_connectionPropertiesRequiredOverrides.size()); + for(unsigned connectionPropertiesRequiredOverridesIndex = 0; connectionPropertiesRequiredOverridesIndex < connectionPropertiesRequiredOverridesJsonList.GetLength(); ++connectionPropertiesRequiredOverridesIndex) + { + connectionPropertiesRequiredOverridesJsonList[connectionPropertiesRequiredOverridesIndex].AsString(m_connectionPropertiesRequiredOverrides[connectionPropertiesRequiredOverridesIndex]); + } + payload.WithArray("ConnectionPropertiesRequiredOverrides", std::move(connectionPropertiesRequiredOverridesJsonList)); + + } + + if(m_physicalConnectionPropertiesRequiredHasBeenSet) + { + payload.WithBool("PhysicalConnectionPropertiesRequired", m_physicalConnectionPropertiesRequired); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/Connection.cpp b/generated/src/aws-cpp-sdk-glue/source/model/Connection.cpp index 1b4b579d5e2..94076f8a840 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/Connection.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/Connection.cpp @@ -25,7 +25,9 @@ Connection::Connection() : m_connectionTypeHasBeenSet(false), m_matchCriteriaHasBeenSet(false), m_connectionPropertiesHasBeenSet(false), + m_sparkPropertiesHasBeenSet(false), m_athenaPropertiesHasBeenSet(false), + m_pythonPropertiesHasBeenSet(false), m_physicalConnectionRequirementsHasBeenSet(false), m_creationTimeHasBeenSet(false), m_lastUpdatedTimeHasBeenSet(false), @@ -34,7 +36,10 @@ Connection::Connection() : m_statusHasBeenSet(false), m_statusReasonHasBeenSet(false), m_lastConnectionValidationTimeHasBeenSet(false), - m_authenticationConfigurationHasBeenSet(false) + m_authenticationConfigurationHasBeenSet(false), + m_connectionSchemaVersion(0), + m_connectionSchemaVersionHasBeenSet(false), + m_compatibleComputeEnvironmentsHasBeenSet(false) { } @@ -87,6 +92,16 @@ Connection& Connection::operator =(JsonView jsonValue) m_connectionPropertiesHasBeenSet = true; } + if(jsonValue.ValueExists("SparkProperties")) + { + Aws::Map sparkPropertiesJsonMap = jsonValue.GetObject("SparkProperties").GetAllObjects(); + for(auto& sparkPropertiesItem : sparkPropertiesJsonMap) + { + m_sparkProperties[sparkPropertiesItem.first] = sparkPropertiesItem.second.AsString(); + } + m_sparkPropertiesHasBeenSet = true; + } + if(jsonValue.ValueExists("AthenaProperties")) { Aws::Map athenaPropertiesJsonMap = jsonValue.GetObject("AthenaProperties").GetAllObjects(); @@ -97,6 +112,16 @@ Connection& Connection::operator =(JsonView jsonValue) m_athenaPropertiesHasBeenSet = true; } + if(jsonValue.ValueExists("PythonProperties")) + { + Aws::Map pythonPropertiesJsonMap = jsonValue.GetObject("PythonProperties").GetAllObjects(); + for(auto& pythonPropertiesItem : pythonPropertiesJsonMap) + { + m_pythonProperties[pythonPropertiesItem.first] = pythonPropertiesItem.second.AsString(); + } + m_pythonPropertiesHasBeenSet = true; + } + if(jsonValue.ValueExists("PhysicalConnectionRequirements")) { m_physicalConnectionRequirements = jsonValue.GetObject("PhysicalConnectionRequirements"); @@ -153,6 +178,23 @@ Connection& Connection::operator =(JsonView jsonValue) m_authenticationConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("ConnectionSchemaVersion")) + { + m_connectionSchemaVersion = jsonValue.GetInteger("ConnectionSchemaVersion"); + + m_connectionSchemaVersionHasBeenSet = true; + } + + if(jsonValue.ValueExists("CompatibleComputeEnvironments")) + { + Aws::Utils::Array compatibleComputeEnvironmentsJsonList = jsonValue.GetArray("CompatibleComputeEnvironments"); + for(unsigned compatibleComputeEnvironmentsIndex = 0; compatibleComputeEnvironmentsIndex < compatibleComputeEnvironmentsJsonList.GetLength(); ++compatibleComputeEnvironmentsIndex) + { + m_compatibleComputeEnvironments.push_back(ComputeEnvironmentMapper::GetComputeEnvironmentForName(compatibleComputeEnvironmentsJsonList[compatibleComputeEnvironmentsIndex].AsString())); + } + m_compatibleComputeEnvironmentsHasBeenSet = true; + } + return *this; } @@ -199,6 +241,17 @@ JsonValue Connection::Jsonize() const } + if(m_sparkPropertiesHasBeenSet) + { + JsonValue sparkPropertiesJsonMap; + for(auto& sparkPropertiesItem : m_sparkProperties) + { + sparkPropertiesJsonMap.WithString(sparkPropertiesItem.first, sparkPropertiesItem.second); + } + payload.WithObject("SparkProperties", std::move(sparkPropertiesJsonMap)); + + } + if(m_athenaPropertiesHasBeenSet) { JsonValue athenaPropertiesJsonMap; @@ -210,6 +263,17 @@ JsonValue Connection::Jsonize() const } + if(m_pythonPropertiesHasBeenSet) + { + JsonValue pythonPropertiesJsonMap; + for(auto& pythonPropertiesItem : m_pythonProperties) + { + pythonPropertiesJsonMap.WithString(pythonPropertiesItem.first, pythonPropertiesItem.second); + } + payload.WithObject("PythonProperties", std::move(pythonPropertiesJsonMap)); + + } + if(m_physicalConnectionRequirementsHasBeenSet) { payload.WithObject("PhysicalConnectionRequirements", m_physicalConnectionRequirements.Jsonize()); @@ -254,6 +318,23 @@ JsonValue Connection::Jsonize() const } + if(m_connectionSchemaVersionHasBeenSet) + { + payload.WithInteger("ConnectionSchemaVersion", m_connectionSchemaVersion); + + } + + if(m_compatibleComputeEnvironmentsHasBeenSet) + { + Aws::Utils::Array compatibleComputeEnvironmentsJsonList(m_compatibleComputeEnvironments.size()); + for(unsigned compatibleComputeEnvironmentsIndex = 0; compatibleComputeEnvironmentsIndex < compatibleComputeEnvironmentsJsonList.GetLength(); ++compatibleComputeEnvironmentsIndex) + { + compatibleComputeEnvironmentsJsonList[compatibleComputeEnvironmentsIndex].AsString(ComputeEnvironmentMapper::GetNameForComputeEnvironment(m_compatibleComputeEnvironments[compatibleComputeEnvironmentsIndex])); + } + payload.WithArray("CompatibleComputeEnvironments", std::move(compatibleComputeEnvironmentsJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ConnectionInput.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ConnectionInput.cpp index bc0e646c86b..e2e58e7dc48 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/ConnectionInput.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/ConnectionInput.cpp @@ -25,11 +25,14 @@ ConnectionInput::ConnectionInput() : m_connectionTypeHasBeenSet(false), m_matchCriteriaHasBeenSet(false), m_connectionPropertiesHasBeenSet(false), + m_sparkPropertiesHasBeenSet(false), m_athenaPropertiesHasBeenSet(false), + m_pythonPropertiesHasBeenSet(false), m_physicalConnectionRequirementsHasBeenSet(false), m_authenticationConfigurationHasBeenSet(false), m_validateCredentials(false), - m_validateCredentialsHasBeenSet(false) + m_validateCredentialsHasBeenSet(false), + m_validateForComputeEnvironmentsHasBeenSet(false) { } @@ -82,6 +85,16 @@ ConnectionInput& ConnectionInput::operator =(JsonView jsonValue) m_connectionPropertiesHasBeenSet = true; } + if(jsonValue.ValueExists("SparkProperties")) + { + Aws::Map sparkPropertiesJsonMap = jsonValue.GetObject("SparkProperties").GetAllObjects(); + for(auto& sparkPropertiesItem : sparkPropertiesJsonMap) + { + m_sparkProperties[sparkPropertiesItem.first] = sparkPropertiesItem.second.AsString(); + } + m_sparkPropertiesHasBeenSet = true; + } + if(jsonValue.ValueExists("AthenaProperties")) { Aws::Map athenaPropertiesJsonMap = jsonValue.GetObject("AthenaProperties").GetAllObjects(); @@ -92,6 +105,16 @@ ConnectionInput& ConnectionInput::operator =(JsonView jsonValue) m_athenaPropertiesHasBeenSet = true; } + if(jsonValue.ValueExists("PythonProperties")) + { + Aws::Map pythonPropertiesJsonMap = jsonValue.GetObject("PythonProperties").GetAllObjects(); + for(auto& pythonPropertiesItem : pythonPropertiesJsonMap) + { + m_pythonProperties[pythonPropertiesItem.first] = pythonPropertiesItem.second.AsString(); + } + m_pythonPropertiesHasBeenSet = true; + } + if(jsonValue.ValueExists("PhysicalConnectionRequirements")) { m_physicalConnectionRequirements = jsonValue.GetObject("PhysicalConnectionRequirements"); @@ -113,6 +136,16 @@ ConnectionInput& ConnectionInput::operator =(JsonView jsonValue) m_validateCredentialsHasBeenSet = true; } + if(jsonValue.ValueExists("ValidateForComputeEnvironments")) + { + Aws::Utils::Array validateForComputeEnvironmentsJsonList = jsonValue.GetArray("ValidateForComputeEnvironments"); + for(unsigned validateForComputeEnvironmentsIndex = 0; validateForComputeEnvironmentsIndex < validateForComputeEnvironmentsJsonList.GetLength(); ++validateForComputeEnvironmentsIndex) + { + m_validateForComputeEnvironments.push_back(ComputeEnvironmentMapper::GetComputeEnvironmentForName(validateForComputeEnvironmentsJsonList[validateForComputeEnvironmentsIndex].AsString())); + } + m_validateForComputeEnvironmentsHasBeenSet = true; + } + return *this; } @@ -159,6 +192,17 @@ JsonValue ConnectionInput::Jsonize() const } + if(m_sparkPropertiesHasBeenSet) + { + JsonValue sparkPropertiesJsonMap; + for(auto& sparkPropertiesItem : m_sparkProperties) + { + sparkPropertiesJsonMap.WithString(sparkPropertiesItem.first, sparkPropertiesItem.second); + } + payload.WithObject("SparkProperties", std::move(sparkPropertiesJsonMap)); + + } + if(m_athenaPropertiesHasBeenSet) { JsonValue athenaPropertiesJsonMap; @@ -170,6 +214,17 @@ JsonValue ConnectionInput::Jsonize() const } + if(m_pythonPropertiesHasBeenSet) + { + JsonValue pythonPropertiesJsonMap; + for(auto& pythonPropertiesItem : m_pythonProperties) + { + pythonPropertiesJsonMap.WithString(pythonPropertiesItem.first, pythonPropertiesItem.second); + } + payload.WithObject("PythonProperties", std::move(pythonPropertiesJsonMap)); + + } + if(m_physicalConnectionRequirementsHasBeenSet) { payload.WithObject("PhysicalConnectionRequirements", m_physicalConnectionRequirements.Jsonize()); @@ -188,6 +243,17 @@ JsonValue ConnectionInput::Jsonize() const } + if(m_validateForComputeEnvironmentsHasBeenSet) + { + Aws::Utils::Array validateForComputeEnvironmentsJsonList(m_validateForComputeEnvironments.size()); + for(unsigned validateForComputeEnvironmentsIndex = 0; validateForComputeEnvironmentsIndex < validateForComputeEnvironmentsJsonList.GetLength(); ++validateForComputeEnvironmentsIndex) + { + validateForComputeEnvironmentsJsonList[validateForComputeEnvironmentsIndex].AsString(ComputeEnvironmentMapper::GetNameForComputeEnvironment(m_validateForComputeEnvironments[validateForComputeEnvironmentsIndex])); + } + payload.WithArray("ValidateForComputeEnvironments", std::move(validateForComputeEnvironmentsJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ConnectionPropertyKey.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ConnectionPropertyKey.cpp index 4e672377a11..7ff53a8507e 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/ConnectionPropertyKey.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/ConnectionPropertyKey.cpp @@ -46,10 +46,6 @@ namespace Aws static const int KAFKA_CLIENT_KEY_PASSWORD_HASH = HashingUtils::HashString("KAFKA_CLIENT_KEY_PASSWORD"); static const int ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD_HASH = HashingUtils::HashString("ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD"); static const int ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD_HASH = HashingUtils::HashString("ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD"); - static const int SECRET_ID_HASH = HashingUtils::HashString("SECRET_ID"); - static const int CONNECTOR_URL_HASH = HashingUtils::HashString("CONNECTOR_URL"); - static const int CONNECTOR_TYPE_HASH = HashingUtils::HashString("CONNECTOR_TYPE"); - static const int CONNECTOR_CLASS_NAME_HASH = HashingUtils::HashString("CONNECTOR_CLASS_NAME"); static const int KAFKA_SASL_MECHANISM_HASH = HashingUtils::HashString("KAFKA_SASL_MECHANISM"); static const int KAFKA_SASL_PLAIN_USERNAME_HASH = HashingUtils::HashString("KAFKA_SASL_PLAIN_USERNAME"); static const int KAFKA_SASL_PLAIN_PASSWORD_HASH = HashingUtils::HashString("KAFKA_SASL_PLAIN_PASSWORD"); @@ -62,6 +58,12 @@ namespace Aws static const int KAFKA_SASL_GSSAPI_KRB5_CONF_HASH = HashingUtils::HashString("KAFKA_SASL_GSSAPI_KRB5_CONF"); static const int KAFKA_SASL_GSSAPI_SERVICE_HASH = HashingUtils::HashString("KAFKA_SASL_GSSAPI_SERVICE"); static const int KAFKA_SASL_GSSAPI_PRINCIPAL_HASH = HashingUtils::HashString("KAFKA_SASL_GSSAPI_PRINCIPAL"); + static const int SECRET_ID_HASH = HashingUtils::HashString("SECRET_ID"); + static const int CONNECTOR_URL_HASH = HashingUtils::HashString("CONNECTOR_URL"); + static const int CONNECTOR_TYPE_HASH = HashingUtils::HashString("CONNECTOR_TYPE"); + static const int CONNECTOR_CLASS_NAME_HASH = HashingUtils::HashString("CONNECTOR_CLASS_NAME"); + static const int ENDPOINT_HASH = HashingUtils::HashString("ENDPOINT"); + static const int ENDPOINT_TYPE_HASH = HashingUtils::HashString("ENDPOINT_TYPE"); static const int ROLE_ARN_HASH = HashingUtils::HashString("ROLE_ARN"); static const int REGION_HASH = HashingUtils::HashString("REGION"); static const int WORKGROUP_NAME_HASH = HashingUtils::HashString("WORKGROUP_NAME"); @@ -176,22 +178,6 @@ namespace Aws { return ConnectionPropertyKey::ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD; } - else if (hashCode == SECRET_ID_HASH) - { - return ConnectionPropertyKey::SECRET_ID; - } - else if (hashCode == CONNECTOR_URL_HASH) - { - return ConnectionPropertyKey::CONNECTOR_URL; - } - else if (hashCode == CONNECTOR_TYPE_HASH) - { - return ConnectionPropertyKey::CONNECTOR_TYPE; - } - else if (hashCode == CONNECTOR_CLASS_NAME_HASH) - { - return ConnectionPropertyKey::CONNECTOR_CLASS_NAME; - } else if (hashCode == KAFKA_SASL_MECHANISM_HASH) { return ConnectionPropertyKey::KAFKA_SASL_MECHANISM; @@ -240,6 +226,30 @@ namespace Aws { return ConnectionPropertyKey::KAFKA_SASL_GSSAPI_PRINCIPAL; } + else if (hashCode == SECRET_ID_HASH) + { + return ConnectionPropertyKey::SECRET_ID; + } + else if (hashCode == CONNECTOR_URL_HASH) + { + return ConnectionPropertyKey::CONNECTOR_URL; + } + else if (hashCode == CONNECTOR_TYPE_HASH) + { + return ConnectionPropertyKey::CONNECTOR_TYPE; + } + else if (hashCode == CONNECTOR_CLASS_NAME_HASH) + { + return ConnectionPropertyKey::CONNECTOR_CLASS_NAME; + } + else if (hashCode == ENDPOINT_HASH) + { + return ConnectionPropertyKey::ENDPOINT; + } + else if (hashCode == ENDPOINT_TYPE_HASH) + { + return ConnectionPropertyKey::ENDPOINT_TYPE; + } else if (hashCode == ROLE_ARN_HASH) { return ConnectionPropertyKey::ROLE_ARN; @@ -328,14 +338,6 @@ namespace Aws return "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD"; case ConnectionPropertyKey::ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD: return "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD"; - case ConnectionPropertyKey::SECRET_ID: - return "SECRET_ID"; - case ConnectionPropertyKey::CONNECTOR_URL: - return "CONNECTOR_URL"; - case ConnectionPropertyKey::CONNECTOR_TYPE: - return "CONNECTOR_TYPE"; - case ConnectionPropertyKey::CONNECTOR_CLASS_NAME: - return "CONNECTOR_CLASS_NAME"; case ConnectionPropertyKey::KAFKA_SASL_MECHANISM: return "KAFKA_SASL_MECHANISM"; case ConnectionPropertyKey::KAFKA_SASL_PLAIN_USERNAME: @@ -360,6 +362,18 @@ namespace Aws return "KAFKA_SASL_GSSAPI_SERVICE"; case ConnectionPropertyKey::KAFKA_SASL_GSSAPI_PRINCIPAL: return "KAFKA_SASL_GSSAPI_PRINCIPAL"; + case ConnectionPropertyKey::SECRET_ID: + return "SECRET_ID"; + case ConnectionPropertyKey::CONNECTOR_URL: + return "CONNECTOR_URL"; + case ConnectionPropertyKey::CONNECTOR_TYPE: + return "CONNECTOR_TYPE"; + case ConnectionPropertyKey::CONNECTOR_CLASS_NAME: + return "CONNECTOR_CLASS_NAME"; + case ConnectionPropertyKey::ENDPOINT: + return "ENDPOINT"; + case ConnectionPropertyKey::ENDPOINT_TYPE: + return "ENDPOINT_TYPE"; case ConnectionPropertyKey::ROLE_ARN: return "ROLE_ARN"; case ConnectionPropertyKey::REGION: diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ConnectionType.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ConnectionType.cpp index 3c4c20820ee..cf24edecf0e 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/ConnectionType.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/ConnectionType.cpp @@ -30,6 +30,25 @@ namespace Aws static const int SALESFORCE_HASH = HashingUtils::HashString("SALESFORCE"); static const int VIEW_VALIDATION_REDSHIFT_HASH = HashingUtils::HashString("VIEW_VALIDATION_REDSHIFT"); static const int VIEW_VALIDATION_ATHENA_HASH = HashingUtils::HashString("VIEW_VALIDATION_ATHENA"); + static const int GOOGLEADS_HASH = HashingUtils::HashString("GOOGLEADS"); + static const int GOOGLESHEETS_HASH = HashingUtils::HashString("GOOGLESHEETS"); + static const int GOOGLEANALYTICS4_HASH = HashingUtils::HashString("GOOGLEANALYTICS4"); + static const int SERVICENOW_HASH = HashingUtils::HashString("SERVICENOW"); + static const int MARKETO_HASH = HashingUtils::HashString("MARKETO"); + static const int SAPODATA_HASH = HashingUtils::HashString("SAPODATA"); + static const int ZENDESK_HASH = HashingUtils::HashString("ZENDESK"); + static const int JIRACLOUD_HASH = HashingUtils::HashString("JIRACLOUD"); + static const int NETSUITEERP_HASH = HashingUtils::HashString("NETSUITEERP"); + static const int HUBSPOT_HASH = HashingUtils::HashString("HUBSPOT"); + static const int FACEBOOKADS_HASH = HashingUtils::HashString("FACEBOOKADS"); + static const int INSTAGRAMADS_HASH = HashingUtils::HashString("INSTAGRAMADS"); + static const int ZOHOCRM_HASH = HashingUtils::HashString("ZOHOCRM"); + static const int SALESFORCEPARDOT_HASH = HashingUtils::HashString("SALESFORCEPARDOT"); + static const int SALESFORCEMARKETINGCLOUD_HASH = HashingUtils::HashString("SALESFORCEMARKETINGCLOUD"); + static const int SLACK_HASH = HashingUtils::HashString("SLACK"); + static const int STRIPE_HASH = HashingUtils::HashString("STRIPE"); + static const int INTERCOM_HASH = HashingUtils::HashString("INTERCOM"); + static const int SNAPCHATADS_HASH = HashingUtils::HashString("SNAPCHATADS"); ConnectionType GetConnectionTypeForName(const Aws::String& name) @@ -75,6 +94,82 @@ namespace Aws { return ConnectionType::VIEW_VALIDATION_ATHENA; } + else if (hashCode == GOOGLEADS_HASH) + { + return ConnectionType::GOOGLEADS; + } + else if (hashCode == GOOGLESHEETS_HASH) + { + return ConnectionType::GOOGLESHEETS; + } + else if (hashCode == GOOGLEANALYTICS4_HASH) + { + return ConnectionType::GOOGLEANALYTICS4; + } + else if (hashCode == SERVICENOW_HASH) + { + return ConnectionType::SERVICENOW; + } + else if (hashCode == MARKETO_HASH) + { + return ConnectionType::MARKETO; + } + else if (hashCode == SAPODATA_HASH) + { + return ConnectionType::SAPODATA; + } + else if (hashCode == ZENDESK_HASH) + { + return ConnectionType::ZENDESK; + } + else if (hashCode == JIRACLOUD_HASH) + { + return ConnectionType::JIRACLOUD; + } + else if (hashCode == NETSUITEERP_HASH) + { + return ConnectionType::NETSUITEERP; + } + else if (hashCode == HUBSPOT_HASH) + { + return ConnectionType::HUBSPOT; + } + else if (hashCode == FACEBOOKADS_HASH) + { + return ConnectionType::FACEBOOKADS; + } + else if (hashCode == INSTAGRAMADS_HASH) + { + return ConnectionType::INSTAGRAMADS; + } + else if (hashCode == ZOHOCRM_HASH) + { + return ConnectionType::ZOHOCRM; + } + else if (hashCode == SALESFORCEPARDOT_HASH) + { + return ConnectionType::SALESFORCEPARDOT; + } + else if (hashCode == SALESFORCEMARKETINGCLOUD_HASH) + { + return ConnectionType::SALESFORCEMARKETINGCLOUD; + } + else if (hashCode == SLACK_HASH) + { + return ConnectionType::SLACK; + } + else if (hashCode == STRIPE_HASH) + { + return ConnectionType::STRIPE; + } + else if (hashCode == INTERCOM_HASH) + { + return ConnectionType::INTERCOM; + } + else if (hashCode == SNAPCHATADS_HASH) + { + return ConnectionType::SNAPCHATADS; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -111,6 +206,44 @@ namespace Aws return "VIEW_VALIDATION_REDSHIFT"; case ConnectionType::VIEW_VALIDATION_ATHENA: return "VIEW_VALIDATION_ATHENA"; + case ConnectionType::GOOGLEADS: + return "GOOGLEADS"; + case ConnectionType::GOOGLESHEETS: + return "GOOGLESHEETS"; + case ConnectionType::GOOGLEANALYTICS4: + return "GOOGLEANALYTICS4"; + case ConnectionType::SERVICENOW: + return "SERVICENOW"; + case ConnectionType::MARKETO: + return "MARKETO"; + case ConnectionType::SAPODATA: + return "SAPODATA"; + case ConnectionType::ZENDESK: + return "ZENDESK"; + case ConnectionType::JIRACLOUD: + return "JIRACLOUD"; + case ConnectionType::NETSUITEERP: + return "NETSUITEERP"; + case ConnectionType::HUBSPOT: + return "HUBSPOT"; + case ConnectionType::FACEBOOKADS: + return "FACEBOOKADS"; + case ConnectionType::INSTAGRAMADS: + return "INSTAGRAMADS"; + case ConnectionType::ZOHOCRM: + return "ZOHOCRM"; + case ConnectionType::SALESFORCEPARDOT: + return "SALESFORCEPARDOT"; + case ConnectionType::SALESFORCEMARKETINGCLOUD: + return "SALESFORCEMARKETINGCLOUD"; + case ConnectionType::SLACK: + return "SLACK"; + case ConnectionType::STRIPE: + return "STRIPE"; + case ConnectionType::INTERCOM: + return "INTERCOM"; + case ConnectionType::SNAPCHATADS: + return "SNAPCHATADS"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ConnectionTypeBrief.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ConnectionTypeBrief.cpp new file mode 100644 index 00000000000..9479cab5a6a --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ConnectionTypeBrief.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +ConnectionTypeBrief::ConnectionTypeBrief() : + m_connectionType(ConnectionType::NOT_SET), + m_connectionTypeHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_capabilitiesHasBeenSet(false) +{ +} + +ConnectionTypeBrief::ConnectionTypeBrief(JsonView jsonValue) + : ConnectionTypeBrief() +{ + *this = jsonValue; +} + +ConnectionTypeBrief& ConnectionTypeBrief::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ConnectionType")) + { + m_connectionType = ConnectionTypeMapper::GetConnectionTypeForName(jsonValue.GetString("ConnectionType")); + + m_connectionTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Capabilities")) + { + m_capabilities = jsonValue.GetObject("Capabilities"); + + m_capabilitiesHasBeenSet = true; + } + + return *this; +} + +JsonValue ConnectionTypeBrief::Jsonize() const +{ + JsonValue payload; + + if(m_connectionTypeHasBeenSet) + { + payload.WithString("ConnectionType", ConnectionTypeMapper::GetNameForConnectionType(m_connectionType)); + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("Description", m_description); + + } + + if(m_capabilitiesHasBeenSet) + { + payload.WithObject("Capabilities", m_capabilities.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CreateCatalogRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CreateCatalogRequest.cpp new file mode 100644 index 00000000000..b55847e90a9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CreateCatalogRequest.cpp @@ -0,0 +1,62 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateCatalogRequest::CreateCatalogRequest() : + m_nameHasBeenSet(false), + m_catalogInputHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String CreateCatalogRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("Name", m_name); + + } + + if(m_catalogInputHasBeenSet) + { + payload.WithObject("CatalogInput", m_catalogInput.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(); +} + +Aws::Http::HeaderValueCollection CreateCatalogRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.CreateCatalog")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CreateCatalogResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CreateCatalogResult.cpp new file mode 100644 index 00000000000..e9d70f95cb8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CreateCatalogResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateCatalogResult::CreateCatalogResult() +{ +} + +CreateCatalogResult::CreateCatalogResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateCatalogResult& CreateCatalogResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationRequest.cpp new file mode 100644 index 00000000000..108a048be91 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationRequest.cpp @@ -0,0 +1,102 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateIntegrationRequest::CreateIntegrationRequest() : + m_integrationNameHasBeenSet(false), + m_sourceArnHasBeenSet(false), + m_targetArnHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_dataFilterHasBeenSet(false), + m_kmsKeyIdHasBeenSet(false), + m_additionalEncryptionContextHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String CreateIntegrationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_integrationNameHasBeenSet) + { + payload.WithString("IntegrationName", m_integrationName); + + } + + if(m_sourceArnHasBeenSet) + { + payload.WithString("SourceArn", m_sourceArn); + + } + + if(m_targetArnHasBeenSet) + { + payload.WithString("TargetArn", m_targetArn); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("Description", m_description); + + } + + if(m_dataFilterHasBeenSet) + { + payload.WithString("DataFilter", m_dataFilter); + + } + + if(m_kmsKeyIdHasBeenSet) + { + payload.WithString("KmsKeyId", m_kmsKeyId); + + } + + if(m_additionalEncryptionContextHasBeenSet) + { + JsonValue additionalEncryptionContextJsonMap; + for(auto& additionalEncryptionContextItem : m_additionalEncryptionContext) + { + additionalEncryptionContextJsonMap.WithString(additionalEncryptionContextItem.first, additionalEncryptionContextItem.second); + } + payload.WithObject("AdditionalEncryptionContext", std::move(additionalEncryptionContextJsonMap)); + + } + + 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 CreateIntegrationRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.CreateIntegration")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationResourcePropertyRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationResourcePropertyRequest.cpp new file mode 100644 index 00000000000..6867f196145 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationResourcePropertyRequest.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateIntegrationResourcePropertyRequest::CreateIntegrationResourcePropertyRequest() : + m_resourceArnHasBeenSet(false), + m_sourceProcessingPropertiesHasBeenSet(false), + m_targetProcessingPropertiesHasBeenSet(false) +{ +} + +Aws::String CreateIntegrationResourcePropertyRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + if(m_sourceProcessingPropertiesHasBeenSet) + { + payload.WithObject("SourceProcessingProperties", m_sourceProcessingProperties.Jsonize()); + + } + + if(m_targetProcessingPropertiesHasBeenSet) + { + payload.WithObject("TargetProcessingProperties", m_targetProcessingProperties.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateIntegrationResourcePropertyRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.CreateIntegrationResourceProperty")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationResourcePropertyResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationResourcePropertyResult.cpp new file mode 100644 index 00000000000..e9f4c3748e4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationResourcePropertyResult.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateIntegrationResourcePropertyResult::CreateIntegrationResourcePropertyResult() +{ +} + +CreateIntegrationResourcePropertyResult::CreateIntegrationResourcePropertyResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateIntegrationResourcePropertyResult& CreateIntegrationResourcePropertyResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ResourceArn")) + { + m_resourceArn = jsonValue.GetString("ResourceArn"); + + } + + if(jsonValue.ValueExists("SourceProcessingProperties")) + { + m_sourceProcessingProperties = jsonValue.GetObject("SourceProcessingProperties"); + + } + + if(jsonValue.ValueExists("TargetProcessingProperties")) + { + m_targetProcessingProperties = jsonValue.GetObject("TargetProcessingProperties"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationResult.cpp new file mode 100644 index 00000000000..89414b9e705 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationResult.cpp @@ -0,0 +1,125 @@ +/** + * 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::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateIntegrationResult::CreateIntegrationResult() : + m_status(IntegrationStatus::NOT_SET) +{ +} + +CreateIntegrationResult::CreateIntegrationResult(const Aws::AmazonWebServiceResult& result) + : CreateIntegrationResult() +{ + *this = result; +} + +CreateIntegrationResult& CreateIntegrationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("SourceArn")) + { + m_sourceArn = jsonValue.GetString("SourceArn"); + + } + + if(jsonValue.ValueExists("TargetArn")) + { + m_targetArn = jsonValue.GetString("TargetArn"); + + } + + if(jsonValue.ValueExists("IntegrationName")) + { + m_integrationName = jsonValue.GetString("IntegrationName"); + + } + + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); + + } + + if(jsonValue.ValueExists("IntegrationArn")) + { + m_integrationArn = jsonValue.GetString("IntegrationArn"); + + } + + if(jsonValue.ValueExists("KmsKeyId")) + { + m_kmsKeyId = jsonValue.GetString("KmsKeyId"); + + } + + if(jsonValue.ValueExists("AdditionalEncryptionContext")) + { + Aws::Map additionalEncryptionContextJsonMap = jsonValue.GetObject("AdditionalEncryptionContext").GetAllObjects(); + for(auto& additionalEncryptionContextItem : additionalEncryptionContextJsonMap) + { + m_additionalEncryptionContext[additionalEncryptionContextItem.first] = additionalEncryptionContextItem.second.AsString(); + } + } + + 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()); + } + } + + if(jsonValue.ValueExists("Status")) + { + m_status = IntegrationStatusMapper::GetIntegrationStatusForName(jsonValue.GetString("Status")); + + } + + if(jsonValue.ValueExists("CreateTime")) + { + m_createTime = jsonValue.GetDouble("CreateTime"); + + } + + if(jsonValue.ValueExists("Errors")) + { + Aws::Utils::Array errorsJsonList = jsonValue.GetArray("Errors"); + for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) + { + m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("DataFilter")) + { + m_dataFilter = jsonValue.GetString("DataFilter"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationTablePropertiesRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationTablePropertiesRequest.cpp new file mode 100644 index 00000000000..de77f38e009 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationTablePropertiesRequest.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateIntegrationTablePropertiesRequest::CreateIntegrationTablePropertiesRequest() : + m_resourceArnHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_sourceTableConfigHasBeenSet(false), + m_targetTableConfigHasBeenSet(false) +{ +} + +Aws::String CreateIntegrationTablePropertiesRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + if(m_tableNameHasBeenSet) + { + payload.WithString("TableName", m_tableName); + + } + + if(m_sourceTableConfigHasBeenSet) + { + payload.WithObject("SourceTableConfig", m_sourceTableConfig.Jsonize()); + + } + + if(m_targetTableConfigHasBeenSet) + { + payload.WithObject("TargetTableConfig", m_targetTableConfig.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateIntegrationTablePropertiesRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.CreateIntegrationTableProperties")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationTablePropertiesResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationTablePropertiesResult.cpp new file mode 100644 index 00000000000..6b0f937fb59 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/CreateIntegrationTablePropertiesResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateIntegrationTablePropertiesResult::CreateIntegrationTablePropertiesResult() +{ +} + +CreateIntegrationTablePropertiesResult::CreateIntegrationTablePropertiesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateIntegrationTablePropertiesResult& CreateIntegrationTablePropertiesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DataLakeAccessProperties.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DataLakeAccessProperties.cpp new file mode 100644 index 00000000000..9a4e3633796 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DataLakeAccessProperties.cpp @@ -0,0 +1,102 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +DataLakeAccessProperties::DataLakeAccessProperties() : + m_dataLakeAccess(false), + m_dataLakeAccessHasBeenSet(false), + m_dataTransferRoleHasBeenSet(false), + m_kmsKeyHasBeenSet(false), + m_catalogTypeHasBeenSet(false) +{ +} + +DataLakeAccessProperties::DataLakeAccessProperties(JsonView jsonValue) + : DataLakeAccessProperties() +{ + *this = jsonValue; +} + +DataLakeAccessProperties& DataLakeAccessProperties::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DataLakeAccess")) + { + m_dataLakeAccess = jsonValue.GetBool("DataLakeAccess"); + + m_dataLakeAccessHasBeenSet = true; + } + + if(jsonValue.ValueExists("DataTransferRole")) + { + m_dataTransferRole = jsonValue.GetString("DataTransferRole"); + + m_dataTransferRoleHasBeenSet = true; + } + + if(jsonValue.ValueExists("KmsKey")) + { + m_kmsKey = jsonValue.GetString("KmsKey"); + + m_kmsKeyHasBeenSet = true; + } + + if(jsonValue.ValueExists("CatalogType")) + { + m_catalogType = jsonValue.GetString("CatalogType"); + + m_catalogTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue DataLakeAccessProperties::Jsonize() const +{ + JsonValue payload; + + if(m_dataLakeAccessHasBeenSet) + { + payload.WithBool("DataLakeAccess", m_dataLakeAccess); + + } + + if(m_dataTransferRoleHasBeenSet) + { + payload.WithString("DataTransferRole", m_dataTransferRole); + + } + + if(m_kmsKeyHasBeenSet) + { + payload.WithString("KmsKey", m_kmsKey); + + } + + if(m_catalogTypeHasBeenSet) + { + payload.WithString("CatalogType", m_catalogType); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DataLakeAccessPropertiesOutput.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DataLakeAccessPropertiesOutput.cpp new file mode 100644 index 00000000000..ddfd46dad2e --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DataLakeAccessPropertiesOutput.cpp @@ -0,0 +1,158 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +DataLakeAccessPropertiesOutput::DataLakeAccessPropertiesOutput() : + m_dataLakeAccess(false), + m_dataLakeAccessHasBeenSet(false), + m_dataTransferRoleHasBeenSet(false), + m_kmsKeyHasBeenSet(false), + m_managedWorkgroupNameHasBeenSet(false), + m_managedWorkgroupStatusHasBeenSet(false), + m_redshiftDatabaseNameHasBeenSet(false), + m_statusMessageHasBeenSet(false), + m_catalogTypeHasBeenSet(false) +{ +} + +DataLakeAccessPropertiesOutput::DataLakeAccessPropertiesOutput(JsonView jsonValue) + : DataLakeAccessPropertiesOutput() +{ + *this = jsonValue; +} + +DataLakeAccessPropertiesOutput& DataLakeAccessPropertiesOutput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DataLakeAccess")) + { + m_dataLakeAccess = jsonValue.GetBool("DataLakeAccess"); + + m_dataLakeAccessHasBeenSet = true; + } + + if(jsonValue.ValueExists("DataTransferRole")) + { + m_dataTransferRole = jsonValue.GetString("DataTransferRole"); + + m_dataTransferRoleHasBeenSet = true; + } + + if(jsonValue.ValueExists("KmsKey")) + { + m_kmsKey = jsonValue.GetString("KmsKey"); + + m_kmsKeyHasBeenSet = true; + } + + if(jsonValue.ValueExists("ManagedWorkgroupName")) + { + m_managedWorkgroupName = jsonValue.GetString("ManagedWorkgroupName"); + + m_managedWorkgroupNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("ManagedWorkgroupStatus")) + { + m_managedWorkgroupStatus = jsonValue.GetString("ManagedWorkgroupStatus"); + + m_managedWorkgroupStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("RedshiftDatabaseName")) + { + m_redshiftDatabaseName = jsonValue.GetString("RedshiftDatabaseName"); + + m_redshiftDatabaseNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("StatusMessage")) + { + m_statusMessage = jsonValue.GetString("StatusMessage"); + + m_statusMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("CatalogType")) + { + m_catalogType = jsonValue.GetString("CatalogType"); + + m_catalogTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue DataLakeAccessPropertiesOutput::Jsonize() const +{ + JsonValue payload; + + if(m_dataLakeAccessHasBeenSet) + { + payload.WithBool("DataLakeAccess", m_dataLakeAccess); + + } + + if(m_dataTransferRoleHasBeenSet) + { + payload.WithString("DataTransferRole", m_dataTransferRole); + + } + + if(m_kmsKeyHasBeenSet) + { + payload.WithString("KmsKey", m_kmsKey); + + } + + if(m_managedWorkgroupNameHasBeenSet) + { + payload.WithString("ManagedWorkgroupName", m_managedWorkgroupName); + + } + + if(m_managedWorkgroupStatusHasBeenSet) + { + payload.WithString("ManagedWorkgroupStatus", m_managedWorkgroupStatus); + + } + + if(m_redshiftDatabaseNameHasBeenSet) + { + payload.WithString("RedshiftDatabaseName", m_redshiftDatabaseName); + + } + + if(m_statusMessageHasBeenSet) + { + payload.WithString("StatusMessage", m_statusMessage); + + } + + if(m_catalogTypeHasBeenSet) + { + payload.WithString("CatalogType", m_catalogType); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DataOperation.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DataOperation.cpp new file mode 100644 index 00000000000..d2edb704012 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DataOperation.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Glue + { + namespace Model + { + namespace DataOperationMapper + { + + static const int READ_HASH = HashingUtils::HashString("READ"); + static const int WRITE_HASH = HashingUtils::HashString("WRITE"); + + + DataOperation GetDataOperationForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == READ_HASH) + { + return DataOperation::READ; + } + else if (hashCode == WRITE_HASH) + { + return DataOperation::WRITE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return DataOperation::NOT_SET; + } + + Aws::String GetNameForDataOperation(DataOperation enumValue) + { + switch(enumValue) + { + case DataOperation::NOT_SET: + return {}; + case DataOperation::READ: + return "READ"; + case DataOperation::WRITE: + return "WRITE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace DataOperationMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DeleteCatalogRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DeleteCatalogRequest.cpp new file mode 100644 index 00000000000..058143b6feb --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DeleteCatalogRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteCatalogRequest::DeleteCatalogRequest() : + m_catalogIdHasBeenSet(false) +{ +} + +Aws::String DeleteCatalogRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection DeleteCatalogRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.DeleteCatalog")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DeleteCatalogResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DeleteCatalogResult.cpp new file mode 100644 index 00000000000..66526e9770e --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DeleteCatalogResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteCatalogResult::DeleteCatalogResult() +{ +} + +DeleteCatalogResult::DeleteCatalogResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteCatalogResult& DeleteCatalogResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationRequest.cpp new file mode 100644 index 00000000000..2ef78060fb0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteIntegrationRequest::DeleteIntegrationRequest() : + m_integrationIdentifierHasBeenSet(false) +{ +} + +Aws::String DeleteIntegrationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_integrationIdentifierHasBeenSet) + { + payload.WithString("IntegrationIdentifier", m_integrationIdentifier); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection DeleteIntegrationRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.DeleteIntegration")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationResult.cpp new file mode 100644 index 00000000000..a15b9694c1a --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationResult.cpp @@ -0,0 +1,125 @@ +/** + * 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::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteIntegrationResult::DeleteIntegrationResult() : + m_status(IntegrationStatus::NOT_SET) +{ +} + +DeleteIntegrationResult::DeleteIntegrationResult(const Aws::AmazonWebServiceResult& result) + : DeleteIntegrationResult() +{ + *this = result; +} + +DeleteIntegrationResult& DeleteIntegrationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("SourceArn")) + { + m_sourceArn = jsonValue.GetString("SourceArn"); + + } + + if(jsonValue.ValueExists("TargetArn")) + { + m_targetArn = jsonValue.GetString("TargetArn"); + + } + + if(jsonValue.ValueExists("IntegrationName")) + { + m_integrationName = jsonValue.GetString("IntegrationName"); + + } + + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); + + } + + if(jsonValue.ValueExists("IntegrationArn")) + { + m_integrationArn = jsonValue.GetString("IntegrationArn"); + + } + + if(jsonValue.ValueExists("KmsKeyId")) + { + m_kmsKeyId = jsonValue.GetString("KmsKeyId"); + + } + + if(jsonValue.ValueExists("AdditionalEncryptionContext")) + { + Aws::Map additionalEncryptionContextJsonMap = jsonValue.GetObject("AdditionalEncryptionContext").GetAllObjects(); + for(auto& additionalEncryptionContextItem : additionalEncryptionContextJsonMap) + { + m_additionalEncryptionContext[additionalEncryptionContextItem.first] = additionalEncryptionContextItem.second.AsString(); + } + } + + 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()); + } + } + + if(jsonValue.ValueExists("Status")) + { + m_status = IntegrationStatusMapper::GetIntegrationStatusForName(jsonValue.GetString("Status")); + + } + + if(jsonValue.ValueExists("CreateTime")) + { + m_createTime = jsonValue.GetDouble("CreateTime"); + + } + + if(jsonValue.ValueExists("Errors")) + { + Aws::Utils::Array errorsJsonList = jsonValue.GetArray("Errors"); + for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) + { + m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("DataFilter")) + { + m_dataFilter = jsonValue.GetString("DataFilter"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationTablePropertiesRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationTablePropertiesRequest.cpp new file mode 100644 index 00000000000..4089533b779 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationTablePropertiesRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteIntegrationTablePropertiesRequest::DeleteIntegrationTablePropertiesRequest() : + m_resourceArnHasBeenSet(false), + m_tableNameHasBeenSet(false) +{ +} + +Aws::String DeleteIntegrationTablePropertiesRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + if(m_tableNameHasBeenSet) + { + payload.WithString("TableName", m_tableName); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection DeleteIntegrationTablePropertiesRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.DeleteIntegrationTableProperties")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationTablePropertiesResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationTablePropertiesResult.cpp new file mode 100644 index 00000000000..d342f519666 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DeleteIntegrationTablePropertiesResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteIntegrationTablePropertiesResult::DeleteIntegrationTablePropertiesResult() +{ +} + +DeleteIntegrationTablePropertiesResult::DeleteIntegrationTablePropertiesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteIntegrationTablePropertiesResult& DeleteIntegrationTablePropertiesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DescribeConnectionTypeRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DescribeConnectionTypeRequest.cpp new file mode 100644 index 00000000000..b476c86ddec --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DescribeConnectionTypeRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DescribeConnectionTypeRequest::DescribeConnectionTypeRequest() : + m_connectionTypeHasBeenSet(false) +{ +} + +Aws::String DescribeConnectionTypeRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_connectionTypeHasBeenSet) + { + payload.WithString("ConnectionType", m_connectionType); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection DescribeConnectionTypeRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.DescribeConnectionType")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DescribeConnectionTypeResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DescribeConnectionTypeResult.cpp new file mode 100644 index 00000000000..32c164aea8d --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DescribeConnectionTypeResult.cpp @@ -0,0 +1,129 @@ +/** + * 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::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DescribeConnectionTypeResult::DescribeConnectionTypeResult() +{ +} + +DescribeConnectionTypeResult::DescribeConnectionTypeResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DescribeConnectionTypeResult& DescribeConnectionTypeResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ConnectionType")) + { + m_connectionType = jsonValue.GetString("ConnectionType"); + + } + + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); + + } + + if(jsonValue.ValueExists("Capabilities")) + { + m_capabilities = jsonValue.GetObject("Capabilities"); + + } + + if(jsonValue.ValueExists("ConnectionProperties")) + { + Aws::Map connectionPropertiesJsonMap = jsonValue.GetObject("ConnectionProperties").GetAllObjects(); + for(auto& connectionPropertiesItem : connectionPropertiesJsonMap) + { + m_connectionProperties[connectionPropertiesItem.first] = connectionPropertiesItem.second.AsObject(); + } + } + + if(jsonValue.ValueExists("ConnectionOptions")) + { + Aws::Map connectionOptionsJsonMap = jsonValue.GetObject("ConnectionOptions").GetAllObjects(); + for(auto& connectionOptionsItem : connectionOptionsJsonMap) + { + m_connectionOptions[connectionOptionsItem.first] = connectionOptionsItem.second.AsObject(); + } + } + + if(jsonValue.ValueExists("AuthenticationConfiguration")) + { + m_authenticationConfiguration = jsonValue.GetObject("AuthenticationConfiguration"); + + } + + if(jsonValue.ValueExists("ComputeEnvironmentConfigurations")) + { + Aws::Map computeEnvironmentConfigurationsJsonMap = jsonValue.GetObject("ComputeEnvironmentConfigurations").GetAllObjects(); + for(auto& computeEnvironmentConfigurationsItem : computeEnvironmentConfigurationsJsonMap) + { + m_computeEnvironmentConfigurations[computeEnvironmentConfigurationsItem.first] = computeEnvironmentConfigurationsItem.second.AsObject(); + } + } + + if(jsonValue.ValueExists("PhysicalConnectionRequirements")) + { + Aws::Map physicalConnectionRequirementsJsonMap = jsonValue.GetObject("PhysicalConnectionRequirements").GetAllObjects(); + for(auto& physicalConnectionRequirementsItem : physicalConnectionRequirementsJsonMap) + { + m_physicalConnectionRequirements[physicalConnectionRequirementsItem.first] = physicalConnectionRequirementsItem.second.AsObject(); + } + } + + if(jsonValue.ValueExists("AthenaConnectionProperties")) + { + Aws::Map athenaConnectionPropertiesJsonMap = jsonValue.GetObject("AthenaConnectionProperties").GetAllObjects(); + for(auto& athenaConnectionPropertiesItem : athenaConnectionPropertiesJsonMap) + { + m_athenaConnectionProperties[athenaConnectionPropertiesItem.first] = athenaConnectionPropertiesItem.second.AsObject(); + } + } + + if(jsonValue.ValueExists("PythonConnectionProperties")) + { + Aws::Map pythonConnectionPropertiesJsonMap = jsonValue.GetObject("PythonConnectionProperties").GetAllObjects(); + for(auto& pythonConnectionPropertiesItem : pythonConnectionPropertiesJsonMap) + { + m_pythonConnectionProperties[pythonConnectionPropertiesItem.first] = pythonConnectionPropertiesItem.second.AsObject(); + } + } + + if(jsonValue.ValueExists("SparkConnectionProperties")) + { + Aws::Map sparkConnectionPropertiesJsonMap = jsonValue.GetObject("SparkConnectionProperties").GetAllObjects(); + for(auto& sparkConnectionPropertiesItem : sparkConnectionPropertiesJsonMap) + { + m_sparkConnectionProperties[sparkConnectionPropertiesItem.first] = sparkConnectionPropertiesItem.second.AsObject(); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DescribeEntityRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DescribeEntityRequest.cpp new file mode 100644 index 00000000000..2afbbab34d9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DescribeEntityRequest.cpp @@ -0,0 +1,71 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DescribeEntityRequest::DescribeEntityRequest() : + m_connectionNameHasBeenSet(false), + m_catalogIdHasBeenSet(false), + m_entityNameHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_dataStoreApiVersionHasBeenSet(false) +{ +} + +Aws::String DescribeEntityRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_connectionNameHasBeenSet) + { + payload.WithString("ConnectionName", m_connectionName); + + } + + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + + if(m_entityNameHasBeenSet) + { + payload.WithString("EntityName", m_entityName); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_dataStoreApiVersionHasBeenSet) + { + payload.WithString("DataStoreApiVersion", m_dataStoreApiVersion); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection DescribeEntityRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.DescribeEntity")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DescribeEntityResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DescribeEntityResult.cpp new file mode 100644 index 00000000000..2fda5841beb --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DescribeEntityResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DescribeEntityResult::DescribeEntityResult() +{ +} + +DescribeEntityResult::DescribeEntityResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DescribeEntityResult& DescribeEntityResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + 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()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DescribeInboundIntegrationsRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DescribeInboundIntegrationsRequest.cpp new file mode 100644 index 00000000000..bcc8babb7d1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DescribeInboundIntegrationsRequest.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DescribeInboundIntegrationsRequest::DescribeInboundIntegrationsRequest() : + m_integrationArnHasBeenSet(false), + m_markerHasBeenSet(false), + m_maxRecords(0), + m_maxRecordsHasBeenSet(false), + m_targetArnHasBeenSet(false) +{ +} + +Aws::String DescribeInboundIntegrationsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_integrationArnHasBeenSet) + { + payload.WithString("IntegrationArn", m_integrationArn); + + } + + if(m_markerHasBeenSet) + { + payload.WithString("Marker", m_marker); + + } + + if(m_maxRecordsHasBeenSet) + { + payload.WithInteger("MaxRecords", m_maxRecords); + + } + + if(m_targetArnHasBeenSet) + { + payload.WithString("TargetArn", m_targetArn); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection DescribeInboundIntegrationsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.DescribeInboundIntegrations")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DescribeInboundIntegrationsResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DescribeInboundIntegrationsResult.cpp new file mode 100644 index 00000000000..f758a5886f2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DescribeInboundIntegrationsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DescribeInboundIntegrationsResult::DescribeInboundIntegrationsResult() +{ +} + +DescribeInboundIntegrationsResult::DescribeInboundIntegrationsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DescribeInboundIntegrationsResult& DescribeInboundIntegrationsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("InboundIntegrations")) + { + Aws::Utils::Array inboundIntegrationsJsonList = jsonValue.GetArray("InboundIntegrations"); + for(unsigned inboundIntegrationsIndex = 0; inboundIntegrationsIndex < inboundIntegrationsJsonList.GetLength(); ++inboundIntegrationsIndex) + { + m_inboundIntegrations.push_back(inboundIntegrationsJsonList[inboundIntegrationsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("Marker")) + { + m_marker = jsonValue.GetString("Marker"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DescribeIntegrationsRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DescribeIntegrationsRequest.cpp new file mode 100644 index 00000000000..934dc95f499 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DescribeIntegrationsRequest.cpp @@ -0,0 +1,70 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DescribeIntegrationsRequest::DescribeIntegrationsRequest() : + m_integrationIdentifierHasBeenSet(false), + m_markerHasBeenSet(false), + m_maxRecords(0), + m_maxRecordsHasBeenSet(false), + m_filtersHasBeenSet(false) +{ +} + +Aws::String DescribeIntegrationsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_integrationIdentifierHasBeenSet) + { + payload.WithString("IntegrationIdentifier", m_integrationIdentifier); + + } + + if(m_markerHasBeenSet) + { + payload.WithString("Marker", m_marker); + + } + + if(m_maxRecordsHasBeenSet) + { + payload.WithInteger("MaxRecords", m_maxRecords); + + } + + 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(); +} + +Aws::Http::HeaderValueCollection DescribeIntegrationsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.DescribeIntegrations")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/DescribeIntegrationsResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/DescribeIntegrationsResult.cpp new file mode 100644 index 00000000000..da30b7db8f2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/DescribeIntegrationsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DescribeIntegrationsResult::DescribeIntegrationsResult() +{ +} + +DescribeIntegrationsResult::DescribeIntegrationsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DescribeIntegrationsResult& DescribeIntegrationsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Integrations")) + { + Aws::Utils::Array integrationsJsonList = jsonValue.GetArray("Integrations"); + for(unsigned integrationsIndex = 0; integrationsIndex < integrationsJsonList.GetLength(); ++integrationsIndex) + { + m_integrations.push_back(integrationsJsonList[integrationsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("Marker")) + { + m_marker = jsonValue.GetString("Marker"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/Entity.cpp b/generated/src/aws-cpp-sdk-glue/source/model/Entity.cpp new file mode 100644 index 00000000000..c249dc6da54 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/Entity.cpp @@ -0,0 +1,138 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +Entity::Entity() : + m_entityNameHasBeenSet(false), + m_labelHasBeenSet(false), + m_isParentEntity(false), + m_isParentEntityHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_categoryHasBeenSet(false), + m_customPropertiesHasBeenSet(false) +{ +} + +Entity::Entity(JsonView jsonValue) + : Entity() +{ + *this = jsonValue; +} + +Entity& Entity::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("EntityName")) + { + m_entityName = jsonValue.GetString("EntityName"); + + m_entityNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("Label")) + { + m_label = jsonValue.GetString("Label"); + + m_labelHasBeenSet = true; + } + + if(jsonValue.ValueExists("IsParentEntity")) + { + m_isParentEntity = jsonValue.GetBool("IsParentEntity"); + + m_isParentEntityHasBeenSet = true; + } + + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Category")) + { + m_category = jsonValue.GetString("Category"); + + m_categoryHasBeenSet = true; + } + + if(jsonValue.ValueExists("CustomProperties")) + { + Aws::Map customPropertiesJsonMap = jsonValue.GetObject("CustomProperties").GetAllObjects(); + for(auto& customPropertiesItem : customPropertiesJsonMap) + { + m_customProperties[customPropertiesItem.first] = customPropertiesItem.second.AsString(); + } + m_customPropertiesHasBeenSet = true; + } + + return *this; +} + +JsonValue Entity::Jsonize() const +{ + JsonValue payload; + + if(m_entityNameHasBeenSet) + { + payload.WithString("EntityName", m_entityName); + + } + + if(m_labelHasBeenSet) + { + payload.WithString("Label", m_label); + + } + + if(m_isParentEntityHasBeenSet) + { + payload.WithBool("IsParentEntity", m_isParentEntity); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("Description", m_description); + + } + + if(m_categoryHasBeenSet) + { + payload.WithString("Category", m_category); + + } + + if(m_customPropertiesHasBeenSet) + { + JsonValue customPropertiesJsonMap; + for(auto& customPropertiesItem : m_customProperties) + { + customPropertiesJsonMap.WithString(customPropertiesItem.first, customPropertiesItem.second); + } + payload.WithObject("CustomProperties", std::move(customPropertiesJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ExecutionAttempt.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ExecutionAttempt.cpp new file mode 100644 index 00000000000..f0e41f4a055 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ExecutionAttempt.cpp @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +ExecutionAttempt::ExecutionAttempt() : + m_status(ExecutionStatus::NOT_SET), + m_statusHasBeenSet(false), + m_columnStatisticsTaskRunIdHasBeenSet(false), + m_executionTimestampHasBeenSet(false), + m_errorMessageHasBeenSet(false) +{ +} + +ExecutionAttempt::ExecutionAttempt(JsonView jsonValue) + : ExecutionAttempt() +{ + *this = jsonValue; +} + +ExecutionAttempt& ExecutionAttempt::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Status")) + { + m_status = ExecutionStatusMapper::GetExecutionStatusForName(jsonValue.GetString("Status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("ColumnStatisticsTaskRunId")) + { + m_columnStatisticsTaskRunId = jsonValue.GetString("ColumnStatisticsTaskRunId"); + + m_columnStatisticsTaskRunIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("ExecutionTimestamp")) + { + m_executionTimestamp = jsonValue.GetDouble("ExecutionTimestamp"); + + m_executionTimestampHasBeenSet = true; + } + + if(jsonValue.ValueExists("ErrorMessage")) + { + m_errorMessage = jsonValue.GetString("ErrorMessage"); + + m_errorMessageHasBeenSet = true; + } + + return *this; +} + +JsonValue ExecutionAttempt::Jsonize() const +{ + JsonValue payload; + + if(m_statusHasBeenSet) + { + payload.WithString("Status", ExecutionStatusMapper::GetNameForExecutionStatus(m_status)); + } + + if(m_columnStatisticsTaskRunIdHasBeenSet) + { + payload.WithString("ColumnStatisticsTaskRunId", m_columnStatisticsTaskRunId); + + } + + if(m_executionTimestampHasBeenSet) + { + payload.WithDouble("ExecutionTimestamp", m_executionTimestamp.SecondsWithMSPrecision()); + } + + if(m_errorMessageHasBeenSet) + { + payload.WithString("ErrorMessage", m_errorMessage); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ExecutionStatus.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ExecutionStatus.cpp new file mode 100644 index 00000000000..45320619186 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ExecutionStatus.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Glue + { + namespace Model + { + namespace ExecutionStatusMapper + { + + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int STARTED_HASH = HashingUtils::HashString("STARTED"); + + + ExecutionStatus GetExecutionStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == FAILED_HASH) + { + return ExecutionStatus::FAILED; + } + else if (hashCode == STARTED_HASH) + { + return ExecutionStatus::STARTED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ExecutionStatus::NOT_SET; + } + + Aws::String GetNameForExecutionStatus(ExecutionStatus enumValue) + { + switch(enumValue) + { + case ExecutionStatus::NOT_SET: + return {}; + case ExecutionStatus::FAILED: + return "FAILED"; + case ExecutionStatus::STARTED: + return "STARTED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ExecutionStatusMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/FederatedCatalog.cpp b/generated/src/aws-cpp-sdk-glue/source/model/FederatedCatalog.cpp new file mode 100644 index 00000000000..b3d1f9537a5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/FederatedCatalog.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +FederatedCatalog::FederatedCatalog() : + m_identifierHasBeenSet(false), + m_connectionNameHasBeenSet(false) +{ +} + +FederatedCatalog::FederatedCatalog(JsonView jsonValue) + : FederatedCatalog() +{ + *this = jsonValue; +} + +FederatedCatalog& FederatedCatalog::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Identifier")) + { + m_identifier = jsonValue.GetString("Identifier"); + + m_identifierHasBeenSet = true; + } + + if(jsonValue.ValueExists("ConnectionName")) + { + m_connectionName = jsonValue.GetString("ConnectionName"); + + m_connectionNameHasBeenSet = true; + } + + return *this; +} + +JsonValue FederatedCatalog::Jsonize() const +{ + JsonValue payload; + + if(m_identifierHasBeenSet) + { + payload.WithString("Identifier", m_identifier); + + } + + if(m_connectionNameHasBeenSet) + { + payload.WithString("ConnectionName", m_connectionName); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/Field.cpp b/generated/src/aws-cpp-sdk-glue/source/model/Field.cpp new file mode 100644 index 00000000000..27bc0a2edca --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/Field.cpp @@ -0,0 +1,330 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +Field::Field() : + m_fieldNameHasBeenSet(false), + m_labelHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_fieldType(FieldDataType::NOT_SET), + m_fieldTypeHasBeenSet(false), + m_isPrimaryKey(false), + m_isPrimaryKeyHasBeenSet(false), + m_isNullable(false), + m_isNullableHasBeenSet(false), + m_isRetrievable(false), + m_isRetrievableHasBeenSet(false), + m_isFilterable(false), + m_isFilterableHasBeenSet(false), + m_isPartitionable(false), + m_isPartitionableHasBeenSet(false), + m_isCreateable(false), + m_isCreateableHasBeenSet(false), + m_isUpdateable(false), + m_isUpdateableHasBeenSet(false), + m_isUpsertable(false), + m_isUpsertableHasBeenSet(false), + m_isDefaultOnCreate(false), + m_isDefaultOnCreateHasBeenSet(false), + m_supportedValuesHasBeenSet(false), + m_supportedFilterOperatorsHasBeenSet(false), + m_parentFieldHasBeenSet(false), + m_nativeDataTypeHasBeenSet(false), + m_customPropertiesHasBeenSet(false) +{ +} + +Field::Field(JsonView jsonValue) + : Field() +{ + *this = jsonValue; +} + +Field& Field::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("FieldName")) + { + m_fieldName = jsonValue.GetString("FieldName"); + + m_fieldNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("Label")) + { + m_label = jsonValue.GetString("Label"); + + m_labelHasBeenSet = true; + } + + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("FieldType")) + { + m_fieldType = FieldDataTypeMapper::GetFieldDataTypeForName(jsonValue.GetString("FieldType")); + + m_fieldTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("IsPrimaryKey")) + { + m_isPrimaryKey = jsonValue.GetBool("IsPrimaryKey"); + + m_isPrimaryKeyHasBeenSet = true; + } + + if(jsonValue.ValueExists("IsNullable")) + { + m_isNullable = jsonValue.GetBool("IsNullable"); + + m_isNullableHasBeenSet = true; + } + + if(jsonValue.ValueExists("IsRetrievable")) + { + m_isRetrievable = jsonValue.GetBool("IsRetrievable"); + + m_isRetrievableHasBeenSet = true; + } + + if(jsonValue.ValueExists("IsFilterable")) + { + m_isFilterable = jsonValue.GetBool("IsFilterable"); + + m_isFilterableHasBeenSet = true; + } + + if(jsonValue.ValueExists("IsPartitionable")) + { + m_isPartitionable = jsonValue.GetBool("IsPartitionable"); + + m_isPartitionableHasBeenSet = true; + } + + if(jsonValue.ValueExists("IsCreateable")) + { + m_isCreateable = jsonValue.GetBool("IsCreateable"); + + m_isCreateableHasBeenSet = true; + } + + if(jsonValue.ValueExists("IsUpdateable")) + { + m_isUpdateable = jsonValue.GetBool("IsUpdateable"); + + m_isUpdateableHasBeenSet = true; + } + + if(jsonValue.ValueExists("IsUpsertable")) + { + m_isUpsertable = jsonValue.GetBool("IsUpsertable"); + + m_isUpsertableHasBeenSet = true; + } + + if(jsonValue.ValueExists("IsDefaultOnCreate")) + { + m_isDefaultOnCreate = jsonValue.GetBool("IsDefaultOnCreate"); + + m_isDefaultOnCreateHasBeenSet = true; + } + + if(jsonValue.ValueExists("SupportedValues")) + { + Aws::Utils::Array supportedValuesJsonList = jsonValue.GetArray("SupportedValues"); + for(unsigned supportedValuesIndex = 0; supportedValuesIndex < supportedValuesJsonList.GetLength(); ++supportedValuesIndex) + { + m_supportedValues.push_back(supportedValuesJsonList[supportedValuesIndex].AsString()); + } + m_supportedValuesHasBeenSet = true; + } + + if(jsonValue.ValueExists("SupportedFilterOperators")) + { + Aws::Utils::Array supportedFilterOperatorsJsonList = jsonValue.GetArray("SupportedFilterOperators"); + for(unsigned supportedFilterOperatorsIndex = 0; supportedFilterOperatorsIndex < supportedFilterOperatorsJsonList.GetLength(); ++supportedFilterOperatorsIndex) + { + m_supportedFilterOperators.push_back(FieldFilterOperatorMapper::GetFieldFilterOperatorForName(supportedFilterOperatorsJsonList[supportedFilterOperatorsIndex].AsString())); + } + m_supportedFilterOperatorsHasBeenSet = true; + } + + if(jsonValue.ValueExists("ParentField")) + { + m_parentField = jsonValue.GetString("ParentField"); + + m_parentFieldHasBeenSet = true; + } + + if(jsonValue.ValueExists("NativeDataType")) + { + m_nativeDataType = jsonValue.GetString("NativeDataType"); + + m_nativeDataTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("CustomProperties")) + { + Aws::Map customPropertiesJsonMap = jsonValue.GetObject("CustomProperties").GetAllObjects(); + for(auto& customPropertiesItem : customPropertiesJsonMap) + { + m_customProperties[customPropertiesItem.first] = customPropertiesItem.second.AsString(); + } + m_customPropertiesHasBeenSet = true; + } + + return *this; +} + +JsonValue Field::Jsonize() const +{ + JsonValue payload; + + if(m_fieldNameHasBeenSet) + { + payload.WithString("FieldName", m_fieldName); + + } + + if(m_labelHasBeenSet) + { + payload.WithString("Label", m_label); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("Description", m_description); + + } + + if(m_fieldTypeHasBeenSet) + { + payload.WithString("FieldType", FieldDataTypeMapper::GetNameForFieldDataType(m_fieldType)); + } + + if(m_isPrimaryKeyHasBeenSet) + { + payload.WithBool("IsPrimaryKey", m_isPrimaryKey); + + } + + if(m_isNullableHasBeenSet) + { + payload.WithBool("IsNullable", m_isNullable); + + } + + if(m_isRetrievableHasBeenSet) + { + payload.WithBool("IsRetrievable", m_isRetrievable); + + } + + if(m_isFilterableHasBeenSet) + { + payload.WithBool("IsFilterable", m_isFilterable); + + } + + if(m_isPartitionableHasBeenSet) + { + payload.WithBool("IsPartitionable", m_isPartitionable); + + } + + if(m_isCreateableHasBeenSet) + { + payload.WithBool("IsCreateable", m_isCreateable); + + } + + if(m_isUpdateableHasBeenSet) + { + payload.WithBool("IsUpdateable", m_isUpdateable); + + } + + if(m_isUpsertableHasBeenSet) + { + payload.WithBool("IsUpsertable", m_isUpsertable); + + } + + if(m_isDefaultOnCreateHasBeenSet) + { + payload.WithBool("IsDefaultOnCreate", m_isDefaultOnCreate); + + } + + if(m_supportedValuesHasBeenSet) + { + Aws::Utils::Array supportedValuesJsonList(m_supportedValues.size()); + for(unsigned supportedValuesIndex = 0; supportedValuesIndex < supportedValuesJsonList.GetLength(); ++supportedValuesIndex) + { + supportedValuesJsonList[supportedValuesIndex].AsString(m_supportedValues[supportedValuesIndex]); + } + payload.WithArray("SupportedValues", std::move(supportedValuesJsonList)); + + } + + if(m_supportedFilterOperatorsHasBeenSet) + { + Aws::Utils::Array supportedFilterOperatorsJsonList(m_supportedFilterOperators.size()); + for(unsigned supportedFilterOperatorsIndex = 0; supportedFilterOperatorsIndex < supportedFilterOperatorsJsonList.GetLength(); ++supportedFilterOperatorsIndex) + { + supportedFilterOperatorsJsonList[supportedFilterOperatorsIndex].AsString(FieldFilterOperatorMapper::GetNameForFieldFilterOperator(m_supportedFilterOperators[supportedFilterOperatorsIndex])); + } + payload.WithArray("SupportedFilterOperators", std::move(supportedFilterOperatorsJsonList)); + + } + + if(m_parentFieldHasBeenSet) + { + payload.WithString("ParentField", m_parentField); + + } + + if(m_nativeDataTypeHasBeenSet) + { + payload.WithString("NativeDataType", m_nativeDataType); + + } + + if(m_customPropertiesHasBeenSet) + { + JsonValue customPropertiesJsonMap; + for(auto& customPropertiesItem : m_customProperties) + { + customPropertiesJsonMap.WithString(customPropertiesItem.first, customPropertiesItem.second); + } + payload.WithObject("CustomProperties", std::move(customPropertiesJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/FieldDataType.cpp b/generated/src/aws-cpp-sdk-glue/source/model/FieldDataType.cpp new file mode 100644 index 00000000000..e4f18ff2ad6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/FieldDataType.cpp @@ -0,0 +1,170 @@ +/** + * 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 Glue + { + namespace Model + { + namespace FieldDataTypeMapper + { + + static const int INT_HASH = HashingUtils::HashString("INT"); + static const int SMALLINT_HASH = HashingUtils::HashString("SMALLINT"); + static const int BIGINT_HASH = HashingUtils::HashString("BIGINT"); + static const int FLOAT_HASH = HashingUtils::HashString("FLOAT"); + static const int LONG_HASH = HashingUtils::HashString("LONG"); + static const int DATE_HASH = HashingUtils::HashString("DATE"); + static const int BOOLEAN_HASH = HashingUtils::HashString("BOOLEAN"); + static const int MAP_HASH = HashingUtils::HashString("MAP"); + static const int ARRAY_HASH = HashingUtils::HashString("ARRAY"); + static const int STRING_HASH = HashingUtils::HashString("STRING"); + static const int TIMESTAMP_HASH = HashingUtils::HashString("TIMESTAMP"); + static const int DECIMAL_HASH = HashingUtils::HashString("DECIMAL"); + static const int BYTE_HASH = HashingUtils::HashString("BYTE"); + static const int SHORT_HASH = HashingUtils::HashString("SHORT"); + static const int DOUBLE_HASH = HashingUtils::HashString("DOUBLE"); + static const int STRUCT_HASH = HashingUtils::HashString("STRUCT"); + + + FieldDataType GetFieldDataTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == INT_HASH) + { + return FieldDataType::INT; + } + else if (hashCode == SMALLINT_HASH) + { + return FieldDataType::SMALLINT; + } + else if (hashCode == BIGINT_HASH) + { + return FieldDataType::BIGINT; + } + else if (hashCode == FLOAT_HASH) + { + return FieldDataType::FLOAT; + } + else if (hashCode == LONG_HASH) + { + return FieldDataType::LONG; + } + else if (hashCode == DATE_HASH) + { + return FieldDataType::DATE; + } + else if (hashCode == BOOLEAN_HASH) + { + return FieldDataType::BOOLEAN; + } + else if (hashCode == MAP_HASH) + { + return FieldDataType::MAP; + } + else if (hashCode == ARRAY_HASH) + { + return FieldDataType::ARRAY; + } + else if (hashCode == STRING_HASH) + { + return FieldDataType::STRING; + } + else if (hashCode == TIMESTAMP_HASH) + { + return FieldDataType::TIMESTAMP; + } + else if (hashCode == DECIMAL_HASH) + { + return FieldDataType::DECIMAL; + } + else if (hashCode == BYTE_HASH) + { + return FieldDataType::BYTE; + } + else if (hashCode == SHORT_HASH) + { + return FieldDataType::SHORT; + } + else if (hashCode == DOUBLE_HASH) + { + return FieldDataType::DOUBLE; + } + else if (hashCode == STRUCT_HASH) + { + return FieldDataType::STRUCT; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return FieldDataType::NOT_SET; + } + + Aws::String GetNameForFieldDataType(FieldDataType enumValue) + { + switch(enumValue) + { + case FieldDataType::NOT_SET: + return {}; + case FieldDataType::INT: + return "INT"; + case FieldDataType::SMALLINT: + return "SMALLINT"; + case FieldDataType::BIGINT: + return "BIGINT"; + case FieldDataType::FLOAT: + return "FLOAT"; + case FieldDataType::LONG: + return "LONG"; + case FieldDataType::DATE: + return "DATE"; + case FieldDataType::BOOLEAN: + return "BOOLEAN"; + case FieldDataType::MAP: + return "MAP"; + case FieldDataType::ARRAY: + return "ARRAY"; + case FieldDataType::STRING: + return "STRING"; + case FieldDataType::TIMESTAMP: + return "TIMESTAMP"; + case FieldDataType::DECIMAL: + return "DECIMAL"; + case FieldDataType::BYTE: + return "BYTE"; + case FieldDataType::SHORT: + return "SHORT"; + case FieldDataType::DOUBLE: + return "DOUBLE"; + case FieldDataType::STRUCT: + return "STRUCT"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace FieldDataTypeMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/FieldFilterOperator.cpp b/generated/src/aws-cpp-sdk-glue/source/model/FieldFilterOperator.cpp new file mode 100644 index 00000000000..87d2a321a92 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/FieldFilterOperator.cpp @@ -0,0 +1,121 @@ +/** + * 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 Glue + { + namespace Model + { + namespace FieldFilterOperatorMapper + { + + static const int LESS_THAN_HASH = HashingUtils::HashString("LESS_THAN"); + static const int GREATER_THAN_HASH = HashingUtils::HashString("GREATER_THAN"); + static const int BETWEEN_HASH = HashingUtils::HashString("BETWEEN"); + static const int EQUAL_TO_HASH = HashingUtils::HashString("EQUAL_TO"); + static const int NOT_EQUAL_TO_HASH = HashingUtils::HashString("NOT_EQUAL_TO"); + static const int GREATER_THAN_OR_EQUAL_TO_HASH = HashingUtils::HashString("GREATER_THAN_OR_EQUAL_TO"); + static const int LESS_THAN_OR_EQUAL_TO_HASH = HashingUtils::HashString("LESS_THAN_OR_EQUAL_TO"); + static const int CONTAINS_HASH = HashingUtils::HashString("CONTAINS"); + static const int ORDER_BY_HASH = HashingUtils::HashString("ORDER_BY"); + + + FieldFilterOperator GetFieldFilterOperatorForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == LESS_THAN_HASH) + { + return FieldFilterOperator::LESS_THAN; + } + else if (hashCode == GREATER_THAN_HASH) + { + return FieldFilterOperator::GREATER_THAN; + } + else if (hashCode == BETWEEN_HASH) + { + return FieldFilterOperator::BETWEEN; + } + else if (hashCode == EQUAL_TO_HASH) + { + return FieldFilterOperator::EQUAL_TO; + } + else if (hashCode == NOT_EQUAL_TO_HASH) + { + return FieldFilterOperator::NOT_EQUAL_TO; + } + else if (hashCode == GREATER_THAN_OR_EQUAL_TO_HASH) + { + return FieldFilterOperator::GREATER_THAN_OR_EQUAL_TO; + } + else if (hashCode == LESS_THAN_OR_EQUAL_TO_HASH) + { + return FieldFilterOperator::LESS_THAN_OR_EQUAL_TO; + } + else if (hashCode == CONTAINS_HASH) + { + return FieldFilterOperator::CONTAINS; + } + else if (hashCode == ORDER_BY_HASH) + { + return FieldFilterOperator::ORDER_BY; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return FieldFilterOperator::NOT_SET; + } + + Aws::String GetNameForFieldFilterOperator(FieldFilterOperator enumValue) + { + switch(enumValue) + { + case FieldFilterOperator::NOT_SET: + return {}; + case FieldFilterOperator::LESS_THAN: + return "LESS_THAN"; + case FieldFilterOperator::GREATER_THAN: + return "GREATER_THAN"; + case FieldFilterOperator::BETWEEN: + return "BETWEEN"; + case FieldFilterOperator::EQUAL_TO: + return "EQUAL_TO"; + case FieldFilterOperator::NOT_EQUAL_TO: + return "NOT_EQUAL_TO"; + case FieldFilterOperator::GREATER_THAN_OR_EQUAL_TO: + return "GREATER_THAN_OR_EQUAL_TO"; + case FieldFilterOperator::LESS_THAN_OR_EQUAL_TO: + return "LESS_THAN_OR_EQUAL_TO"; + case FieldFilterOperator::CONTAINS: + return "CONTAINS"; + case FieldFilterOperator::ORDER_BY: + return "ORDER_BY"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace FieldFilterOperatorMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetCatalogRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetCatalogRequest.cpp new file mode 100644 index 00000000000..cd38910cf07 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetCatalogRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetCatalogRequest::GetCatalogRequest() : + m_catalogIdHasBeenSet(false) +{ +} + +Aws::String GetCatalogRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetCatalogRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.GetCatalog")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetCatalogResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetCatalogResult.cpp new file mode 100644 index 00000000000..7dc6baed370 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetCatalogResult.cpp @@ -0,0 +1,48 @@ +/** + * 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::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetCatalogResult::GetCatalogResult() +{ +} + +GetCatalogResult::GetCatalogResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetCatalogResult& GetCatalogResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Catalog")) + { + m_catalog = jsonValue.GetObject("Catalog"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetCatalogsRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetCatalogsRequest.cpp new file mode 100644 index 00000000000..b7fa7765504 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetCatalogsRequest.cpp @@ -0,0 +1,66 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetCatalogsRequest::GetCatalogsRequest() : + m_parentCatalogIdHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_recursive(false), + m_recursiveHasBeenSet(false) +{ +} + +Aws::String GetCatalogsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_parentCatalogIdHasBeenSet) + { + payload.WithString("ParentCatalogId", m_parentCatalogId); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_recursiveHasBeenSet) + { + payload.WithBool("Recursive", m_recursive); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetCatalogsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.GetCatalogs")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetCatalogsResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetCatalogsResult.cpp new file mode 100644 index 00000000000..d2472716a7c --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetCatalogsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetCatalogsResult::GetCatalogsResult() +{ +} + +GetCatalogsResult::GetCatalogsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetCatalogsResult& GetCatalogsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("CatalogList")) + { + Aws::Utils::Array catalogListJsonList = jsonValue.GetArray("CatalogList"); + for(unsigned catalogListIndex = 0; catalogListIndex < catalogListJsonList.GetLength(); ++catalogListIndex) + { + m_catalogList.push_back(catalogListJsonList[catalogListIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetConnectionRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetConnectionRequest.cpp index 6a6c6c989cb..414199bfd46 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/GetConnectionRequest.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetConnectionRequest.cpp @@ -16,7 +16,9 @@ GetConnectionRequest::GetConnectionRequest() : m_catalogIdHasBeenSet(false), m_nameHasBeenSet(false), m_hidePassword(false), - m_hidePasswordHasBeenSet(false) + m_hidePasswordHasBeenSet(false), + m_applyOverrideForComputeEnvironment(ComputeEnvironment::NOT_SET), + m_applyOverrideForComputeEnvironmentHasBeenSet(false) { } @@ -42,6 +44,11 @@ Aws::String GetConnectionRequest::SerializePayload() const } + if(m_applyOverrideForComputeEnvironmentHasBeenSet) + { + payload.WithString("ApplyOverrideForComputeEnvironment", ComputeEnvironmentMapper::GetNameForComputeEnvironment(m_applyOverrideForComputeEnvironment)); + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetConnectionsFilter.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetConnectionsFilter.cpp index 4f051394ff1..c9ee70427f3 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/GetConnectionsFilter.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetConnectionsFilter.cpp @@ -21,7 +21,9 @@ namespace Model GetConnectionsFilter::GetConnectionsFilter() : m_matchCriteriaHasBeenSet(false), m_connectionType(ConnectionType::NOT_SET), - m_connectionTypeHasBeenSet(false) + m_connectionTypeHasBeenSet(false), + m_connectionSchemaVersion(0), + m_connectionSchemaVersionHasBeenSet(false) { } @@ -50,6 +52,13 @@ GetConnectionsFilter& GetConnectionsFilter::operator =(JsonView jsonValue) m_connectionTypeHasBeenSet = true; } + if(jsonValue.ValueExists("ConnectionSchemaVersion")) + { + m_connectionSchemaVersion = jsonValue.GetInteger("ConnectionSchemaVersion"); + + m_connectionSchemaVersionHasBeenSet = true; + } + return *this; } @@ -73,6 +82,12 @@ JsonValue GetConnectionsFilter::Jsonize() const payload.WithString("ConnectionType", ConnectionTypeMapper::GetNameForConnectionType(m_connectionType)); } + if(m_connectionSchemaVersionHasBeenSet) + { + payload.WithInteger("ConnectionSchemaVersion", m_connectionSchemaVersion); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetEntityRecordsRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetEntityRecordsRequest.cpp new file mode 100644 index 00000000000..5bbf89ce6d4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetEntityRecordsRequest.cpp @@ -0,0 +1,117 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetEntityRecordsRequest::GetEntityRecordsRequest() : + m_connectionNameHasBeenSet(false), + m_catalogIdHasBeenSet(false), + m_entityNameHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_dataStoreApiVersionHasBeenSet(false), + m_connectionOptionsHasBeenSet(false), + m_filterPredicateHasBeenSet(false), + m_limit(0), + m_limitHasBeenSet(false), + m_orderByHasBeenSet(false), + m_selectedFieldsHasBeenSet(false) +{ +} + +Aws::String GetEntityRecordsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_connectionNameHasBeenSet) + { + payload.WithString("ConnectionName", m_connectionName); + + } + + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + + if(m_entityNameHasBeenSet) + { + payload.WithString("EntityName", m_entityName); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_dataStoreApiVersionHasBeenSet) + { + payload.WithString("DataStoreApiVersion", m_dataStoreApiVersion); + + } + + if(m_connectionOptionsHasBeenSet) + { + JsonValue connectionOptionsJsonMap; + for(auto& connectionOptionsItem : m_connectionOptions) + { + connectionOptionsJsonMap.WithString(connectionOptionsItem.first, connectionOptionsItem.second); + } + payload.WithObject("ConnectionOptions", std::move(connectionOptionsJsonMap)); + + } + + if(m_filterPredicateHasBeenSet) + { + payload.WithString("FilterPredicate", m_filterPredicate); + + } + + if(m_limitHasBeenSet) + { + payload.WithInt64("Limit", m_limit); + + } + + if(m_orderByHasBeenSet) + { + payload.WithString("OrderBy", m_orderBy); + + } + + if(m_selectedFieldsHasBeenSet) + { + Aws::Utils::Array selectedFieldsJsonList(m_selectedFields.size()); + for(unsigned selectedFieldsIndex = 0; selectedFieldsIndex < selectedFieldsJsonList.GetLength(); ++selectedFieldsIndex) + { + selectedFieldsJsonList[selectedFieldsIndex].AsString(m_selectedFields[selectedFieldsIndex]); + } + payload.WithArray("SelectedFields", std::move(selectedFieldsJsonList)); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetEntityRecordsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.GetEntityRecords")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetEntityRecordsResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetEntityRecordsResult.cpp new file mode 100644 index 00000000000..23a44531091 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetEntityRecordsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetEntityRecordsResult::GetEntityRecordsResult() +{ +} + +GetEntityRecordsResult::GetEntityRecordsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetEntityRecordsResult& GetEntityRecordsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Records")) + { + Aws::Utils::Array recordsJsonList = jsonValue.GetArray("Records"); + for(unsigned recordsIndex = 0; recordsIndex < recordsJsonList.GetLength(); ++recordsIndex) + { + m_records.push_back(recordsJsonList[recordsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationResourcePropertyRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationResourcePropertyRequest.cpp new file mode 100644 index 00000000000..f356a808f4b --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationResourcePropertyRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetIntegrationResourcePropertyRequest::GetIntegrationResourcePropertyRequest() : + m_resourceArnHasBeenSet(false) +{ +} + +Aws::String GetIntegrationResourcePropertyRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetIntegrationResourcePropertyRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.GetIntegrationResourceProperty")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationResourcePropertyResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationResourcePropertyResult.cpp new file mode 100644 index 00000000000..9565c06b29b --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationResourcePropertyResult.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetIntegrationResourcePropertyResult::GetIntegrationResourcePropertyResult() +{ +} + +GetIntegrationResourcePropertyResult::GetIntegrationResourcePropertyResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetIntegrationResourcePropertyResult& GetIntegrationResourcePropertyResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ResourceArn")) + { + m_resourceArn = jsonValue.GetString("ResourceArn"); + + } + + if(jsonValue.ValueExists("SourceProcessingProperties")) + { + m_sourceProcessingProperties = jsonValue.GetObject("SourceProcessingProperties"); + + } + + if(jsonValue.ValueExists("TargetProcessingProperties")) + { + m_targetProcessingProperties = jsonValue.GetObject("TargetProcessingProperties"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationTablePropertiesRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationTablePropertiesRequest.cpp new file mode 100644 index 00000000000..4ae44b923ca --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationTablePropertiesRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetIntegrationTablePropertiesRequest::GetIntegrationTablePropertiesRequest() : + m_resourceArnHasBeenSet(false), + m_tableNameHasBeenSet(false) +{ +} + +Aws::String GetIntegrationTablePropertiesRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + if(m_tableNameHasBeenSet) + { + payload.WithString("TableName", m_tableName); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection GetIntegrationTablePropertiesRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.GetIntegrationTableProperties")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationTablePropertiesResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationTablePropertiesResult.cpp new file mode 100644 index 00000000000..b144cdb2e59 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/GetIntegrationTablePropertiesResult.cpp @@ -0,0 +1,66 @@ +/** + * 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::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetIntegrationTablePropertiesResult::GetIntegrationTablePropertiesResult() +{ +} + +GetIntegrationTablePropertiesResult::GetIntegrationTablePropertiesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetIntegrationTablePropertiesResult& GetIntegrationTablePropertiesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ResourceArn")) + { + m_resourceArn = jsonValue.GetString("ResourceArn"); + + } + + if(jsonValue.ValueExists("TableName")) + { + m_tableName = jsonValue.GetString("TableName"); + + } + + if(jsonValue.ValueExists("SourceTableConfig")) + { + m_sourceTableConfig = jsonValue.GetObject("SourceTableConfig"); + + } + + if(jsonValue.ValueExists("TargetTableConfig")) + { + m_targetTableConfig = jsonValue.GetObject("TargetTableConfig"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/InboundIntegration.cpp b/generated/src/aws-cpp-sdk-glue/source/model/InboundIntegration.cpp new file mode 100644 index 00000000000..62a24b63742 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/InboundIntegration.cpp @@ -0,0 +1,136 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +InboundIntegration::InboundIntegration() : + m_sourceArnHasBeenSet(false), + m_targetArnHasBeenSet(false), + m_integrationArnHasBeenSet(false), + m_status(IntegrationStatus::NOT_SET), + m_statusHasBeenSet(false), + m_createTimeHasBeenSet(false), + m_errorsHasBeenSet(false) +{ +} + +InboundIntegration::InboundIntegration(JsonView jsonValue) + : InboundIntegration() +{ + *this = jsonValue; +} + +InboundIntegration& InboundIntegration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("SourceArn")) + { + m_sourceArn = jsonValue.GetString("SourceArn"); + + m_sourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("TargetArn")) + { + m_targetArn = jsonValue.GetString("TargetArn"); + + m_targetArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("IntegrationArn")) + { + m_integrationArn = jsonValue.GetString("IntegrationArn"); + + m_integrationArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("Status")) + { + m_status = IntegrationStatusMapper::GetIntegrationStatusForName(jsonValue.GetString("Status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreateTime")) + { + m_createTime = jsonValue.GetDouble("CreateTime"); + + m_createTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Errors")) + { + Aws::Utils::Array errorsJsonList = jsonValue.GetArray("Errors"); + for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) + { + m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); + } + m_errorsHasBeenSet = true; + } + + return *this; +} + +JsonValue InboundIntegration::Jsonize() const +{ + JsonValue payload; + + if(m_sourceArnHasBeenSet) + { + payload.WithString("SourceArn", m_sourceArn); + + } + + if(m_targetArnHasBeenSet) + { + payload.WithString("TargetArn", m_targetArn); + + } + + if(m_integrationArnHasBeenSet) + { + payload.WithString("IntegrationArn", m_integrationArn); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("Status", IntegrationStatusMapper::GetNameForIntegrationStatus(m_status)); + } + + if(m_createTimeHasBeenSet) + { + payload.WithDouble("CreateTime", m_createTime.SecondsWithMSPrecision()); + } + + if(m_errorsHasBeenSet) + { + Aws::Utils::Array errorsJsonList(m_errors.size()); + for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) + { + errorsJsonList[errorsIndex].AsObject(m_errors[errorsIndex].Jsonize()); + } + payload.WithArray("Errors", std::move(errorsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/Integration.cpp b/generated/src/aws-cpp-sdk-glue/source/model/Integration.cpp new file mode 100644 index 00000000000..edff8f12957 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/Integration.cpp @@ -0,0 +1,236 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +Integration::Integration() : + m_sourceArnHasBeenSet(false), + m_targetArnHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_integrationNameHasBeenSet(false), + m_integrationArnHasBeenSet(false), + m_kmsKeyIdHasBeenSet(false), + m_additionalEncryptionContextHasBeenSet(false), + m_tagsHasBeenSet(false), + m_status(IntegrationStatus::NOT_SET), + m_statusHasBeenSet(false), + m_createTimeHasBeenSet(false), + m_errorsHasBeenSet(false), + m_dataFilterHasBeenSet(false) +{ +} + +Integration::Integration(JsonView jsonValue) + : Integration() +{ + *this = jsonValue; +} + +Integration& Integration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("SourceArn")) + { + m_sourceArn = jsonValue.GetString("SourceArn"); + + m_sourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("TargetArn")) + { + m_targetArn = jsonValue.GetString("TargetArn"); + + m_targetArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("IntegrationName")) + { + m_integrationName = jsonValue.GetString("IntegrationName"); + + m_integrationNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("IntegrationArn")) + { + m_integrationArn = jsonValue.GetString("IntegrationArn"); + + m_integrationArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("KmsKeyId")) + { + m_kmsKeyId = jsonValue.GetString("KmsKeyId"); + + m_kmsKeyIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("AdditionalEncryptionContext")) + { + Aws::Map additionalEncryptionContextJsonMap = jsonValue.GetObject("AdditionalEncryptionContext").GetAllObjects(); + for(auto& additionalEncryptionContextItem : additionalEncryptionContextJsonMap) + { + m_additionalEncryptionContext[additionalEncryptionContextItem.first] = additionalEncryptionContextItem.second.AsString(); + } + m_additionalEncryptionContextHasBeenSet = 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; + } + + if(jsonValue.ValueExists("Status")) + { + m_status = IntegrationStatusMapper::GetIntegrationStatusForName(jsonValue.GetString("Status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreateTime")) + { + m_createTime = jsonValue.GetDouble("CreateTime"); + + m_createTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Errors")) + { + Aws::Utils::Array errorsJsonList = jsonValue.GetArray("Errors"); + for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) + { + m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); + } + m_errorsHasBeenSet = true; + } + + if(jsonValue.ValueExists("DataFilter")) + { + m_dataFilter = jsonValue.GetString("DataFilter"); + + m_dataFilterHasBeenSet = true; + } + + return *this; +} + +JsonValue Integration::Jsonize() const +{ + JsonValue payload; + + if(m_sourceArnHasBeenSet) + { + payload.WithString("SourceArn", m_sourceArn); + + } + + if(m_targetArnHasBeenSet) + { + payload.WithString("TargetArn", m_targetArn); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("Description", m_description); + + } + + if(m_integrationNameHasBeenSet) + { + payload.WithString("IntegrationName", m_integrationName); + + } + + if(m_integrationArnHasBeenSet) + { + payload.WithString("IntegrationArn", m_integrationArn); + + } + + if(m_kmsKeyIdHasBeenSet) + { + payload.WithString("KmsKeyId", m_kmsKeyId); + + } + + if(m_additionalEncryptionContextHasBeenSet) + { + JsonValue additionalEncryptionContextJsonMap; + for(auto& additionalEncryptionContextItem : m_additionalEncryptionContext) + { + additionalEncryptionContextJsonMap.WithString(additionalEncryptionContextItem.first, additionalEncryptionContextItem.second); + } + payload.WithObject("AdditionalEncryptionContext", std::move(additionalEncryptionContextJsonMap)); + + } + + 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)); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("Status", IntegrationStatusMapper::GetNameForIntegrationStatus(m_status)); + } + + if(m_createTimeHasBeenSet) + { + payload.WithDouble("CreateTime", m_createTime.SecondsWithMSPrecision()); + } + + if(m_errorsHasBeenSet) + { + Aws::Utils::Array errorsJsonList(m_errors.size()); + for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) + { + errorsJsonList[errorsIndex].AsObject(m_errors[errorsIndex].Jsonize()); + } + payload.WithArray("Errors", std::move(errorsJsonList)); + + } + + if(m_dataFilterHasBeenSet) + { + payload.WithString("DataFilter", m_dataFilter); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/IntegrationError.cpp b/generated/src/aws-cpp-sdk-glue/source/model/IntegrationError.cpp new file mode 100644 index 00000000000..e0527c825c3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/IntegrationError.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +IntegrationError::IntegrationError() : + m_errorCodeHasBeenSet(false), + m_errorMessageHasBeenSet(false) +{ +} + +IntegrationError::IntegrationError(JsonView jsonValue) + : IntegrationError() +{ + *this = jsonValue; +} + +IntegrationError& IntegrationError::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ErrorCode")) + { + m_errorCode = jsonValue.GetString("ErrorCode"); + + m_errorCodeHasBeenSet = true; + } + + if(jsonValue.ValueExists("ErrorMessage")) + { + m_errorMessage = jsonValue.GetString("ErrorMessage"); + + m_errorMessageHasBeenSet = true; + } + + return *this; +} + +JsonValue IntegrationError::Jsonize() const +{ + JsonValue payload; + + if(m_errorCodeHasBeenSet) + { + payload.WithString("ErrorCode", m_errorCode); + + } + + if(m_errorMessageHasBeenSet) + { + payload.WithString("ErrorMessage", m_errorMessage); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/IntegrationFilter.cpp b/generated/src/aws-cpp-sdk-glue/source/model/IntegrationFilter.cpp new file mode 100644 index 00000000000..a7afd5f8b80 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/IntegrationFilter.cpp @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +IntegrationFilter::IntegrationFilter() : + m_nameHasBeenSet(false), + m_valuesHasBeenSet(false) +{ +} + +IntegrationFilter::IntegrationFilter(JsonView jsonValue) + : IntegrationFilter() +{ + *this = jsonValue; +} + +IntegrationFilter& IntegrationFilter::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 IntegrationFilter::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 Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/IntegrationPartition.cpp b/generated/src/aws-cpp-sdk-glue/source/model/IntegrationPartition.cpp new file mode 100644 index 00000000000..c6acb66120e --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/IntegrationPartition.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +IntegrationPartition::IntegrationPartition() : + m_fieldNameHasBeenSet(false), + m_functionSpecHasBeenSet(false) +{ +} + +IntegrationPartition::IntegrationPartition(JsonView jsonValue) + : IntegrationPartition() +{ + *this = jsonValue; +} + +IntegrationPartition& IntegrationPartition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("FieldName")) + { + m_fieldName = jsonValue.GetString("FieldName"); + + m_fieldNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("FunctionSpec")) + { + m_functionSpec = jsonValue.GetString("FunctionSpec"); + + m_functionSpecHasBeenSet = true; + } + + return *this; +} + +JsonValue IntegrationPartition::Jsonize() const +{ + JsonValue payload; + + if(m_fieldNameHasBeenSet) + { + payload.WithString("FieldName", m_fieldName); + + } + + if(m_functionSpecHasBeenSet) + { + payload.WithString("FunctionSpec", m_functionSpec); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/IntegrationStatus.cpp b/generated/src/aws-cpp-sdk-glue/source/model/IntegrationStatus.cpp new file mode 100644 index 00000000000..b4d09eebb18 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/IntegrationStatus.cpp @@ -0,0 +1,107 @@ +/** + * 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 Glue + { + namespace Model + { + namespace IntegrationStatusMapper + { + + static const int CREATING_HASH = HashingUtils::HashString("CREATING"); + static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); + static const int MODIFYING_HASH = HashingUtils::HashString("MODIFYING"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int DELETING_HASH = HashingUtils::HashString("DELETING"); + static const int SYNCING_HASH = HashingUtils::HashString("SYNCING"); + static const int NEEDS_ATTENTION_HASH = HashingUtils::HashString("NEEDS_ATTENTION"); + + + IntegrationStatus GetIntegrationStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CREATING_HASH) + { + return IntegrationStatus::CREATING; + } + else if (hashCode == ACTIVE_HASH) + { + return IntegrationStatus::ACTIVE; + } + else if (hashCode == MODIFYING_HASH) + { + return IntegrationStatus::MODIFYING; + } + else if (hashCode == FAILED_HASH) + { + return IntegrationStatus::FAILED; + } + else if (hashCode == DELETING_HASH) + { + return IntegrationStatus::DELETING; + } + else if (hashCode == SYNCING_HASH) + { + return IntegrationStatus::SYNCING; + } + else if (hashCode == NEEDS_ATTENTION_HASH) + { + return IntegrationStatus::NEEDS_ATTENTION; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return IntegrationStatus::NOT_SET; + } + + Aws::String GetNameForIntegrationStatus(IntegrationStatus enumValue) + { + switch(enumValue) + { + case IntegrationStatus::NOT_SET: + return {}; + case IntegrationStatus::CREATING: + return "CREATING"; + case IntegrationStatus::ACTIVE: + return "ACTIVE"; + case IntegrationStatus::MODIFYING: + return "MODIFYING"; + case IntegrationStatus::FAILED: + return "FAILED"; + case IntegrationStatus::DELETING: + return "DELETING"; + case IntegrationStatus::SYNCING: + return "SYNCING"; + case IntegrationStatus::NEEDS_ATTENTION: + return "NEEDS_ATTENTION"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace IntegrationStatusMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ListConnectionTypesRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ListConnectionTypesRequest.cpp new file mode 100644 index 00000000000..b802b695c78 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ListConnectionTypesRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListConnectionTypesRequest::ListConnectionTypesRequest() : + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListConnectionTypesRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ListConnectionTypesRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.ListConnectionTypes")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ListConnectionTypesResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ListConnectionTypesResult.cpp new file mode 100644 index 00000000000..16894a0eaf5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ListConnectionTypesResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListConnectionTypesResult::ListConnectionTypesResult() +{ +} + +ListConnectionTypesResult::ListConnectionTypesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListConnectionTypesResult& ListConnectionTypesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ConnectionTypes")) + { + Aws::Utils::Array connectionTypesJsonList = jsonValue.GetArray("ConnectionTypes"); + for(unsigned connectionTypesIndex = 0; connectionTypesIndex < connectionTypesJsonList.GetLength(); ++connectionTypesIndex) + { + m_connectionTypes.push_back(connectionTypesJsonList[connectionTypesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ListEntitiesRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ListEntitiesRequest.cpp new file mode 100644 index 00000000000..833dd58f222 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ListEntitiesRequest.cpp @@ -0,0 +1,71 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListEntitiesRequest::ListEntitiesRequest() : + m_connectionNameHasBeenSet(false), + m_catalogIdHasBeenSet(false), + m_parentEntityNameHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_dataStoreApiVersionHasBeenSet(false) +{ +} + +Aws::String ListEntitiesRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_connectionNameHasBeenSet) + { + payload.WithString("ConnectionName", m_connectionName); + + } + + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + + if(m_parentEntityNameHasBeenSet) + { + payload.WithString("ParentEntityName", m_parentEntityName); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_dataStoreApiVersionHasBeenSet) + { + payload.WithString("DataStoreApiVersion", m_dataStoreApiVersion); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ListEntitiesRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.ListEntities")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ListEntitiesResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ListEntitiesResult.cpp new file mode 100644 index 00000000000..7f966e373d2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ListEntitiesResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListEntitiesResult::ListEntitiesResult() +{ +} + +ListEntitiesResult::ListEntitiesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListEntitiesResult& ListEntitiesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Entities")) + { + Aws::Utils::Array entitiesJsonList = jsonValue.GetArray("Entities"); + for(unsigned entitiesIndex = 0; entitiesIndex < entitiesJsonList.GetLength(); ++entitiesIndex) + { + m_entities.push_back(entitiesJsonList[entitiesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ModifyIntegrationRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ModifyIntegrationRequest.cpp new file mode 100644 index 00000000000..bb4af7dccf3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ModifyIntegrationRequest.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ModifyIntegrationRequest::ModifyIntegrationRequest() : + m_integrationIdentifierHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_dataFilterHasBeenSet(false), + m_integrationNameHasBeenSet(false) +{ +} + +Aws::String ModifyIntegrationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_integrationIdentifierHasBeenSet) + { + payload.WithString("IntegrationIdentifier", m_integrationIdentifier); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("Description", m_description); + + } + + if(m_dataFilterHasBeenSet) + { + payload.WithString("DataFilter", m_dataFilter); + + } + + if(m_integrationNameHasBeenSet) + { + payload.WithString("IntegrationName", m_integrationName); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ModifyIntegrationRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.ModifyIntegration")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ModifyIntegrationResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ModifyIntegrationResult.cpp new file mode 100644 index 00000000000..11b2946fce4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ModifyIntegrationResult.cpp @@ -0,0 +1,125 @@ +/** + * 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::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ModifyIntegrationResult::ModifyIntegrationResult() : + m_status(IntegrationStatus::NOT_SET) +{ +} + +ModifyIntegrationResult::ModifyIntegrationResult(const Aws::AmazonWebServiceResult& result) + : ModifyIntegrationResult() +{ + *this = result; +} + +ModifyIntegrationResult& ModifyIntegrationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("SourceArn")) + { + m_sourceArn = jsonValue.GetString("SourceArn"); + + } + + if(jsonValue.ValueExists("TargetArn")) + { + m_targetArn = jsonValue.GetString("TargetArn"); + + } + + if(jsonValue.ValueExists("IntegrationName")) + { + m_integrationName = jsonValue.GetString("IntegrationName"); + + } + + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); + + } + + if(jsonValue.ValueExists("IntegrationArn")) + { + m_integrationArn = jsonValue.GetString("IntegrationArn"); + + } + + if(jsonValue.ValueExists("KmsKeyId")) + { + m_kmsKeyId = jsonValue.GetString("KmsKeyId"); + + } + + if(jsonValue.ValueExists("AdditionalEncryptionContext")) + { + Aws::Map additionalEncryptionContextJsonMap = jsonValue.GetObject("AdditionalEncryptionContext").GetAllObjects(); + for(auto& additionalEncryptionContextItem : additionalEncryptionContextJsonMap) + { + m_additionalEncryptionContext[additionalEncryptionContextItem.first] = additionalEncryptionContextItem.second.AsString(); + } + } + + 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()); + } + } + + if(jsonValue.ValueExists("Status")) + { + m_status = IntegrationStatusMapper::GetIntegrationStatusForName(jsonValue.GetString("Status")); + + } + + if(jsonValue.ValueExists("CreateTime")) + { + m_createTime = jsonValue.GetDouble("CreateTime"); + + } + + if(jsonValue.ValueExists("Errors")) + { + Aws::Utils::Array errorsJsonList = jsonValue.GetArray("Errors"); + for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) + { + m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("DataFilter")) + { + m_dataFilter = jsonValue.GetString("DataFilter"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/OAuth2Credentials.cpp b/generated/src/aws-cpp-sdk-glue/source/model/OAuth2Credentials.cpp new file mode 100644 index 00000000000..34772106c1c --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/OAuth2Credentials.cpp @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +OAuth2Credentials::OAuth2Credentials() : + m_userManagedClientApplicationClientSecretHasBeenSet(false), + m_accessTokenHasBeenSet(false), + m_refreshTokenHasBeenSet(false), + m_jwtTokenHasBeenSet(false) +{ +} + +OAuth2Credentials::OAuth2Credentials(JsonView jsonValue) + : OAuth2Credentials() +{ + *this = jsonValue; +} + +OAuth2Credentials& OAuth2Credentials::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("UserManagedClientApplicationClientSecret")) + { + m_userManagedClientApplicationClientSecret = jsonValue.GetString("UserManagedClientApplicationClientSecret"); + + m_userManagedClientApplicationClientSecretHasBeenSet = true; + } + + if(jsonValue.ValueExists("AccessToken")) + { + m_accessToken = jsonValue.GetString("AccessToken"); + + m_accessTokenHasBeenSet = true; + } + + if(jsonValue.ValueExists("RefreshToken")) + { + m_refreshToken = jsonValue.GetString("RefreshToken"); + + m_refreshTokenHasBeenSet = true; + } + + if(jsonValue.ValueExists("JwtToken")) + { + m_jwtToken = jsonValue.GetString("JwtToken"); + + m_jwtTokenHasBeenSet = true; + } + + return *this; +} + +JsonValue OAuth2Credentials::Jsonize() const +{ + JsonValue payload; + + if(m_userManagedClientApplicationClientSecretHasBeenSet) + { + payload.WithString("UserManagedClientApplicationClientSecret", m_userManagedClientApplicationClientSecret); + + } + + if(m_accessTokenHasBeenSet) + { + payload.WithString("AccessToken", m_accessToken); + + } + + if(m_refreshTokenHasBeenSet) + { + payload.WithString("RefreshToken", m_refreshToken); + + } + + if(m_jwtTokenHasBeenSet) + { + payload.WithString("JwtToken", m_jwtToken); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/OAuth2PropertiesInput.cpp b/generated/src/aws-cpp-sdk-glue/source/model/OAuth2PropertiesInput.cpp index 14906f43b25..cb96ea1f552 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/OAuth2PropertiesInput.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/OAuth2PropertiesInput.cpp @@ -24,7 +24,8 @@ OAuth2PropertiesInput::OAuth2PropertiesInput() : m_oAuth2ClientApplicationHasBeenSet(false), m_tokenUrlHasBeenSet(false), m_tokenUrlParametersMapHasBeenSet(false), - m_authorizationCodePropertiesHasBeenSet(false) + m_authorizationCodePropertiesHasBeenSet(false), + m_oAuth2CredentialsHasBeenSet(false) { } @@ -74,6 +75,13 @@ OAuth2PropertiesInput& OAuth2PropertiesInput::operator =(JsonView jsonValue) m_authorizationCodePropertiesHasBeenSet = true; } + if(jsonValue.ValueExists("OAuth2Credentials")) + { + m_oAuth2Credentials = jsonValue.GetObject("OAuth2Credentials"); + + m_oAuth2CredentialsHasBeenSet = true; + } + return *this; } @@ -115,6 +123,12 @@ JsonValue OAuth2PropertiesInput::Jsonize() const } + if(m_oAuth2CredentialsHasBeenSet) + { + payload.WithObject("OAuth2Credentials", m_oAuth2Credentials.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-glue/source/model/Property.cpp b/generated/src/aws-cpp-sdk-glue/source/model/Property.cpp new file mode 100644 index 00000000000..5c768f38f49 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/Property.cpp @@ -0,0 +1,168 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +Property::Property() : + m_nameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_required(false), + m_requiredHasBeenSet(false), + m_defaultValueHasBeenSet(false), + m_propertyTypesHasBeenSet(false), + m_allowedValuesHasBeenSet(false), + m_dataOperationScopesHasBeenSet(false) +{ +} + +Property::Property(JsonView jsonValue) + : Property() +{ + *this = jsonValue; +} + +Property& Property::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("Required")) + { + m_required = jsonValue.GetBool("Required"); + + m_requiredHasBeenSet = true; + } + + if(jsonValue.ValueExists("DefaultValue")) + { + m_defaultValue = jsonValue.GetString("DefaultValue"); + + m_defaultValueHasBeenSet = true; + } + + if(jsonValue.ValueExists("PropertyTypes")) + { + Aws::Utils::Array propertyTypesJsonList = jsonValue.GetArray("PropertyTypes"); + for(unsigned propertyTypesIndex = 0; propertyTypesIndex < propertyTypesJsonList.GetLength(); ++propertyTypesIndex) + { + m_propertyTypes.push_back(PropertyTypeMapper::GetPropertyTypeForName(propertyTypesJsonList[propertyTypesIndex].AsString())); + } + m_propertyTypesHasBeenSet = true; + } + + if(jsonValue.ValueExists("AllowedValues")) + { + Aws::Utils::Array allowedValuesJsonList = jsonValue.GetArray("AllowedValues"); + for(unsigned allowedValuesIndex = 0; allowedValuesIndex < allowedValuesJsonList.GetLength(); ++allowedValuesIndex) + { + m_allowedValues.push_back(allowedValuesJsonList[allowedValuesIndex].AsObject()); + } + m_allowedValuesHasBeenSet = true; + } + + if(jsonValue.ValueExists("DataOperationScopes")) + { + Aws::Utils::Array dataOperationScopesJsonList = jsonValue.GetArray("DataOperationScopes"); + for(unsigned dataOperationScopesIndex = 0; dataOperationScopesIndex < dataOperationScopesJsonList.GetLength(); ++dataOperationScopesIndex) + { + m_dataOperationScopes.push_back(DataOperationMapper::GetDataOperationForName(dataOperationScopesJsonList[dataOperationScopesIndex].AsString())); + } + m_dataOperationScopesHasBeenSet = true; + } + + return *this; +} + +JsonValue Property::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("Name", m_name); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("Description", m_description); + + } + + if(m_requiredHasBeenSet) + { + payload.WithBool("Required", m_required); + + } + + if(m_defaultValueHasBeenSet) + { + payload.WithString("DefaultValue", m_defaultValue); + + } + + if(m_propertyTypesHasBeenSet) + { + Aws::Utils::Array propertyTypesJsonList(m_propertyTypes.size()); + for(unsigned propertyTypesIndex = 0; propertyTypesIndex < propertyTypesJsonList.GetLength(); ++propertyTypesIndex) + { + propertyTypesJsonList[propertyTypesIndex].AsString(PropertyTypeMapper::GetNameForPropertyType(m_propertyTypes[propertyTypesIndex])); + } + payload.WithArray("PropertyTypes", std::move(propertyTypesJsonList)); + + } + + if(m_allowedValuesHasBeenSet) + { + Aws::Utils::Array allowedValuesJsonList(m_allowedValues.size()); + for(unsigned allowedValuesIndex = 0; allowedValuesIndex < allowedValuesJsonList.GetLength(); ++allowedValuesIndex) + { + allowedValuesJsonList[allowedValuesIndex].AsObject(m_allowedValues[allowedValuesIndex].Jsonize()); + } + payload.WithArray("AllowedValues", std::move(allowedValuesJsonList)); + + } + + if(m_dataOperationScopesHasBeenSet) + { + Aws::Utils::Array dataOperationScopesJsonList(m_dataOperationScopes.size()); + for(unsigned dataOperationScopesIndex = 0; dataOperationScopesIndex < dataOperationScopesJsonList.GetLength(); ++dataOperationScopesIndex) + { + dataOperationScopesJsonList[dataOperationScopesIndex].AsString(DataOperationMapper::GetNameForDataOperation(m_dataOperationScopes[dataOperationScopesIndex])); + } + payload.WithArray("DataOperationScopes", std::move(dataOperationScopesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/PropertyType.cpp b/generated/src/aws-cpp-sdk-glue/source/model/PropertyType.cpp new file mode 100644 index 00000000000..82a27bf41cf --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/PropertyType.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Glue + { + namespace Model + { + namespace PropertyTypeMapper + { + + static const int USER_INPUT_HASH = HashingUtils::HashString("USER_INPUT"); + static const int SECRET_HASH = HashingUtils::HashString("SECRET"); + static const int READ_ONLY_HASH = HashingUtils::HashString("READ_ONLY"); + static const int UNUSED_HASH = HashingUtils::HashString("UNUSED"); + static const int SECRET_OR_USER_INPUT_HASH = HashingUtils::HashString("SECRET_OR_USER_INPUT"); + + + PropertyType GetPropertyTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == USER_INPUT_HASH) + { + return PropertyType::USER_INPUT; + } + else if (hashCode == SECRET_HASH) + { + return PropertyType::SECRET; + } + else if (hashCode == READ_ONLY_HASH) + { + return PropertyType::READ_ONLY; + } + else if (hashCode == UNUSED_HASH) + { + return PropertyType::UNUSED; + } + else if (hashCode == SECRET_OR_USER_INPUT_HASH) + { + return PropertyType::SECRET_OR_USER_INPUT; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return PropertyType::NOT_SET; + } + + Aws::String GetNameForPropertyType(PropertyType enumValue) + { + switch(enumValue) + { + case PropertyType::NOT_SET: + return {}; + case PropertyType::USER_INPUT: + return "USER_INPUT"; + case PropertyType::SECRET: + return "SECRET"; + case PropertyType::READ_ONLY: + return "READ_ONLY"; + case PropertyType::UNUSED: + return "UNUSED"; + case PropertyType::SECRET_OR_USER_INPUT: + return "SECRET_OR_USER_INPUT"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace PropertyTypeMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ScheduleType.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ScheduleType.cpp new file mode 100644 index 00000000000..7fe55257a36 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ScheduleType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Glue + { + namespace Model + { + namespace ScheduleTypeMapper + { + + static const int CRON_HASH = HashingUtils::HashString("CRON"); + static const int AUTO_HASH = HashingUtils::HashString("AUTO"); + + + ScheduleType GetScheduleTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CRON_HASH) + { + return ScheduleType::CRON; + } + else if (hashCode == AUTO_HASH) + { + return ScheduleType::AUTO; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ScheduleType::NOT_SET; + } + + Aws::String GetNameForScheduleType(ScheduleType enumValue) + { + switch(enumValue) + { + case ScheduleType::NOT_SET: + return {}; + case ScheduleType::CRON: + return "CRON"; + case ScheduleType::AUTO: + return "AUTO"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ScheduleTypeMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/SettingSource.cpp b/generated/src/aws-cpp-sdk-glue/source/model/SettingSource.cpp new file mode 100644 index 00000000000..4cc25bb8d7e --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/SettingSource.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Glue + { + namespace Model + { + namespace SettingSourceMapper + { + + static const int CATALOG_HASH = HashingUtils::HashString("CATALOG"); + static const int TABLE_HASH = HashingUtils::HashString("TABLE"); + + + SettingSource GetSettingSourceForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CATALOG_HASH) + { + return SettingSource::CATALOG; + } + else if (hashCode == TABLE_HASH) + { + return SettingSource::TABLE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SettingSource::NOT_SET; + } + + Aws::String GetNameForSettingSource(SettingSource enumValue) + { + switch(enumValue) + { + case SettingSource::NOT_SET: + return {}; + case SettingSource::CATALOG: + return "CATALOG"; + case SettingSource::TABLE: + return "TABLE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SettingSourceMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/SourceProcessingProperties.cpp b/generated/src/aws-cpp-sdk-glue/source/model/SourceProcessingProperties.cpp new file mode 100644 index 00000000000..9d8dbef6ca4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/SourceProcessingProperties.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +SourceProcessingProperties::SourceProcessingProperties() : + m_roleArnHasBeenSet(false) +{ +} + +SourceProcessingProperties::SourceProcessingProperties(JsonView jsonValue) + : SourceProcessingProperties() +{ + *this = jsonValue; +} + +SourceProcessingProperties& SourceProcessingProperties::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("RoleArn")) + { + m_roleArn = jsonValue.GetString("RoleArn"); + + m_roleArnHasBeenSet = true; + } + + return *this; +} + +JsonValue SourceProcessingProperties::Jsonize() const +{ + JsonValue payload; + + if(m_roleArnHasBeenSet) + { + payload.WithString("RoleArn", m_roleArn); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/SourceTableConfig.cpp b/generated/src/aws-cpp-sdk-glue/source/model/SourceTableConfig.cpp new file mode 100644 index 00000000000..9c343153053 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/SourceTableConfig.cpp @@ -0,0 +1,117 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +SourceTableConfig::SourceTableConfig() : + m_fieldsHasBeenSet(false), + m_filterPredicateHasBeenSet(false), + m_primaryKeyHasBeenSet(false), + m_recordUpdateFieldHasBeenSet(false) +{ +} + +SourceTableConfig::SourceTableConfig(JsonView jsonValue) + : SourceTableConfig() +{ + *this = jsonValue; +} + +SourceTableConfig& SourceTableConfig::operator =(JsonView jsonValue) +{ + 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].AsString()); + } + m_fieldsHasBeenSet = true; + } + + if(jsonValue.ValueExists("FilterPredicate")) + { + m_filterPredicate = jsonValue.GetString("FilterPredicate"); + + m_filterPredicateHasBeenSet = true; + } + + if(jsonValue.ValueExists("PrimaryKey")) + { + Aws::Utils::Array primaryKeyJsonList = jsonValue.GetArray("PrimaryKey"); + for(unsigned primaryKeyIndex = 0; primaryKeyIndex < primaryKeyJsonList.GetLength(); ++primaryKeyIndex) + { + m_primaryKey.push_back(primaryKeyJsonList[primaryKeyIndex].AsString()); + } + m_primaryKeyHasBeenSet = true; + } + + if(jsonValue.ValueExists("RecordUpdateField")) + { + m_recordUpdateField = jsonValue.GetString("RecordUpdateField"); + + m_recordUpdateFieldHasBeenSet = true; + } + + return *this; +} + +JsonValue SourceTableConfig::Jsonize() const +{ + JsonValue payload; + + if(m_fieldsHasBeenSet) + { + Aws::Utils::Array fieldsJsonList(m_fields.size()); + for(unsigned fieldsIndex = 0; fieldsIndex < fieldsJsonList.GetLength(); ++fieldsIndex) + { + fieldsJsonList[fieldsIndex].AsString(m_fields[fieldsIndex]); + } + payload.WithArray("Fields", std::move(fieldsJsonList)); + + } + + if(m_filterPredicateHasBeenSet) + { + payload.WithString("FilterPredicate", m_filterPredicate); + + } + + if(m_primaryKeyHasBeenSet) + { + Aws::Utils::Array primaryKeyJsonList(m_primaryKey.size()); + for(unsigned primaryKeyIndex = 0; primaryKeyIndex < primaryKeyJsonList.GetLength(); ++primaryKeyIndex) + { + primaryKeyJsonList[primaryKeyIndex].AsString(m_primaryKey[primaryKeyIndex]); + } + payload.WithArray("PrimaryKey", std::move(primaryKeyJsonList)); + + } + + if(m_recordUpdateFieldHasBeenSet) + { + payload.WithString("RecordUpdateField", m_recordUpdateField); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/Tag.cpp b/generated/src/aws-cpp-sdk-glue/source/model/Tag.cpp new file mode 100644 index 00000000000..b4f7c02f9c7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/Tag.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +Tag::Tag() : + m_keyHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +Tag::Tag(JsonView jsonValue) + : Tag() +{ + *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 Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/TargetProcessingProperties.cpp b/generated/src/aws-cpp-sdk-glue/source/model/TargetProcessingProperties.cpp new file mode 100644 index 00000000000..bf72f0a9784 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/TargetProcessingProperties.cpp @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +TargetProcessingProperties::TargetProcessingProperties() : + m_roleArnHasBeenSet(false), + m_kmsArnHasBeenSet(false), + m_connectionNameHasBeenSet(false), + m_eventBusArnHasBeenSet(false) +{ +} + +TargetProcessingProperties::TargetProcessingProperties(JsonView jsonValue) + : TargetProcessingProperties() +{ + *this = jsonValue; +} + +TargetProcessingProperties& TargetProcessingProperties::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("RoleArn")) + { + m_roleArn = jsonValue.GetString("RoleArn"); + + m_roleArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("KmsArn")) + { + m_kmsArn = jsonValue.GetString("KmsArn"); + + m_kmsArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("ConnectionName")) + { + m_connectionName = jsonValue.GetString("ConnectionName"); + + m_connectionNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("EventBusArn")) + { + m_eventBusArn = jsonValue.GetString("EventBusArn"); + + m_eventBusArnHasBeenSet = true; + } + + return *this; +} + +JsonValue TargetProcessingProperties::Jsonize() const +{ + JsonValue payload; + + if(m_roleArnHasBeenSet) + { + payload.WithString("RoleArn", m_roleArn); + + } + + if(m_kmsArnHasBeenSet) + { + payload.WithString("KmsArn", m_kmsArn); + + } + + if(m_connectionNameHasBeenSet) + { + payload.WithString("ConnectionName", m_connectionName); + + } + + if(m_eventBusArnHasBeenSet) + { + payload.WithString("EventBusArn", m_eventBusArn); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/TargetRedshiftCatalog.cpp b/generated/src/aws-cpp-sdk-glue/source/model/TargetRedshiftCatalog.cpp new file mode 100644 index 00000000000..b94507bdc1a --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/TargetRedshiftCatalog.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +TargetRedshiftCatalog::TargetRedshiftCatalog() : + m_catalogArnHasBeenSet(false) +{ +} + +TargetRedshiftCatalog::TargetRedshiftCatalog(JsonView jsonValue) + : TargetRedshiftCatalog() +{ + *this = jsonValue; +} + +TargetRedshiftCatalog& TargetRedshiftCatalog::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("CatalogArn")) + { + m_catalogArn = jsonValue.GetString("CatalogArn"); + + m_catalogArnHasBeenSet = true; + } + + return *this; +} + +JsonValue TargetRedshiftCatalog::Jsonize() const +{ + JsonValue payload; + + if(m_catalogArnHasBeenSet) + { + payload.WithString("CatalogArn", m_catalogArn); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/TargetTableConfig.cpp b/generated/src/aws-cpp-sdk-glue/source/model/TargetTableConfig.cpp new file mode 100644 index 00000000000..74bf1a1454e --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/TargetTableConfig.cpp @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +TargetTableConfig::TargetTableConfig() : + m_unnestSpec(UnnestSpec::NOT_SET), + m_unnestSpecHasBeenSet(false), + m_partitionSpecHasBeenSet(false), + m_targetTableNameHasBeenSet(false) +{ +} + +TargetTableConfig::TargetTableConfig(JsonView jsonValue) + : TargetTableConfig() +{ + *this = jsonValue; +} + +TargetTableConfig& TargetTableConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("UnnestSpec")) + { + m_unnestSpec = UnnestSpecMapper::GetUnnestSpecForName(jsonValue.GetString("UnnestSpec")); + + m_unnestSpecHasBeenSet = true; + } + + if(jsonValue.ValueExists("PartitionSpec")) + { + Aws::Utils::Array partitionSpecJsonList = jsonValue.GetArray("PartitionSpec"); + for(unsigned partitionSpecIndex = 0; partitionSpecIndex < partitionSpecJsonList.GetLength(); ++partitionSpecIndex) + { + m_partitionSpec.push_back(partitionSpecJsonList[partitionSpecIndex].AsObject()); + } + m_partitionSpecHasBeenSet = true; + } + + if(jsonValue.ValueExists("TargetTableName")) + { + m_targetTableName = jsonValue.GetString("TargetTableName"); + + m_targetTableNameHasBeenSet = true; + } + + return *this; +} + +JsonValue TargetTableConfig::Jsonize() const +{ + JsonValue payload; + + if(m_unnestSpecHasBeenSet) + { + payload.WithString("UnnestSpec", UnnestSpecMapper::GetNameForUnnestSpec(m_unnestSpec)); + } + + if(m_partitionSpecHasBeenSet) + { + Aws::Utils::Array partitionSpecJsonList(m_partitionSpec.size()); + for(unsigned partitionSpecIndex = 0; partitionSpecIndex < partitionSpecJsonList.GetLength(); ++partitionSpecIndex) + { + partitionSpecJsonList[partitionSpecIndex].AsObject(m_partitionSpec[partitionSpecIndex].Jsonize()); + } + payload.WithArray("PartitionSpec", std::move(partitionSpecJsonList)); + + } + + if(m_targetTableNameHasBeenSet) + { + payload.WithString("TargetTableName", m_targetTableName); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/TestConnectionRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/TestConnectionRequest.cpp index e13401fa3ae..225b107d8d9 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/TestConnectionRequest.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/TestConnectionRequest.cpp @@ -14,6 +14,7 @@ using namespace Aws::Utils; TestConnectionRequest::TestConnectionRequest() : m_connectionNameHasBeenSet(false), + m_catalogIdHasBeenSet(false), m_testConnectionInputHasBeenSet(false) { } @@ -28,6 +29,12 @@ Aws::String TestConnectionRequest::SerializePayload() const } + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + if(m_testConnectionInputHasBeenSet) { payload.WithObject("TestConnectionInput", m_testConnectionInput.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-glue/source/model/UnnestSpec.cpp b/generated/src/aws-cpp-sdk-glue/source/model/UnnestSpec.cpp new file mode 100644 index 00000000000..6a95d143f12 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/UnnestSpec.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Glue + { + namespace Model + { + namespace UnnestSpecMapper + { + + static const int TOPLEVEL_HASH = HashingUtils::HashString("TOPLEVEL"); + static const int FULL_HASH = HashingUtils::HashString("FULL"); + static const int NOUNNEST_HASH = HashingUtils::HashString("NOUNNEST"); + + + UnnestSpec GetUnnestSpecForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == TOPLEVEL_HASH) + { + return UnnestSpec::TOPLEVEL; + } + else if (hashCode == FULL_HASH) + { + return UnnestSpec::FULL; + } + else if (hashCode == NOUNNEST_HASH) + { + return UnnestSpec::NOUNNEST; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return UnnestSpec::NOT_SET; + } + + Aws::String GetNameForUnnestSpec(UnnestSpec enumValue) + { + switch(enumValue) + { + case UnnestSpec::NOT_SET: + return {}; + case UnnestSpec::TOPLEVEL: + return "TOPLEVEL"; + case UnnestSpec::FULL: + return "FULL"; + case UnnestSpec::NOUNNEST: + return "NOUNNEST"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace UnnestSpecMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/UpdateCatalogRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/UpdateCatalogRequest.cpp new file mode 100644 index 00000000000..aa1783cc3ab --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/UpdateCatalogRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateCatalogRequest::UpdateCatalogRequest() : + m_catalogIdHasBeenSet(false), + m_catalogInputHasBeenSet(false) +{ +} + +Aws::String UpdateCatalogRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_catalogIdHasBeenSet) + { + payload.WithString("CatalogId", m_catalogId); + + } + + if(m_catalogInputHasBeenSet) + { + payload.WithObject("CatalogInput", m_catalogInput.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateCatalogRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.UpdateCatalog")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/UpdateCatalogResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/UpdateCatalogResult.cpp new file mode 100644 index 00000000000..6deab81be09 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/UpdateCatalogResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateCatalogResult::UpdateCatalogResult() +{ +} + +UpdateCatalogResult::UpdateCatalogResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateCatalogResult& UpdateCatalogResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationResourcePropertyRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationResourcePropertyRequest.cpp new file mode 100644 index 00000000000..ffd584ecd15 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationResourcePropertyRequest.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateIntegrationResourcePropertyRequest::UpdateIntegrationResourcePropertyRequest() : + m_resourceArnHasBeenSet(false), + m_sourceProcessingPropertiesHasBeenSet(false), + m_targetProcessingPropertiesHasBeenSet(false) +{ +} + +Aws::String UpdateIntegrationResourcePropertyRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + if(m_sourceProcessingPropertiesHasBeenSet) + { + payload.WithObject("SourceProcessingProperties", m_sourceProcessingProperties.Jsonize()); + + } + + if(m_targetProcessingPropertiesHasBeenSet) + { + payload.WithObject("TargetProcessingProperties", m_targetProcessingProperties.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateIntegrationResourcePropertyRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.UpdateIntegrationResourceProperty")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationResourcePropertyResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationResourcePropertyResult.cpp new file mode 100644 index 00000000000..b7e9b0ddb2b --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationResourcePropertyResult.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateIntegrationResourcePropertyResult::UpdateIntegrationResourcePropertyResult() +{ +} + +UpdateIntegrationResourcePropertyResult::UpdateIntegrationResourcePropertyResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateIntegrationResourcePropertyResult& UpdateIntegrationResourcePropertyResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ResourceArn")) + { + m_resourceArn = jsonValue.GetString("ResourceArn"); + + } + + if(jsonValue.ValueExists("SourceProcessingProperties")) + { + m_sourceProcessingProperties = jsonValue.GetObject("SourceProcessingProperties"); + + } + + if(jsonValue.ValueExists("TargetProcessingProperties")) + { + m_targetProcessingProperties = jsonValue.GetObject("TargetProcessingProperties"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationTablePropertiesRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationTablePropertiesRequest.cpp new file mode 100644 index 00000000000..9c105722231 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationTablePropertiesRequest.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateIntegrationTablePropertiesRequest::UpdateIntegrationTablePropertiesRequest() : + m_resourceArnHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_sourceTableConfigHasBeenSet(false), + m_targetTableConfigHasBeenSet(false) +{ +} + +Aws::String UpdateIntegrationTablePropertiesRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + if(m_tableNameHasBeenSet) + { + payload.WithString("TableName", m_tableName); + + } + + if(m_sourceTableConfigHasBeenSet) + { + payload.WithObject("SourceTableConfig", m_sourceTableConfig.Jsonize()); + + } + + if(m_targetTableConfigHasBeenSet) + { + payload.WithObject("TargetTableConfig", m_targetTableConfig.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateIntegrationTablePropertiesRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSGlue.UpdateIntegrationTableProperties")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationTablePropertiesResult.cpp b/generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationTablePropertiesResult.cpp new file mode 100644 index 00000000000..6edf4a41fdd --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/UpdateIntegrationTablePropertiesResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Glue::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateIntegrationTablePropertiesResult::UpdateIntegrationTablePropertiesResult() +{ +} + +UpdateIntegrationTablePropertiesResult::UpdateIntegrationTablePropertiesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateIntegrationTablePropertiesResult& UpdateIntegrationTablePropertiesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/CatalogResource.h b/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/CatalogResource.h index e6ff6623ba5..fe5e438cacf 100644 --- a/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/CatalogResource.h +++ b/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/CatalogResource.h @@ -5,6 +5,8 @@ #pragma once #include +#include +#include namespace Aws { @@ -34,6 +36,24 @@ namespace Model AWS_LAKEFORMATION_API CatalogResource& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const; + + ///@{ + /** + *

    An identifier for the catalog resource.

    + */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline CatalogResource& WithId(const Aws::String& value) { SetId(value); return *this;} + inline CatalogResource& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline CatalogResource& WithId(const char* value) { SetId(value); return *this;} + ///@} + private: + + Aws::String m_id; + bool m_idHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/Condition.h b/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/Condition.h new file mode 100644 index 00000000000..e26aa2bebb3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/Condition.h @@ -0,0 +1,63 @@ +/** + * 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 LakeFormation +{ +namespace Model +{ + + /** + *

    A Lake Formation condition, which applies to permissions and opt-ins that + * contain an expression.

    See Also:

    AWS + * API Reference

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

    An expression written based on the Cedar Policy Language used to match the + * principal attributes.

    + */ + inline const Aws::String& GetExpression() const{ return m_expression; } + inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } + inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; } + inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); } + inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); } + inline Condition& WithExpression(const Aws::String& value) { SetExpression(value); return *this;} + inline Condition& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;} + inline Condition& WithExpression(const char* value) { SetExpression(value); return *this;} + ///@} + private: + + Aws::String m_expression; + bool m_expressionHasBeenSet = false; + }; + +} // namespace Model +} // namespace LakeFormation +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/LakeFormationOptInsInfo.h b/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/LakeFormationOptInsInfo.h index d69e0f1f5ed..0214bb28ae8 100644 --- a/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/LakeFormationOptInsInfo.h +++ b/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/LakeFormationOptInsInfo.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -61,6 +62,19 @@ namespace Model inline LakeFormationOptInsInfo& WithPrincipal(DataLakePrincipal&& value) { SetPrincipal(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    A Lake Formation condition, which applies to permissions and opt-ins that + * contain an expression.

    + */ + inline const Condition& GetCondition() const{ return m_condition; } + inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; } + inline void SetCondition(const Condition& value) { m_conditionHasBeenSet = true; m_condition = value; } + inline void SetCondition(Condition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); } + inline LakeFormationOptInsInfo& WithCondition(const Condition& value) { SetCondition(value); return *this;} + inline LakeFormationOptInsInfo& WithCondition(Condition&& value) { SetCondition(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The last modified date and time of the record.

    @@ -94,6 +108,9 @@ namespace Model DataLakePrincipal m_principal; bool m_principalHasBeenSet = false; + Condition m_condition; + bool m_conditionHasBeenSet = false; + Aws::Utils::DateTime m_lastModified; bool m_lastModifiedHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/Permission.h b/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/Permission.h index 83cfce0b0e9..9a7b04f1bbc 100644 --- a/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/Permission.h +++ b/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/Permission.h @@ -29,7 +29,9 @@ namespace Model CREATE_LF_TAG, ASSOCIATE, GRANT_WITH_LF_TAG_EXPRESSION, - CREATE_LF_TAG_EXPRESSION + CREATE_LF_TAG_EXPRESSION, + CREATE_CATALOG, + SUPER_USER }; namespace PermissionMapper diff --git a/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/PrincipalResourcePermissions.h b/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/PrincipalResourcePermissions.h index dadea23e118..7fc07c07728 100644 --- a/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/PrincipalResourcePermissions.h +++ b/generated/src/aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/PrincipalResourcePermissions.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -68,6 +69,19 @@ namespace Model inline PrincipalResourcePermissions& WithResource(Resource&& value) { SetResource(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    A Lake Formation condition, which applies to permissions and opt-ins that + * contain an expression.

    + */ + inline const Condition& GetCondition() const{ return m_condition; } + inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; } + inline void SetCondition(const Condition& value) { m_conditionHasBeenSet = true; m_condition = value; } + inline void SetCondition(Condition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); } + inline PrincipalResourcePermissions& WithCondition(const Condition& value) { SetCondition(value); return *this;} + inline PrincipalResourcePermissions& WithCondition(Condition&& value) { SetCondition(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The permissions to be granted or revoked on the resource.

    @@ -144,6 +158,9 @@ namespace Model Resource m_resource; bool m_resourceHasBeenSet = false; + Condition m_condition; + bool m_conditionHasBeenSet = false; + Aws::Vector m_permissions; bool m_permissionsHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-lakeformation/source/model/CatalogResource.cpp b/generated/src/aws-cpp-sdk-lakeformation/source/model/CatalogResource.cpp index a903c8339c3..39dc47a5b9f 100644 --- a/generated/src/aws-cpp-sdk-lakeformation/source/model/CatalogResource.cpp +++ b/generated/src/aws-cpp-sdk-lakeformation/source/model/CatalogResource.cpp @@ -18,18 +18,26 @@ namespace LakeFormation namespace Model { -CatalogResource::CatalogResource() +CatalogResource::CatalogResource() : + m_idHasBeenSet(false) { } CatalogResource::CatalogResource(JsonView jsonValue) + : CatalogResource() { *this = jsonValue; } CatalogResource& CatalogResource::operator =(JsonView jsonValue) { - AWS_UNREFERENCED_PARAM(jsonValue); + if(jsonValue.ValueExists("Id")) + { + m_id = jsonValue.GetString("Id"); + + m_idHasBeenSet = true; + } + return *this; } @@ -37,6 +45,12 @@ JsonValue CatalogResource::Jsonize() const { JsonValue payload; + if(m_idHasBeenSet) + { + payload.WithString("Id", m_id); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-lakeformation/source/model/Condition.cpp b/generated/src/aws-cpp-sdk-lakeformation/source/model/Condition.cpp new file mode 100644 index 00000000000..23a09f246b5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lakeformation/source/model/Condition.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LakeFormation +{ +namespace Model +{ + +Condition::Condition() : + m_expressionHasBeenSet(false) +{ +} + +Condition::Condition(JsonView jsonValue) + : Condition() +{ + *this = jsonValue; +} + +Condition& Condition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Expression")) + { + m_expression = jsonValue.GetString("Expression"); + + m_expressionHasBeenSet = true; + } + + return *this; +} + +JsonValue Condition::Jsonize() const +{ + JsonValue payload; + + if(m_expressionHasBeenSet) + { + payload.WithString("Expression", m_expression); + + } + + return payload; +} + +} // namespace Model +} // namespace LakeFormation +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lakeformation/source/model/LakeFormationOptInsInfo.cpp b/generated/src/aws-cpp-sdk-lakeformation/source/model/LakeFormationOptInsInfo.cpp index dd426a5dff6..7a464f6965b 100644 --- a/generated/src/aws-cpp-sdk-lakeformation/source/model/LakeFormationOptInsInfo.cpp +++ b/generated/src/aws-cpp-sdk-lakeformation/source/model/LakeFormationOptInsInfo.cpp @@ -21,6 +21,7 @@ namespace Model LakeFormationOptInsInfo::LakeFormationOptInsInfo() : m_resourceHasBeenSet(false), m_principalHasBeenSet(false), + m_conditionHasBeenSet(false), m_lastModifiedHasBeenSet(false), m_lastUpdatedByHasBeenSet(false) { @@ -48,6 +49,13 @@ LakeFormationOptInsInfo& LakeFormationOptInsInfo::operator =(JsonView jsonValue) m_principalHasBeenSet = true; } + if(jsonValue.ValueExists("Condition")) + { + m_condition = jsonValue.GetObject("Condition"); + + m_conditionHasBeenSet = true; + } + if(jsonValue.ValueExists("LastModified")) { m_lastModified = jsonValue.GetDouble("LastModified"); @@ -81,6 +89,12 @@ JsonValue LakeFormationOptInsInfo::Jsonize() const } + if(m_conditionHasBeenSet) + { + payload.WithObject("Condition", m_condition.Jsonize()); + + } + if(m_lastModifiedHasBeenSet) { payload.WithDouble("LastModified", m_lastModified.SecondsWithMSPrecision()); diff --git a/generated/src/aws-cpp-sdk-lakeformation/source/model/Permission.cpp b/generated/src/aws-cpp-sdk-lakeformation/source/model/Permission.cpp index 11762f7c9f9..17f87332765 100644 --- a/generated/src/aws-cpp-sdk-lakeformation/source/model/Permission.cpp +++ b/generated/src/aws-cpp-sdk-lakeformation/source/model/Permission.cpp @@ -34,6 +34,8 @@ namespace Aws static const int ASSOCIATE_HASH = HashingUtils::HashString("ASSOCIATE"); static const int GRANT_WITH_LF_TAG_EXPRESSION_HASH = HashingUtils::HashString("GRANT_WITH_LF_TAG_EXPRESSION"); static const int CREATE_LF_TAG_EXPRESSION_HASH = HashingUtils::HashString("CREATE_LF_TAG_EXPRESSION"); + static const int CREATE_CATALOG_HASH = HashingUtils::HashString("CREATE_CATALOG"); + static const int SUPER_USER_HASH = HashingUtils::HashString("SUPER_USER"); Permission GetPermissionForName(const Aws::String& name) @@ -95,6 +97,14 @@ namespace Aws { return Permission::CREATE_LF_TAG_EXPRESSION; } + else if (hashCode == CREATE_CATALOG_HASH) + { + return Permission::CREATE_CATALOG; + } + else if (hashCode == SUPER_USER_HASH) + { + return Permission::SUPER_USER; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -139,6 +149,10 @@ namespace Aws return "GRANT_WITH_LF_TAG_EXPRESSION"; case Permission::CREATE_LF_TAG_EXPRESSION: return "CREATE_LF_TAG_EXPRESSION"; + case Permission::CREATE_CATALOG: + return "CREATE_CATALOG"; + case Permission::SUPER_USER: + return "SUPER_USER"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-lakeformation/source/model/PrincipalResourcePermissions.cpp b/generated/src/aws-cpp-sdk-lakeformation/source/model/PrincipalResourcePermissions.cpp index c86f9eaab60..075a5746360 100644 --- a/generated/src/aws-cpp-sdk-lakeformation/source/model/PrincipalResourcePermissions.cpp +++ b/generated/src/aws-cpp-sdk-lakeformation/source/model/PrincipalResourcePermissions.cpp @@ -21,6 +21,7 @@ namespace Model PrincipalResourcePermissions::PrincipalResourcePermissions() : m_principalHasBeenSet(false), m_resourceHasBeenSet(false), + m_conditionHasBeenSet(false), m_permissionsHasBeenSet(false), m_permissionsWithGrantOptionHasBeenSet(false), m_additionalDetailsHasBeenSet(false), @@ -51,6 +52,13 @@ PrincipalResourcePermissions& PrincipalResourcePermissions::operator =(JsonView m_resourceHasBeenSet = true; } + if(jsonValue.ValueExists("Condition")) + { + m_condition = jsonValue.GetObject("Condition"); + + m_conditionHasBeenSet = true; + } + if(jsonValue.ValueExists("Permissions")) { Aws::Utils::Array permissionsJsonList = jsonValue.GetArray("Permissions"); @@ -111,6 +119,12 @@ JsonValue PrincipalResourcePermissions::Jsonize() const } + if(m_conditionHasBeenSet) + { + payload.WithObject("Condition", m_condition.Jsonize()); + + } + if(m_permissionsHasBeenSet) { Aws::Utils::Array permissionsJsonList(m_permissions.size()); diff --git a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/Entity.h b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/Entity.h index 9dc287069bb..af7ed3222c2 100644 --- a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/Entity.h +++ b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/Entity.h @@ -54,8 +54,8 @@ namespace Model * ResourceType, Identifier, Name, and * Environment.

    For details about how to use the key attributes * to specify an entity, see How to - * add related information to telemetry in the CloudWatch User + * href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/adding-your-own-related-telemetry.html">How + * to add related information to telemetry in the CloudWatch User * Guide.

    */ inline const Aws::Map& GetKeyAttributes() const{ return m_keyAttributes; } @@ -78,8 +78,8 @@ namespace Model *

    Additional attributes of the entity that are not used to specify the identity * of the entity. A list of key-value pairs.

    For details about how to use * the attributes, see How to - * add related information to telemetry in the CloudWatch User + * href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/adding-your-own-related-telemetry.html">How + * to add related information to telemetry in the CloudWatch User * Guide.

    */ inline const Aws::Map& GetAttributes() const{ return m_attributes; } diff --git a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutCompositeAlarmRequest.h b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutCompositeAlarmRequest.h index 231742c956d..25246929f85 100644 --- a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutCompositeAlarmRequest.h +++ b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutCompositeAlarmRequest.h @@ -64,6 +64,9 @@ namespace Model * arn:aws:lambda:region:account-id:function:function-name:alias-name *

    Systems Manager actions:

    * arn:aws:ssm:region:account-id:opsitem:severity + *

    Start a Amazon Q Developer operational investigation + *

    + * arn:aws:aiops:region:account-id:investigation-group:ingestigation-group-id *

    */ inline const Aws::Vector& GetAlarmActions() const{ return m_alarmActions; } diff --git a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutMetricAlarmRequest.h b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutMetricAlarmRequest.h index ce562a962d9..0c54c383dd4 100644 --- a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutMetricAlarmRequest.h +++ b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutMetricAlarmRequest.h @@ -159,7 +159,10 @@ namespace Model * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name - *

  • + *

    Start a Amazon Q Developer operational + * investigation

    + * arn:aws:aiops:region:account-id:investigation-group:ingestigation-group-id + *

    */ inline const Aws::Vector& GetAlarmActions() const{ return m_alarmActions; } inline bool AlarmActionsHasBeenSet() const { return m_alarmActionsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PluginType.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PluginType.h index 9fcbcc5eed8..168c7506a90 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PluginType.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/PluginType.h @@ -20,7 +20,18 @@ namespace Model SALESFORCE, JIRA, ZENDESK, - CUSTOM + CUSTOM, + ASANA, + ATLASSIAN_CONFLUENCE, + GOOGLE_CALENDAR, + JIRA_CLOUD, + MICROSOFT_EXCHANGE, + MICROSOFT_TEAMS, + PAGERDUTY_ADVANCE, + SALESFORCE_CRM, + SERVICENOW_NOW_PLATFORM, + SMARTSHEET, + ZENDESK_SUITE }; namespace PluginTypeMapper diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QPluginCard.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QPluginCard.h index e78eb196ed4..40421a113c9 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QPluginCard.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QPluginCard.h @@ -135,6 +135,20 @@ namespace Model inline QPluginCard& WithPluginId(Aws::String&& value) { SetPluginId(std::move(value)); return *this;} inline QPluginCard& WithPluginId(const char* value) { SetPluginId(value); return *this;} ///@} + + ///@{ + /** + *

    The action identifier of the action to be performed by the plugin card.

    + */ + inline const Aws::String& GetActionIdentifier() const{ return m_actionIdentifier; } + inline bool ActionIdentifierHasBeenSet() const { return m_actionIdentifierHasBeenSet; } + inline void SetActionIdentifier(const Aws::String& value) { m_actionIdentifierHasBeenSet = true; m_actionIdentifier = value; } + inline void SetActionIdentifier(Aws::String&& value) { m_actionIdentifierHasBeenSet = true; m_actionIdentifier = std::move(value); } + inline void SetActionIdentifier(const char* value) { m_actionIdentifierHasBeenSet = true; m_actionIdentifier.assign(value); } + inline QPluginCard& WithActionIdentifier(const Aws::String& value) { SetActionIdentifier(value); return *this;} + inline QPluginCard& WithActionIdentifier(Aws::String&& value) { SetActionIdentifier(std::move(value)); return *this;} + inline QPluginCard& WithActionIdentifier(const char* value) { SetActionIdentifier(value); return *this;} + ///@} private: Aws::String m_id; @@ -157,6 +171,9 @@ namespace Model Aws::String m_pluginId; bool m_pluginIdHasBeenSet = false; + + Aws::String m_actionIdentifier; + bool m_actionIdentifierHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QPluginCardInput.h b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QPluginCardInput.h index 956e980543b..a520ab0d191 100644 --- a/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QPluginCardInput.h +++ b/generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/QPluginCardInput.h @@ -106,6 +106,20 @@ namespace Model inline QPluginCardInput& WithPluginId(Aws::String&& value) { SetPluginId(std::move(value)); return *this;} inline QPluginCardInput& WithPluginId(const char* value) { SetPluginId(value); return *this;} ///@} + + ///@{ + /** + *

    The action identifier of the action to be performed by the plugin card.

    + */ + inline const Aws::String& GetActionIdentifier() const{ return m_actionIdentifier; } + inline bool ActionIdentifierHasBeenSet() const { return m_actionIdentifierHasBeenSet; } + inline void SetActionIdentifier(const Aws::String& value) { m_actionIdentifierHasBeenSet = true; m_actionIdentifier = value; } + inline void SetActionIdentifier(Aws::String&& value) { m_actionIdentifierHasBeenSet = true; m_actionIdentifier = std::move(value); } + inline void SetActionIdentifier(const char* value) { m_actionIdentifierHasBeenSet = true; m_actionIdentifier.assign(value); } + inline QPluginCardInput& WithActionIdentifier(const Aws::String& value) { SetActionIdentifier(value); return *this;} + inline QPluginCardInput& WithActionIdentifier(Aws::String&& value) { SetActionIdentifier(std::move(value)); return *this;} + inline QPluginCardInput& WithActionIdentifier(const char* value) { SetActionIdentifier(value); return *this;} + ///@} private: Aws::String m_title; @@ -122,6 +136,9 @@ namespace Model Aws::String m_pluginId; bool m_pluginIdHasBeenSet = false; + + Aws::String m_actionIdentifier; + bool m_actionIdentifierHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/PluginType.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/PluginType.cpp index f4ea0bff919..1a5fb504486 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/PluginType.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/PluginType.cpp @@ -25,6 +25,17 @@ namespace Aws static const int JIRA_HASH = HashingUtils::HashString("JIRA"); static const int ZENDESK_HASH = HashingUtils::HashString("ZENDESK"); static const int CUSTOM_HASH = HashingUtils::HashString("CUSTOM"); + static const int ASANA_HASH = HashingUtils::HashString("ASANA"); + static const int ATLASSIAN_CONFLUENCE_HASH = HashingUtils::HashString("ATLASSIAN_CONFLUENCE"); + static const int GOOGLE_CALENDAR_HASH = HashingUtils::HashString("GOOGLE_CALENDAR"); + static const int JIRA_CLOUD_HASH = HashingUtils::HashString("JIRA_CLOUD"); + static const int MICROSOFT_EXCHANGE_HASH = HashingUtils::HashString("MICROSOFT_EXCHANGE"); + static const int MICROSOFT_TEAMS_HASH = HashingUtils::HashString("MICROSOFT_TEAMS"); + static const int PAGERDUTY_ADVANCE_HASH = HashingUtils::HashString("PAGERDUTY_ADVANCE"); + static const int SALESFORCE_CRM_HASH = HashingUtils::HashString("SALESFORCE_CRM"); + static const int SERVICENOW_NOW_PLATFORM_HASH = HashingUtils::HashString("SERVICENOW_NOW_PLATFORM"); + static const int SMARTSHEET_HASH = HashingUtils::HashString("SMARTSHEET"); + static const int ZENDESK_SUITE_HASH = HashingUtils::HashString("ZENDESK_SUITE"); PluginType GetPluginTypeForName(const Aws::String& name) @@ -50,6 +61,50 @@ namespace Aws { return PluginType::CUSTOM; } + else if (hashCode == ASANA_HASH) + { + return PluginType::ASANA; + } + else if (hashCode == ATLASSIAN_CONFLUENCE_HASH) + { + return PluginType::ATLASSIAN_CONFLUENCE; + } + else if (hashCode == GOOGLE_CALENDAR_HASH) + { + return PluginType::GOOGLE_CALENDAR; + } + else if (hashCode == JIRA_CLOUD_HASH) + { + return PluginType::JIRA_CLOUD; + } + else if (hashCode == MICROSOFT_EXCHANGE_HASH) + { + return PluginType::MICROSOFT_EXCHANGE; + } + else if (hashCode == MICROSOFT_TEAMS_HASH) + { + return PluginType::MICROSOFT_TEAMS; + } + else if (hashCode == PAGERDUTY_ADVANCE_HASH) + { + return PluginType::PAGERDUTY_ADVANCE; + } + else if (hashCode == SALESFORCE_CRM_HASH) + { + return PluginType::SALESFORCE_CRM; + } + else if (hashCode == SERVICENOW_NOW_PLATFORM_HASH) + { + return PluginType::SERVICENOW_NOW_PLATFORM; + } + else if (hashCode == SMARTSHEET_HASH) + { + return PluginType::SMARTSHEET; + } + else if (hashCode == ZENDESK_SUITE_HASH) + { + return PluginType::ZENDESK_SUITE; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -76,6 +131,28 @@ namespace Aws return "ZENDESK"; case PluginType::CUSTOM: return "CUSTOM"; + case PluginType::ASANA: + return "ASANA"; + case PluginType::ATLASSIAN_CONFLUENCE: + return "ATLASSIAN_CONFLUENCE"; + case PluginType::GOOGLE_CALENDAR: + return "GOOGLE_CALENDAR"; + case PluginType::JIRA_CLOUD: + return "JIRA_CLOUD"; + case PluginType::MICROSOFT_EXCHANGE: + return "MICROSOFT_EXCHANGE"; + case PluginType::MICROSOFT_TEAMS: + return "MICROSOFT_TEAMS"; + case PluginType::PAGERDUTY_ADVANCE: + return "PAGERDUTY_ADVANCE"; + case PluginType::SALESFORCE_CRM: + return "SALESFORCE_CRM"; + case PluginType::SERVICENOW_NOW_PLATFORM: + return "SERVICENOW_NOW_PLATFORM"; + case PluginType::SMARTSHEET: + return "SMARTSHEET"; + case PluginType::ZENDESK_SUITE: + return "ZENDESK_SUITE"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/QPluginCard.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/QPluginCard.cpp index f1be5a6c1bb..9c5aaa6b5a1 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/QPluginCard.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/QPluginCard.cpp @@ -27,7 +27,8 @@ QPluginCard::QPluginCard() : m_promptHasBeenSet(false), m_pluginType(PluginType::NOT_SET), m_pluginTypeHasBeenSet(false), - m_pluginIdHasBeenSet(false) + m_pluginIdHasBeenSet(false), + m_actionIdentifierHasBeenSet(false) { } @@ -91,6 +92,13 @@ QPluginCard& QPluginCard::operator =(JsonView jsonValue) m_pluginIdHasBeenSet = true; } + if(jsonValue.ValueExists("actionIdentifier")) + { + m_actionIdentifier = jsonValue.GetString("actionIdentifier"); + + m_actionIdentifierHasBeenSet = true; + } + return *this; } @@ -143,6 +151,12 @@ JsonValue QPluginCard::Jsonize() const } + if(m_actionIdentifierHasBeenSet) + { + payload.WithString("actionIdentifier", m_actionIdentifier); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-qapps/source/model/QPluginCardInput.cpp b/generated/src/aws-cpp-sdk-qapps/source/model/QPluginCardInput.cpp index a19da10bdd8..fa64a31f08e 100644 --- a/generated/src/aws-cpp-sdk-qapps/source/model/QPluginCardInput.cpp +++ b/generated/src/aws-cpp-sdk-qapps/source/model/QPluginCardInput.cpp @@ -24,7 +24,8 @@ QPluginCardInput::QPluginCardInput() : m_type(CardType::NOT_SET), m_typeHasBeenSet(false), m_promptHasBeenSet(false), - m_pluginIdHasBeenSet(false) + m_pluginIdHasBeenSet(false), + m_actionIdentifierHasBeenSet(false) { } @@ -71,6 +72,13 @@ QPluginCardInput& QPluginCardInput::operator =(JsonView jsonValue) m_pluginIdHasBeenSet = true; } + if(jsonValue.ValueExists("actionIdentifier")) + { + m_actionIdentifier = jsonValue.GetString("actionIdentifier"); + + m_actionIdentifierHasBeenSet = true; + } + return *this; } @@ -107,6 +115,12 @@ JsonValue QPluginCardInput::Jsonize() const } + if(m_actionIdentifierHasBeenSet) + { + payload.WithString("actionIdentifier", m_actionIdentifier); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/QBusinessClient.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/QBusinessClient.h index e1c29a6fdf8..48277bc86ae 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/QBusinessClient.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/QBusinessClient.h @@ -99,6 +99,35 @@ namespace QBusiness /* End of legacy constructors due deprecation */ virtual ~QBusinessClient(); + /** + *

    Adds or updates a permission policy for a Q Business application, allowing + * cross-account access for an ISV. This operation creates a new policy statement + * for the specified Q Business application. The policy statement defines the IAM + * actions that the ISV is allowed to perform on the Q Business application's + * resources.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::AssociatePermissionOutcome AssociatePermission(const Model::AssociatePermissionRequest& request) const; + + /** + * A Callable wrapper for AssociatePermission that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AssociatePermissionOutcomeCallable AssociatePermissionCallable(const AssociatePermissionRequestT& request) const + { + return SubmitCallable(&QBusinessClient::AssociatePermission, request); + } + + /** + * An Async wrapper for AssociatePermission that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AssociatePermissionAsync(const AssociatePermissionRequestT& request, const AssociatePermissionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QBusinessClient::AssociatePermission, request, handler, context); + } + /** *

    Asynchronously deletes one or more documents added using the * BatchPutDocument API from an Amazon Q Business index.

    You @@ -241,6 +270,38 @@ namespace QBusiness return SubmitAsync(&QBusinessClient::CreateApplication, request, handler, context); } + /** + *

    Creates a new data accessor for an ISV to access data from a Q Business + * application. The data accessor is an entity that represents the ISV's access to + * the Q Business application's data. It includes the IAM role ARN for the ISV, a + * friendly name, and a set of action configurations that define the specific + * actions the ISV is allowed to perform and any associated data filters. When the + * data accessor is created, an AWS IAM Identity Center application is also created + * to manage the ISV's identity and authentication for accessing the Q Business + * application.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateDataAccessorOutcome CreateDataAccessor(const Model::CreateDataAccessorRequest& request) const; + + /** + * A Callable wrapper for CreateDataAccessor that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateDataAccessorOutcomeCallable CreateDataAccessorCallable(const CreateDataAccessorRequestT& request) const + { + return SubmitCallable(&QBusinessClient::CreateDataAccessor, request); + } + + /** + * An Async wrapper for CreateDataAccessor that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateDataAccessorAsync(const CreateDataAccessorRequestT& request, const CreateDataAccessorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QBusinessClient::CreateDataAccessor, request, handler, context); + } + /** *

    Creates a data source connector for an Amazon Q Business application.

    * CreateDataSource is a synchronous operation. The operation returns @@ -481,6 +542,34 @@ namespace QBusiness return SubmitAsync(&QBusinessClient::DeleteConversation, request, handler, context); } + /** + *

    Deletes a specified data accessor. This operation permanently removes the + * data accessor and its associated AWS IAM Identity Center application. Any access + * granted to the ISV through this data accessor will be revoked

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteDataAccessorOutcome DeleteDataAccessor(const Model::DeleteDataAccessorRequest& request) const; + + /** + * A Callable wrapper for DeleteDataAccessor that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteDataAccessorOutcomeCallable DeleteDataAccessorCallable(const DeleteDataAccessorRequestT& request) const + { + return SubmitCallable(&QBusinessClient::DeleteDataAccessor, request); + } + + /** + * An Async wrapper for DeleteDataAccessor that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteDataAccessorAsync(const DeleteDataAccessorRequestT& request, const DeleteDataAccessorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QBusinessClient::DeleteDataAccessor, request, handler, context); + } + /** *

    Deletes an Amazon Q Business data source connector. While the data source is * being deleted, the Status field returned by a call to the @@ -669,6 +758,34 @@ namespace QBusiness return SubmitAsync(&QBusinessClient::DeleteWebExperience, request, handler, context); } + /** + *

    Removes a permission policy from a Q Business application, revoking the + * cross-account access that was previously granted to an ISV. This operation + * deletes the specified policy statement from the application's permission + * policy.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DisassociatePermissionOutcome DisassociatePermission(const Model::DisassociatePermissionRequest& request) const; + + /** + * A Callable wrapper for DisassociatePermission that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DisassociatePermissionOutcomeCallable DisassociatePermissionCallable(const DisassociatePermissionRequestT& request) const + { + return SubmitCallable(&QBusinessClient::DisassociatePermission, request); + } + + /** + * An Async wrapper for DisassociatePermission that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DisassociatePermissionAsync(const DisassociatePermissionRequestT& request, const DisassociatePermissionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QBusinessClient::DisassociatePermission, request, handler, context); + } + /** *

    Gets information about an existing Amazon Q Business * application.

    See Also:

    Retrieves information about a specified data accessor. This operation returns + * details about the data accessor, including its display name, unique identifier, + * Amazon Resource Name (ARN), the associated Q Business application and AWS IAM + * Identity Center application, the IAM role for the ISV, the action + * configurations, and the timestamps for when the data accessor was created and + * last updated.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetDataAccessorOutcome GetDataAccessor(const Model::GetDataAccessorRequest& request) const; + + /** + * A Callable wrapper for GetDataAccessor that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetDataAccessorOutcomeCallable GetDataAccessorCallable(const GetDataAccessorRequestT& request) const + { + return SubmitCallable(&QBusinessClient::GetDataAccessor, request); + } + + /** + * An Async wrapper for GetDataAccessor that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetDataAccessorAsync(const GetDataAccessorRequestT& request, const GetDataAccessorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QBusinessClient::GetDataAccessor, request, handler, context); + } + /** *

    Gets information about an existing Amazon Q Business data source * connector.

    See Also:

    Retrieves the current permission policy for a Q Business application. The + * policy is returned as a JSON-formatted string and defines the IAM actions that + * are allowed or denied for the application's resources.

    See Also:

    + *
    AWS + * API Reference

    + */ + virtual Model::GetPolicyOutcome GetPolicy(const Model::GetPolicyRequest& request) const; + + /** + * A Callable wrapper for GetPolicy that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetPolicyOutcomeCallable GetPolicyCallable(const GetPolicyRequestT& request) const + { + return SubmitCallable(&QBusinessClient::GetPolicy, request); + } + + /** + * An Async wrapper for GetPolicy that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetPolicyAsync(const GetPolicyRequestT& request, const GetPolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QBusinessClient::GetPolicy, request, handler, context); + } + /** *

    Gets information about an existing retriever used by an Amazon Q Business * application.

    See Also:

    Lists the data accessors for a Q Business application. This operation returns + * a paginated list of data accessor summaries, including the friendly name, unique + * identifier, ARN, associated IAM role, and creation/update timestamps for each + * data accessor.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListDataAccessorsOutcome ListDataAccessors(const Model::ListDataAccessorsRequest& request) const; + + /** + * A Callable wrapper for ListDataAccessors that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListDataAccessorsOutcomeCallable ListDataAccessorsCallable(const ListDataAccessorsRequestT& request) const + { + return SubmitCallable(&QBusinessClient::ListDataAccessors, request); + } + + /** + * An Async wrapper for ListDataAccessors that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListDataAccessorsAsync(const ListDataAccessorsRequestT& request, const ListDataAccessorsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QBusinessClient::ListDataAccessors, request, handler, context); + } + /** *

    Get information about an Amazon Q Business data source connector * synchronization.

    See Also:

    Lists configured Amazon Q Business actions for a specific plugin in an Amazon + * Q Business application.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListPluginActionsOutcome ListPluginActions(const Model::ListPluginActionsRequest& request) const; + + /** + * A Callable wrapper for ListPluginActions that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListPluginActionsOutcomeCallable ListPluginActionsCallable(const ListPluginActionsRequestT& request) const + { + return SubmitCallable(&QBusinessClient::ListPluginActions, request); + } + + /** + * An Async wrapper for ListPluginActions that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListPluginActionsAsync(const ListPluginActionsRequestT& request, const ListPluginActionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QBusinessClient::ListPluginActions, request, handler, context); + } + + /** + *

    Lists configured Amazon Q Business actions for any plugin type—both built-in + * and custom.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListPluginTypeActionsOutcome ListPluginTypeActions(const Model::ListPluginTypeActionsRequest& request) const; + + /** + * A Callable wrapper for ListPluginTypeActions that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListPluginTypeActionsOutcomeCallable ListPluginTypeActionsCallable(const ListPluginTypeActionsRequestT& request) const + { + return SubmitCallable(&QBusinessClient::ListPluginTypeActions, request); + } + + /** + * An Async wrapper for ListPluginTypeActions that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListPluginTypeActionsAsync(const ListPluginTypeActionsRequestT& request, const ListPluginTypeActionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QBusinessClient::ListPluginTypeActions, request, handler, context); + } + + /** + *

    Lists metadata for all Amazon Q Business plugin types.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::ListPluginTypeMetadataOutcome ListPluginTypeMetadata(const Model::ListPluginTypeMetadataRequest& request = {}) const; + + /** + * A Callable wrapper for ListPluginTypeMetadata that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListPluginTypeMetadataOutcomeCallable ListPluginTypeMetadataCallable(const ListPluginTypeMetadataRequestT& request = {}) const + { + return SubmitCallable(&QBusinessClient::ListPluginTypeMetadata, request); + } + + /** + * An Async wrapper for ListPluginTypeMetadata that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListPluginTypeMetadataAsync(const ListPluginTypeMetadataResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListPluginTypeMetadataRequestT& request = {}) const + { + return SubmitAsync(&QBusinessClient::ListPluginTypeMetadata, request, handler, context); + } + /** *

    Lists configured Amazon Q Business plugins.

    See Also:

    AWS @@ -1331,6 +1612,37 @@ namespace QBusiness return SubmitAsync(&QBusinessClient::PutGroup, request, handler, context); } + /** + *

    Searches for relevant content in a Q Business application based on a query. + * This operation takes a search query text, the Q Business application identifier, + * and optional filters (such as user ID, user groups, content source, and maximum + * results) as input. It returns a list of relevant content items, where each item + * includes the content text, the unique document identifier, the document title, + * the document URI, any relevant document attributes, and score attributes + * indicating the confidence level of the relevance.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::SearchRelevantContentOutcome SearchRelevantContent(const Model::SearchRelevantContentRequest& request) const; + + /** + * A Callable wrapper for SearchRelevantContent that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::SearchRelevantContentOutcomeCallable SearchRelevantContentCallable(const SearchRelevantContentRequestT& request) const + { + return SubmitCallable(&QBusinessClient::SearchRelevantContent, request); + } + + /** + * An Async wrapper for SearchRelevantContent that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void SearchRelevantContentAsync(const SearchRelevantContentRequestT& request, const SearchRelevantContentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QBusinessClient::SearchRelevantContent, request, handler, context); + } + /** *

    Starts a data source connector synchronization job. If a synchronization job * is already in progress, Amazon Q Business returns a @@ -1497,6 +1809,35 @@ namespace QBusiness return SubmitAsync(&QBusinessClient::UpdateChatControlsConfiguration, request, handler, context); } + /** + *

    Updates an existing data accessor. This operation allows modifying the action + * configurations (the allowed actions and associated filters) and the display name + * of the data accessor. It does not allow changing the IAM role associated with + * the data accessor or other core properties of the data accessor.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::UpdateDataAccessorOutcome UpdateDataAccessor(const Model::UpdateDataAccessorRequest& request) const; + + /** + * A Callable wrapper for UpdateDataAccessor that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateDataAccessorOutcomeCallable UpdateDataAccessorCallable(const UpdateDataAccessorRequestT& request) const + { + return SubmitCallable(&QBusinessClient::UpdateDataAccessor, request); + } + + /** + * An Async wrapper for UpdateDataAccessor that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateDataAccessorAsync(const UpdateDataAccessorRequestT& request, const UpdateDataAccessorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QBusinessClient::UpdateDataAccessor, request, handler, context); + } + /** *

    Updates an existing Amazon Q Business data source connector.

    See * Also:

    #include #include #include #include +#include #include #include #include @@ -31,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -38,42 +41,52 @@ #include #include #include +#include #include #include +#include #include #include #include #include #include +#include #include #include #include #include #include #include +#include #include #include #include #include #include #include +#include +#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 QBusinessClient header */ @@ -121,12 +134,14 @@ namespace Aws namespace Model { /* Service model forward declarations required in QBusinessClient header */ + class AssociatePermissionRequest; class BatchDeleteDocumentRequest; class BatchPutDocumentRequest; class ChatRequest; class ChatInputStream; class ChatSyncRequest; class CreateApplicationRequest; + class CreateDataAccessorRequest; class CreateDataSourceRequest; class CreateIndexRequest; class CreatePluginRequest; @@ -136,6 +151,7 @@ namespace Aws class DeleteApplicationRequest; class DeleteChatControlsConfigurationRequest; class DeleteConversationRequest; + class DeleteDataAccessorRequest; class DeleteDataSourceRequest; class DeleteGroupRequest; class DeleteIndexRequest; @@ -143,37 +159,46 @@ namespace Aws class DeleteRetrieverRequest; class DeleteUserRequest; class DeleteWebExperienceRequest; + class DisassociatePermissionRequest; class GetApplicationRequest; class GetChatControlsConfigurationRequest; + class GetDataAccessorRequest; class GetDataSourceRequest; class GetGroupRequest; class GetIndexRequest; class GetMediaRequest; class GetPluginRequest; + class GetPolicyRequest; class GetRetrieverRequest; class GetUserRequest; class GetWebExperienceRequest; class ListApplicationsRequest; class ListAttachmentsRequest; class ListConversationsRequest; + class ListDataAccessorsRequest; class ListDataSourceSyncJobsRequest; class ListDataSourcesRequest; class ListDocumentsRequest; class ListGroupsRequest; class ListIndicesRequest; class ListMessagesRequest; + class ListPluginActionsRequest; + class ListPluginTypeActionsRequest; + class ListPluginTypeMetadataRequest; class ListPluginsRequest; class ListRetrieversRequest; class ListTagsForResourceRequest; class ListWebExperiencesRequest; class PutFeedbackRequest; class PutGroupRequest; + class SearchRelevantContentRequest; class StartDataSourceSyncJobRequest; class StopDataSourceSyncJobRequest; class TagResourceRequest; class UntagResourceRequest; class UpdateApplicationRequest; class UpdateChatControlsConfigurationRequest; + class UpdateDataAccessorRequest; class UpdateDataSourceRequest; class UpdateIndexRequest; class UpdatePluginRequest; @@ -183,11 +208,13 @@ namespace Aws /* End of service model forward declarations required in QBusinessClient header */ /* Service model Outcome class definitions */ + typedef Aws::Utils::Outcome AssociatePermissionOutcome; typedef Aws::Utils::Outcome BatchDeleteDocumentOutcome; typedef Aws::Utils::Outcome BatchPutDocumentOutcome; typedef Aws::Utils::Outcome ChatOutcome; typedef Aws::Utils::Outcome ChatSyncOutcome; typedef Aws::Utils::Outcome CreateApplicationOutcome; + typedef Aws::Utils::Outcome CreateDataAccessorOutcome; typedef Aws::Utils::Outcome CreateDataSourceOutcome; typedef Aws::Utils::Outcome CreateIndexOutcome; typedef Aws::Utils::Outcome CreatePluginOutcome; @@ -197,6 +224,7 @@ namespace Aws typedef Aws::Utils::Outcome DeleteApplicationOutcome; typedef Aws::Utils::Outcome DeleteChatControlsConfigurationOutcome; typedef Aws::Utils::Outcome DeleteConversationOutcome; + typedef Aws::Utils::Outcome DeleteDataAccessorOutcome; typedef Aws::Utils::Outcome DeleteDataSourceOutcome; typedef Aws::Utils::Outcome DeleteGroupOutcome; typedef Aws::Utils::Outcome DeleteIndexOutcome; @@ -204,37 +232,46 @@ namespace Aws typedef Aws::Utils::Outcome DeleteRetrieverOutcome; typedef Aws::Utils::Outcome DeleteUserOutcome; typedef Aws::Utils::Outcome DeleteWebExperienceOutcome; + typedef Aws::Utils::Outcome DisassociatePermissionOutcome; typedef Aws::Utils::Outcome GetApplicationOutcome; typedef Aws::Utils::Outcome GetChatControlsConfigurationOutcome; + typedef Aws::Utils::Outcome GetDataAccessorOutcome; typedef Aws::Utils::Outcome GetDataSourceOutcome; typedef Aws::Utils::Outcome GetGroupOutcome; typedef Aws::Utils::Outcome GetIndexOutcome; typedef Aws::Utils::Outcome GetMediaOutcome; typedef Aws::Utils::Outcome GetPluginOutcome; + typedef Aws::Utils::Outcome GetPolicyOutcome; typedef Aws::Utils::Outcome GetRetrieverOutcome; typedef Aws::Utils::Outcome GetUserOutcome; typedef Aws::Utils::Outcome GetWebExperienceOutcome; typedef Aws::Utils::Outcome ListApplicationsOutcome; typedef Aws::Utils::Outcome ListAttachmentsOutcome; typedef Aws::Utils::Outcome ListConversationsOutcome; + typedef Aws::Utils::Outcome ListDataAccessorsOutcome; typedef Aws::Utils::Outcome ListDataSourceSyncJobsOutcome; typedef Aws::Utils::Outcome ListDataSourcesOutcome; typedef Aws::Utils::Outcome ListDocumentsOutcome; typedef Aws::Utils::Outcome ListGroupsOutcome; typedef Aws::Utils::Outcome ListIndicesOutcome; typedef Aws::Utils::Outcome ListMessagesOutcome; + typedef Aws::Utils::Outcome ListPluginActionsOutcome; + typedef Aws::Utils::Outcome ListPluginTypeActionsOutcome; + typedef Aws::Utils::Outcome ListPluginTypeMetadataOutcome; typedef Aws::Utils::Outcome ListPluginsOutcome; typedef Aws::Utils::Outcome ListRetrieversOutcome; typedef Aws::Utils::Outcome ListTagsForResourceOutcome; typedef Aws::Utils::Outcome ListWebExperiencesOutcome; typedef Aws::Utils::Outcome PutFeedbackOutcome; typedef Aws::Utils::Outcome PutGroupOutcome; + typedef Aws::Utils::Outcome SearchRelevantContentOutcome; typedef Aws::Utils::Outcome StartDataSourceSyncJobOutcome; typedef Aws::Utils::Outcome StopDataSourceSyncJobOutcome; typedef Aws::Utils::Outcome TagResourceOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; typedef Aws::Utils::Outcome UpdateApplicationOutcome; typedef Aws::Utils::Outcome UpdateChatControlsConfigurationOutcome; + typedef Aws::Utils::Outcome UpdateDataAccessorOutcome; typedef Aws::Utils::Outcome UpdateDataSourceOutcome; typedef Aws::Utils::Outcome UpdateIndexOutcome; typedef Aws::Utils::Outcome UpdatePluginOutcome; @@ -244,11 +281,13 @@ namespace Aws /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ + typedef std::future AssociatePermissionOutcomeCallable; typedef std::future BatchDeleteDocumentOutcomeCallable; typedef std::future BatchPutDocumentOutcomeCallable; typedef std::future ChatOutcomeCallable; typedef std::future ChatSyncOutcomeCallable; typedef std::future CreateApplicationOutcomeCallable; + typedef std::future CreateDataAccessorOutcomeCallable; typedef std::future CreateDataSourceOutcomeCallable; typedef std::future CreateIndexOutcomeCallable; typedef std::future CreatePluginOutcomeCallable; @@ -258,6 +297,7 @@ namespace Aws typedef std::future DeleteApplicationOutcomeCallable; typedef std::future DeleteChatControlsConfigurationOutcomeCallable; typedef std::future DeleteConversationOutcomeCallable; + typedef std::future DeleteDataAccessorOutcomeCallable; typedef std::future DeleteDataSourceOutcomeCallable; typedef std::future DeleteGroupOutcomeCallable; typedef std::future DeleteIndexOutcomeCallable; @@ -265,37 +305,46 @@ namespace Aws typedef std::future DeleteRetrieverOutcomeCallable; typedef std::future DeleteUserOutcomeCallable; typedef std::future DeleteWebExperienceOutcomeCallable; + typedef std::future DisassociatePermissionOutcomeCallable; typedef std::future GetApplicationOutcomeCallable; typedef std::future GetChatControlsConfigurationOutcomeCallable; + typedef std::future GetDataAccessorOutcomeCallable; typedef std::future GetDataSourceOutcomeCallable; typedef std::future GetGroupOutcomeCallable; typedef std::future GetIndexOutcomeCallable; typedef std::future GetMediaOutcomeCallable; typedef std::future GetPluginOutcomeCallable; + typedef std::future GetPolicyOutcomeCallable; typedef std::future GetRetrieverOutcomeCallable; typedef std::future GetUserOutcomeCallable; typedef std::future GetWebExperienceOutcomeCallable; typedef std::future ListApplicationsOutcomeCallable; typedef std::future ListAttachmentsOutcomeCallable; typedef std::future ListConversationsOutcomeCallable; + typedef std::future ListDataAccessorsOutcomeCallable; typedef std::future ListDataSourceSyncJobsOutcomeCallable; typedef std::future ListDataSourcesOutcomeCallable; typedef std::future ListDocumentsOutcomeCallable; typedef std::future ListGroupsOutcomeCallable; typedef std::future ListIndicesOutcomeCallable; typedef std::future ListMessagesOutcomeCallable; + typedef std::future ListPluginActionsOutcomeCallable; + typedef std::future ListPluginTypeActionsOutcomeCallable; + typedef std::future ListPluginTypeMetadataOutcomeCallable; typedef std::future ListPluginsOutcomeCallable; typedef std::future ListRetrieversOutcomeCallable; typedef std::future ListTagsForResourceOutcomeCallable; typedef std::future ListWebExperiencesOutcomeCallable; typedef std::future PutFeedbackOutcomeCallable; typedef std::future PutGroupOutcomeCallable; + typedef std::future SearchRelevantContentOutcomeCallable; typedef std::future StartDataSourceSyncJobOutcomeCallable; typedef std::future StopDataSourceSyncJobOutcomeCallable; typedef std::future TagResourceOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; typedef std::future UpdateApplicationOutcomeCallable; typedef std::future UpdateChatControlsConfigurationOutcomeCallable; + typedef std::future UpdateDataAccessorOutcomeCallable; typedef std::future UpdateDataSourceOutcomeCallable; typedef std::future UpdateIndexOutcomeCallable; typedef std::future UpdatePluginOutcomeCallable; @@ -308,12 +357,14 @@ namespace Aws class QBusinessClient; /* Service model async handlers definitions */ + typedef std::function&) > AssociatePermissionResponseReceivedHandler; typedef std::function&) > BatchDeleteDocumentResponseReceivedHandler; typedef std::function&) > BatchPutDocumentResponseReceivedHandler; typedef std::function ChatStreamReadyHandler; typedef std::function&) > ChatResponseReceivedHandler; typedef std::function&) > ChatSyncResponseReceivedHandler; typedef std::function&) > CreateApplicationResponseReceivedHandler; + typedef std::function&) > CreateDataAccessorResponseReceivedHandler; typedef std::function&) > CreateDataSourceResponseReceivedHandler; typedef std::function&) > CreateIndexResponseReceivedHandler; typedef std::function&) > CreatePluginResponseReceivedHandler; @@ -323,6 +374,7 @@ namespace Aws typedef std::function&) > DeleteApplicationResponseReceivedHandler; typedef std::function&) > DeleteChatControlsConfigurationResponseReceivedHandler; typedef std::function&) > DeleteConversationResponseReceivedHandler; + typedef std::function&) > DeleteDataAccessorResponseReceivedHandler; typedef std::function&) > DeleteDataSourceResponseReceivedHandler; typedef std::function&) > DeleteGroupResponseReceivedHandler; typedef std::function&) > DeleteIndexResponseReceivedHandler; @@ -330,37 +382,46 @@ namespace Aws typedef std::function&) > DeleteRetrieverResponseReceivedHandler; typedef std::function&) > DeleteUserResponseReceivedHandler; typedef std::function&) > DeleteWebExperienceResponseReceivedHandler; + typedef std::function&) > DisassociatePermissionResponseReceivedHandler; typedef std::function&) > GetApplicationResponseReceivedHandler; typedef std::function&) > GetChatControlsConfigurationResponseReceivedHandler; + typedef std::function&) > GetDataAccessorResponseReceivedHandler; typedef std::function&) > GetDataSourceResponseReceivedHandler; typedef std::function&) > GetGroupResponseReceivedHandler; typedef std::function&) > GetIndexResponseReceivedHandler; typedef std::function&) > GetMediaResponseReceivedHandler; typedef std::function&) > GetPluginResponseReceivedHandler; + typedef std::function&) > GetPolicyResponseReceivedHandler; typedef std::function&) > GetRetrieverResponseReceivedHandler; typedef std::function&) > GetUserResponseReceivedHandler; typedef std::function&) > GetWebExperienceResponseReceivedHandler; typedef std::function&) > ListApplicationsResponseReceivedHandler; typedef std::function&) > ListAttachmentsResponseReceivedHandler; typedef std::function&) > ListConversationsResponseReceivedHandler; + typedef std::function&) > ListDataAccessorsResponseReceivedHandler; typedef std::function&) > ListDataSourceSyncJobsResponseReceivedHandler; typedef std::function&) > ListDataSourcesResponseReceivedHandler; typedef std::function&) > ListDocumentsResponseReceivedHandler; typedef std::function&) > ListGroupsResponseReceivedHandler; typedef std::function&) > ListIndicesResponseReceivedHandler; typedef std::function&) > ListMessagesResponseReceivedHandler; + typedef std::function&) > ListPluginActionsResponseReceivedHandler; + typedef std::function&) > ListPluginTypeActionsResponseReceivedHandler; + typedef std::function&) > ListPluginTypeMetadataResponseReceivedHandler; typedef std::function&) > ListPluginsResponseReceivedHandler; typedef std::function&) > ListRetrieversResponseReceivedHandler; typedef std::function&) > ListTagsForResourceResponseReceivedHandler; typedef std::function&) > ListWebExperiencesResponseReceivedHandler; typedef std::function&) > PutFeedbackResponseReceivedHandler; typedef std::function&) > PutGroupResponseReceivedHandler; + typedef std::function&) > SearchRelevantContentResponseReceivedHandler; typedef std::function&) > StartDataSourceSyncJobResponseReceivedHandler; typedef std::function&) > StopDataSourceSyncJobResponseReceivedHandler; typedef std::function&) > TagResourceResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; typedef std::function&) > UpdateApplicationResponseReceivedHandler; typedef std::function&) > UpdateChatControlsConfigurationResponseReceivedHandler; + typedef std::function&) > UpdateDataAccessorResponseReceivedHandler; typedef std::function&) > UpdateDataSourceResponseReceivedHandler; typedef std::function&) > UpdateIndexResponseReceivedHandler; typedef std::function&) > UpdatePluginResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionConfiguration.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionConfiguration.h new file mode 100644 index 00000000000..8cd03573386 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionConfiguration.h @@ -0,0 +1,78 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + *

    Specifies an allowed action and its associated filter + * configuration.

    See Also:

    AWS + * API Reference

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

    The Q Business action that is allowed.

    + */ + inline const Aws::String& GetAction() const{ return m_action; } + inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } + inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; } + inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); } + inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); } + inline ActionConfiguration& WithAction(const Aws::String& value) { SetAction(value); return *this;} + inline ActionConfiguration& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;} + inline ActionConfiguration& WithAction(const char* value) { SetAction(value); return *this;} + ///@} + + ///@{ + /** + *

    The filter configuration for the action, if any.

    + */ + inline const ActionFilterConfiguration& GetFilterConfiguration() const{ return m_filterConfiguration; } + inline bool FilterConfigurationHasBeenSet() const { return m_filterConfigurationHasBeenSet; } + inline void SetFilterConfiguration(const ActionFilterConfiguration& value) { m_filterConfigurationHasBeenSet = true; m_filterConfiguration = value; } + inline void SetFilterConfiguration(ActionFilterConfiguration&& value) { m_filterConfigurationHasBeenSet = true; m_filterConfiguration = std::move(value); } + inline ActionConfiguration& WithFilterConfiguration(const ActionFilterConfiguration& value) { SetFilterConfiguration(value); return *this;} + inline ActionConfiguration& WithFilterConfiguration(ActionFilterConfiguration&& value) { SetFilterConfiguration(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_action; + bool m_actionHasBeenSet = false; + + ActionFilterConfiguration m_filterConfiguration; + bool m_filterConfigurationHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionFilterConfiguration.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionFilterConfiguration.h new file mode 100644 index 00000000000..72cbfcc17d3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionFilterConfiguration.h @@ -0,0 +1,58 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + *

    Specifies filters to apply to an allowed action.

    See Also:

    + * AWS + * API Reference

    + */ + class ActionFilterConfiguration + { + public: + AWS_QBUSINESS_API ActionFilterConfiguration(); + AWS_QBUSINESS_API ActionFilterConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_QBUSINESS_API ActionFilterConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + + inline const AttributeFilter& GetDocumentAttributeFilter() const{ return m_documentAttributeFilter; } + inline bool DocumentAttributeFilterHasBeenSet() const { return m_documentAttributeFilterHasBeenSet; } + inline void SetDocumentAttributeFilter(const AttributeFilter& value) { m_documentAttributeFilterHasBeenSet = true; m_documentAttributeFilter = value; } + inline void SetDocumentAttributeFilter(AttributeFilter&& value) { m_documentAttributeFilterHasBeenSet = true; m_documentAttributeFilter = std::move(value); } + inline ActionFilterConfiguration& WithDocumentAttributeFilter(const AttributeFilter& value) { SetDocumentAttributeFilter(value); return *this;} + inline ActionFilterConfiguration& WithDocumentAttributeFilter(AttributeFilter&& value) { SetDocumentAttributeFilter(std::move(value)); return *this;} + ///@} + private: + + AttributeFilter m_documentAttributeFilter; + bool m_documentAttributeFilterHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionReviewPayloadField.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionReviewPayloadField.h index b32eee2823b..6cf78a1182a 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionReviewPayloadField.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionReviewPayloadField.h @@ -142,7 +142,7 @@ namespace Model ///@{ /** *

    Use to create a custom form with array fields (fields with nested objects - * inside an array).

    + * inside an array).

    */ inline Aws::Utils::DocumentView GetArrayItemJsonSchema() const{ return m_arrayItemJsonSchema; } inline bool ArrayItemJsonSchemaHasBeenSet() const { return m_arrayItemJsonSchemaHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionSummary.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionSummary.h new file mode 100644 index 00000000000..667be6786a0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ActionSummary.h @@ -0,0 +1,117 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + *

    Summary information for an Amazon Q Business plugin action.

    See + * Also:

    AWS + * API Reference

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

    The identifier of an Amazon Q Business plugin action.

    + */ + inline const Aws::String& GetActionIdentifier() const{ return m_actionIdentifier; } + inline bool ActionIdentifierHasBeenSet() const { return m_actionIdentifierHasBeenSet; } + inline void SetActionIdentifier(const Aws::String& value) { m_actionIdentifierHasBeenSet = true; m_actionIdentifier = value; } + inline void SetActionIdentifier(Aws::String&& value) { m_actionIdentifierHasBeenSet = true; m_actionIdentifier = std::move(value); } + inline void SetActionIdentifier(const char* value) { m_actionIdentifierHasBeenSet = true; m_actionIdentifier.assign(value); } + inline ActionSummary& WithActionIdentifier(const Aws::String& value) { SetActionIdentifier(value); return *this;} + inline ActionSummary& WithActionIdentifier(Aws::String&& value) { SetActionIdentifier(std::move(value)); return *this;} + inline ActionSummary& WithActionIdentifier(const char* value) { SetActionIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The display name assigned by Amazon Q Business to a plugin action. You can't + * modify this value.

    + */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + inline ActionSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline ActionSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline ActionSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + ///@} + + ///@{ + /** + *

    An Amazon Q Business suggested prompt and end user can use to invoke a plugin + * action. This value can be modified and sent as input to initiate an action. For + * example:

    • Create a Jira task

    • Create a chat + * assistant task to find the root cause of a specific incident

    + */ + inline const Aws::String& GetInstructionExample() const{ return m_instructionExample; } + inline bool InstructionExampleHasBeenSet() const { return m_instructionExampleHasBeenSet; } + inline void SetInstructionExample(const Aws::String& value) { m_instructionExampleHasBeenSet = true; m_instructionExample = value; } + inline void SetInstructionExample(Aws::String&& value) { m_instructionExampleHasBeenSet = true; m_instructionExample = std::move(value); } + inline void SetInstructionExample(const char* value) { m_instructionExampleHasBeenSet = true; m_instructionExample.assign(value); } + inline ActionSummary& WithInstructionExample(const Aws::String& value) { SetInstructionExample(value); return *this;} + inline ActionSummary& WithInstructionExample(Aws::String&& value) { SetInstructionExample(std::move(value)); return *this;} + inline ActionSummary& WithInstructionExample(const char* value) { SetInstructionExample(value); return *this;} + ///@} + + ///@{ + /** + *

    The description of an Amazon Q Business plugin action.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline ActionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline ActionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline ActionSummary& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + private: + + Aws::String m_actionIdentifier; + bool m_actionIdentifierHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_instructionExample; + bool m_instructionExampleHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/Application.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/Application.h index 074d7c8398d..9ab5717d5a4 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/Application.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/Application.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -118,6 +119,19 @@ namespace Model inline Application& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;} inline Application& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    The Amazon QuickSight configuration for an Amazon Q Business application that + * uses QuickSight as the identity provider.

    + */ + inline const QuickSightConfiguration& GetQuickSightConfiguration() const{ return m_quickSightConfiguration; } + inline bool QuickSightConfigurationHasBeenSet() const { return m_quickSightConfigurationHasBeenSet; } + inline void SetQuickSightConfiguration(const QuickSightConfiguration& value) { m_quickSightConfigurationHasBeenSet = true; m_quickSightConfiguration = value; } + inline void SetQuickSightConfiguration(QuickSightConfiguration&& value) { m_quickSightConfigurationHasBeenSet = true; m_quickSightConfiguration = std::move(value); } + inline Application& WithQuickSightConfiguration(const QuickSightConfiguration& value) { SetQuickSightConfiguration(value); return *this;} + inline Application& WithQuickSightConfiguration(QuickSightConfiguration&& value) { SetQuickSightConfiguration(std::move(value)); return *this;} + ///@} private: Aws::String m_displayName; @@ -137,6 +151,9 @@ namespace Model IdentityType m_identityType; bool m_identityTypeHasBeenSet = false; + + QuickSightConfiguration m_quickSightConfiguration; + bool m_quickSightConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/AssociatePermissionRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/AssociatePermissionRequest.h new file mode 100644 index 00000000000..f95047c6e61 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/AssociatePermissionRequest.h @@ -0,0 +1,110 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + */ + class AssociatePermissionRequest : public QBusinessRequest + { + public: + AWS_QBUSINESS_API AssociatePermissionRequest(); + + // 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 "AssociatePermission"; } + + AWS_QBUSINESS_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The unique identifier of the Q Business application.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } + inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } + inline AssociatePermissionRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline AssociatePermissionRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline AssociatePermissionRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + + ///@{ + /** + *

    A unique identifier for the policy statement.

    + */ + inline const Aws::String& GetStatementId() const{ return m_statementId; } + inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; } + inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; } + inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); } + inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); } + inline AssociatePermissionRequest& WithStatementId(const Aws::String& value) { SetStatementId(value); return *this;} + inline AssociatePermissionRequest& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;} + inline AssociatePermissionRequest& WithStatementId(const char* value) { SetStatementId(value); return *this;} + ///@} + + ///@{ + /** + *

    The list of Q Business actions that the ISV is allowed to perform.

    + */ + inline const Aws::Vector& GetActions() const{ return m_actions; } + inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } + inline void SetActions(const Aws::Vector& value) { m_actionsHasBeenSet = true; m_actions = value; } + inline void SetActions(Aws::Vector&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); } + inline AssociatePermissionRequest& WithActions(const Aws::Vector& value) { SetActions(value); return *this;} + inline AssociatePermissionRequest& WithActions(Aws::Vector&& value) { SetActions(std::move(value)); return *this;} + inline AssociatePermissionRequest& AddActions(const Aws::String& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } + inline AssociatePermissionRequest& AddActions(Aws::String&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; } + inline AssociatePermissionRequest& AddActions(const char* value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the IAM role for the ISV that is being + * granted permission.

    + */ + inline const Aws::String& GetPrincipal() const{ return m_principal; } + inline bool PrincipalHasBeenSet() const { return m_principalHasBeenSet; } + inline void SetPrincipal(const Aws::String& value) { m_principalHasBeenSet = true; m_principal = value; } + inline void SetPrincipal(Aws::String&& value) { m_principalHasBeenSet = true; m_principal = std::move(value); } + inline void SetPrincipal(const char* value) { m_principalHasBeenSet = true; m_principal.assign(value); } + inline AssociatePermissionRequest& WithPrincipal(const Aws::String& value) { SetPrincipal(value); return *this;} + inline AssociatePermissionRequest& WithPrincipal(Aws::String&& value) { SetPrincipal(std::move(value)); return *this;} + inline AssociatePermissionRequest& WithPrincipal(const char* value) { SetPrincipal(value); return *this;} + ///@} + private: + + Aws::String m_applicationId; + bool m_applicationIdHasBeenSet = false; + + Aws::String m_statementId; + bool m_statementIdHasBeenSet = false; + + Aws::Vector m_actions; + bool m_actionsHasBeenSet = false; + + Aws::String m_principal; + bool m_principalHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/AssociatePermissionResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/AssociatePermissionResult.h new file mode 100644 index 00000000000..138ff9389de --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/AssociatePermissionResult.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QBusiness +{ +namespace Model +{ + class AssociatePermissionResult + { + public: + AWS_QBUSINESS_API AssociatePermissionResult(); + AWS_QBUSINESS_API AssociatePermissionResult(const Aws::AmazonWebServiceResult& result); + AWS_QBUSINESS_API AssociatePermissionResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The JSON representation of the added permission statement.

    + */ + inline const Aws::String& GetStatement() const{ return m_statement; } + inline void SetStatement(const Aws::String& value) { m_statement = value; } + inline void SetStatement(Aws::String&& value) { m_statement = std::move(value); } + inline void SetStatement(const char* value) { m_statement.assign(value); } + inline AssociatePermissionResult& WithStatement(const Aws::String& value) { SetStatement(value); return *this;} + inline AssociatePermissionResult& WithStatement(Aws::String&& value) { SetStatement(std::move(value)); return *this;} + inline AssociatePermissionResult& WithStatement(const char* value) { SetStatement(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline AssociatePermissionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline AssociatePermissionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline AssociatePermissionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_statement; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ContentSource.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ContentSource.h new file mode 100644 index 00000000000..b0b26d25a76 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ContentSource.h @@ -0,0 +1,59 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + *

    Specifies the source of content to search in.

    See Also:

    AWS + * API Reference

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

    The retriever to use as the content source.

    + */ + inline const RetrieverContentSource& GetRetriever() const{ return m_retriever; } + inline bool RetrieverHasBeenSet() const { return m_retrieverHasBeenSet; } + inline void SetRetriever(const RetrieverContentSource& value) { m_retrieverHasBeenSet = true; m_retriever = value; } + inline void SetRetriever(RetrieverContentSource&& value) { m_retrieverHasBeenSet = true; m_retriever = std::move(value); } + inline ContentSource& WithRetriever(const RetrieverContentSource& value) { SetRetriever(value); return *this;} + inline ContentSource& WithRetriever(RetrieverContentSource&& value) { SetRetriever(std::move(value)); return *this;} + ///@} + private: + + RetrieverContentSource m_retriever; + bool m_retrieverHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateApplicationRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateApplicationRequest.h index 803df500ae4..ea968204697 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateApplicationRequest.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateApplicationRequest.h @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -227,6 +228,23 @@ namespace Model inline CreateApplicationRequest& WithPersonalizationConfiguration(const PersonalizationConfiguration& value) { SetPersonalizationConfiguration(value); return *this;} inline CreateApplicationRequest& WithPersonalizationConfiguration(PersonalizationConfiguration&& value) { SetPersonalizationConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    The Amazon QuickSight configuration for an Amazon Q Business application that + * uses QuickSight for authentication. This configuration is required if your + * application uses QuickSight as the identity provider. For more information, see + * Creating + * an Amazon QuickSight integrated application.

    + */ + inline const QuickSightConfiguration& GetQuickSightConfiguration() const{ return m_quickSightConfiguration; } + inline bool QuickSightConfigurationHasBeenSet() const { return m_quickSightConfigurationHasBeenSet; } + inline void SetQuickSightConfiguration(const QuickSightConfiguration& value) { m_quickSightConfigurationHasBeenSet = true; m_quickSightConfiguration = value; } + inline void SetQuickSightConfiguration(QuickSightConfiguration&& value) { m_quickSightConfigurationHasBeenSet = true; m_quickSightConfiguration = std::move(value); } + inline CreateApplicationRequest& WithQuickSightConfiguration(const QuickSightConfiguration& value) { SetQuickSightConfiguration(value); return *this;} + inline CreateApplicationRequest& WithQuickSightConfiguration(QuickSightConfiguration&& value) { SetQuickSightConfiguration(std::move(value)); return *this;} + ///@} private: Aws::String m_displayName; @@ -267,6 +285,9 @@ namespace Model PersonalizationConfiguration m_personalizationConfiguration; bool m_personalizationConfigurationHasBeenSet = false; + + QuickSightConfiguration m_quickSightConfiguration; + bool m_quickSightConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateDataAccessorRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateDataAccessorRequest.h new file mode 100644 index 00000000000..02f52829912 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateDataAccessorRequest.h @@ -0,0 +1,148 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + */ + class CreateDataAccessorRequest : public QBusinessRequest + { + public: + AWS_QBUSINESS_API CreateDataAccessorRequest(); + + // 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 "CreateDataAccessor"; } + + AWS_QBUSINESS_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The unique identifier of the Q Business application.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } + inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } + inline CreateDataAccessorRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline CreateDataAccessorRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline CreateDataAccessorRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the IAM role for the ISV that will be + * accessing the data.

    + */ + inline const Aws::String& GetPrincipal() const{ return m_principal; } + inline bool PrincipalHasBeenSet() const { return m_principalHasBeenSet; } + inline void SetPrincipal(const Aws::String& value) { m_principalHasBeenSet = true; m_principal = value; } + inline void SetPrincipal(Aws::String&& value) { m_principalHasBeenSet = true; m_principal = std::move(value); } + inline void SetPrincipal(const char* value) { m_principalHasBeenSet = true; m_principal.assign(value); } + inline CreateDataAccessorRequest& WithPrincipal(const Aws::String& value) { SetPrincipal(value); return *this;} + inline CreateDataAccessorRequest& WithPrincipal(Aws::String&& value) { SetPrincipal(std::move(value)); return *this;} + inline CreateDataAccessorRequest& WithPrincipal(const char* value) { SetPrincipal(value); return *this;} + ///@} + + ///@{ + /** + *

    A list of action configurations specifying the allowed actions and any + * associated filters.

    + */ + inline const Aws::Vector& GetActionConfigurations() const{ return m_actionConfigurations; } + inline bool ActionConfigurationsHasBeenSet() const { return m_actionConfigurationsHasBeenSet; } + inline void SetActionConfigurations(const Aws::Vector& value) { m_actionConfigurationsHasBeenSet = true; m_actionConfigurations = value; } + inline void SetActionConfigurations(Aws::Vector&& value) { m_actionConfigurationsHasBeenSet = true; m_actionConfigurations = std::move(value); } + inline CreateDataAccessorRequest& WithActionConfigurations(const Aws::Vector& value) { SetActionConfigurations(value); return *this;} + inline CreateDataAccessorRequest& WithActionConfigurations(Aws::Vector&& value) { SetActionConfigurations(std::move(value)); return *this;} + inline CreateDataAccessorRequest& AddActionConfigurations(const ActionConfiguration& value) { m_actionConfigurationsHasBeenSet = true; m_actionConfigurations.push_back(value); return *this; } + inline CreateDataAccessorRequest& AddActionConfigurations(ActionConfiguration&& value) { m_actionConfigurationsHasBeenSet = true; m_actionConfigurations.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    A unique, case-sensitive identifier you provide to ensure idempotency of the + * request.

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

    A friendly name for the data accessor.

    + */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + inline CreateDataAccessorRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline CreateDataAccessorRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline CreateDataAccessorRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + ///@} + + ///@{ + /** + *

    The tags to associate with the data accessor.

    + */ + inline const Aws::Vector& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline CreateDataAccessorRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} + inline CreateDataAccessorRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} + inline CreateDataAccessorRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } + inline CreateDataAccessorRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_applicationId; + bool m_applicationIdHasBeenSet = false; + + Aws::String m_principal; + bool m_principalHasBeenSet = false; + + Aws::Vector m_actionConfigurations; + bool m_actionConfigurationsHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::Vector m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateDataAccessorResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateDataAccessorResult.h new file mode 100644 index 00000000000..04f39cc523b --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateDataAccessorResult.h @@ -0,0 +1,98 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + class CreateDataAccessorResult + { + public: + AWS_QBUSINESS_API CreateDataAccessorResult(); + AWS_QBUSINESS_API CreateDataAccessorResult(const Aws::AmazonWebServiceResult& result); + AWS_QBUSINESS_API CreateDataAccessorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The unique identifier of the created data accessor.

    + */ + inline const Aws::String& GetDataAccessorId() const{ return m_dataAccessorId; } + inline void SetDataAccessorId(const Aws::String& value) { m_dataAccessorId = value; } + inline void SetDataAccessorId(Aws::String&& value) { m_dataAccessorId = std::move(value); } + inline void SetDataAccessorId(const char* value) { m_dataAccessorId.assign(value); } + inline CreateDataAccessorResult& WithDataAccessorId(const Aws::String& value) { SetDataAccessorId(value); return *this;} + inline CreateDataAccessorResult& WithDataAccessorId(Aws::String&& value) { SetDataAccessorId(std::move(value)); return *this;} + inline CreateDataAccessorResult& WithDataAccessorId(const char* value) { SetDataAccessorId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the AWS IAM Identity Center application + * created for this data accessor.

    + */ + inline const Aws::String& GetIdcApplicationArn() const{ return m_idcApplicationArn; } + inline void SetIdcApplicationArn(const Aws::String& value) { m_idcApplicationArn = value; } + inline void SetIdcApplicationArn(Aws::String&& value) { m_idcApplicationArn = std::move(value); } + inline void SetIdcApplicationArn(const char* value) { m_idcApplicationArn.assign(value); } + inline CreateDataAccessorResult& WithIdcApplicationArn(const Aws::String& value) { SetIdcApplicationArn(value); return *this;} + inline CreateDataAccessorResult& WithIdcApplicationArn(Aws::String&& value) { SetIdcApplicationArn(std::move(value)); return *this;} + inline CreateDataAccessorResult& WithIdcApplicationArn(const char* value) { SetIdcApplicationArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the created data accessor.

    + */ + inline const Aws::String& GetDataAccessorArn() const{ return m_dataAccessorArn; } + inline void SetDataAccessorArn(const Aws::String& value) { m_dataAccessorArn = value; } + inline void SetDataAccessorArn(Aws::String&& value) { m_dataAccessorArn = std::move(value); } + inline void SetDataAccessorArn(const char* value) { m_dataAccessorArn.assign(value); } + inline CreateDataAccessorResult& WithDataAccessorArn(const Aws::String& value) { SetDataAccessorArn(value); return *this;} + inline CreateDataAccessorResult& WithDataAccessorArn(Aws::String&& value) { SetDataAccessorArn(std::move(value)); return *this;} + inline CreateDataAccessorResult& WithDataAccessorArn(const char* value) { SetDataAccessorArn(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline CreateDataAccessorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateDataAccessorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateDataAccessorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_dataAccessorId; + + Aws::String m_idcApplicationArn; + + Aws::String m_dataAccessorArn; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateWebExperienceRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateWebExperienceRequest.h index 235f9880181..988f2bbed65 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateWebExperienceRequest.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CreateWebExperienceRequest.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -210,6 +211,19 @@ namespace Model inline CreateWebExperienceRequest& WithBrowserExtensionConfiguration(const BrowserExtensionConfiguration& value) { SetBrowserExtensionConfiguration(value); return *this;} inline CreateWebExperienceRequest& WithBrowserExtensionConfiguration(BrowserExtensionConfiguration&& value) { SetBrowserExtensionConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    Sets the custom logo, favicon, font, and color used in the Amazon Q web + * experience.

    + */ + inline const CustomizationConfiguration& GetCustomizationConfiguration() const{ return m_customizationConfiguration; } + inline bool CustomizationConfigurationHasBeenSet() const { return m_customizationConfigurationHasBeenSet; } + inline void SetCustomizationConfiguration(const CustomizationConfiguration& value) { m_customizationConfigurationHasBeenSet = true; m_customizationConfiguration = value; } + inline void SetCustomizationConfiguration(CustomizationConfiguration&& value) { m_customizationConfigurationHasBeenSet = true; m_customizationConfiguration = std::move(value); } + inline CreateWebExperienceRequest& WithCustomizationConfiguration(const CustomizationConfiguration& value) { SetCustomizationConfiguration(value); return *this;} + inline CreateWebExperienceRequest& WithCustomizationConfiguration(CustomizationConfiguration&& value) { SetCustomizationConfiguration(std::move(value)); return *this;} + ///@} private: Aws::String m_applicationId; @@ -244,6 +258,9 @@ namespace Model BrowserExtensionConfiguration m_browserExtensionConfiguration; bool m_browserExtensionConfigurationHasBeenSet = false; + + CustomizationConfiguration m_customizationConfiguration; + bool m_customizationConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CustomizationConfiguration.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CustomizationConfiguration.h new file mode 100644 index 00000000000..f1ad34b12d2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/CustomizationConfiguration.h @@ -0,0 +1,118 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + *

    Contains the configuration information to customize the logo, font, and color + * of an Amazon Q Business web experience with individual files for each property + * or a CSS file for them all.

    See Also:

    AWS + * API Reference

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

    Provides the URL where the custom CSS file is hosted for an Amazon Q web + * experience.

    + */ + inline const Aws::String& GetCustomCSSUrl() const{ return m_customCSSUrl; } + inline bool CustomCSSUrlHasBeenSet() const { return m_customCSSUrlHasBeenSet; } + inline void SetCustomCSSUrl(const Aws::String& value) { m_customCSSUrlHasBeenSet = true; m_customCSSUrl = value; } + inline void SetCustomCSSUrl(Aws::String&& value) { m_customCSSUrlHasBeenSet = true; m_customCSSUrl = std::move(value); } + inline void SetCustomCSSUrl(const char* value) { m_customCSSUrlHasBeenSet = true; m_customCSSUrl.assign(value); } + inline CustomizationConfiguration& WithCustomCSSUrl(const Aws::String& value) { SetCustomCSSUrl(value); return *this;} + inline CustomizationConfiguration& WithCustomCSSUrl(Aws::String&& value) { SetCustomCSSUrl(std::move(value)); return *this;} + inline CustomizationConfiguration& WithCustomCSSUrl(const char* value) { SetCustomCSSUrl(value); return *this;} + ///@} + + ///@{ + /** + *

    Provides the URL where the custom logo file is hosted for an Amazon Q web + * experience.

    + */ + inline const Aws::String& GetLogoUrl() const{ return m_logoUrl; } + inline bool LogoUrlHasBeenSet() const { return m_logoUrlHasBeenSet; } + inline void SetLogoUrl(const Aws::String& value) { m_logoUrlHasBeenSet = true; m_logoUrl = value; } + inline void SetLogoUrl(Aws::String&& value) { m_logoUrlHasBeenSet = true; m_logoUrl = std::move(value); } + inline void SetLogoUrl(const char* value) { m_logoUrlHasBeenSet = true; m_logoUrl.assign(value); } + inline CustomizationConfiguration& WithLogoUrl(const Aws::String& value) { SetLogoUrl(value); return *this;} + inline CustomizationConfiguration& WithLogoUrl(Aws::String&& value) { SetLogoUrl(std::move(value)); return *this;} + inline CustomizationConfiguration& WithLogoUrl(const char* value) { SetLogoUrl(value); return *this;} + ///@} + + ///@{ + /** + *

    Provides the URL where the custom font file is hosted for an Amazon Q web + * experience.

    + */ + inline const Aws::String& GetFontUrl() const{ return m_fontUrl; } + inline bool FontUrlHasBeenSet() const { return m_fontUrlHasBeenSet; } + inline void SetFontUrl(const Aws::String& value) { m_fontUrlHasBeenSet = true; m_fontUrl = value; } + inline void SetFontUrl(Aws::String&& value) { m_fontUrlHasBeenSet = true; m_fontUrl = std::move(value); } + inline void SetFontUrl(const char* value) { m_fontUrlHasBeenSet = true; m_fontUrl.assign(value); } + inline CustomizationConfiguration& WithFontUrl(const Aws::String& value) { SetFontUrl(value); return *this;} + inline CustomizationConfiguration& WithFontUrl(Aws::String&& value) { SetFontUrl(std::move(value)); return *this;} + inline CustomizationConfiguration& WithFontUrl(const char* value) { SetFontUrl(value); return *this;} + ///@} + + ///@{ + /** + *

    Provides the URL where the custom favicon file is hosted for an Amazon Q web + * experience.

    + */ + inline const Aws::String& GetFaviconUrl() const{ return m_faviconUrl; } + inline bool FaviconUrlHasBeenSet() const { return m_faviconUrlHasBeenSet; } + inline void SetFaviconUrl(const Aws::String& value) { m_faviconUrlHasBeenSet = true; m_faviconUrl = value; } + inline void SetFaviconUrl(Aws::String&& value) { m_faviconUrlHasBeenSet = true; m_faviconUrl = std::move(value); } + inline void SetFaviconUrl(const char* value) { m_faviconUrlHasBeenSet = true; m_faviconUrl.assign(value); } + inline CustomizationConfiguration& WithFaviconUrl(const Aws::String& value) { SetFaviconUrl(value); return *this;} + inline CustomizationConfiguration& WithFaviconUrl(Aws::String&& value) { SetFaviconUrl(std::move(value)); return *this;} + inline CustomizationConfiguration& WithFaviconUrl(const char* value) { SetFaviconUrl(value); return *this;} + ///@} + private: + + Aws::String m_customCSSUrl; + bool m_customCSSUrlHasBeenSet = false; + + Aws::String m_logoUrl; + bool m_logoUrlHasBeenSet = false; + + Aws::String m_fontUrl; + bool m_fontUrlHasBeenSet = false; + + Aws::String m_faviconUrl; + bool m_faviconUrlHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DataAccessor.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DataAccessor.h new file mode 100644 index 00000000000..723608cfcf2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DataAccessor.h @@ -0,0 +1,163 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + *

    Provides summary information about a data accessor.

    See Also:

    + * AWS + * API Reference

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

    The friendly name of the data accessor.

    + */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + inline DataAccessor& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline DataAccessor& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline DataAccessor& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the data accessor.

    + */ + inline const Aws::String& GetDataAccessorId() const{ return m_dataAccessorId; } + inline bool DataAccessorIdHasBeenSet() const { return m_dataAccessorIdHasBeenSet; } + inline void SetDataAccessorId(const Aws::String& value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId = value; } + inline void SetDataAccessorId(Aws::String&& value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId = std::move(value); } + inline void SetDataAccessorId(const char* value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId.assign(value); } + inline DataAccessor& WithDataAccessorId(const Aws::String& value) { SetDataAccessorId(value); return *this;} + inline DataAccessor& WithDataAccessorId(Aws::String&& value) { SetDataAccessorId(std::move(value)); return *this;} + inline DataAccessor& WithDataAccessorId(const char* value) { SetDataAccessorId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the data accessor.

    + */ + inline const Aws::String& GetDataAccessorArn() const{ return m_dataAccessorArn; } + inline bool DataAccessorArnHasBeenSet() const { return m_dataAccessorArnHasBeenSet; } + inline void SetDataAccessorArn(const Aws::String& value) { m_dataAccessorArnHasBeenSet = true; m_dataAccessorArn = value; } + inline void SetDataAccessorArn(Aws::String&& value) { m_dataAccessorArnHasBeenSet = true; m_dataAccessorArn = std::move(value); } + inline void SetDataAccessorArn(const char* value) { m_dataAccessorArnHasBeenSet = true; m_dataAccessorArn.assign(value); } + inline DataAccessor& WithDataAccessorArn(const Aws::String& value) { SetDataAccessorArn(value); return *this;} + inline DataAccessor& WithDataAccessorArn(Aws::String&& value) { SetDataAccessorArn(std::move(value)); return *this;} + inline DataAccessor& WithDataAccessorArn(const char* value) { SetDataAccessorArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the associated AWS IAM Identity Center + * application.

    + */ + inline const Aws::String& GetIdcApplicationArn() const{ return m_idcApplicationArn; } + inline bool IdcApplicationArnHasBeenSet() const { return m_idcApplicationArnHasBeenSet; } + inline void SetIdcApplicationArn(const Aws::String& value) { m_idcApplicationArnHasBeenSet = true; m_idcApplicationArn = value; } + inline void SetIdcApplicationArn(Aws::String&& value) { m_idcApplicationArnHasBeenSet = true; m_idcApplicationArn = std::move(value); } + inline void SetIdcApplicationArn(const char* value) { m_idcApplicationArnHasBeenSet = true; m_idcApplicationArn.assign(value); } + inline DataAccessor& WithIdcApplicationArn(const Aws::String& value) { SetIdcApplicationArn(value); return *this;} + inline DataAccessor& WithIdcApplicationArn(Aws::String&& value) { SetIdcApplicationArn(std::move(value)); return *this;} + inline DataAccessor& WithIdcApplicationArn(const char* value) { SetIdcApplicationArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the IAM role for the ISV associated with + * this data accessor.

    + */ + inline const Aws::String& GetPrincipal() const{ return m_principal; } + inline bool PrincipalHasBeenSet() const { return m_principalHasBeenSet; } + inline void SetPrincipal(const Aws::String& value) { m_principalHasBeenSet = true; m_principal = value; } + inline void SetPrincipal(Aws::String&& value) { m_principalHasBeenSet = true; m_principal = std::move(value); } + inline void SetPrincipal(const char* value) { m_principalHasBeenSet = true; m_principal.assign(value); } + inline DataAccessor& WithPrincipal(const Aws::String& value) { SetPrincipal(value); return *this;} + inline DataAccessor& WithPrincipal(Aws::String&& value) { SetPrincipal(std::move(value)); return *this;} + inline DataAccessor& WithPrincipal(const char* value) { SetPrincipal(value); return *this;} + ///@} + + ///@{ + /** + *

    The timestamp when the data accessor was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline DataAccessor& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline DataAccessor& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The timestamp when the data accessor was last updated.

    + */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + inline DataAccessor& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + inline DataAccessor& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_dataAccessorId; + bool m_dataAccessorIdHasBeenSet = false; + + Aws::String m_dataAccessorArn; + bool m_dataAccessorArnHasBeenSet = false; + + Aws::String m_idcApplicationArn; + bool m_idcApplicationArnHasBeenSet = false; + + Aws::String m_principal; + bool m_principalHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DeleteDataAccessorRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DeleteDataAccessorRequest.h new file mode 100644 index 00000000000..18899164bb0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DeleteDataAccessorRequest.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + + /** + */ + class DeleteDataAccessorRequest : public QBusinessRequest + { + public: + AWS_QBUSINESS_API DeleteDataAccessorRequest(); + + // 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 "DeleteDataAccessor"; } + + AWS_QBUSINESS_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The unique identifier of the Q Business application.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } + inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } + inline DeleteDataAccessorRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline DeleteDataAccessorRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline DeleteDataAccessorRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the data accessor to delete.

    + */ + inline const Aws::String& GetDataAccessorId() const{ return m_dataAccessorId; } + inline bool DataAccessorIdHasBeenSet() const { return m_dataAccessorIdHasBeenSet; } + inline void SetDataAccessorId(const Aws::String& value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId = value; } + inline void SetDataAccessorId(Aws::String&& value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId = std::move(value); } + inline void SetDataAccessorId(const char* value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId.assign(value); } + inline DeleteDataAccessorRequest& WithDataAccessorId(const Aws::String& value) { SetDataAccessorId(value); return *this;} + inline DeleteDataAccessorRequest& WithDataAccessorId(Aws::String&& value) { SetDataAccessorId(std::move(value)); return *this;} + inline DeleteDataAccessorRequest& WithDataAccessorId(const char* value) { SetDataAccessorId(value); return *this;} + ///@} + private: + + Aws::String m_applicationId; + bool m_applicationIdHasBeenSet = false; + + Aws::String m_dataAccessorId; + bool m_dataAccessorIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DeleteDataAccessorResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DeleteDataAccessorResult.h new file mode 100644 index 00000000000..9f918208027 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DeleteDataAccessorResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QBusiness +{ +namespace Model +{ + class DeleteDataAccessorResult + { + public: + AWS_QBUSINESS_API DeleteDataAccessorResult(); + AWS_QBUSINESS_API DeleteDataAccessorResult(const Aws::AmazonWebServiceResult& result); + AWS_QBUSINESS_API DeleteDataAccessorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DeleteDataAccessorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DeleteDataAccessorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DeleteDataAccessorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DisassociatePermissionRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DisassociatePermissionRequest.h new file mode 100644 index 00000000000..0620d3b6ba2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DisassociatePermissionRequest.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + + /** + */ + class DisassociatePermissionRequest : public QBusinessRequest + { + public: + AWS_QBUSINESS_API DisassociatePermissionRequest(); + + // 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 "DisassociatePermission"; } + + AWS_QBUSINESS_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The unique identifier of the Q Business application.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } + inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } + inline DisassociatePermissionRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline DisassociatePermissionRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline DisassociatePermissionRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + + ///@{ + /** + *

    The statement ID of the permission to remove.

    + */ + inline const Aws::String& GetStatementId() const{ return m_statementId; } + inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; } + inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; } + inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); } + inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); } + inline DisassociatePermissionRequest& WithStatementId(const Aws::String& value) { SetStatementId(value); return *this;} + inline DisassociatePermissionRequest& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;} + inline DisassociatePermissionRequest& WithStatementId(const char* value) { SetStatementId(value); return *this;} + ///@} + private: + + Aws::String m_applicationId; + bool m_applicationIdHasBeenSet = false; + + Aws::String m_statementId; + bool m_statementIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DisassociatePermissionResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DisassociatePermissionResult.h new file mode 100644 index 00000000000..66bda36b4aa --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/DisassociatePermissionResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QBusiness +{ +namespace Model +{ + class DisassociatePermissionResult + { + public: + AWS_QBUSINESS_API DisassociatePermissionResult(); + AWS_QBUSINESS_API DisassociatePermissionResult(const Aws::AmazonWebServiceResult& result); + AWS_QBUSINESS_API DisassociatePermissionResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DisassociatePermissionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DisassociatePermissionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DisassociatePermissionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetApplicationResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetApplicationResult.h index a08682a1dac..f9a3fbe7893 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetApplicationResult.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetApplicationResult.h @@ -16,6 +16,7 @@ #include #include #include +#include #include namespace Aws @@ -270,6 +271,18 @@ namespace Model inline GetApplicationResult& AddClientIdsForOIDC(const char* value) { m_clientIdsForOIDC.push_back(value); return *this; } ///@} + ///@{ + /** + *

    The Amazon QuickSight authentication configuration for the Amazon Q Business + * application.

    + */ + inline const QuickSightConfiguration& GetQuickSightConfiguration() const{ return m_quickSightConfiguration; } + inline void SetQuickSightConfiguration(const QuickSightConfiguration& value) { m_quickSightConfiguration = value; } + inline void SetQuickSightConfiguration(QuickSightConfiguration&& value) { m_quickSightConfiguration = std::move(value); } + inline GetApplicationResult& WithQuickSightConfiguration(const QuickSightConfiguration& value) { SetQuickSightConfiguration(value); return *this;} + inline GetApplicationResult& WithQuickSightConfiguration(QuickSightConfiguration&& value) { SetQuickSightConfiguration(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -318,6 +331,8 @@ namespace Model Aws::Vector m_clientIdsForOIDC; + QuickSightConfiguration m_quickSightConfiguration; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetDataAccessorRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetDataAccessorRequest.h new file mode 100644 index 00000000000..1442f8026b1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetDataAccessorRequest.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + + /** + */ + class GetDataAccessorRequest : public QBusinessRequest + { + public: + AWS_QBUSINESS_API GetDataAccessorRequest(); + + // 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 "GetDataAccessor"; } + + AWS_QBUSINESS_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The unique identifier of the Q Business application.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } + inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } + inline GetDataAccessorRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline GetDataAccessorRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline GetDataAccessorRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the data accessor to retrieve.

    + */ + inline const Aws::String& GetDataAccessorId() const{ return m_dataAccessorId; } + inline bool DataAccessorIdHasBeenSet() const { return m_dataAccessorIdHasBeenSet; } + inline void SetDataAccessorId(const Aws::String& value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId = value; } + inline void SetDataAccessorId(Aws::String&& value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId = std::move(value); } + inline void SetDataAccessorId(const char* value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId.assign(value); } + inline GetDataAccessorRequest& WithDataAccessorId(const Aws::String& value) { SetDataAccessorId(value); return *this;} + inline GetDataAccessorRequest& WithDataAccessorId(Aws::String&& value) { SetDataAccessorId(std::move(value)); return *this;} + inline GetDataAccessorRequest& WithDataAccessorId(const char* value) { SetDataAccessorId(value); return *this;} + ///@} + private: + + Aws::String m_applicationId; + bool m_applicationIdHasBeenSet = false; + + Aws::String m_dataAccessorId; + bool m_dataAccessorIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetDataAccessorResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetDataAccessorResult.h new file mode 100644 index 00000000000..8ffd8e6ff4e --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetDataAccessorResult.h @@ -0,0 +1,190 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + class GetDataAccessorResult + { + public: + AWS_QBUSINESS_API GetDataAccessorResult(); + AWS_QBUSINESS_API GetDataAccessorResult(const Aws::AmazonWebServiceResult& result); + AWS_QBUSINESS_API GetDataAccessorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The friendly name of the data accessor.

    + */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayName.assign(value); } + inline GetDataAccessorResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline GetDataAccessorResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline GetDataAccessorResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the data accessor.

    + */ + inline const Aws::String& GetDataAccessorId() const{ return m_dataAccessorId; } + inline void SetDataAccessorId(const Aws::String& value) { m_dataAccessorId = value; } + inline void SetDataAccessorId(Aws::String&& value) { m_dataAccessorId = std::move(value); } + inline void SetDataAccessorId(const char* value) { m_dataAccessorId.assign(value); } + inline GetDataAccessorResult& WithDataAccessorId(const Aws::String& value) { SetDataAccessorId(value); return *this;} + inline GetDataAccessorResult& WithDataAccessorId(Aws::String&& value) { SetDataAccessorId(std::move(value)); return *this;} + inline GetDataAccessorResult& WithDataAccessorId(const char* value) { SetDataAccessorId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the data accessor.

    + */ + inline const Aws::String& GetDataAccessorArn() const{ return m_dataAccessorArn; } + inline void SetDataAccessorArn(const Aws::String& value) { m_dataAccessorArn = value; } + inline void SetDataAccessorArn(Aws::String&& value) { m_dataAccessorArn = std::move(value); } + inline void SetDataAccessorArn(const char* value) { m_dataAccessorArn.assign(value); } + inline GetDataAccessorResult& WithDataAccessorArn(const Aws::String& value) { SetDataAccessorArn(value); return *this;} + inline GetDataAccessorResult& WithDataAccessorArn(Aws::String&& value) { SetDataAccessorArn(std::move(value)); return *this;} + inline GetDataAccessorResult& WithDataAccessorArn(const char* value) { SetDataAccessorArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the Q Business application associated with this data + * accessor.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationId.assign(value); } + inline GetDataAccessorResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline GetDataAccessorResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline GetDataAccessorResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the AWS IAM Identity Center application + * associated with this data accessor.

    + */ + inline const Aws::String& GetIdcApplicationArn() const{ return m_idcApplicationArn; } + inline void SetIdcApplicationArn(const Aws::String& value) { m_idcApplicationArn = value; } + inline void SetIdcApplicationArn(Aws::String&& value) { m_idcApplicationArn = std::move(value); } + inline void SetIdcApplicationArn(const char* value) { m_idcApplicationArn.assign(value); } + inline GetDataAccessorResult& WithIdcApplicationArn(const Aws::String& value) { SetIdcApplicationArn(value); return *this;} + inline GetDataAccessorResult& WithIdcApplicationArn(Aws::String&& value) { SetIdcApplicationArn(std::move(value)); return *this;} + inline GetDataAccessorResult& WithIdcApplicationArn(const char* value) { SetIdcApplicationArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the IAM role for the ISV associated with + * this data accessor.

    + */ + inline const Aws::String& GetPrincipal() const{ return m_principal; } + inline void SetPrincipal(const Aws::String& value) { m_principal = value; } + inline void SetPrincipal(Aws::String&& value) { m_principal = std::move(value); } + inline void SetPrincipal(const char* value) { m_principal.assign(value); } + inline GetDataAccessorResult& WithPrincipal(const Aws::String& value) { SetPrincipal(value); return *this;} + inline GetDataAccessorResult& WithPrincipal(Aws::String&& value) { SetPrincipal(std::move(value)); return *this;} + inline GetDataAccessorResult& WithPrincipal(const char* value) { SetPrincipal(value); return *this;} + ///@} + + ///@{ + /** + *

    The list of action configurations specifying the allowed actions and any + * associated filters.

    + */ + inline const Aws::Vector& GetActionConfigurations() const{ return m_actionConfigurations; } + inline void SetActionConfigurations(const Aws::Vector& value) { m_actionConfigurations = value; } + inline void SetActionConfigurations(Aws::Vector&& value) { m_actionConfigurations = std::move(value); } + inline GetDataAccessorResult& WithActionConfigurations(const Aws::Vector& value) { SetActionConfigurations(value); return *this;} + inline GetDataAccessorResult& WithActionConfigurations(Aws::Vector&& value) { SetActionConfigurations(std::move(value)); return *this;} + inline GetDataAccessorResult& AddActionConfigurations(const ActionConfiguration& value) { m_actionConfigurations.push_back(value); return *this; } + inline GetDataAccessorResult& AddActionConfigurations(ActionConfiguration&& value) { m_actionConfigurations.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The timestamp when the data accessor was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetDataAccessorResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetDataAccessorResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The timestamp when the data accessor was last updated.

    + */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + inline GetDataAccessorResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + inline GetDataAccessorResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetDataAccessorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetDataAccessorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetDataAccessorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_displayName; + + Aws::String m_dataAccessorId; + + Aws::String m_dataAccessorArn; + + Aws::String m_applicationId; + + Aws::String m_idcApplicationArn; + + Aws::String m_principal; + + Aws::Vector m_actionConfigurations; + + Aws::Utils::DateTime m_createdAt; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetPolicyRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetPolicyRequest.h new file mode 100644 index 00000000000..a9710820e6c --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetPolicyRequest.h @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + + /** + */ + class GetPolicyRequest : public QBusinessRequest + { + public: + AWS_QBUSINESS_API GetPolicyRequest(); + + // 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 "GetPolicy"; } + + AWS_QBUSINESS_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The unique identifier of the Q Business application.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } + inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } + inline GetPolicyRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline GetPolicyRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline GetPolicyRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + private: + + Aws::String m_applicationId; + bool m_applicationIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetPolicyResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetPolicyResult.h new file mode 100644 index 00000000000..9f2af87a1d4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetPolicyResult.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QBusiness +{ +namespace Model +{ + class GetPolicyResult + { + public: + AWS_QBUSINESS_API GetPolicyResult(); + AWS_QBUSINESS_API GetPolicyResult(const Aws::AmazonWebServiceResult& result); + AWS_QBUSINESS_API GetPolicyResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The JSON representation of the permission policy.

    + */ + inline const Aws::String& GetPolicy() const{ return m_policy; } + inline void SetPolicy(const Aws::String& value) { m_policy = value; } + inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); } + inline void SetPolicy(const char* value) { m_policy.assign(value); } + inline GetPolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;} + inline GetPolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;} + inline GetPolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_policy; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetWebExperienceResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetWebExperienceResult.h index 9cac050d98d..8507446d2d5 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetWebExperienceResult.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/GetWebExperienceResult.h @@ -13,6 +13,7 @@ #include #include #include +#include #include namespace Aws @@ -252,6 +253,18 @@ namespace Model inline GetWebExperienceResult& WithBrowserExtensionConfiguration(BrowserExtensionConfiguration&& value) { SetBrowserExtensionConfiguration(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    Gets the custom logo, favicon, font, and color used in the Amazon Q web + * experience.

    + */ + inline const CustomizationConfiguration& GetCustomizationConfiguration() const{ return m_customizationConfiguration; } + inline void SetCustomizationConfiguration(const CustomizationConfiguration& value) { m_customizationConfiguration = value; } + inline void SetCustomizationConfiguration(CustomizationConfiguration&& value) { m_customizationConfiguration = std::move(value); } + inline GetWebExperienceResult& WithCustomizationConfiguration(const CustomizationConfiguration& value) { SetCustomizationConfiguration(value); return *this;} + inline GetWebExperienceResult& WithCustomizationConfiguration(CustomizationConfiguration&& value) { SetCustomizationConfiguration(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -296,6 +309,8 @@ namespace Model BrowserExtensionConfiguration m_browserExtensionConfiguration; + CustomizationConfiguration m_customizationConfiguration; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/IdcAuthConfiguration.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/IdcAuthConfiguration.h new file mode 100644 index 00000000000..2e6a404695f --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/IdcAuthConfiguration.h @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QBusiness +{ +namespace Model +{ + + /** + *

    Information about the IAM Identity Center Application used to configure + * authentication for a plugin.

    See Also:

    AWS + * API Reference

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

    The Amazon Resource Name (ARN) of the IAM Identity Center Application used to + * configure authentication.

    + */ + inline const Aws::String& GetIdcApplicationArn() const{ return m_idcApplicationArn; } + inline bool IdcApplicationArnHasBeenSet() const { return m_idcApplicationArnHasBeenSet; } + inline void SetIdcApplicationArn(const Aws::String& value) { m_idcApplicationArnHasBeenSet = true; m_idcApplicationArn = value; } + inline void SetIdcApplicationArn(Aws::String&& value) { m_idcApplicationArnHasBeenSet = true; m_idcApplicationArn = std::move(value); } + inline void SetIdcApplicationArn(const char* value) { m_idcApplicationArnHasBeenSet = true; m_idcApplicationArn.assign(value); } + inline IdcAuthConfiguration& WithIdcApplicationArn(const Aws::String& value) { SetIdcApplicationArn(value); return *this;} + inline IdcAuthConfiguration& WithIdcApplicationArn(Aws::String&& value) { SetIdcApplicationArn(std::move(value)); return *this;} + inline IdcAuthConfiguration& WithIdcApplicationArn(const char* value) { SetIdcApplicationArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the IAM role with permissions to perform + * actions on Amazon Web Services services on your behalf.

    + */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + inline IdcAuthConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline IdcAuthConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline IdcAuthConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + ///@} + private: + + Aws::String m_idcApplicationArn; + bool m_idcApplicationArnHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/IdentityType.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/IdentityType.h index 26dc31f1261..23676ad8d13 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/IdentityType.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/IdentityType.h @@ -18,7 +18,8 @@ namespace Model NOT_SET, AWS_IAM_IDP_SAML, AWS_IAM_IDP_OIDC, - AWS_IAM_IDC + AWS_IAM_IDC, + AWS_QUICKSIGHT_IDP }; namespace IdentityTypeMapper diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListDataAccessorsRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListDataAccessorsRequest.h new file mode 100644 index 00000000000..8d92b320774 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListDataAccessorsRequest.h @@ -0,0 +1,93 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + */ + class ListDataAccessorsRequest : public QBusinessRequest + { + public: + AWS_QBUSINESS_API ListDataAccessorsRequest(); + + // 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 "ListDataAccessors"; } + + AWS_QBUSINESS_API Aws::String SerializePayload() const override; + + AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The unique identifier of the Q Business application.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } + inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } + inline ListDataAccessorsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline ListDataAccessorsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline ListDataAccessorsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + + ///@{ + /** + *

    The token for the next set of results. (You received this token from a + * previous call.)

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

    The maximum number of results to return in a single call.

    + */ + 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 ListDataAccessorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: + + Aws::String m_applicationId; + bool m_applicationIdHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListDataAccessorsResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListDataAccessorsResult.h new file mode 100644 index 00000000000..a60fc04043f --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListDataAccessorsResult.h @@ -0,0 +1,84 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QBusiness +{ +namespace Model +{ + class ListDataAccessorsResult + { + public: + AWS_QBUSINESS_API ListDataAccessorsResult(); + AWS_QBUSINESS_API ListDataAccessorsResult(const Aws::AmazonWebServiceResult& result); + AWS_QBUSINESS_API ListDataAccessorsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The list of data accessors.

    + */ + inline const Aws::Vector& GetDataAccessors() const{ return m_dataAccessors; } + inline void SetDataAccessors(const Aws::Vector& value) { m_dataAccessors = value; } + inline void SetDataAccessors(Aws::Vector&& value) { m_dataAccessors = std::move(value); } + inline ListDataAccessorsResult& WithDataAccessors(const Aws::Vector& value) { SetDataAccessors(value); return *this;} + inline ListDataAccessorsResult& WithDataAccessors(Aws::Vector&& value) { SetDataAccessors(std::move(value)); return *this;} + inline ListDataAccessorsResult& AddDataAccessors(const DataAccessor& value) { m_dataAccessors.push_back(value); return *this; } + inline ListDataAccessorsResult& AddDataAccessors(DataAccessor&& value) { m_dataAccessors.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The token to use to retrieve the next set of results, if there are any.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListDataAccessorsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListDataAccessorsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListDataAccessorsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListDataAccessorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListDataAccessorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListDataAccessorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_dataAccessors; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginActionsRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginActionsRequest.h new file mode 100644 index 00000000000..5b88572a504 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginActionsRequest.h @@ -0,0 +1,112 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + */ + class ListPluginActionsRequest : public QBusinessRequest + { + public: + AWS_QBUSINESS_API ListPluginActionsRequest(); + + // 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 "ListPluginActions"; } + + AWS_QBUSINESS_API Aws::String SerializePayload() const override; + + AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The identifier of the Amazon Q Business application the plugin is attached + * to.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } + inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } + inline ListPluginActionsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline ListPluginActionsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline ListPluginActionsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + + ///@{ + /** + *

    The identifier of the Amazon Q Business plugin.

    + */ + inline const Aws::String& GetPluginId() const{ return m_pluginId; } + inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; } + inline void SetPluginId(const Aws::String& value) { m_pluginIdHasBeenSet = true; m_pluginId = value; } + inline void SetPluginId(Aws::String&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::move(value); } + inline void SetPluginId(const char* value) { m_pluginIdHasBeenSet = true; m_pluginId.assign(value); } + inline ListPluginActionsRequest& WithPluginId(const Aws::String& value) { SetPluginId(value); return *this;} + inline ListPluginActionsRequest& WithPluginId(Aws::String&& value) { SetPluginId(std::move(value)); return *this;} + inline ListPluginActionsRequest& WithPluginId(const char* value) { SetPluginId(value); return *this;} + ///@} + + ///@{ + /** + *

    If the number of plugin actions returned exceeds maxResults, + * Amazon Q Business returns a next token as a pagination token to retrieve the + * next set of plugin actions.

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

    The maximum number of plugin actions 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 ListPluginActionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: + + Aws::String m_applicationId; + bool m_applicationIdHasBeenSet = false; + + Aws::String m_pluginId; + bool m_pluginIdHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginActionsResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginActionsResult.h new file mode 100644 index 00000000000..0c0fca9c4b2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginActionsResult.h @@ -0,0 +1,85 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + class ListPluginActionsResult + { + public: + AWS_QBUSINESS_API ListPluginActionsResult(); + AWS_QBUSINESS_API ListPluginActionsResult(const Aws::AmazonWebServiceResult& result); + AWS_QBUSINESS_API ListPluginActionsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    If the response is truncated, Amazon Q Business returns this token, which you + * can use in a later request to list the next set of plugin actions.

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

    An array of information on one or more plugin actions.

    + */ + inline const Aws::Vector& GetItems() const{ return m_items; } + inline void SetItems(const Aws::Vector& value) { m_items = value; } + inline void SetItems(Aws::Vector&& value) { m_items = std::move(value); } + inline ListPluginActionsResult& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} + inline ListPluginActionsResult& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} + inline ListPluginActionsResult& AddItems(const ActionSummary& value) { m_items.push_back(value); return *this; } + inline ListPluginActionsResult& AddItems(ActionSummary&& value) { m_items.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListPluginActionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListPluginActionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListPluginActionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_nextToken; + + Aws::Vector m_items; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeActionsRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeActionsRequest.h new file mode 100644 index 00000000000..eb99647dccf --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeActionsRequest.h @@ -0,0 +1,93 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + */ + class ListPluginTypeActionsRequest : public QBusinessRequest + { + public: + AWS_QBUSINESS_API ListPluginTypeActionsRequest(); + + // 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 "ListPluginTypeActions"; } + + AWS_QBUSINESS_API Aws::String SerializePayload() const override; + + AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The type of the plugin.

    + */ + inline const PluginType& GetPluginType() const{ return m_pluginType; } + inline bool PluginTypeHasBeenSet() const { return m_pluginTypeHasBeenSet; } + inline void SetPluginType(const PluginType& value) { m_pluginTypeHasBeenSet = true; m_pluginType = value; } + inline void SetPluginType(PluginType&& value) { m_pluginTypeHasBeenSet = true; m_pluginType = std::move(value); } + inline ListPluginTypeActionsRequest& WithPluginType(const PluginType& value) { SetPluginType(value); return *this;} + inline ListPluginTypeActionsRequest& WithPluginType(PluginType&& value) { SetPluginType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    If the number of plugins returned exceeds maxResults, Amazon Q + * Business returns a next token as a pagination token to retrieve the next set of + * plugins.

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

    The maximum number of plugins 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 ListPluginTypeActionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: + + PluginType m_pluginType; + bool m_pluginTypeHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeActionsResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeActionsResult.h new file mode 100644 index 00000000000..4ee2bca74b5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeActionsResult.h @@ -0,0 +1,85 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + class ListPluginTypeActionsResult + { + public: + AWS_QBUSINESS_API ListPluginTypeActionsResult(); + AWS_QBUSINESS_API ListPluginTypeActionsResult(const Aws::AmazonWebServiceResult& result); + AWS_QBUSINESS_API ListPluginTypeActionsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    If the response is truncated, Amazon Q Business returns this token, which you + * can use in a later request to list the next set of plugins.

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

    An array of information on one or more plugins.

    + */ + inline const Aws::Vector& GetItems() const{ return m_items; } + inline void SetItems(const Aws::Vector& value) { m_items = value; } + inline void SetItems(Aws::Vector&& value) { m_items = std::move(value); } + inline ListPluginTypeActionsResult& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} + inline ListPluginTypeActionsResult& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} + inline ListPluginTypeActionsResult& AddItems(const ActionSummary& value) { m_items.push_back(value); return *this; } + inline ListPluginTypeActionsResult& AddItems(ActionSummary&& value) { m_items.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListPluginTypeActionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListPluginTypeActionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListPluginTypeActionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_nextToken; + + Aws::Vector m_items; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeMetadataRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeMetadataRequest.h new file mode 100644 index 00000000000..d00a3423547 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeMetadataRequest.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace QBusiness +{ +namespace Model +{ + + /** + */ + class ListPluginTypeMetadataRequest : public QBusinessRequest + { + public: + AWS_QBUSINESS_API ListPluginTypeMetadataRequest(); + + // 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 "ListPluginTypeMetadata"; } + + AWS_QBUSINESS_API Aws::String SerializePayload() const override; + + AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    If the metadata returned exceeds maxResults, Amazon Q Business + * returns a next token as a pagination token to retrieve the next set of + * metadata.

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

    The maximum number of plugin metadata items 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 ListPluginTypeMetadataRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeMetadataResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeMetadataResult.h new file mode 100644 index 00000000000..1379bf3f97e --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ListPluginTypeMetadataResult.h @@ -0,0 +1,85 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + class ListPluginTypeMetadataResult + { + public: + AWS_QBUSINESS_API ListPluginTypeMetadataResult(); + AWS_QBUSINESS_API ListPluginTypeMetadataResult(const Aws::AmazonWebServiceResult& result); + AWS_QBUSINESS_API ListPluginTypeMetadataResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    If the response is truncated, Amazon Q Business returns this token, which you + * can use in a later request to list the next set of plugin metadata.

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

    An array of information on plugin metadata.

    + */ + inline const Aws::Vector& GetItems() const{ return m_items; } + inline void SetItems(const Aws::Vector& value) { m_items = value; } + inline void SetItems(Aws::Vector&& value) { m_items = std::move(value); } + inline ListPluginTypeMetadataResult& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} + inline ListPluginTypeMetadataResult& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} + inline ListPluginTypeMetadataResult& AddItems(const PluginTypeMetadataSummary& value) { m_items.push_back(value); return *this; } + inline ListPluginTypeMetadataResult& AddItems(PluginTypeMetadataSummary&& value) { m_items.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListPluginTypeMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListPluginTypeMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListPluginTypeMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_nextToken; + + Aws::Vector m_items; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/OAuth2ClientCredentialConfiguration.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/OAuth2ClientCredentialConfiguration.h index 3a089c86b71..3ffdfb10066 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/OAuth2ClientCredentialConfiguration.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/OAuth2ClientCredentialConfiguration.h @@ -67,6 +67,36 @@ namespace Model inline OAuth2ClientCredentialConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} inline OAuth2ClientCredentialConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} ///@} + + ///@{ + /** + *

    The redirect URL required by the OAuth 2.0 protocol for Amazon Q Business to + * authenticate a plugin user through a third party authentication server.

    + */ + inline const Aws::String& GetAuthorizationUrl() const{ return m_authorizationUrl; } + inline bool AuthorizationUrlHasBeenSet() const { return m_authorizationUrlHasBeenSet; } + inline void SetAuthorizationUrl(const Aws::String& value) { m_authorizationUrlHasBeenSet = true; m_authorizationUrl = value; } + inline void SetAuthorizationUrl(Aws::String&& value) { m_authorizationUrlHasBeenSet = true; m_authorizationUrl = std::move(value); } + inline void SetAuthorizationUrl(const char* value) { m_authorizationUrlHasBeenSet = true; m_authorizationUrl.assign(value); } + inline OAuth2ClientCredentialConfiguration& WithAuthorizationUrl(const Aws::String& value) { SetAuthorizationUrl(value); return *this;} + inline OAuth2ClientCredentialConfiguration& WithAuthorizationUrl(Aws::String&& value) { SetAuthorizationUrl(std::move(value)); return *this;} + inline OAuth2ClientCredentialConfiguration& WithAuthorizationUrl(const char* value) { SetAuthorizationUrl(value); return *this;} + ///@} + + ///@{ + /** + *

    The URL required by the OAuth 2.0 protocol to exchange an end user + * authorization code for an access token.

    + */ + inline const Aws::String& GetTokenUrl() const{ return m_tokenUrl; } + inline bool TokenUrlHasBeenSet() const { return m_tokenUrlHasBeenSet; } + inline void SetTokenUrl(const Aws::String& value) { m_tokenUrlHasBeenSet = true; m_tokenUrl = value; } + inline void SetTokenUrl(Aws::String&& value) { m_tokenUrlHasBeenSet = true; m_tokenUrl = std::move(value); } + inline void SetTokenUrl(const char* value) { m_tokenUrlHasBeenSet = true; m_tokenUrl.assign(value); } + inline OAuth2ClientCredentialConfiguration& WithTokenUrl(const Aws::String& value) { SetTokenUrl(value); return *this;} + inline OAuth2ClientCredentialConfiguration& WithTokenUrl(Aws::String&& value) { SetTokenUrl(std::move(value)); return *this;} + inline OAuth2ClientCredentialConfiguration& WithTokenUrl(const char* value) { SetTokenUrl(value); return *this;} + ///@} private: Aws::String m_secretArn; @@ -74,6 +104,12 @@ namespace Model Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; + + Aws::String m_authorizationUrl; + bool m_authorizationUrlHasBeenSet = false; + + Aws::String m_tokenUrl; + bool m_tokenUrlHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginAuthConfiguration.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginAuthConfiguration.h index 33dce3733ed..7fb1806adcc 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginAuthConfiguration.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginAuthConfiguration.h @@ -8,6 +8,7 @@ #include #include #include +#include #include namespace Aws @@ -77,6 +78,19 @@ namespace Model inline PluginAuthConfiguration& WithNoAuthConfiguration(const NoAuthConfiguration& value) { SetNoAuthConfiguration(value); return *this;} inline PluginAuthConfiguration& WithNoAuthConfiguration(NoAuthConfiguration&& value) { SetNoAuthConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    Information about the IAM Identity Center Application used to configure + * authentication for a plugin.

    + */ + inline const IdcAuthConfiguration& GetIdcAuthConfiguration() const{ return m_idcAuthConfiguration; } + inline bool IdcAuthConfigurationHasBeenSet() const { return m_idcAuthConfigurationHasBeenSet; } + inline void SetIdcAuthConfiguration(const IdcAuthConfiguration& value) { m_idcAuthConfigurationHasBeenSet = true; m_idcAuthConfiguration = value; } + inline void SetIdcAuthConfiguration(IdcAuthConfiguration&& value) { m_idcAuthConfigurationHasBeenSet = true; m_idcAuthConfiguration = std::move(value); } + inline PluginAuthConfiguration& WithIdcAuthConfiguration(const IdcAuthConfiguration& value) { SetIdcAuthConfiguration(value); return *this;} + inline PluginAuthConfiguration& WithIdcAuthConfiguration(IdcAuthConfiguration&& value) { SetIdcAuthConfiguration(std::move(value)); return *this;} + ///@} private: BasicAuthConfiguration m_basicAuthConfiguration; @@ -87,6 +101,9 @@ namespace Model NoAuthConfiguration m_noAuthConfiguration; bool m_noAuthConfigurationHasBeenSet = false; + + IdcAuthConfiguration m_idcAuthConfiguration; + bool m_idcAuthConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginType.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginType.h index d6debbdfdc6..13000fef218 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginType.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginType.h @@ -20,7 +20,19 @@ namespace Model SALESFORCE, JIRA, ZENDESK, - CUSTOM + CUSTOM, + QUICKSIGHT, + SERVICENOW_NOW_PLATFORM, + JIRA_CLOUD, + SALESFORCE_CRM, + ZENDESK_SUITE, + ATLASSIAN_CONFLUENCE, + GOOGLE_CALENDAR, + MICROSOFT_TEAMS, + MICROSOFT_EXCHANGE, + PAGERDUTY_ADVANCE, + SMARTSHEET, + ASANA }; namespace PluginTypeMapper diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginTypeCategory.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginTypeCategory.h new file mode 100644 index 00000000000..8797382e1d3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginTypeCategory.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + enum class PluginTypeCategory + { + NOT_SET, + Customer_relationship_management_CRM, + Project_management, + Communication, + Productivity, + Ticketing_and_incident_management + }; + +namespace PluginTypeCategoryMapper +{ +AWS_QBUSINESS_API PluginTypeCategory GetPluginTypeCategoryForName(const Aws::String& name); + +AWS_QBUSINESS_API Aws::String GetNameForPluginTypeCategory(PluginTypeCategory value); +} // namespace PluginTypeCategoryMapper +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginTypeMetadataSummary.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginTypeMetadataSummary.h new file mode 100644 index 00000000000..c670e8413f6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/PluginTypeMetadataSummary.h @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QBusiness +{ +namespace Model +{ + + /** + *

    Summary metadata information for a Amazon Q Business plugin.

    See + * Also:

    AWS + * API Reference

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

    The type of the plugin.

    + */ + inline const PluginType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const PluginType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(PluginType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline PluginTypeMetadataSummary& WithType(const PluginType& value) { SetType(value); return *this;} + inline PluginTypeMetadataSummary& WithType(PluginType&& value) { SetType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The category of the plugin type.

    + */ + inline const PluginTypeCategory& GetCategory() const{ return m_category; } + inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } + inline void SetCategory(const PluginTypeCategory& value) { m_categoryHasBeenSet = true; m_category = value; } + inline void SetCategory(PluginTypeCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } + inline PluginTypeMetadataSummary& WithCategory(const PluginTypeCategory& value) { SetCategory(value); return *this;} + inline PluginTypeMetadataSummary& WithCategory(PluginTypeCategory&& value) { SetCategory(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The description assigned by Amazon Q Business to a plugin. You can't modify + * this value.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline PluginTypeMetadataSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline PluginTypeMetadataSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline PluginTypeMetadataSummary& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + private: + + PluginType m_type; + bool m_typeHasBeenSet = false; + + PluginTypeCategory m_category; + bool m_categoryHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/QuickSightConfiguration.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/QuickSightConfiguration.h new file mode 100644 index 00000000000..2cf89eb132e --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/QuickSightConfiguration.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QBusiness +{ +namespace Model +{ + + /** + *

    The Amazon QuickSight configuration for an Amazon Q Business application that + * uses QuickSight as the identity provider. For more information, see Creating + * an Amazon QuickSight integrated application.

    See Also:

    AWS + * API Reference

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

    The Amazon QuickSight namespace that is used as the identity provider. For + * more information about QuickSight namespaces, see Namespace + * operations.

    + */ + inline const Aws::String& GetClientNamespace() const{ return m_clientNamespace; } + inline bool ClientNamespaceHasBeenSet() const { return m_clientNamespaceHasBeenSet; } + inline void SetClientNamespace(const Aws::String& value) { m_clientNamespaceHasBeenSet = true; m_clientNamespace = value; } + inline void SetClientNamespace(Aws::String&& value) { m_clientNamespaceHasBeenSet = true; m_clientNamespace = std::move(value); } + inline void SetClientNamespace(const char* value) { m_clientNamespaceHasBeenSet = true; m_clientNamespace.assign(value); } + inline QuickSightConfiguration& WithClientNamespace(const Aws::String& value) { SetClientNamespace(value); return *this;} + inline QuickSightConfiguration& WithClientNamespace(Aws::String&& value) { SetClientNamespace(std::move(value)); return *this;} + inline QuickSightConfiguration& WithClientNamespace(const char* value) { SetClientNamespace(value); return *this;} + ///@} + private: + + Aws::String m_clientNamespace; + bool m_clientNamespaceHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/RelevantContent.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/RelevantContent.h new file mode 100644 index 00000000000..71957b7862c --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/RelevantContent.h @@ -0,0 +1,148 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + *

    Represents a piece of content that is relevant to a search + * query.

    See Also:

    AWS + * API Reference

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

    The actual content of the relevant item.

    + */ + inline const Aws::String& GetContent() const{ return m_content; } + inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } + inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } + inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } + inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } + inline RelevantContent& WithContent(const Aws::String& value) { SetContent(value); return *this;} + inline RelevantContent& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} + inline RelevantContent& WithContent(const char* value) { SetContent(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the document containing the relevant content.

    + */ + inline const Aws::String& GetDocumentId() const{ return m_documentId; } + inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; } + inline void SetDocumentId(const Aws::String& value) { m_documentIdHasBeenSet = true; m_documentId = value; } + inline void SetDocumentId(Aws::String&& value) { m_documentIdHasBeenSet = true; m_documentId = std::move(value); } + inline void SetDocumentId(const char* value) { m_documentIdHasBeenSet = true; m_documentId.assign(value); } + inline RelevantContent& WithDocumentId(const Aws::String& value) { SetDocumentId(value); return *this;} + inline RelevantContent& WithDocumentId(Aws::String&& value) { SetDocumentId(std::move(value)); return *this;} + inline RelevantContent& WithDocumentId(const char* value) { SetDocumentId(value); return *this;} + ///@} + + ///@{ + /** + *

    The title of the document containing the relevant content.

    + */ + inline const Aws::String& GetDocumentTitle() const{ return m_documentTitle; } + inline bool DocumentTitleHasBeenSet() const { return m_documentTitleHasBeenSet; } + inline void SetDocumentTitle(const Aws::String& value) { m_documentTitleHasBeenSet = true; m_documentTitle = value; } + inline void SetDocumentTitle(Aws::String&& value) { m_documentTitleHasBeenSet = true; m_documentTitle = std::move(value); } + inline void SetDocumentTitle(const char* value) { m_documentTitleHasBeenSet = true; m_documentTitle.assign(value); } + inline RelevantContent& WithDocumentTitle(const Aws::String& value) { SetDocumentTitle(value); return *this;} + inline RelevantContent& WithDocumentTitle(Aws::String&& value) { SetDocumentTitle(std::move(value)); return *this;} + inline RelevantContent& WithDocumentTitle(const char* value) { SetDocumentTitle(value); return *this;} + ///@} + + ///@{ + /** + *

    The URI of the document containing the relevant content.

    + */ + inline const Aws::String& GetDocumentUri() const{ return m_documentUri; } + inline bool DocumentUriHasBeenSet() const { return m_documentUriHasBeenSet; } + inline void SetDocumentUri(const Aws::String& value) { m_documentUriHasBeenSet = true; m_documentUri = value; } + inline void SetDocumentUri(Aws::String&& value) { m_documentUriHasBeenSet = true; m_documentUri = std::move(value); } + inline void SetDocumentUri(const char* value) { m_documentUriHasBeenSet = true; m_documentUri.assign(value); } + inline RelevantContent& WithDocumentUri(const Aws::String& value) { SetDocumentUri(value); return *this;} + inline RelevantContent& WithDocumentUri(Aws::String&& value) { SetDocumentUri(std::move(value)); return *this;} + inline RelevantContent& WithDocumentUri(const char* value) { SetDocumentUri(value); return *this;} + ///@} + + ///@{ + /** + *

    Additional attributes of the document containing the relevant content.

    + */ + inline const Aws::Vector& GetDocumentAttributes() const{ return m_documentAttributes; } + inline bool DocumentAttributesHasBeenSet() const { return m_documentAttributesHasBeenSet; } + inline void SetDocumentAttributes(const Aws::Vector& value) { m_documentAttributesHasBeenSet = true; m_documentAttributes = value; } + inline void SetDocumentAttributes(Aws::Vector&& value) { m_documentAttributesHasBeenSet = true; m_documentAttributes = std::move(value); } + inline RelevantContent& WithDocumentAttributes(const Aws::Vector& value) { SetDocumentAttributes(value); return *this;} + inline RelevantContent& WithDocumentAttributes(Aws::Vector&& value) { SetDocumentAttributes(std::move(value)); return *this;} + inline RelevantContent& AddDocumentAttributes(const DocumentAttribute& value) { m_documentAttributesHasBeenSet = true; m_documentAttributes.push_back(value); return *this; } + inline RelevantContent& AddDocumentAttributes(DocumentAttribute&& value) { m_documentAttributesHasBeenSet = true; m_documentAttributes.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    Attributes related to the relevance score of the content.

    + */ + inline const ScoreAttributes& GetScoreAttributes() const{ return m_scoreAttributes; } + inline bool ScoreAttributesHasBeenSet() const { return m_scoreAttributesHasBeenSet; } + inline void SetScoreAttributes(const ScoreAttributes& value) { m_scoreAttributesHasBeenSet = true; m_scoreAttributes = value; } + inline void SetScoreAttributes(ScoreAttributes&& value) { m_scoreAttributesHasBeenSet = true; m_scoreAttributes = std::move(value); } + inline RelevantContent& WithScoreAttributes(const ScoreAttributes& value) { SetScoreAttributes(value); return *this;} + inline RelevantContent& WithScoreAttributes(ScoreAttributes&& value) { SetScoreAttributes(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_content; + bool m_contentHasBeenSet = false; + + Aws::String m_documentId; + bool m_documentIdHasBeenSet = false; + + Aws::String m_documentTitle; + bool m_documentTitleHasBeenSet = false; + + Aws::String m_documentUri; + bool m_documentUriHasBeenSet = false; + + Aws::Vector m_documentAttributes; + bool m_documentAttributesHasBeenSet = false; + + ScoreAttributes m_scoreAttributes; + bool m_scoreAttributesHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ResourceNotFoundException.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ResourceNotFoundException.h index 0d7c4b14216..581c26ab77d 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ResourceNotFoundException.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ResourceNotFoundException.h @@ -24,8 +24,9 @@ namespace Model { /** - *

    The resource you want to use doesn’t exist. Make sure you have provided the - * correct resource and try again.

    See Also:

    The application or plugin resource you want to use doesn’t exist. Make sure + * you have provided the correct resource and try again.

    See Also:

    + *
    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/RetrieverContentSource.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/RetrieverContentSource.h new file mode 100644 index 00000000000..f69ec6cffad --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/RetrieverContentSource.h @@ -0,0 +1,62 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + *

    Specifies a retriever as the content source for a search.

    See + * Also:

    AWS + * API Reference

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

    The unique identifier of the retriever to use as the content source.

    + */ + inline const Aws::String& GetRetrieverId() const{ return m_retrieverId; } + inline bool RetrieverIdHasBeenSet() const { return m_retrieverIdHasBeenSet; } + inline void SetRetrieverId(const Aws::String& value) { m_retrieverIdHasBeenSet = true; m_retrieverId = value; } + inline void SetRetrieverId(Aws::String&& value) { m_retrieverIdHasBeenSet = true; m_retrieverId = std::move(value); } + inline void SetRetrieverId(const char* value) { m_retrieverIdHasBeenSet = true; m_retrieverId.assign(value); } + inline RetrieverContentSource& WithRetrieverId(const Aws::String& value) { SetRetrieverId(value); return *this;} + inline RetrieverContentSource& WithRetrieverId(Aws::String&& value) { SetRetrieverId(std::move(value)); return *this;} + inline RetrieverContentSource& WithRetrieverId(const char* value) { SetRetrieverId(value); return *this;} + ///@} + private: + + Aws::String m_retrieverId; + bool m_retrieverIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ScoreAttributes.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ScoreAttributes.h new file mode 100644 index 00000000000..fe841168fd4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ScoreAttributes.h @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QBusiness +{ +namespace Model +{ + + /** + *

    Provides information about the relevance score of content.

    See + * Also:

    AWS + * API Reference

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

    The confidence level of the relevance score.

    + */ + inline const ScoreConfidence& GetScoreConfidence() const{ return m_scoreConfidence; } + inline bool ScoreConfidenceHasBeenSet() const { return m_scoreConfidenceHasBeenSet; } + inline void SetScoreConfidence(const ScoreConfidence& value) { m_scoreConfidenceHasBeenSet = true; m_scoreConfidence = value; } + inline void SetScoreConfidence(ScoreConfidence&& value) { m_scoreConfidenceHasBeenSet = true; m_scoreConfidence = std::move(value); } + inline ScoreAttributes& WithScoreConfidence(const ScoreConfidence& value) { SetScoreConfidence(value); return *this;} + inline ScoreAttributes& WithScoreConfidence(ScoreConfidence&& value) { SetScoreConfidence(std::move(value)); return *this;} + ///@} + private: + + ScoreConfidence m_scoreConfidence; + bool m_scoreConfidenceHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ScoreConfidence.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ScoreConfidence.h new file mode 100644 index 00000000000..81d2a69bbd8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/ScoreConfidence.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + enum class ScoreConfidence + { + NOT_SET, + VERY_HIGH, + HIGH, + MEDIUM, + LOW, + NOT_AVAILABLE + }; + +namespace ScoreConfidenceMapper +{ +AWS_QBUSINESS_API ScoreConfidence GetScoreConfidenceForName(const Aws::String& name); + +AWS_QBUSINESS_API Aws::String GetNameForScoreConfidence(ScoreConfidence value); +} // namespace ScoreConfidenceMapper +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/SearchRelevantContentRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/SearchRelevantContentRequest.h new file mode 100644 index 00000000000..89f4b5b860f --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/SearchRelevantContentRequest.h @@ -0,0 +1,176 @@ +/** + * 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 Http +{ + class URI; +} //namespace Http +namespace QBusiness +{ +namespace Model +{ + + /** + */ + class SearchRelevantContentRequest : public QBusinessRequest + { + public: + AWS_QBUSINESS_API SearchRelevantContentRequest(); + + // 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 "SearchRelevantContent"; } + + AWS_QBUSINESS_API Aws::String SerializePayload() const override; + + AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The unique identifier of the Q Business application to search.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } + inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } + inline SearchRelevantContentRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline SearchRelevantContentRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline SearchRelevantContentRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the user performing the search. Used for access control.

    + */ + inline const Aws::String& GetUserId() const{ return m_userId; } + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + inline SearchRelevantContentRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + inline SearchRelevantContentRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + inline SearchRelevantContentRequest& WithUserId(const char* value) { SetUserId(value); return *this;} + ///@} + + ///@{ + /** + *

    The groups the user belongs to. Used for access control.

    + */ + inline const Aws::Vector& GetUserGroups() const{ return m_userGroups; } + inline bool UserGroupsHasBeenSet() const { return m_userGroupsHasBeenSet; } + inline void SetUserGroups(const Aws::Vector& value) { m_userGroupsHasBeenSet = true; m_userGroups = value; } + inline void SetUserGroups(Aws::Vector&& value) { m_userGroupsHasBeenSet = true; m_userGroups = std::move(value); } + inline SearchRelevantContentRequest& WithUserGroups(const Aws::Vector& value) { SetUserGroups(value); return *this;} + inline SearchRelevantContentRequest& WithUserGroups(Aws::Vector&& value) { SetUserGroups(std::move(value)); return *this;} + inline SearchRelevantContentRequest& AddUserGroups(const Aws::String& value) { m_userGroupsHasBeenSet = true; m_userGroups.push_back(value); return *this; } + inline SearchRelevantContentRequest& AddUserGroups(Aws::String&& value) { m_userGroupsHasBeenSet = true; m_userGroups.push_back(std::move(value)); return *this; } + inline SearchRelevantContentRequest& AddUserGroups(const char* value) { m_userGroupsHasBeenSet = true; m_userGroups.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The text to search for.

    + */ + inline const Aws::String& GetQueryText() const{ return m_queryText; } + inline bool QueryTextHasBeenSet() const { return m_queryTextHasBeenSet; } + inline void SetQueryText(const Aws::String& value) { m_queryTextHasBeenSet = true; m_queryText = value; } + inline void SetQueryText(Aws::String&& value) { m_queryTextHasBeenSet = true; m_queryText = std::move(value); } + inline void SetQueryText(const char* value) { m_queryTextHasBeenSet = true; m_queryText.assign(value); } + inline SearchRelevantContentRequest& WithQueryText(const Aws::String& value) { SetQueryText(value); return *this;} + inline SearchRelevantContentRequest& WithQueryText(Aws::String&& value) { SetQueryText(std::move(value)); return *this;} + inline SearchRelevantContentRequest& WithQueryText(const char* value) { SetQueryText(value); return *this;} + ///@} + + ///@{ + /** + *

    The source of content to search in.

    + */ + inline const ContentSource& GetContentSource() const{ return m_contentSource; } + inline bool ContentSourceHasBeenSet() const { return m_contentSourceHasBeenSet; } + inline void SetContentSource(const ContentSource& value) { m_contentSourceHasBeenSet = true; m_contentSource = value; } + inline void SetContentSource(ContentSource&& value) { m_contentSourceHasBeenSet = true; m_contentSource = std::move(value); } + inline SearchRelevantContentRequest& WithContentSource(const ContentSource& value) { SetContentSource(value); return *this;} + inline SearchRelevantContentRequest& WithContentSource(ContentSource&& value) { SetContentSource(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const AttributeFilter& GetAttributeFilter() const{ return m_attributeFilter; } + inline bool AttributeFilterHasBeenSet() const { return m_attributeFilterHasBeenSet; } + inline void SetAttributeFilter(const AttributeFilter& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = value; } + inline void SetAttributeFilter(AttributeFilter&& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = std::move(value); } + inline SearchRelevantContentRequest& WithAttributeFilter(const AttributeFilter& value) { SetAttributeFilter(value); return *this;} + inline SearchRelevantContentRequest& WithAttributeFilter(AttributeFilter&& value) { SetAttributeFilter(std::move(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 SearchRelevantContentRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

    The token for the next set of results. (You received this token from a + * previous call.)

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline SearchRelevantContentRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline SearchRelevantContentRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline SearchRelevantContentRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + private: + + Aws::String m_applicationId; + bool m_applicationIdHasBeenSet = false; + + Aws::String m_userId; + bool m_userIdHasBeenSet = false; + + Aws::Vector m_userGroups; + bool m_userGroupsHasBeenSet = false; + + Aws::String m_queryText; + bool m_queryTextHasBeenSet = false; + + ContentSource m_contentSource; + bool m_contentSourceHasBeenSet = false; + + AttributeFilter m_attributeFilter; + bool m_attributeFilterHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/SearchRelevantContentResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/SearchRelevantContentResult.h new file mode 100644 index 00000000000..18eca579735 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/SearchRelevantContentResult.h @@ -0,0 +1,84 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QBusiness +{ +namespace Model +{ + class SearchRelevantContentResult + { + public: + AWS_QBUSINESS_API SearchRelevantContentResult(); + AWS_QBUSINESS_API SearchRelevantContentResult(const Aws::AmazonWebServiceResult& result); + AWS_QBUSINESS_API SearchRelevantContentResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The list of relevant content items found.

    + */ + inline const Aws::Vector& GetRelevantContent() const{ return m_relevantContent; } + inline void SetRelevantContent(const Aws::Vector& value) { m_relevantContent = value; } + inline void SetRelevantContent(Aws::Vector&& value) { m_relevantContent = std::move(value); } + inline SearchRelevantContentResult& WithRelevantContent(const Aws::Vector& value) { SetRelevantContent(value); return *this;} + inline SearchRelevantContentResult& WithRelevantContent(Aws::Vector&& value) { SetRelevantContent(std::move(value)); return *this;} + inline SearchRelevantContentResult& AddRelevantContent(const RelevantContent& value) { m_relevantContent.push_back(value); return *this; } + inline SearchRelevantContentResult& AddRelevantContent(RelevantContent&& value) { m_relevantContent.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The token to use to retrieve the next set of results, if there are any.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline SearchRelevantContentResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline SearchRelevantContentResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline SearchRelevantContentResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline SearchRelevantContentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline SearchRelevantContentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline SearchRelevantContentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_relevantContent; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/UpdateDataAccessorRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/UpdateDataAccessorRequest.h new file mode 100644 index 00000000000..02b6eea3258 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/UpdateDataAccessorRequest.h @@ -0,0 +1,110 @@ +/** + * 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 QBusiness +{ +namespace Model +{ + + /** + */ + class UpdateDataAccessorRequest : public QBusinessRequest + { + public: + AWS_QBUSINESS_API UpdateDataAccessorRequest(); + + // 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 "UpdateDataAccessor"; } + + AWS_QBUSINESS_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The unique identifier of the Q Business application.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } + inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } + inline UpdateDataAccessorRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline UpdateDataAccessorRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline UpdateDataAccessorRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the data accessor to update.

    + */ + inline const Aws::String& GetDataAccessorId() const{ return m_dataAccessorId; } + inline bool DataAccessorIdHasBeenSet() const { return m_dataAccessorIdHasBeenSet; } + inline void SetDataAccessorId(const Aws::String& value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId = value; } + inline void SetDataAccessorId(Aws::String&& value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId = std::move(value); } + inline void SetDataAccessorId(const char* value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId.assign(value); } + inline UpdateDataAccessorRequest& WithDataAccessorId(const Aws::String& value) { SetDataAccessorId(value); return *this;} + inline UpdateDataAccessorRequest& WithDataAccessorId(Aws::String&& value) { SetDataAccessorId(std::move(value)); return *this;} + inline UpdateDataAccessorRequest& WithDataAccessorId(const char* value) { SetDataAccessorId(value); return *this;} + ///@} + + ///@{ + /** + *

    The updated list of action configurations specifying the allowed actions and + * any associated filters.

    + */ + inline const Aws::Vector& GetActionConfigurations() const{ return m_actionConfigurations; } + inline bool ActionConfigurationsHasBeenSet() const { return m_actionConfigurationsHasBeenSet; } + inline void SetActionConfigurations(const Aws::Vector& value) { m_actionConfigurationsHasBeenSet = true; m_actionConfigurations = value; } + inline void SetActionConfigurations(Aws::Vector&& value) { m_actionConfigurationsHasBeenSet = true; m_actionConfigurations = std::move(value); } + inline UpdateDataAccessorRequest& WithActionConfigurations(const Aws::Vector& value) { SetActionConfigurations(value); return *this;} + inline UpdateDataAccessorRequest& WithActionConfigurations(Aws::Vector&& value) { SetActionConfigurations(std::move(value)); return *this;} + inline UpdateDataAccessorRequest& AddActionConfigurations(const ActionConfiguration& value) { m_actionConfigurationsHasBeenSet = true; m_actionConfigurations.push_back(value); return *this; } + inline UpdateDataAccessorRequest& AddActionConfigurations(ActionConfiguration&& value) { m_actionConfigurationsHasBeenSet = true; m_actionConfigurations.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The updated friendly name for the data accessor.

    + */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + inline UpdateDataAccessorRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline UpdateDataAccessorRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline UpdateDataAccessorRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + ///@} + private: + + Aws::String m_applicationId; + bool m_applicationIdHasBeenSet = false; + + Aws::String m_dataAccessorId; + bool m_dataAccessorIdHasBeenSet = false; + + Aws::Vector m_actionConfigurations; + bool m_actionConfigurationsHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/UpdateDataAccessorResult.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/UpdateDataAccessorResult.h new file mode 100644 index 00000000000..7af7c33f80d --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/UpdateDataAccessorResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QBusiness +{ +namespace Model +{ + class UpdateDataAccessorResult + { + public: + AWS_QBUSINESS_API UpdateDataAccessorResult(); + AWS_QBUSINESS_API UpdateDataAccessorResult(const Aws::AmazonWebServiceResult& result); + AWS_QBUSINESS_API UpdateDataAccessorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateDataAccessorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateDataAccessorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateDataAccessorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/UpdateWebExperienceRequest.h b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/UpdateWebExperienceRequest.h index 63f65732a93..8fa2cb92afd 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/UpdateWebExperienceRequest.h +++ b/generated/src/aws-cpp-sdk-qbusiness/include/aws/qbusiness/model/UpdateWebExperienceRequest.h @@ -11,6 +11,7 @@ #include #include #include +#include #include namespace Aws @@ -190,6 +191,19 @@ namespace Model inline UpdateWebExperienceRequest& WithBrowserExtensionConfiguration(const BrowserExtensionConfiguration& value) { SetBrowserExtensionConfiguration(value); return *this;} inline UpdateWebExperienceRequest& WithBrowserExtensionConfiguration(BrowserExtensionConfiguration&& value) { SetBrowserExtensionConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    Updates the custom logo, favicon, font, and color used in the Amazon Q web + * experience.

    + */ + inline const CustomizationConfiguration& GetCustomizationConfiguration() const{ return m_customizationConfiguration; } + inline bool CustomizationConfigurationHasBeenSet() const { return m_customizationConfigurationHasBeenSet; } + inline void SetCustomizationConfiguration(const CustomizationConfiguration& value) { m_customizationConfigurationHasBeenSet = true; m_customizationConfiguration = value; } + inline void SetCustomizationConfiguration(CustomizationConfiguration&& value) { m_customizationConfigurationHasBeenSet = true; m_customizationConfiguration = std::move(value); } + inline UpdateWebExperienceRequest& WithCustomizationConfiguration(const CustomizationConfiguration& value) { SetCustomizationConfiguration(value); return *this;} + inline UpdateWebExperienceRequest& WithCustomizationConfiguration(CustomizationConfiguration&& value) { SetCustomizationConfiguration(std::move(value)); return *this;} + ///@} private: Aws::String m_applicationId; @@ -221,6 +235,9 @@ namespace Model BrowserExtensionConfiguration m_browserExtensionConfiguration; bool m_browserExtensionConfigurationHasBeenSet = false; + + CustomizationConfiguration m_customizationConfiguration; + bool m_customizationConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/QBusinessClient.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/QBusinessClient.cpp index ca1598a528f..56a69f010d1 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/source/QBusinessClient.cpp +++ b/generated/src/aws-cpp-sdk-qbusiness/source/QBusinessClient.cpp @@ -22,11 +22,13 @@ #include #include #include +#include #include #include #include #include #include +#include #include #include #include @@ -36,6 +38,7 @@ #include #include #include +#include #include #include #include @@ -43,37 +46,46 @@ #include #include #include +#include #include #include +#include #include #include #include #include #include +#include #include #include #include #include #include #include +#include #include #include #include #include #include #include +#include +#include +#include #include #include #include #include #include #include +#include #include #include #include #include #include #include +#include #include #include #include @@ -223,6 +235,40 @@ void QBusinessClient::OverrideEndpoint(const Aws::String& endpoint) m_endpointProvider->OverrideEndpoint(endpoint); } +AssociatePermissionOutcome QBusinessClient::AssociatePermission(const AssociatePermissionRequest& request) const +{ + AWS_OPERATION_GUARD(AssociatePermission); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssociatePermission, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ApplicationIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociatePermission", "Required field: ApplicationId, is not set"); + return AssociatePermissionOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ApplicationId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssociatePermission, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AssociatePermission, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssociatePermission", + {{ 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( + [&]()-> AssociatePermissionOutcome { + 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, AssociatePermission, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/policy"); + return AssociatePermissionOutcome(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()}}); +} + BatchDeleteDocumentOutcome QBusinessClient::BatchDeleteDocument(const BatchDeleteDocumentRequest& request) const { AWS_OPERATION_GUARD(BatchDeleteDocument); @@ -425,6 +471,40 @@ CreateApplicationOutcome QBusinessClient::CreateApplication(const CreateApplicat {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateDataAccessorOutcome QBusinessClient::CreateDataAccessor(const CreateDataAccessorRequest& request) const +{ + AWS_OPERATION_GUARD(CreateDataAccessor); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateDataAccessor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ApplicationIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateDataAccessor", "Required field: ApplicationId, is not set"); + return CreateDataAccessorOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ApplicationId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateDataAccessor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateDataAccessor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateDataAccessor", + {{ 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( + [&]()-> CreateDataAccessorOutcome { + 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, CreateDataAccessor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/dataaccessors"); + return CreateDataAccessorOutcome(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()}}); +} + CreateDataSourceOutcome QBusinessClient::CreateDataSource(const CreateDataSourceRequest& request) const { AWS_OPERATION_GUARD(CreateDataSource); @@ -743,6 +823,46 @@ DeleteConversationOutcome QBusinessClient::DeleteConversation(const DeleteConver {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteDataAccessorOutcome QBusinessClient::DeleteDataAccessor(const DeleteDataAccessorRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteDataAccessor); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteDataAccessor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ApplicationIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteDataAccessor", "Required field: ApplicationId, is not set"); + return DeleteDataAccessorOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ApplicationId]", false)); + } + if (!request.DataAccessorIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteDataAccessor", "Required field: DataAccessorId, is not set"); + return DeleteDataAccessorOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DataAccessorId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteDataAccessor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteDataAccessor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteDataAccessor", + {{ 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( + [&]()-> DeleteDataAccessorOutcome { + 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, DeleteDataAccessor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/dataaccessors/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDataAccessorId()); + return DeleteDataAccessorOutcome(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()}}); +} + DeleteDataSourceOutcome QBusinessClient::DeleteDataSource(const DeleteDataSourceRequest& request) const { AWS_OPERATION_GUARD(DeleteDataSource); @@ -1037,6 +1157,46 @@ DeleteWebExperienceOutcome QBusinessClient::DeleteWebExperience(const DeleteWebE {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DisassociatePermissionOutcome QBusinessClient::DisassociatePermission(const DisassociatePermissionRequest& request) const +{ + AWS_OPERATION_GUARD(DisassociatePermission); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociatePermission, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ApplicationIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociatePermission", "Required field: ApplicationId, is not set"); + return DisassociatePermissionOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ApplicationId]", false)); + } + if (!request.StatementIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociatePermission", "Required field: StatementId, is not set"); + return DisassociatePermissionOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StatementId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociatePermission, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DisassociatePermission, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DisassociatePermission", + {{ 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( + [&]()-> DisassociatePermissionOutcome { + 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, DisassociatePermission, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/policy/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStatementId()); + return DisassociatePermissionOutcome(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()}}); +} + GetApplicationOutcome QBusinessClient::GetApplication(const GetApplicationRequest& request) const { AWS_OPERATION_GUARD(GetApplication); @@ -1104,6 +1264,46 @@ GetChatControlsConfigurationOutcome QBusinessClient::GetChatControlsConfiguratio {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetDataAccessorOutcome QBusinessClient::GetDataAccessor(const GetDataAccessorRequest& request) const +{ + AWS_OPERATION_GUARD(GetDataAccessor); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataAccessor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ApplicationIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetDataAccessor", "Required field: ApplicationId, is not set"); + return GetDataAccessorOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ApplicationId]", false)); + } + if (!request.DataAccessorIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetDataAccessor", "Required field: DataAccessorId, is not set"); + return GetDataAccessorOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DataAccessorId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataAccessor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetDataAccessor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataAccessor", + {{ 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( + [&]()-> GetDataAccessorOutcome { + 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, GetDataAccessor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/dataaccessors/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDataAccessorId()); + return GetDataAccessorOutcome(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()}}); +} + GetDataSourceOutcome QBusinessClient::GetDataSource(const GetDataSourceRequest& request) const { AWS_OPERATION_GUARD(GetDataSource); @@ -1332,6 +1532,40 @@ GetPluginOutcome QBusinessClient::GetPlugin(const GetPluginRequest& request) con {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetPolicyOutcome QBusinessClient::GetPolicy(const GetPolicyRequest& request) const +{ + AWS_OPERATION_GUARD(GetPolicy); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetPolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ApplicationIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetPolicy", "Required field: ApplicationId, is not set"); + return GetPolicyOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ApplicationId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetPolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetPolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetPolicy", + {{ 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( + [&]()-> GetPolicyOutcome { + 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, GetPolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/policy"); + return GetPolicyOutcome(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()}}); +} + GetRetrieverOutcome QBusinessClient::GetRetriever(const GetRetrieverRequest& request) const { AWS_OPERATION_GUARD(GetRetriever); @@ -1547,6 +1781,40 @@ ListConversationsOutcome QBusinessClient::ListConversations(const ListConversati {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListDataAccessorsOutcome QBusinessClient::ListDataAccessors(const ListDataAccessorsRequest& request) const +{ + AWS_OPERATION_GUARD(ListDataAccessors); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListDataAccessors, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ApplicationIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListDataAccessors", "Required field: ApplicationId, is not set"); + return ListDataAccessorsOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ApplicationId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListDataAccessors, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListDataAccessors, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListDataAccessors", + {{ 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( + [&]()-> ListDataAccessorsOutcome { + 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, ListDataAccessors, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/dataaccessors"); + return ListDataAccessorsOutcome(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()}}); +} + ListDataSourceSyncJobsOutcome QBusinessClient::ListDataSourceSyncJobs(const ListDataSourceSyncJobsRequest& request) const { AWS_OPERATION_GUARD(ListDataSourceSyncJobs); @@ -1797,6 +2065,108 @@ ListMessagesOutcome QBusinessClient::ListMessages(const ListMessagesRequest& req {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListPluginActionsOutcome QBusinessClient::ListPluginActions(const ListPluginActionsRequest& request) const +{ + AWS_OPERATION_GUARD(ListPluginActions); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListPluginActions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ApplicationIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListPluginActions", "Required field: ApplicationId, is not set"); + return ListPluginActionsOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ApplicationId]", false)); + } + if (!request.PluginIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListPluginActions", "Required field: PluginId, is not set"); + return ListPluginActionsOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PluginId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListPluginActions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListPluginActions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListPluginActions", + {{ 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( + [&]()-> ListPluginActionsOutcome { + 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, ListPluginActions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/plugins/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetPluginId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/actions"); + return ListPluginActionsOutcome(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()}}); +} + +ListPluginTypeActionsOutcome QBusinessClient::ListPluginTypeActions(const ListPluginTypeActionsRequest& request) const +{ + AWS_OPERATION_GUARD(ListPluginTypeActions); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListPluginTypeActions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.PluginTypeHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListPluginTypeActions", "Required field: PluginType, is not set"); + return ListPluginTypeActionsOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PluginType]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListPluginTypeActions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListPluginTypeActions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListPluginTypeActions", + {{ 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( + [&]()-> ListPluginTypeActionsOutcome { + 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, ListPluginTypeActions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/pluginTypes/"); + endpointResolutionOutcome.GetResult().AddPathSegment(PluginTypeMapper::GetNameForPluginType(request.GetPluginType())); + endpointResolutionOutcome.GetResult().AddPathSegments("/actions"); + return ListPluginTypeActionsOutcome(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()}}); +} + +ListPluginTypeMetadataOutcome QBusinessClient::ListPluginTypeMetadata(const ListPluginTypeMetadataRequest& request) const +{ + AWS_OPERATION_GUARD(ListPluginTypeMetadata); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListPluginTypeMetadata, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListPluginTypeMetadata, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListPluginTypeMetadata, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListPluginTypeMetadata", + {{ 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( + [&]()-> ListPluginTypeMetadataOutcome { + 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, ListPluginTypeMetadata, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/pluginTypeMetadata"); + return ListPluginTypeMetadataOutcome(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()}}); +} + ListPluginsOutcome QBusinessClient::ListPlugins(const ListPluginsRequest& request) const { AWS_OPERATION_GUARD(ListPlugins); @@ -2021,6 +2391,40 @@ PutGroupOutcome QBusinessClient::PutGroup(const PutGroupRequest& request) const {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +SearchRelevantContentOutcome QBusinessClient::SearchRelevantContent(const SearchRelevantContentRequest& request) const +{ + AWS_OPERATION_GUARD(SearchRelevantContent); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, SearchRelevantContent, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ApplicationIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("SearchRelevantContent", "Required field: ApplicationId, is not set"); + return SearchRelevantContentOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ApplicationId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SearchRelevantContent, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, SearchRelevantContent, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SearchRelevantContent", + {{ 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( + [&]()-> SearchRelevantContentOutcome { + 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, SearchRelevantContent, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/relevant-content"); + return SearchRelevantContentOutcome(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()}}); +} + StartDataSourceSyncJobOutcome QBusinessClient::StartDataSourceSyncJob(const StartDataSourceSyncJobRequest& request) const { AWS_OPERATION_GUARD(StartDataSourceSyncJob); @@ -2255,6 +2659,46 @@ UpdateChatControlsConfigurationOutcome QBusinessClient::UpdateChatControlsConfig {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateDataAccessorOutcome QBusinessClient::UpdateDataAccessor(const UpdateDataAccessorRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateDataAccessor); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateDataAccessor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ApplicationIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateDataAccessor", "Required field: ApplicationId, is not set"); + return UpdateDataAccessorOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ApplicationId]", false)); + } + if (!request.DataAccessorIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateDataAccessor", "Required field: DataAccessorId, is not set"); + return UpdateDataAccessorOutcome(Aws::Client::AWSError(QBusinessErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DataAccessorId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateDataAccessor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateDataAccessor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateDataAccessor", + {{ 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( + [&]()-> UpdateDataAccessorOutcome { + 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, UpdateDataAccessor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/dataaccessors/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDataAccessorId()); + return UpdateDataAccessorOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateDataSourceOutcome QBusinessClient::UpdateDataSource(const UpdateDataSourceRequest& request) const { AWS_OPERATION_GUARD(UpdateDataSource); diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/ActionConfiguration.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ActionConfiguration.cpp new file mode 100644 index 00000000000..7e4cd08048f --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ActionConfiguration.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + +ActionConfiguration::ActionConfiguration() : + m_actionHasBeenSet(false), + m_filterConfigurationHasBeenSet(false) +{ +} + +ActionConfiguration::ActionConfiguration(JsonView jsonValue) + : ActionConfiguration() +{ + *this = jsonValue; +} + +ActionConfiguration& ActionConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("action")) + { + m_action = jsonValue.GetString("action"); + + m_actionHasBeenSet = true; + } + + if(jsonValue.ValueExists("filterConfiguration")) + { + m_filterConfiguration = jsonValue.GetObject("filterConfiguration"); + + m_filterConfigurationHasBeenSet = true; + } + + return *this; +} + +JsonValue ActionConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_actionHasBeenSet) + { + payload.WithString("action", m_action); + + } + + if(m_filterConfigurationHasBeenSet) + { + payload.WithObject("filterConfiguration", m_filterConfiguration.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/ActionFilterConfiguration.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ActionFilterConfiguration.cpp new file mode 100644 index 00000000000..f317adbc359 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ActionFilterConfiguration.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + +ActionFilterConfiguration::ActionFilterConfiguration() : + m_documentAttributeFilterHasBeenSet(false) +{ +} + +ActionFilterConfiguration::ActionFilterConfiguration(JsonView jsonValue) + : ActionFilterConfiguration() +{ + *this = jsonValue; +} + +ActionFilterConfiguration& ActionFilterConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("documentAttributeFilter")) + { + m_documentAttributeFilter = jsonValue.GetObject("documentAttributeFilter"); + + m_documentAttributeFilterHasBeenSet = true; + } + + return *this; +} + +JsonValue ActionFilterConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_documentAttributeFilterHasBeenSet) + { + payload.WithObject("documentAttributeFilter", m_documentAttributeFilter.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/ActionSummary.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ActionSummary.cpp new file mode 100644 index 00000000000..bcc1f9249d1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ActionSummary.cpp @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + +ActionSummary::ActionSummary() : + m_actionIdentifierHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_instructionExampleHasBeenSet(false), + m_descriptionHasBeenSet(false) +{ +} + +ActionSummary::ActionSummary(JsonView jsonValue) + : ActionSummary() +{ + *this = jsonValue; +} + +ActionSummary& ActionSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("actionIdentifier")) + { + m_actionIdentifier = jsonValue.GetString("actionIdentifier"); + + m_actionIdentifierHasBeenSet = true; + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + m_displayNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("instructionExample")) + { + m_instructionExample = jsonValue.GetString("instructionExample"); + + m_instructionExampleHasBeenSet = true; + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + return *this; +} + +JsonValue ActionSummary::Jsonize() const +{ + JsonValue payload; + + if(m_actionIdentifierHasBeenSet) + { + payload.WithString("actionIdentifier", m_actionIdentifier); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_instructionExampleHasBeenSet) + { + payload.WithString("instructionExample", m_instructionExample); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + return payload; +} + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/Application.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/Application.cpp index be4cdb37b8c..03725044ccc 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/source/model/Application.cpp +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/Application.cpp @@ -26,7 +26,8 @@ Application::Application() : m_status(ApplicationStatus::NOT_SET), m_statusHasBeenSet(false), m_identityType(IdentityType::NOT_SET), - m_identityTypeHasBeenSet(false) + m_identityTypeHasBeenSet(false), + m_quickSightConfigurationHasBeenSet(false) { } @@ -80,6 +81,13 @@ Application& Application::operator =(JsonView jsonValue) m_identityTypeHasBeenSet = true; } + if(jsonValue.ValueExists("quickSightConfiguration")) + { + m_quickSightConfiguration = jsonValue.GetObject("quickSightConfiguration"); + + m_quickSightConfigurationHasBeenSet = true; + } + return *this; } @@ -119,6 +127,12 @@ JsonValue Application::Jsonize() const payload.WithString("identityType", IdentityTypeMapper::GetNameForIdentityType(m_identityType)); } + if(m_quickSightConfigurationHasBeenSet) + { + payload.WithObject("quickSightConfiguration", m_quickSightConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/AssociatePermissionRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/AssociatePermissionRequest.cpp new file mode 100644 index 00000000000..57f2be363a8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/AssociatePermissionRequest.cpp @@ -0,0 +1,55 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AssociatePermissionRequest::AssociatePermissionRequest() : + m_applicationIdHasBeenSet(false), + m_statementIdHasBeenSet(false), + m_actionsHasBeenSet(false), + m_principalHasBeenSet(false) +{ +} + +Aws::String AssociatePermissionRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_statementIdHasBeenSet) + { + payload.WithString("statementId", m_statementId); + + } + + if(m_actionsHasBeenSet) + { + Aws::Utils::Array actionsJsonList(m_actions.size()); + for(unsigned actionsIndex = 0; actionsIndex < actionsJsonList.GetLength(); ++actionsIndex) + { + actionsJsonList[actionsIndex].AsString(m_actions[actionsIndex]); + } + payload.WithArray("actions", std::move(actionsJsonList)); + + } + + if(m_principalHasBeenSet) + { + payload.WithString("principal", m_principal); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/AssociatePermissionResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/AssociatePermissionResult.cpp new file mode 100644 index 00000000000..7745dda5752 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/AssociatePermissionResult.cpp @@ -0,0 +1,48 @@ +/** + * 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::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AssociatePermissionResult::AssociatePermissionResult() +{ +} + +AssociatePermissionResult::AssociatePermissionResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +AssociatePermissionResult& AssociatePermissionResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("statement")) + { + m_statement = jsonValue.GetString("statement"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/ContentSource.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ContentSource.cpp new file mode 100644 index 00000000000..413abbd5f65 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ContentSource.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + +ContentSource::ContentSource() : + m_retrieverHasBeenSet(false) +{ +} + +ContentSource::ContentSource(JsonView jsonValue) + : ContentSource() +{ + *this = jsonValue; +} + +ContentSource& ContentSource::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("retriever")) + { + m_retriever = jsonValue.GetObject("retriever"); + + m_retrieverHasBeenSet = true; + } + + return *this; +} + +JsonValue ContentSource::Jsonize() const +{ + JsonValue payload; + + if(m_retrieverHasBeenSet) + { + payload.WithObject("retriever", m_retriever.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateApplicationRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateApplicationRequest.cpp index 3d3f55e8e80..200bb0f6ef0 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateApplicationRequest.cpp +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateApplicationRequest.cpp @@ -27,7 +27,8 @@ CreateApplicationRequest::CreateApplicationRequest() : m_clientTokenHasBeenSet(true), m_attachmentsConfigurationHasBeenSet(false), m_qAppsConfigurationHasBeenSet(false), - m_personalizationConfigurationHasBeenSet(false) + m_personalizationConfigurationHasBeenSet(false), + m_quickSightConfigurationHasBeenSet(false) { } @@ -122,6 +123,12 @@ Aws::String CreateApplicationRequest::SerializePayload() const } + if(m_quickSightConfigurationHasBeenSet) + { + payload.WithObject("quickSightConfiguration", m_quickSightConfiguration.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateDataAccessorRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateDataAccessorRequest.cpp new file mode 100644 index 00000000000..f1104a91420 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateDataAccessorRequest.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateDataAccessorRequest::CreateDataAccessorRequest() : + m_applicationIdHasBeenSet(false), + m_principalHasBeenSet(false), + m_actionConfigurationsHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_displayNameHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String CreateDataAccessorRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_principalHasBeenSet) + { + payload.WithString("principal", m_principal); + + } + + if(m_actionConfigurationsHasBeenSet) + { + Aws::Utils::Array actionConfigurationsJsonList(m_actionConfigurations.size()); + for(unsigned actionConfigurationsIndex = 0; actionConfigurationsIndex < actionConfigurationsJsonList.GetLength(); ++actionConfigurationsIndex) + { + actionConfigurationsJsonList[actionConfigurationsIndex].AsObject(m_actionConfigurations[actionConfigurationsIndex].Jsonize()); + } + payload.WithArray("actionConfigurations", std::move(actionConfigurationsJsonList)); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("clientToken", m_clientToken); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + 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-qbusiness/source/model/CreateDataAccessorResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateDataAccessorResult.cpp new file mode 100644 index 00000000000..6efed5dbd39 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateDataAccessorResult.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateDataAccessorResult::CreateDataAccessorResult() +{ +} + +CreateDataAccessorResult::CreateDataAccessorResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateDataAccessorResult& CreateDataAccessorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("dataAccessorId")) + { + m_dataAccessorId = jsonValue.GetString("dataAccessorId"); + + } + + if(jsonValue.ValueExists("idcApplicationArn")) + { + m_idcApplicationArn = jsonValue.GetString("idcApplicationArn"); + + } + + if(jsonValue.ValueExists("dataAccessorArn")) + { + m_dataAccessorArn = jsonValue.GetString("dataAccessorArn"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateWebExperienceRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateWebExperienceRequest.cpp index d5f761ec5ae..17d8b667336 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateWebExperienceRequest.cpp +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/CreateWebExperienceRequest.cpp @@ -25,7 +25,8 @@ CreateWebExperienceRequest::CreateWebExperienceRequest() : m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), m_identityProviderConfigurationHasBeenSet(false), - m_browserExtensionConfigurationHasBeenSet(false) + m_browserExtensionConfigurationHasBeenSet(false), + m_customizationConfigurationHasBeenSet(false) { } @@ -102,6 +103,12 @@ Aws::String CreateWebExperienceRequest::SerializePayload() const } + if(m_customizationConfigurationHasBeenSet) + { + payload.WithObject("customizationConfiguration", m_customizationConfiguration.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/CustomizationConfiguration.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/CustomizationConfiguration.cpp new file mode 100644 index 00000000000..a6eaeebd575 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/CustomizationConfiguration.cpp @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + +CustomizationConfiguration::CustomizationConfiguration() : + m_customCSSUrlHasBeenSet(false), + m_logoUrlHasBeenSet(false), + m_fontUrlHasBeenSet(false), + m_faviconUrlHasBeenSet(false) +{ +} + +CustomizationConfiguration::CustomizationConfiguration(JsonView jsonValue) + : CustomizationConfiguration() +{ + *this = jsonValue; +} + +CustomizationConfiguration& CustomizationConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("customCSSUrl")) + { + m_customCSSUrl = jsonValue.GetString("customCSSUrl"); + + m_customCSSUrlHasBeenSet = true; + } + + if(jsonValue.ValueExists("logoUrl")) + { + m_logoUrl = jsonValue.GetString("logoUrl"); + + m_logoUrlHasBeenSet = true; + } + + if(jsonValue.ValueExists("fontUrl")) + { + m_fontUrl = jsonValue.GetString("fontUrl"); + + m_fontUrlHasBeenSet = true; + } + + if(jsonValue.ValueExists("faviconUrl")) + { + m_faviconUrl = jsonValue.GetString("faviconUrl"); + + m_faviconUrlHasBeenSet = true; + } + + return *this; +} + +JsonValue CustomizationConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_customCSSUrlHasBeenSet) + { + payload.WithString("customCSSUrl", m_customCSSUrl); + + } + + if(m_logoUrlHasBeenSet) + { + payload.WithString("logoUrl", m_logoUrl); + + } + + if(m_fontUrlHasBeenSet) + { + payload.WithString("fontUrl", m_fontUrl); + + } + + if(m_faviconUrlHasBeenSet) + { + payload.WithString("faviconUrl", m_faviconUrl); + + } + + return payload; +} + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/DataAccessor.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/DataAccessor.cpp new file mode 100644 index 00000000000..9cc16221d89 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/DataAccessor.cpp @@ -0,0 +1,141 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + +DataAccessor::DataAccessor() : + m_displayNameHasBeenSet(false), + m_dataAccessorIdHasBeenSet(false), + m_dataAccessorArnHasBeenSet(false), + m_idcApplicationArnHasBeenSet(false), + m_principalHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_updatedAtHasBeenSet(false) +{ +} + +DataAccessor::DataAccessor(JsonView jsonValue) + : DataAccessor() +{ + *this = jsonValue; +} + +DataAccessor& DataAccessor::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + m_displayNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("dataAccessorId")) + { + m_dataAccessorId = jsonValue.GetString("dataAccessorId"); + + m_dataAccessorIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("dataAccessorArn")) + { + m_dataAccessorArn = jsonValue.GetString("dataAccessorArn"); + + m_dataAccessorArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("idcApplicationArn")) + { + m_idcApplicationArn = jsonValue.GetString("idcApplicationArn"); + + m_idcApplicationArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("principal")) + { + m_principal = jsonValue.GetString("principal"); + + m_principalHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetDouble("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetDouble("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + return *this; +} + +JsonValue DataAccessor::Jsonize() const +{ + JsonValue payload; + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_dataAccessorIdHasBeenSet) + { + payload.WithString("dataAccessorId", m_dataAccessorId); + + } + + if(m_dataAccessorArnHasBeenSet) + { + payload.WithString("dataAccessorArn", m_dataAccessorArn); + + } + + if(m_idcApplicationArnHasBeenSet) + { + payload.WithString("idcApplicationArn", m_idcApplicationArn); + + } + + if(m_principalHasBeenSet) + { + payload.WithString("principal", m_principal); + + } + + if(m_createdAtHasBeenSet) + { + payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); + } + + if(m_updatedAtHasBeenSet) + { + payload.WithDouble("updatedAt", m_updatedAt.SecondsWithMSPrecision()); + } + + return payload; +} + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/DeleteDataAccessorRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/DeleteDataAccessorRequest.cpp new file mode 100644 index 00000000000..8cdf7a8c85d --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/DeleteDataAccessorRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteDataAccessorRequest::DeleteDataAccessorRequest() : + m_applicationIdHasBeenSet(false), + m_dataAccessorIdHasBeenSet(false) +{ +} + +Aws::String DeleteDataAccessorRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/DeleteDataAccessorResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/DeleteDataAccessorResult.cpp new file mode 100644 index 00000000000..65617de2549 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/DeleteDataAccessorResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteDataAccessorResult::DeleteDataAccessorResult() +{ +} + +DeleteDataAccessorResult::DeleteDataAccessorResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteDataAccessorResult& DeleteDataAccessorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/DisassociatePermissionRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/DisassociatePermissionRequest.cpp new file mode 100644 index 00000000000..93dc0298d9d --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/DisassociatePermissionRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DisassociatePermissionRequest::DisassociatePermissionRequest() : + m_applicationIdHasBeenSet(false), + m_statementIdHasBeenSet(false) +{ +} + +Aws::String DisassociatePermissionRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/DisassociatePermissionResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/DisassociatePermissionResult.cpp new file mode 100644 index 00000000000..72ebf23c506 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/DisassociatePermissionResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DisassociatePermissionResult::DisassociatePermissionResult() +{ +} + +DisassociatePermissionResult::DisassociatePermissionResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DisassociatePermissionResult& DisassociatePermissionResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/GetApplicationResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/GetApplicationResult.cpp index fead942f12d..fe864532c02 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/source/model/GetApplicationResult.cpp +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/GetApplicationResult.cpp @@ -143,6 +143,12 @@ GetApplicationResult& GetApplicationResult::operator =(const Aws::AmazonWebServi } } + if(jsonValue.ValueExists("quickSightConfiguration")) + { + m_quickSightConfiguration = jsonValue.GetObject("quickSightConfiguration"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/GetDataAccessorRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/GetDataAccessorRequest.cpp new file mode 100644 index 00000000000..1843356763a --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/GetDataAccessorRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetDataAccessorRequest::GetDataAccessorRequest() : + m_applicationIdHasBeenSet(false), + m_dataAccessorIdHasBeenSet(false) +{ +} + +Aws::String GetDataAccessorRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/GetDataAccessorResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/GetDataAccessorResult.cpp new file mode 100644 index 00000000000..f511d6498d2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/GetDataAccessorResult.cpp @@ -0,0 +1,99 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetDataAccessorResult::GetDataAccessorResult() +{ +} + +GetDataAccessorResult::GetDataAccessorResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetDataAccessorResult& GetDataAccessorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + } + + if(jsonValue.ValueExists("dataAccessorId")) + { + m_dataAccessorId = jsonValue.GetString("dataAccessorId"); + + } + + if(jsonValue.ValueExists("dataAccessorArn")) + { + m_dataAccessorArn = jsonValue.GetString("dataAccessorArn"); + + } + + if(jsonValue.ValueExists("applicationId")) + { + m_applicationId = jsonValue.GetString("applicationId"); + + } + + if(jsonValue.ValueExists("idcApplicationArn")) + { + m_idcApplicationArn = jsonValue.GetString("idcApplicationArn"); + + } + + if(jsonValue.ValueExists("principal")) + { + m_principal = jsonValue.GetString("principal"); + + } + + if(jsonValue.ValueExists("actionConfigurations")) + { + Aws::Utils::Array actionConfigurationsJsonList = jsonValue.GetArray("actionConfigurations"); + for(unsigned actionConfigurationsIndex = 0; actionConfigurationsIndex < actionConfigurationsJsonList.GetLength(); ++actionConfigurationsIndex) + { + m_actionConfigurations.push_back(actionConfigurationsJsonList[actionConfigurationsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetDouble("createdAt"); + + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetDouble("updatedAt"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/GetPolicyRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/GetPolicyRequest.cpp new file mode 100644 index 00000000000..8563793c7a7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/GetPolicyRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetPolicyRequest::GetPolicyRequest() : + m_applicationIdHasBeenSet(false) +{ +} + +Aws::String GetPolicyRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/GetPolicyResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/GetPolicyResult.cpp new file mode 100644 index 00000000000..8e850b9b6d5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/GetPolicyResult.cpp @@ -0,0 +1,48 @@ +/** + * 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::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetPolicyResult::GetPolicyResult() +{ +} + +GetPolicyResult::GetPolicyResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetPolicyResult& GetPolicyResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("policy")) + { + m_policy = jsonValue.GetString("policy"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/GetWebExperienceResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/GetWebExperienceResult.cpp index 81321b1b41b..adc3b66c04f 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/source/model/GetWebExperienceResult.cpp +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/GetWebExperienceResult.cpp @@ -131,6 +131,12 @@ GetWebExperienceResult& GetWebExperienceResult::operator =(const Aws::AmazonWebS } + if(jsonValue.ValueExists("customizationConfiguration")) + { + m_customizationConfiguration = jsonValue.GetObject("customizationConfiguration"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/IdcAuthConfiguration.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/IdcAuthConfiguration.cpp new file mode 100644 index 00000000000..513147823ee --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/IdcAuthConfiguration.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + +IdcAuthConfiguration::IdcAuthConfiguration() : + m_idcApplicationArnHasBeenSet(false), + m_roleArnHasBeenSet(false) +{ +} + +IdcAuthConfiguration::IdcAuthConfiguration(JsonView jsonValue) + : IdcAuthConfiguration() +{ + *this = jsonValue; +} + +IdcAuthConfiguration& IdcAuthConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("idcApplicationArn")) + { + m_idcApplicationArn = jsonValue.GetString("idcApplicationArn"); + + m_idcApplicationArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("roleArn")) + { + m_roleArn = jsonValue.GetString("roleArn"); + + m_roleArnHasBeenSet = true; + } + + return *this; +} + +JsonValue IdcAuthConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_idcApplicationArnHasBeenSet) + { + payload.WithString("idcApplicationArn", m_idcApplicationArn); + + } + + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + + return payload; +} + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/IdentityType.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/IdentityType.cpp index 61fe06e5321..66c551dcfc0 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/source/model/IdentityType.cpp +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/IdentityType.cpp @@ -23,6 +23,7 @@ namespace Aws static const int AWS_IAM_IDP_SAML_HASH = HashingUtils::HashString("AWS_IAM_IDP_SAML"); static const int AWS_IAM_IDP_OIDC_HASH = HashingUtils::HashString("AWS_IAM_IDP_OIDC"); static const int AWS_IAM_IDC_HASH = HashingUtils::HashString("AWS_IAM_IDC"); + static const int AWS_QUICKSIGHT_IDP_HASH = HashingUtils::HashString("AWS_QUICKSIGHT_IDP"); IdentityType GetIdentityTypeForName(const Aws::String& name) @@ -40,6 +41,10 @@ namespace Aws { return IdentityType::AWS_IAM_IDC; } + else if (hashCode == AWS_QUICKSIGHT_IDP_HASH) + { + return IdentityType::AWS_QUICKSIGHT_IDP; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -62,6 +67,8 @@ namespace Aws return "AWS_IAM_IDP_OIDC"; case IdentityType::AWS_IAM_IDC: return "AWS_IAM_IDC"; + case IdentityType::AWS_QUICKSIGHT_IDP: + return "AWS_QUICKSIGHT_IDP"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/ListDataAccessorsRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListDataAccessorsRequest.cpp new file mode 100644 index 00000000000..4bcec6bd244 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListDataAccessorsRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListDataAccessorsRequest::ListDataAccessorsRequest() : + m_applicationIdHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) +{ +} + +Aws::String ListDataAccessorsRequest::SerializePayload() const +{ + return {}; +} + +void ListDataAccessorsRequest::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-qbusiness/source/model/ListDataAccessorsResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListDataAccessorsResult.cpp new file mode 100644 index 00000000000..2b7685099c0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListDataAccessorsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListDataAccessorsResult::ListDataAccessorsResult() +{ +} + +ListDataAccessorsResult::ListDataAccessorsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListDataAccessorsResult& ListDataAccessorsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("dataAccessors")) + { + Aws::Utils::Array dataAccessorsJsonList = jsonValue.GetArray("dataAccessors"); + for(unsigned dataAccessorsIndex = 0; dataAccessorsIndex < dataAccessorsJsonList.GetLength(); ++dataAccessorsIndex) + { + m_dataAccessors.push_back(dataAccessorsJsonList[dataAccessorsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginActionsRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginActionsRequest.cpp new file mode 100644 index 00000000000..9f95b4cd546 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginActionsRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListPluginActionsRequest::ListPluginActionsRequest() : + m_applicationIdHasBeenSet(false), + m_pluginIdHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) +{ +} + +Aws::String ListPluginActionsRequest::SerializePayload() const +{ + return {}; +} + +void ListPluginActionsRequest::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-qbusiness/source/model/ListPluginActionsResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginActionsResult.cpp new file mode 100644 index 00000000000..f578fc0a566 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginActionsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListPluginActionsResult::ListPluginActionsResult() +{ +} + +ListPluginActionsResult::ListPluginActionsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListPluginActionsResult& ListPluginActionsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("items")) + { + Aws::Utils::Array itemsJsonList = jsonValue.GetArray("items"); + for(unsigned itemsIndex = 0; itemsIndex < itemsJsonList.GetLength(); ++itemsIndex) + { + m_items.push_back(itemsJsonList[itemsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeActionsRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeActionsRequest.cpp new file mode 100644 index 00000000000..d55ee5ef9d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeActionsRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListPluginTypeActionsRequest::ListPluginTypeActionsRequest() : + m_pluginType(PluginType::NOT_SET), + m_pluginTypeHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) +{ +} + +Aws::String ListPluginTypeActionsRequest::SerializePayload() const +{ + return {}; +} + +void ListPluginTypeActionsRequest::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-qbusiness/source/model/ListPluginTypeActionsResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeActionsResult.cpp new file mode 100644 index 00000000000..760e2e4be17 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeActionsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListPluginTypeActionsResult::ListPluginTypeActionsResult() +{ +} + +ListPluginTypeActionsResult::ListPluginTypeActionsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListPluginTypeActionsResult& ListPluginTypeActionsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("items")) + { + Aws::Utils::Array itemsJsonList = jsonValue.GetArray("items"); + for(unsigned itemsIndex = 0; itemsIndex < itemsJsonList.GetLength(); ++itemsIndex) + { + m_items.push_back(itemsJsonList[itemsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeMetadataRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeMetadataRequest.cpp new file mode 100644 index 00000000000..1d26dfcf2e5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeMetadataRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListPluginTypeMetadataRequest::ListPluginTypeMetadataRequest() : + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) +{ +} + +Aws::String ListPluginTypeMetadataRequest::SerializePayload() const +{ + return {}; +} + +void ListPluginTypeMetadataRequest::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-qbusiness/source/model/ListPluginTypeMetadataResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeMetadataResult.cpp new file mode 100644 index 00000000000..7bafd8a2732 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ListPluginTypeMetadataResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListPluginTypeMetadataResult::ListPluginTypeMetadataResult() +{ +} + +ListPluginTypeMetadataResult::ListPluginTypeMetadataResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListPluginTypeMetadataResult& ListPluginTypeMetadataResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("items")) + { + Aws::Utils::Array itemsJsonList = jsonValue.GetArray("items"); + for(unsigned itemsIndex = 0; itemsIndex < itemsJsonList.GetLength(); ++itemsIndex) + { + m_items.push_back(itemsJsonList[itemsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/OAuth2ClientCredentialConfiguration.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/OAuth2ClientCredentialConfiguration.cpp index 2fc26bfba6a..39c23fb8ecb 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/source/model/OAuth2ClientCredentialConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/OAuth2ClientCredentialConfiguration.cpp @@ -20,7 +20,9 @@ namespace Model OAuth2ClientCredentialConfiguration::OAuth2ClientCredentialConfiguration() : m_secretArnHasBeenSet(false), - m_roleArnHasBeenSet(false) + m_roleArnHasBeenSet(false), + m_authorizationUrlHasBeenSet(false), + m_tokenUrlHasBeenSet(false) { } @@ -46,6 +48,20 @@ OAuth2ClientCredentialConfiguration& OAuth2ClientCredentialConfiguration::operat m_roleArnHasBeenSet = true; } + if(jsonValue.ValueExists("authorizationUrl")) + { + m_authorizationUrl = jsonValue.GetString("authorizationUrl"); + + m_authorizationUrlHasBeenSet = true; + } + + if(jsonValue.ValueExists("tokenUrl")) + { + m_tokenUrl = jsonValue.GetString("tokenUrl"); + + m_tokenUrlHasBeenSet = true; + } + return *this; } @@ -65,6 +81,18 @@ JsonValue OAuth2ClientCredentialConfiguration::Jsonize() const } + if(m_authorizationUrlHasBeenSet) + { + payload.WithString("authorizationUrl", m_authorizationUrl); + + } + + if(m_tokenUrlHasBeenSet) + { + payload.WithString("tokenUrl", m_tokenUrl); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginAuthConfiguration.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginAuthConfiguration.cpp index 06f2fbf07ba..d169a2f4f93 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginAuthConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginAuthConfiguration.cpp @@ -21,7 +21,8 @@ namespace Model PluginAuthConfiguration::PluginAuthConfiguration() : m_basicAuthConfigurationHasBeenSet(false), m_oAuth2ClientCredentialConfigurationHasBeenSet(false), - m_noAuthConfigurationHasBeenSet(false) + m_noAuthConfigurationHasBeenSet(false), + m_idcAuthConfigurationHasBeenSet(false) { } @@ -54,6 +55,13 @@ PluginAuthConfiguration& PluginAuthConfiguration::operator =(JsonView jsonValue) m_noAuthConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("idcAuthConfiguration")) + { + m_idcAuthConfiguration = jsonValue.GetObject("idcAuthConfiguration"); + + m_idcAuthConfigurationHasBeenSet = true; + } + return *this; } @@ -79,6 +87,12 @@ JsonValue PluginAuthConfiguration::Jsonize() const } + if(m_idcAuthConfigurationHasBeenSet) + { + payload.WithObject("idcAuthConfiguration", m_idcAuthConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginType.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginType.cpp index a4860f7c1e2..e42bf059840 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginType.cpp +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginType.cpp @@ -25,6 +25,18 @@ namespace Aws static const int JIRA_HASH = HashingUtils::HashString("JIRA"); static const int ZENDESK_HASH = HashingUtils::HashString("ZENDESK"); static const int CUSTOM_HASH = HashingUtils::HashString("CUSTOM"); + static const int QUICKSIGHT_HASH = HashingUtils::HashString("QUICKSIGHT"); + static const int SERVICENOW_NOW_PLATFORM_HASH = HashingUtils::HashString("SERVICENOW_NOW_PLATFORM"); + static const int JIRA_CLOUD_HASH = HashingUtils::HashString("JIRA_CLOUD"); + static const int SALESFORCE_CRM_HASH = HashingUtils::HashString("SALESFORCE_CRM"); + static const int ZENDESK_SUITE_HASH = HashingUtils::HashString("ZENDESK_SUITE"); + static const int ATLASSIAN_CONFLUENCE_HASH = HashingUtils::HashString("ATLASSIAN_CONFLUENCE"); + static const int GOOGLE_CALENDAR_HASH = HashingUtils::HashString("GOOGLE_CALENDAR"); + static const int MICROSOFT_TEAMS_HASH = HashingUtils::HashString("MICROSOFT_TEAMS"); + static const int MICROSOFT_EXCHANGE_HASH = HashingUtils::HashString("MICROSOFT_EXCHANGE"); + static const int PAGERDUTY_ADVANCE_HASH = HashingUtils::HashString("PAGERDUTY_ADVANCE"); + static const int SMARTSHEET_HASH = HashingUtils::HashString("SMARTSHEET"); + static const int ASANA_HASH = HashingUtils::HashString("ASANA"); PluginType GetPluginTypeForName(const Aws::String& name) @@ -50,6 +62,54 @@ namespace Aws { return PluginType::CUSTOM; } + else if (hashCode == QUICKSIGHT_HASH) + { + return PluginType::QUICKSIGHT; + } + else if (hashCode == SERVICENOW_NOW_PLATFORM_HASH) + { + return PluginType::SERVICENOW_NOW_PLATFORM; + } + else if (hashCode == JIRA_CLOUD_HASH) + { + return PluginType::JIRA_CLOUD; + } + else if (hashCode == SALESFORCE_CRM_HASH) + { + return PluginType::SALESFORCE_CRM; + } + else if (hashCode == ZENDESK_SUITE_HASH) + { + return PluginType::ZENDESK_SUITE; + } + else if (hashCode == ATLASSIAN_CONFLUENCE_HASH) + { + return PluginType::ATLASSIAN_CONFLUENCE; + } + else if (hashCode == GOOGLE_CALENDAR_HASH) + { + return PluginType::GOOGLE_CALENDAR; + } + else if (hashCode == MICROSOFT_TEAMS_HASH) + { + return PluginType::MICROSOFT_TEAMS; + } + else if (hashCode == MICROSOFT_EXCHANGE_HASH) + { + return PluginType::MICROSOFT_EXCHANGE; + } + else if (hashCode == PAGERDUTY_ADVANCE_HASH) + { + return PluginType::PAGERDUTY_ADVANCE; + } + else if (hashCode == SMARTSHEET_HASH) + { + return PluginType::SMARTSHEET; + } + else if (hashCode == ASANA_HASH) + { + return PluginType::ASANA; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -76,6 +136,30 @@ namespace Aws return "ZENDESK"; case PluginType::CUSTOM: return "CUSTOM"; + case PluginType::QUICKSIGHT: + return "QUICKSIGHT"; + case PluginType::SERVICENOW_NOW_PLATFORM: + return "SERVICENOW_NOW_PLATFORM"; + case PluginType::JIRA_CLOUD: + return "JIRA_CLOUD"; + case PluginType::SALESFORCE_CRM: + return "SALESFORCE_CRM"; + case PluginType::ZENDESK_SUITE: + return "ZENDESK_SUITE"; + case PluginType::ATLASSIAN_CONFLUENCE: + return "ATLASSIAN_CONFLUENCE"; + case PluginType::GOOGLE_CALENDAR: + return "GOOGLE_CALENDAR"; + case PluginType::MICROSOFT_TEAMS: + return "MICROSOFT_TEAMS"; + case PluginType::MICROSOFT_EXCHANGE: + return "MICROSOFT_EXCHANGE"; + case PluginType::PAGERDUTY_ADVANCE: + return "PAGERDUTY_ADVANCE"; + case PluginType::SMARTSHEET: + return "SMARTSHEET"; + case PluginType::ASANA: + return "ASANA"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginTypeCategory.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginTypeCategory.cpp new file mode 100644 index 00000000000..73bc13aaf4b --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginTypeCategory.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QBusiness + { + namespace Model + { + namespace PluginTypeCategoryMapper + { + + static const int Customer_relationship_management_CRM_HASH = HashingUtils::HashString("Customer relationship management (CRM)"); + static const int Project_management_HASH = HashingUtils::HashString("Project management"); + static const int Communication_HASH = HashingUtils::HashString("Communication"); + static const int Productivity_HASH = HashingUtils::HashString("Productivity"); + static const int Ticketing_and_incident_management_HASH = HashingUtils::HashString("Ticketing and incident management"); + + + PluginTypeCategory GetPluginTypeCategoryForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == Customer_relationship_management_CRM_HASH) + { + return PluginTypeCategory::Customer_relationship_management_CRM; + } + else if (hashCode == Project_management_HASH) + { + return PluginTypeCategory::Project_management; + } + else if (hashCode == Communication_HASH) + { + return PluginTypeCategory::Communication; + } + else if (hashCode == Productivity_HASH) + { + return PluginTypeCategory::Productivity; + } + else if (hashCode == Ticketing_and_incident_management_HASH) + { + return PluginTypeCategory::Ticketing_and_incident_management; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return PluginTypeCategory::NOT_SET; + } + + Aws::String GetNameForPluginTypeCategory(PluginTypeCategory enumValue) + { + switch(enumValue) + { + case PluginTypeCategory::NOT_SET: + return {}; + case PluginTypeCategory::Customer_relationship_management_CRM: + return "Customer relationship management (CRM)"; + case PluginTypeCategory::Project_management: + return "Project management"; + case PluginTypeCategory::Communication: + return "Communication"; + case PluginTypeCategory::Productivity: + return "Productivity"; + case PluginTypeCategory::Ticketing_and_incident_management: + return "Ticketing and incident management"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace PluginTypeCategoryMapper + } // namespace Model + } // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginTypeMetadataSummary.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginTypeMetadataSummary.cpp new file mode 100644 index 00000000000..83d74acb18c --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/PluginTypeMetadataSummary.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + +PluginTypeMetadataSummary::PluginTypeMetadataSummary() : + m_type(PluginType::NOT_SET), + m_typeHasBeenSet(false), + m_category(PluginTypeCategory::NOT_SET), + m_categoryHasBeenSet(false), + m_descriptionHasBeenSet(false) +{ +} + +PluginTypeMetadataSummary::PluginTypeMetadataSummary(JsonView jsonValue) + : PluginTypeMetadataSummary() +{ + *this = jsonValue; +} + +PluginTypeMetadataSummary& PluginTypeMetadataSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("type")) + { + m_type = PluginTypeMapper::GetPluginTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + if(jsonValue.ValueExists("category")) + { + m_category = PluginTypeCategoryMapper::GetPluginTypeCategoryForName(jsonValue.GetString("category")); + + m_categoryHasBeenSet = true; + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + return *this; +} + +JsonValue PluginTypeMetadataSummary::Jsonize() const +{ + JsonValue payload; + + if(m_typeHasBeenSet) + { + payload.WithString("type", PluginTypeMapper::GetNameForPluginType(m_type)); + } + + if(m_categoryHasBeenSet) + { + payload.WithString("category", PluginTypeCategoryMapper::GetNameForPluginTypeCategory(m_category)); + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + return payload; +} + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/QuickSightConfiguration.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/QuickSightConfiguration.cpp new file mode 100644 index 00000000000..a69fb2d353f --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/QuickSightConfiguration.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + +QuickSightConfiguration::QuickSightConfiguration() : + m_clientNamespaceHasBeenSet(false) +{ +} + +QuickSightConfiguration::QuickSightConfiguration(JsonView jsonValue) + : QuickSightConfiguration() +{ + *this = jsonValue; +} + +QuickSightConfiguration& QuickSightConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("clientNamespace")) + { + m_clientNamespace = jsonValue.GetString("clientNamespace"); + + m_clientNamespaceHasBeenSet = true; + } + + return *this; +} + +JsonValue QuickSightConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_clientNamespaceHasBeenSet) + { + payload.WithString("clientNamespace", m_clientNamespace); + + } + + return payload; +} + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/RelevantContent.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/RelevantContent.cpp new file mode 100644 index 00000000000..091630b46c2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/RelevantContent.cpp @@ -0,0 +1,137 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + +RelevantContent::RelevantContent() : + m_contentHasBeenSet(false), + m_documentIdHasBeenSet(false), + m_documentTitleHasBeenSet(false), + m_documentUriHasBeenSet(false), + m_documentAttributesHasBeenSet(false), + m_scoreAttributesHasBeenSet(false) +{ +} + +RelevantContent::RelevantContent(JsonView jsonValue) + : RelevantContent() +{ + *this = jsonValue; +} + +RelevantContent& RelevantContent::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("content")) + { + m_content = jsonValue.GetString("content"); + + m_contentHasBeenSet = true; + } + + if(jsonValue.ValueExists("documentId")) + { + m_documentId = jsonValue.GetString("documentId"); + + m_documentIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("documentTitle")) + { + m_documentTitle = jsonValue.GetString("documentTitle"); + + m_documentTitleHasBeenSet = true; + } + + if(jsonValue.ValueExists("documentUri")) + { + m_documentUri = jsonValue.GetString("documentUri"); + + m_documentUriHasBeenSet = true; + } + + if(jsonValue.ValueExists("documentAttributes")) + { + Aws::Utils::Array documentAttributesJsonList = jsonValue.GetArray("documentAttributes"); + for(unsigned documentAttributesIndex = 0; documentAttributesIndex < documentAttributesJsonList.GetLength(); ++documentAttributesIndex) + { + m_documentAttributes.push_back(documentAttributesJsonList[documentAttributesIndex].AsObject()); + } + m_documentAttributesHasBeenSet = true; + } + + if(jsonValue.ValueExists("scoreAttributes")) + { + m_scoreAttributes = jsonValue.GetObject("scoreAttributes"); + + m_scoreAttributesHasBeenSet = true; + } + + return *this; +} + +JsonValue RelevantContent::Jsonize() const +{ + JsonValue payload; + + if(m_contentHasBeenSet) + { + payload.WithString("content", m_content); + + } + + if(m_documentIdHasBeenSet) + { + payload.WithString("documentId", m_documentId); + + } + + if(m_documentTitleHasBeenSet) + { + payload.WithString("documentTitle", m_documentTitle); + + } + + if(m_documentUriHasBeenSet) + { + payload.WithString("documentUri", m_documentUri); + + } + + if(m_documentAttributesHasBeenSet) + { + Aws::Utils::Array documentAttributesJsonList(m_documentAttributes.size()); + for(unsigned documentAttributesIndex = 0; documentAttributesIndex < documentAttributesJsonList.GetLength(); ++documentAttributesIndex) + { + documentAttributesJsonList[documentAttributesIndex].AsObject(m_documentAttributes[documentAttributesIndex].Jsonize()); + } + payload.WithArray("documentAttributes", std::move(documentAttributesJsonList)); + + } + + if(m_scoreAttributesHasBeenSet) + { + payload.WithObject("scoreAttributes", m_scoreAttributes.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/RetrieverContentSource.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/RetrieverContentSource.cpp new file mode 100644 index 00000000000..ffa122aba52 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/RetrieverContentSource.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + +RetrieverContentSource::RetrieverContentSource() : + m_retrieverIdHasBeenSet(false) +{ +} + +RetrieverContentSource::RetrieverContentSource(JsonView jsonValue) + : RetrieverContentSource() +{ + *this = jsonValue; +} + +RetrieverContentSource& RetrieverContentSource::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("retrieverId")) + { + m_retrieverId = jsonValue.GetString("retrieverId"); + + m_retrieverIdHasBeenSet = true; + } + + return *this; +} + +JsonValue RetrieverContentSource::Jsonize() const +{ + JsonValue payload; + + if(m_retrieverIdHasBeenSet) + { + payload.WithString("retrieverId", m_retrieverId); + + } + + return payload; +} + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/ScoreAttributes.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ScoreAttributes.cpp new file mode 100644 index 00000000000..79361dd0b07 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ScoreAttributes.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QBusiness +{ +namespace Model +{ + +ScoreAttributes::ScoreAttributes() : + m_scoreConfidence(ScoreConfidence::NOT_SET), + m_scoreConfidenceHasBeenSet(false) +{ +} + +ScoreAttributes::ScoreAttributes(JsonView jsonValue) + : ScoreAttributes() +{ + *this = jsonValue; +} + +ScoreAttributes& ScoreAttributes::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("scoreConfidence")) + { + m_scoreConfidence = ScoreConfidenceMapper::GetScoreConfidenceForName(jsonValue.GetString("scoreConfidence")); + + m_scoreConfidenceHasBeenSet = true; + } + + return *this; +} + +JsonValue ScoreAttributes::Jsonize() const +{ + JsonValue payload; + + if(m_scoreConfidenceHasBeenSet) + { + payload.WithString("scoreConfidence", ScoreConfidenceMapper::GetNameForScoreConfidence(m_scoreConfidence)); + } + + return payload; +} + +} // namespace Model +} // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/ScoreConfidence.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/ScoreConfidence.cpp new file mode 100644 index 00000000000..f11f8159b1c --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/ScoreConfidence.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QBusiness + { + namespace Model + { + namespace ScoreConfidenceMapper + { + + static const int VERY_HIGH_HASH = HashingUtils::HashString("VERY_HIGH"); + static const int HIGH_HASH = HashingUtils::HashString("HIGH"); + static const int MEDIUM_HASH = HashingUtils::HashString("MEDIUM"); + static const int LOW_HASH = HashingUtils::HashString("LOW"); + static const int NOT_AVAILABLE_HASH = HashingUtils::HashString("NOT_AVAILABLE"); + + + ScoreConfidence GetScoreConfidenceForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == VERY_HIGH_HASH) + { + return ScoreConfidence::VERY_HIGH; + } + else if (hashCode == HIGH_HASH) + { + return ScoreConfidence::HIGH; + } + else if (hashCode == MEDIUM_HASH) + { + return ScoreConfidence::MEDIUM; + } + else if (hashCode == LOW_HASH) + { + return ScoreConfidence::LOW; + } + else if (hashCode == NOT_AVAILABLE_HASH) + { + return ScoreConfidence::NOT_AVAILABLE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ScoreConfidence::NOT_SET; + } + + Aws::String GetNameForScoreConfidence(ScoreConfidence enumValue) + { + switch(enumValue) + { + case ScoreConfidence::NOT_SET: + return {}; + case ScoreConfidence::VERY_HIGH: + return "VERY_HIGH"; + case ScoreConfidence::HIGH: + return "HIGH"; + case ScoreConfidence::MEDIUM: + return "MEDIUM"; + case ScoreConfidence::LOW: + return "LOW"; + case ScoreConfidence::NOT_AVAILABLE: + return "NOT_AVAILABLE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ScoreConfidenceMapper + } // namespace Model + } // namespace QBusiness +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/SearchRelevantContentRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/SearchRelevantContentRequest.cpp new file mode 100644 index 00000000000..fffffccbb5a --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/SearchRelevantContentRequest.cpp @@ -0,0 +1,91 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +SearchRelevantContentRequest::SearchRelevantContentRequest() : + m_applicationIdHasBeenSet(false), + m_userIdHasBeenSet(false), + m_userGroupsHasBeenSet(false), + m_queryTextHasBeenSet(false), + m_contentSourceHasBeenSet(false), + m_attributeFilterHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String SearchRelevantContentRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_queryTextHasBeenSet) + { + payload.WithString("queryText", m_queryText); + + } + + if(m_contentSourceHasBeenSet) + { + payload.WithObject("contentSource", m_contentSource.Jsonize()); + + } + + if(m_attributeFilterHasBeenSet) + { + payload.WithObject("attributeFilter", m_attributeFilter.Jsonize()); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("maxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("nextToken", m_nextToken); + + } + + return payload.View().WriteReadable(); +} + +void SearchRelevantContentRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_userIdHasBeenSet) + { + ss << m_userId; + uri.AddQueryStringParameter("userId", ss.str()); + ss.str(""); + } + + if(m_userGroupsHasBeenSet) + { + for(const auto& item : m_userGroups) + { + ss << item; + uri.AddQueryStringParameter("userGroups", ss.str()); + ss.str(""); + } + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/SearchRelevantContentResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/SearchRelevantContentResult.cpp new file mode 100644 index 00000000000..e51be6638f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/SearchRelevantContentResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +SearchRelevantContentResult::SearchRelevantContentResult() +{ +} + +SearchRelevantContentResult::SearchRelevantContentResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +SearchRelevantContentResult& SearchRelevantContentResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("relevantContent")) + { + Aws::Utils::Array relevantContentJsonList = jsonValue.GetArray("relevantContent"); + for(unsigned relevantContentIndex = 0; relevantContentIndex < relevantContentJsonList.GetLength(); ++relevantContentIndex) + { + m_relevantContent.push_back(relevantContentJsonList[relevantContentIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/UpdateDataAccessorRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/UpdateDataAccessorRequest.cpp new file mode 100644 index 00000000000..d0f38e3075d --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/UpdateDataAccessorRequest.cpp @@ -0,0 +1,49 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateDataAccessorRequest::UpdateDataAccessorRequest() : + m_applicationIdHasBeenSet(false), + m_dataAccessorIdHasBeenSet(false), + m_actionConfigurationsHasBeenSet(false), + m_displayNameHasBeenSet(false) +{ +} + +Aws::String UpdateDataAccessorRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_actionConfigurationsHasBeenSet) + { + Aws::Utils::Array actionConfigurationsJsonList(m_actionConfigurations.size()); + for(unsigned actionConfigurationsIndex = 0; actionConfigurationsIndex < actionConfigurationsJsonList.GetLength(); ++actionConfigurationsIndex) + { + actionConfigurationsJsonList[actionConfigurationsIndex].AsObject(m_actionConfigurations[actionConfigurationsIndex].Jsonize()); + } + payload.WithArray("actionConfigurations", std::move(actionConfigurationsJsonList)); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/UpdateDataAccessorResult.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/UpdateDataAccessorResult.cpp new file mode 100644 index 00000000000..55c0344da21 --- /dev/null +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/UpdateDataAccessorResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QBusiness::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateDataAccessorResult::UpdateDataAccessorResult() +{ +} + +UpdateDataAccessorResult::UpdateDataAccessorResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateDataAccessorResult& UpdateDataAccessorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-qbusiness/source/model/UpdateWebExperienceRequest.cpp b/generated/src/aws-cpp-sdk-qbusiness/source/model/UpdateWebExperienceRequest.cpp index 0f23987d8a6..66349c7ff1e 100644 --- a/generated/src/aws-cpp-sdk-qbusiness/source/model/UpdateWebExperienceRequest.cpp +++ b/generated/src/aws-cpp-sdk-qbusiness/source/model/UpdateWebExperienceRequest.cpp @@ -23,7 +23,8 @@ UpdateWebExperienceRequest::UpdateWebExperienceRequest() : m_samplePromptsControlModeHasBeenSet(false), m_identityProviderConfigurationHasBeenSet(false), m_originsHasBeenSet(false), - m_browserExtensionConfigurationHasBeenSet(false) + m_browserExtensionConfigurationHasBeenSet(false), + m_customizationConfigurationHasBeenSet(false) { } @@ -83,6 +84,12 @@ Aws::String UpdateWebExperienceRequest::SerializePayload() const } + if(m_customizationConfigurationHasBeenSet) + { + payload.WithObject("customizationConfiguration", m_customizationConfiguration.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightClient.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightClient.h index 9ec95691c9b..00f07c2ccc1 100644 --- a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightClient.h +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightClient.h @@ -1133,6 +1133,32 @@ namespace QuickSight return SubmitAsync(&QuickSightClient::DeleteDataSource, request, handler, context); } + /** + *

    Deletes a linked Amazon Q Business application from an Amazon QuickSight + * account

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteDefaultQBusinessApplicationOutcome DeleteDefaultQBusinessApplication(const Model::DeleteDefaultQBusinessApplicationRequest& request) const; + + /** + * A Callable wrapper for DeleteDefaultQBusinessApplication that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteDefaultQBusinessApplicationOutcomeCallable DeleteDefaultQBusinessApplicationCallable(const DeleteDefaultQBusinessApplicationRequestT& request) const + { + return SubmitCallable(&QuickSightClient::DeleteDefaultQBusinessApplication, request); + } + + /** + * An Async wrapper for DeleteDefaultQBusinessApplication that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteDefaultQBusinessApplicationAsync(const DeleteDefaultQBusinessApplicationRequestT& request, const DeleteDefaultQBusinessApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QuickSightClient::DeleteDefaultQBusinessApplication, request, handler, context); + } + /** *

    Deletes an empty folder.

    See Also:

    AWS @@ -2306,6 +2332,32 @@ namespace QuickSight return SubmitAsync(&QuickSightClient::DescribeDataSourcePermissions, request, handler, context); } + /** + *

    Describes a Amazon Q Business application that is linked to an Amazon + * QuickSight account.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DescribeDefaultQBusinessApplicationOutcome DescribeDefaultQBusinessApplication(const Model::DescribeDefaultQBusinessApplicationRequest& request) const; + + /** + * A Callable wrapper for DescribeDefaultQBusinessApplication that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DescribeDefaultQBusinessApplicationOutcomeCallable DescribeDefaultQBusinessApplicationCallable(const DescribeDefaultQBusinessApplicationRequestT& request) const + { + return SubmitCallable(&QuickSightClient::DescribeDefaultQBusinessApplication, request); + } + + /** + * An Async wrapper for DescribeDefaultQBusinessApplication that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DescribeDefaultQBusinessApplicationAsync(const DescribeDefaultQBusinessApplicationRequestT& request, const DescribeDefaultQBusinessApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QuickSightClient::DescribeDefaultQBusinessApplication, request, handler, context); + } + /** *

    Describes a folder.

    See Also:

    AWS @@ -2589,6 +2641,32 @@ namespace QuickSight return SubmitAsync(&QuickSightClient::DescribeQPersonalizationConfiguration, request, handler, context); } + /** + *

    Describes the state of a Amazon QuickSight Q Search + * configuration.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DescribeQuickSightQSearchConfigurationOutcome DescribeQuickSightQSearchConfiguration(const Model::DescribeQuickSightQSearchConfigurationRequest& request) const; + + /** + * A Callable wrapper for DescribeQuickSightQSearchConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DescribeQuickSightQSearchConfigurationOutcomeCallable DescribeQuickSightQSearchConfigurationCallable(const DescribeQuickSightQSearchConfigurationRequestT& request) const + { + return SubmitCallable(&QuickSightClient::DescribeQuickSightQSearchConfiguration, request); + } + + /** + * An Async wrapper for DescribeQuickSightQSearchConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DescribeQuickSightQSearchConfigurationAsync(const DescribeQuickSightQSearchConfigurationRequestT& request, const DescribeQuickSightQSearchConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QuickSightClient::DescribeQuickSightQSearchConfiguration, request, handler, context); + } + /** *

    Provides a summary of a refresh schedule.

    See Also:

    AWS @@ -3061,6 +3139,46 @@ namespace QuickSight return SubmitAsync(&QuickSightClient::GenerateEmbedUrlForRegisteredUser, request, handler, context); } + /** + *

    Generates an embed URL that you can use to embed an Amazon QuickSight + * experience in your website. This action can be used for any type of user that is + * registered in an Amazon QuickSight account that uses IAM Identity Center for + * authentication. This API requires identity-enhanced + * IAM Role sessions for the authenticated user that the API call is being made + * for.

    This API uses trusted + * identity propagation to ensure that an end user is authenticated and + * receives the embed URL that is specific to that user. The IAM Identity Center + * application that the user has logged into needs to have trusted + * Identity Propagation enabled for Amazon QuickSight with the scope value set + * to quicksight:read. Before you use this action, make sure that you + * have configured the relevant Amazon QuickSight resource and + * permissions.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GenerateEmbedUrlForRegisteredUserWithIdentityOutcome GenerateEmbedUrlForRegisteredUserWithIdentity(const Model::GenerateEmbedUrlForRegisteredUserWithIdentityRequest& request) const; + + /** + * A Callable wrapper for GenerateEmbedUrlForRegisteredUserWithIdentity that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GenerateEmbedUrlForRegisteredUserWithIdentityOutcomeCallable GenerateEmbedUrlForRegisteredUserWithIdentityCallable(const GenerateEmbedUrlForRegisteredUserWithIdentityRequestT& request) const + { + return SubmitCallable(&QuickSightClient::GenerateEmbedUrlForRegisteredUserWithIdentity, request); + } + + /** + * An Async wrapper for GenerateEmbedUrlForRegisteredUserWithIdentity that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GenerateEmbedUrlForRegisteredUserWithIdentityAsync(const GenerateEmbedUrlForRegisteredUserWithIdentityRequestT& request, const GenerateEmbedUrlForRegisteredUserWithIdentityResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QuickSightClient::GenerateEmbedUrlForRegisteredUserWithIdentity, request, handler, context); + } + /** *

    Generates a temporary session URL and authorization code(bearer token) that * you can use to embed an Amazon QuickSight read-only dashboard in your website or @@ -4033,6 +4151,32 @@ namespace QuickSight return SubmitAsync(&QuickSightClient::ListVPCConnections, request, handler, context); } + /** + *

    Predicts existing visuals or generates new visuals to answer a given + * query.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::PredictQAResultsOutcome PredictQAResults(const Model::PredictQAResultsRequest& request) const; + + /** + * A Callable wrapper for PredictQAResults that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::PredictQAResultsOutcomeCallable PredictQAResultsCallable(const PredictQAResultsRequestT& request) const + { + return SubmitCallable(&QuickSightClient::PredictQAResults, request); + } + + /** + * An Async wrapper for PredictQAResults that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void PredictQAResultsAsync(const PredictQAResultsRequestT& request, const PredictQAResultsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QuickSightClient::PredictQAResults, request, handler, context); + } + /** *

    Creates or updates the dataset refresh properties for the * dataset.

    See Also:

    Updates an Amazon QuickSight application with a token exchange grant. This + * operation only supports Amazon QuickSight applications that are registered with + * IAM Identity Center.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::UpdateApplicationWithTokenExchangeGrantOutcome UpdateApplicationWithTokenExchangeGrant(const Model::UpdateApplicationWithTokenExchangeGrantRequest& request) const; + + /** + * A Callable wrapper for UpdateApplicationWithTokenExchangeGrant that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateApplicationWithTokenExchangeGrantOutcomeCallable UpdateApplicationWithTokenExchangeGrantCallable(const UpdateApplicationWithTokenExchangeGrantRequestT& request) const + { + return SubmitCallable(&QuickSightClient::UpdateApplicationWithTokenExchangeGrant, request); + } + + /** + * An Async wrapper for UpdateApplicationWithTokenExchangeGrant that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateApplicationWithTokenExchangeGrantAsync(const UpdateApplicationWithTokenExchangeGrantRequestT& request, const UpdateApplicationWithTokenExchangeGrantResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QuickSightClient::UpdateApplicationWithTokenExchangeGrant, request, handler, context); + } + /** *

    Updates a brand.

    See Also:

    AWS @@ -4993,6 +5164,32 @@ namespace QuickSight return SubmitAsync(&QuickSightClient::UpdateDataSourcePermissions, request, handler, context); } + /** + *

    Updates a Amazon Q Business application that is linked to a Amazon QuickSight + * account.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::UpdateDefaultQBusinessApplicationOutcome UpdateDefaultQBusinessApplication(const Model::UpdateDefaultQBusinessApplicationRequest& request) const; + + /** + * A Callable wrapper for UpdateDefaultQBusinessApplication that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateDefaultQBusinessApplicationOutcomeCallable UpdateDefaultQBusinessApplicationCallable(const UpdateDefaultQBusinessApplicationRequestT& request) const + { + return SubmitCallable(&QuickSightClient::UpdateDefaultQBusinessApplication, request); + } + + /** + * An Async wrapper for UpdateDefaultQBusinessApplication that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateDefaultQBusinessApplicationAsync(const UpdateDefaultQBusinessApplicationRequestT& request, const UpdateDefaultQBusinessApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QuickSightClient::UpdateDefaultQBusinessApplication, request, handler, context); + } + /** *

    Updates the name of a folder.

    See Also:

    AWS @@ -5239,6 +5436,32 @@ namespace QuickSight return SubmitAsync(&QuickSightClient::UpdateQPersonalizationConfiguration, request, handler, context); } + /** + *

    Updates the state of a Amazon QuickSight Q Search + * configuration.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::UpdateQuickSightQSearchConfigurationOutcome UpdateQuickSightQSearchConfiguration(const Model::UpdateQuickSightQSearchConfigurationRequest& request) const; + + /** + * A Callable wrapper for UpdateQuickSightQSearchConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateQuickSightQSearchConfigurationOutcomeCallable UpdateQuickSightQSearchConfigurationCallable(const UpdateQuickSightQSearchConfigurationRequestT& request) const + { + return SubmitCallable(&QuickSightClient::UpdateQuickSightQSearchConfiguration, request); + } + + /** + * An Async wrapper for UpdateQuickSightQSearchConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateQuickSightQSearchConfigurationAsync(const UpdateQuickSightQSearchConfigurationRequestT& request, const UpdateQuickSightQSearchConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QuickSightClient::UpdateQuickSightQSearchConfiguration, request, handler, context); + } + /** *

    Updates a refresh schedule for a dataset.

    See Also:

    AWS diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightServiceClientModel.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightServiceClientModel.h index 583a9fc8757..519047c1703 100644 --- a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightServiceClientModel.h @@ -55,6 +55,7 @@ #include #include #include +#include #include #include #include @@ -98,6 +99,7 @@ #include #include #include +#include #include #include #include @@ -109,6 +111,7 @@ #include #include #include +#include #include #include #include @@ -126,6 +129,7 @@ #include #include #include +#include #include #include #include @@ -162,6 +166,7 @@ #include #include #include +#include #include #include #include @@ -182,6 +187,7 @@ #include #include #include +#include #include #include #include @@ -195,6 +201,7 @@ #include #include #include +#include #include #include #include @@ -204,6 +211,7 @@ #include #include #include +#include #include #include #include @@ -296,6 +304,7 @@ namespace Aws class DeleteDataSetRequest; class DeleteDataSetRefreshPropertiesRequest; class DeleteDataSourceRequest; + class DeleteDefaultQBusinessApplicationRequest; class DeleteFolderRequest; class DeleteFolderMembershipRequest; class DeleteGroupRequest; @@ -339,6 +348,7 @@ namespace Aws class DescribeDataSetRefreshPropertiesRequest; class DescribeDataSourceRequest; class DescribeDataSourcePermissionsRequest; + class DescribeDefaultQBusinessApplicationRequest; class DescribeFolderRequest; class DescribeFolderPermissionsRequest; class DescribeFolderResolvedPermissionsRequest; @@ -350,6 +360,7 @@ namespace Aws class DescribeKeyRegistrationRequest; class DescribeNamespaceRequest; class DescribeQPersonalizationConfigurationRequest; + class DescribeQuickSightQSearchConfigurationRequest; class DescribeRefreshScheduleRequest; class DescribeRoleCustomPermissionRequest; class DescribeTemplateRequest; @@ -367,6 +378,7 @@ namespace Aws class DescribeVPCConnectionRequest; class GenerateEmbedUrlForAnonymousUserRequest; class GenerateEmbedUrlForRegisteredUserRequest; + class GenerateEmbedUrlForRegisteredUserWithIdentityRequest; class GetDashboardEmbedUrlRequest; class GetSessionEmbedUrlRequest; class ListAnalysesRequest; @@ -403,6 +415,7 @@ namespace Aws class ListUserGroupsRequest; class ListUsersRequest; class ListVPCConnectionsRequest; + class PredictQAResultsRequest; class PutDataSetRefreshPropertiesRequest; class RegisterUserRequest; class RestoreAnalysisRequest; @@ -423,6 +436,7 @@ namespace Aws class UpdateAccountSettingsRequest; class UpdateAnalysisRequest; class UpdateAnalysisPermissionsRequest; + class UpdateApplicationWithTokenExchangeGrantRequest; class UpdateBrandRequest; class UpdateBrandAssignmentRequest; class UpdateBrandPublishedVersionRequest; @@ -436,6 +450,7 @@ namespace Aws class UpdateDataSetPermissionsRequest; class UpdateDataSourceRequest; class UpdateDataSourcePermissionsRequest; + class UpdateDefaultQBusinessApplicationRequest; class UpdateFolderRequest; class UpdateFolderPermissionsRequest; class UpdateGroupRequest; @@ -445,6 +460,7 @@ namespace Aws class UpdateKeyRegistrationRequest; class UpdatePublicSharingSettingsRequest; class UpdateQPersonalizationConfigurationRequest; + class UpdateQuickSightQSearchConfigurationRequest; class UpdateRefreshScheduleRequest; class UpdateRoleCustomPermissionRequest; class UpdateSPICECapacityConfigurationRequest; @@ -500,6 +516,7 @@ namespace Aws typedef Aws::Utils::Outcome DeleteDataSetOutcome; typedef Aws::Utils::Outcome DeleteDataSetRefreshPropertiesOutcome; typedef Aws::Utils::Outcome DeleteDataSourceOutcome; + typedef Aws::Utils::Outcome DeleteDefaultQBusinessApplicationOutcome; typedef Aws::Utils::Outcome DeleteFolderOutcome; typedef Aws::Utils::Outcome DeleteFolderMembershipOutcome; typedef Aws::Utils::Outcome DeleteGroupOutcome; @@ -543,6 +560,7 @@ namespace Aws typedef Aws::Utils::Outcome DescribeDataSetRefreshPropertiesOutcome; typedef Aws::Utils::Outcome DescribeDataSourceOutcome; typedef Aws::Utils::Outcome DescribeDataSourcePermissionsOutcome; + typedef Aws::Utils::Outcome DescribeDefaultQBusinessApplicationOutcome; typedef Aws::Utils::Outcome DescribeFolderOutcome; typedef Aws::Utils::Outcome DescribeFolderPermissionsOutcome; typedef Aws::Utils::Outcome DescribeFolderResolvedPermissionsOutcome; @@ -554,6 +572,7 @@ namespace Aws typedef Aws::Utils::Outcome DescribeKeyRegistrationOutcome; typedef Aws::Utils::Outcome DescribeNamespaceOutcome; typedef Aws::Utils::Outcome DescribeQPersonalizationConfigurationOutcome; + typedef Aws::Utils::Outcome DescribeQuickSightQSearchConfigurationOutcome; typedef Aws::Utils::Outcome DescribeRefreshScheduleOutcome; typedef Aws::Utils::Outcome DescribeRoleCustomPermissionOutcome; typedef Aws::Utils::Outcome DescribeTemplateOutcome; @@ -571,6 +590,7 @@ namespace Aws typedef Aws::Utils::Outcome DescribeVPCConnectionOutcome; typedef Aws::Utils::Outcome GenerateEmbedUrlForAnonymousUserOutcome; typedef Aws::Utils::Outcome GenerateEmbedUrlForRegisteredUserOutcome; + typedef Aws::Utils::Outcome GenerateEmbedUrlForRegisteredUserWithIdentityOutcome; typedef Aws::Utils::Outcome GetDashboardEmbedUrlOutcome; typedef Aws::Utils::Outcome GetSessionEmbedUrlOutcome; typedef Aws::Utils::Outcome ListAnalysesOutcome; @@ -607,6 +627,7 @@ namespace Aws typedef Aws::Utils::Outcome ListUserGroupsOutcome; typedef Aws::Utils::Outcome ListUsersOutcome; typedef Aws::Utils::Outcome ListVPCConnectionsOutcome; + typedef Aws::Utils::Outcome PredictQAResultsOutcome; typedef Aws::Utils::Outcome PutDataSetRefreshPropertiesOutcome; typedef Aws::Utils::Outcome RegisterUserOutcome; typedef Aws::Utils::Outcome RestoreAnalysisOutcome; @@ -627,6 +648,7 @@ namespace Aws typedef Aws::Utils::Outcome UpdateAccountSettingsOutcome; typedef Aws::Utils::Outcome UpdateAnalysisOutcome; typedef Aws::Utils::Outcome UpdateAnalysisPermissionsOutcome; + typedef Aws::Utils::Outcome UpdateApplicationWithTokenExchangeGrantOutcome; typedef Aws::Utils::Outcome UpdateBrandOutcome; typedef Aws::Utils::Outcome UpdateBrandAssignmentOutcome; typedef Aws::Utils::Outcome UpdateBrandPublishedVersionOutcome; @@ -640,6 +662,7 @@ namespace Aws typedef Aws::Utils::Outcome UpdateDataSetPermissionsOutcome; typedef Aws::Utils::Outcome UpdateDataSourceOutcome; typedef Aws::Utils::Outcome UpdateDataSourcePermissionsOutcome; + typedef Aws::Utils::Outcome UpdateDefaultQBusinessApplicationOutcome; typedef Aws::Utils::Outcome UpdateFolderOutcome; typedef Aws::Utils::Outcome UpdateFolderPermissionsOutcome; typedef Aws::Utils::Outcome UpdateGroupOutcome; @@ -649,6 +672,7 @@ namespace Aws typedef Aws::Utils::Outcome UpdateKeyRegistrationOutcome; typedef Aws::Utils::Outcome UpdatePublicSharingSettingsOutcome; typedef Aws::Utils::Outcome UpdateQPersonalizationConfigurationOutcome; + typedef Aws::Utils::Outcome UpdateQuickSightQSearchConfigurationOutcome; typedef Aws::Utils::Outcome UpdateRefreshScheduleOutcome; typedef Aws::Utils::Outcome UpdateRoleCustomPermissionOutcome; typedef Aws::Utils::Outcome UpdateSPICECapacityConfigurationOutcome; @@ -704,6 +728,7 @@ namespace Aws typedef std::future DeleteDataSetOutcomeCallable; typedef std::future DeleteDataSetRefreshPropertiesOutcomeCallable; typedef std::future DeleteDataSourceOutcomeCallable; + typedef std::future DeleteDefaultQBusinessApplicationOutcomeCallable; typedef std::future DeleteFolderOutcomeCallable; typedef std::future DeleteFolderMembershipOutcomeCallable; typedef std::future DeleteGroupOutcomeCallable; @@ -747,6 +772,7 @@ namespace Aws typedef std::future DescribeDataSetRefreshPropertiesOutcomeCallable; typedef std::future DescribeDataSourceOutcomeCallable; typedef std::future DescribeDataSourcePermissionsOutcomeCallable; + typedef std::future DescribeDefaultQBusinessApplicationOutcomeCallable; typedef std::future DescribeFolderOutcomeCallable; typedef std::future DescribeFolderPermissionsOutcomeCallable; typedef std::future DescribeFolderResolvedPermissionsOutcomeCallable; @@ -758,6 +784,7 @@ namespace Aws typedef std::future DescribeKeyRegistrationOutcomeCallable; typedef std::future DescribeNamespaceOutcomeCallable; typedef std::future DescribeQPersonalizationConfigurationOutcomeCallable; + typedef std::future DescribeQuickSightQSearchConfigurationOutcomeCallable; typedef std::future DescribeRefreshScheduleOutcomeCallable; typedef std::future DescribeRoleCustomPermissionOutcomeCallable; typedef std::future DescribeTemplateOutcomeCallable; @@ -775,6 +802,7 @@ namespace Aws typedef std::future DescribeVPCConnectionOutcomeCallable; typedef std::future GenerateEmbedUrlForAnonymousUserOutcomeCallable; typedef std::future GenerateEmbedUrlForRegisteredUserOutcomeCallable; + typedef std::future GenerateEmbedUrlForRegisteredUserWithIdentityOutcomeCallable; typedef std::future GetDashboardEmbedUrlOutcomeCallable; typedef std::future GetSessionEmbedUrlOutcomeCallable; typedef std::future ListAnalysesOutcomeCallable; @@ -811,6 +839,7 @@ namespace Aws typedef std::future ListUserGroupsOutcomeCallable; typedef std::future ListUsersOutcomeCallable; typedef std::future ListVPCConnectionsOutcomeCallable; + typedef std::future PredictQAResultsOutcomeCallable; typedef std::future PutDataSetRefreshPropertiesOutcomeCallable; typedef std::future RegisterUserOutcomeCallable; typedef std::future RestoreAnalysisOutcomeCallable; @@ -831,6 +860,7 @@ namespace Aws typedef std::future UpdateAccountSettingsOutcomeCallable; typedef std::future UpdateAnalysisOutcomeCallable; typedef std::future UpdateAnalysisPermissionsOutcomeCallable; + typedef std::future UpdateApplicationWithTokenExchangeGrantOutcomeCallable; typedef std::future UpdateBrandOutcomeCallable; typedef std::future UpdateBrandAssignmentOutcomeCallable; typedef std::future UpdateBrandPublishedVersionOutcomeCallable; @@ -844,6 +874,7 @@ namespace Aws typedef std::future UpdateDataSetPermissionsOutcomeCallable; typedef std::future UpdateDataSourceOutcomeCallable; typedef std::future UpdateDataSourcePermissionsOutcomeCallable; + typedef std::future UpdateDefaultQBusinessApplicationOutcomeCallable; typedef std::future UpdateFolderOutcomeCallable; typedef std::future UpdateFolderPermissionsOutcomeCallable; typedef std::future UpdateGroupOutcomeCallable; @@ -853,6 +884,7 @@ namespace Aws typedef std::future UpdateKeyRegistrationOutcomeCallable; typedef std::future UpdatePublicSharingSettingsOutcomeCallable; typedef std::future UpdateQPersonalizationConfigurationOutcomeCallable; + typedef std::future UpdateQuickSightQSearchConfigurationOutcomeCallable; typedef std::future UpdateRefreshScheduleOutcomeCallable; typedef std::future UpdateRoleCustomPermissionOutcomeCallable; typedef std::future UpdateSPICECapacityConfigurationOutcomeCallable; @@ -911,6 +943,7 @@ namespace Aws typedef std::function&) > DeleteDataSetResponseReceivedHandler; typedef std::function&) > DeleteDataSetRefreshPropertiesResponseReceivedHandler; typedef std::function&) > DeleteDataSourceResponseReceivedHandler; + typedef std::function&) > DeleteDefaultQBusinessApplicationResponseReceivedHandler; typedef std::function&) > DeleteFolderResponseReceivedHandler; typedef std::function&) > DeleteFolderMembershipResponseReceivedHandler; typedef std::function&) > DeleteGroupResponseReceivedHandler; @@ -954,6 +987,7 @@ namespace Aws typedef std::function&) > DescribeDataSetRefreshPropertiesResponseReceivedHandler; typedef std::function&) > DescribeDataSourceResponseReceivedHandler; typedef std::function&) > DescribeDataSourcePermissionsResponseReceivedHandler; + typedef std::function&) > DescribeDefaultQBusinessApplicationResponseReceivedHandler; typedef std::function&) > DescribeFolderResponseReceivedHandler; typedef std::function&) > DescribeFolderPermissionsResponseReceivedHandler; typedef std::function&) > DescribeFolderResolvedPermissionsResponseReceivedHandler; @@ -965,6 +999,7 @@ namespace Aws typedef std::function&) > DescribeKeyRegistrationResponseReceivedHandler; typedef std::function&) > DescribeNamespaceResponseReceivedHandler; typedef std::function&) > DescribeQPersonalizationConfigurationResponseReceivedHandler; + typedef std::function&) > DescribeQuickSightQSearchConfigurationResponseReceivedHandler; typedef std::function&) > DescribeRefreshScheduleResponseReceivedHandler; typedef std::function&) > DescribeRoleCustomPermissionResponseReceivedHandler; typedef std::function&) > DescribeTemplateResponseReceivedHandler; @@ -982,6 +1017,7 @@ namespace Aws typedef std::function&) > DescribeVPCConnectionResponseReceivedHandler; typedef std::function&) > GenerateEmbedUrlForAnonymousUserResponseReceivedHandler; typedef std::function&) > GenerateEmbedUrlForRegisteredUserResponseReceivedHandler; + typedef std::function&) > GenerateEmbedUrlForRegisteredUserWithIdentityResponseReceivedHandler; typedef std::function&) > GetDashboardEmbedUrlResponseReceivedHandler; typedef std::function&) > GetSessionEmbedUrlResponseReceivedHandler; typedef std::function&) > ListAnalysesResponseReceivedHandler; @@ -1018,6 +1054,7 @@ namespace Aws typedef std::function&) > ListUserGroupsResponseReceivedHandler; typedef std::function&) > ListUsersResponseReceivedHandler; typedef std::function&) > ListVPCConnectionsResponseReceivedHandler; + typedef std::function&) > PredictQAResultsResponseReceivedHandler; typedef std::function&) > PutDataSetRefreshPropertiesResponseReceivedHandler; typedef std::function&) > RegisterUserResponseReceivedHandler; typedef std::function&) > RestoreAnalysisResponseReceivedHandler; @@ -1038,6 +1075,7 @@ namespace Aws typedef std::function&) > UpdateAccountSettingsResponseReceivedHandler; typedef std::function&) > UpdateAnalysisResponseReceivedHandler; typedef std::function&) > UpdateAnalysisPermissionsResponseReceivedHandler; + typedef std::function&) > UpdateApplicationWithTokenExchangeGrantResponseReceivedHandler; typedef std::function&) > UpdateBrandResponseReceivedHandler; typedef std::function&) > UpdateBrandAssignmentResponseReceivedHandler; typedef std::function&) > UpdateBrandPublishedVersionResponseReceivedHandler; @@ -1051,6 +1089,7 @@ namespace Aws typedef std::function&) > UpdateDataSetPermissionsResponseReceivedHandler; typedef std::function&) > UpdateDataSourceResponseReceivedHandler; typedef std::function&) > UpdateDataSourcePermissionsResponseReceivedHandler; + typedef std::function&) > UpdateDefaultQBusinessApplicationResponseReceivedHandler; typedef std::function&) > UpdateFolderResponseReceivedHandler; typedef std::function&) > UpdateFolderPermissionsResponseReceivedHandler; typedef std::function&) > UpdateGroupResponseReceivedHandler; @@ -1060,6 +1099,7 @@ namespace Aws typedef std::function&) > UpdateKeyRegistrationResponseReceivedHandler; typedef std::function&) > UpdatePublicSharingSettingsResponseReceivedHandler; typedef std::function&) > UpdateQPersonalizationConfigurationResponseReceivedHandler; + typedef std::function&) > UpdateQuickSightQSearchConfigurationResponseReceivedHandler; typedef std::function&) > UpdateRefreshScheduleResponseReceivedHandler; typedef std::function&) > UpdateRoleCustomPermissionResponseReceivedHandler; typedef std::function&) > UpdateSPICECapacityConfigurationResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DashboardVisualResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DashboardVisualResult.h new file mode 100644 index 00000000000..e0aa740db71 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DashboardVisualResult.h @@ -0,0 +1,181 @@ +/** + * 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 QuickSight +{ +namespace Model +{ + + /** + *

    The QA result that is made from dashboard visual.

    See Also:

    + *
    AWS + * API Reference

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

    The ID of the dashboard.

    + */ + inline const Aws::String& GetDashboardId() const{ return m_dashboardId; } + inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; } + inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; } + inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); } + inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); } + inline DashboardVisualResult& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;} + inline DashboardVisualResult& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;} + inline DashboardVisualResult& WithDashboardId(const char* value) { SetDashboardId(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the dashboard.

    + */ + inline const Aws::String& GetDashboardName() const{ return m_dashboardName; } + inline bool DashboardNameHasBeenSet() const { return m_dashboardNameHasBeenSet; } + inline void SetDashboardName(const Aws::String& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = value; } + inline void SetDashboardName(Aws::String&& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = std::move(value); } + inline void SetDashboardName(const char* value) { m_dashboardNameHasBeenSet = true; m_dashboardName.assign(value); } + inline DashboardVisualResult& WithDashboardName(const Aws::String& value) { SetDashboardName(value); return *this;} + inline DashboardVisualResult& WithDashboardName(Aws::String&& value) { SetDashboardName(std::move(value)); return *this;} + inline DashboardVisualResult& WithDashboardName(const char* value) { SetDashboardName(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the sheet.

    + */ + inline const Aws::String& GetSheetId() const{ return m_sheetId; } + inline bool SheetIdHasBeenSet() const { return m_sheetIdHasBeenSet; } + inline void SetSheetId(const Aws::String& value) { m_sheetIdHasBeenSet = true; m_sheetId = value; } + inline void SetSheetId(Aws::String&& value) { m_sheetIdHasBeenSet = true; m_sheetId = std::move(value); } + inline void SetSheetId(const char* value) { m_sheetIdHasBeenSet = true; m_sheetId.assign(value); } + inline DashboardVisualResult& WithSheetId(const Aws::String& value) { SetSheetId(value); return *this;} + inline DashboardVisualResult& WithSheetId(Aws::String&& value) { SetSheetId(std::move(value)); return *this;} + inline DashboardVisualResult& WithSheetId(const char* value) { SetSheetId(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the sheet.

    + */ + inline const Aws::String& GetSheetName() const{ return m_sheetName; } + inline bool SheetNameHasBeenSet() const { return m_sheetNameHasBeenSet; } + inline void SetSheetName(const Aws::String& value) { m_sheetNameHasBeenSet = true; m_sheetName = value; } + inline void SetSheetName(Aws::String&& value) { m_sheetNameHasBeenSet = true; m_sheetName = std::move(value); } + inline void SetSheetName(const char* value) { m_sheetNameHasBeenSet = true; m_sheetName.assign(value); } + inline DashboardVisualResult& WithSheetName(const Aws::String& value) { SetSheetName(value); return *this;} + inline DashboardVisualResult& WithSheetName(Aws::String&& value) { SetSheetName(std::move(value)); return *this;} + inline DashboardVisualResult& WithSheetName(const char* value) { SetSheetName(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the visual.

    + */ + inline const Aws::String& GetVisualId() const{ return m_visualId; } + inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; } + inline void SetVisualId(const Aws::String& value) { m_visualIdHasBeenSet = true; m_visualId = value; } + inline void SetVisualId(Aws::String&& value) { m_visualIdHasBeenSet = true; m_visualId = std::move(value); } + inline void SetVisualId(const char* value) { m_visualIdHasBeenSet = true; m_visualId.assign(value); } + inline DashboardVisualResult& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;} + inline DashboardVisualResult& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;} + inline DashboardVisualResult& WithVisualId(const char* value) { SetVisualId(value); return *this;} + ///@} + + ///@{ + /** + *

    The title of the visual.

    + */ + inline const Aws::String& GetVisualTitle() const{ return m_visualTitle; } + inline bool VisualTitleHasBeenSet() const { return m_visualTitleHasBeenSet; } + inline void SetVisualTitle(const Aws::String& value) { m_visualTitleHasBeenSet = true; m_visualTitle = value; } + inline void SetVisualTitle(Aws::String&& value) { m_visualTitleHasBeenSet = true; m_visualTitle = std::move(value); } + inline void SetVisualTitle(const char* value) { m_visualTitleHasBeenSet = true; m_visualTitle.assign(value); } + inline DashboardVisualResult& WithVisualTitle(const Aws::String& value) { SetVisualTitle(value); return *this;} + inline DashboardVisualResult& WithVisualTitle(Aws::String&& value) { SetVisualTitle(std::move(value)); return *this;} + inline DashboardVisualResult& WithVisualTitle(const char* value) { SetVisualTitle(value); return *this;} + ///@} + + ///@{ + /** + *

    The subtitle of the visual.

    + */ + inline const Aws::String& GetVisualSubtitle() const{ return m_visualSubtitle; } + inline bool VisualSubtitleHasBeenSet() const { return m_visualSubtitleHasBeenSet; } + inline void SetVisualSubtitle(const Aws::String& value) { m_visualSubtitleHasBeenSet = true; m_visualSubtitle = value; } + inline void SetVisualSubtitle(Aws::String&& value) { m_visualSubtitleHasBeenSet = true; m_visualSubtitle = std::move(value); } + inline void SetVisualSubtitle(const char* value) { m_visualSubtitleHasBeenSet = true; m_visualSubtitle.assign(value); } + inline DashboardVisualResult& WithVisualSubtitle(const Aws::String& value) { SetVisualSubtitle(value); return *this;} + inline DashboardVisualResult& WithVisualSubtitle(Aws::String&& value) { SetVisualSubtitle(std::move(value)); return *this;} + inline DashboardVisualResult& WithVisualSubtitle(const char* value) { SetVisualSubtitle(value); return *this;} + ///@} + + ///@{ + /** + *

    The URL of the dashboard.

    + */ + inline const Aws::String& GetDashboardUrl() const{ return m_dashboardUrl; } + inline bool DashboardUrlHasBeenSet() const { return m_dashboardUrlHasBeenSet; } + inline void SetDashboardUrl(const Aws::String& value) { m_dashboardUrlHasBeenSet = true; m_dashboardUrl = value; } + inline void SetDashboardUrl(Aws::String&& value) { m_dashboardUrlHasBeenSet = true; m_dashboardUrl = std::move(value); } + inline void SetDashboardUrl(const char* value) { m_dashboardUrlHasBeenSet = true; m_dashboardUrl.assign(value); } + inline DashboardVisualResult& WithDashboardUrl(const Aws::String& value) { SetDashboardUrl(value); return *this;} + inline DashboardVisualResult& WithDashboardUrl(Aws::String&& value) { SetDashboardUrl(std::move(value)); return *this;} + inline DashboardVisualResult& WithDashboardUrl(const char* value) { SetDashboardUrl(value); return *this;} + ///@} + private: + + Aws::String m_dashboardId; + bool m_dashboardIdHasBeenSet = false; + + Aws::String m_dashboardName; + bool m_dashboardNameHasBeenSet = false; + + Aws::String m_sheetId; + bool m_sheetIdHasBeenSet = false; + + Aws::String m_sheetName; + bool m_sheetNameHasBeenSet = false; + + Aws::String m_visualId; + bool m_visualIdHasBeenSet = false; + + Aws::String m_visualTitle; + bool m_visualTitleHasBeenSet = false; + + Aws::String m_visualSubtitle; + bool m_visualSubtitleHasBeenSet = false; + + Aws::String m_dashboardUrl; + bool m_dashboardUrlHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DeleteDefaultQBusinessApplicationRequest.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DeleteDefaultQBusinessApplicationRequest.h new file mode 100644 index 00000000000..49a27f9e00e --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DeleteDefaultQBusinessApplicationRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace QuickSight +{ +namespace Model +{ + + /** + */ + class DeleteDefaultQBusinessApplicationRequest : public QuickSightRequest + { + public: + AWS_QUICKSIGHT_API DeleteDefaultQBusinessApplicationRequest(); + + // 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 "DeleteDefaultQBusinessApplication"; } + + AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; + + AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The ID of the Amazon QuickSight account that you want to disconnect from a + * Amazon Q Business application.

    + */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline DeleteDefaultQBusinessApplicationRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline DeleteDefaultQBusinessApplicationRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline DeleteDefaultQBusinessApplicationRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon QuickSight namespace that you want to delete a linked Amazon Q + * Business application from. If this field is left blank, the Amazon Q Business + * application is deleted from the default namespace. Currently, the default + * namespace is the only valid value for this parameter.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline DeleteDefaultQBusinessApplicationRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline DeleteDefaultQBusinessApplicationRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline DeleteDefaultQBusinessApplicationRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + private: + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DeleteDefaultQBusinessApplicationResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DeleteDefaultQBusinessApplicationResult.h new file mode 100644 index 00000000000..a09ab271937 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DeleteDefaultQBusinessApplicationResult.h @@ -0,0 +1,63 @@ +/** + * 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 QuickSight +{ +namespace Model +{ + class DeleteDefaultQBusinessApplicationResult + { + public: + AWS_QUICKSIGHT_API DeleteDefaultQBusinessApplicationResult(); + AWS_QUICKSIGHT_API DeleteDefaultQBusinessApplicationResult(const Aws::AmazonWebServiceResult& result); + AWS_QUICKSIGHT_API DeleteDefaultQBusinessApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DeleteDefaultQBusinessApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DeleteDefaultQBusinessApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DeleteDefaultQBusinessApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + + ///@{ + /** + *

    The HTTP status of the request.

    + */ + inline int GetStatus() const{ return m_status; } + inline void SetStatus(int value) { m_status = value; } + inline DeleteDefaultQBusinessApplicationResult& WithStatus(int value) { SetStatus(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + + int m_status; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeDefaultQBusinessApplicationRequest.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeDefaultQBusinessApplicationRequest.h new file mode 100644 index 00000000000..1a277fef2f3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeDefaultQBusinessApplicationRequest.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace QuickSight +{ +namespace Model +{ + + /** + */ + class DescribeDefaultQBusinessApplicationRequest : public QuickSightRequest + { + public: + AWS_QUICKSIGHT_API DescribeDefaultQBusinessApplicationRequest(); + + // 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 "DescribeDefaultQBusinessApplication"; } + + AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; + + AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The ID of the Amazon QuickSight account that is linked to the Amazon Q + * Business application that you want described.

    + */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline DescribeDefaultQBusinessApplicationRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline DescribeDefaultQBusinessApplicationRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline DescribeDefaultQBusinessApplicationRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon QuickSight namespace that contains the linked Amazon Q Business + * application. If this field is left blank, the default namespace is used. + * Currently, the default namespace is the only valid value for this parameter.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline DescribeDefaultQBusinessApplicationRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline DescribeDefaultQBusinessApplicationRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline DescribeDefaultQBusinessApplicationRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + private: + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeDefaultQBusinessApplicationResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeDefaultQBusinessApplicationResult.h new file mode 100644 index 00000000000..3981ff21608 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeDefaultQBusinessApplicationResult.h @@ -0,0 +1,79 @@ +/** + * 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 QuickSight +{ +namespace Model +{ + class DescribeDefaultQBusinessApplicationResult + { + public: + AWS_QUICKSIGHT_API DescribeDefaultQBusinessApplicationResult(); + AWS_QUICKSIGHT_API DescribeDefaultQBusinessApplicationResult(const Aws::AmazonWebServiceResult& result); + AWS_QUICKSIGHT_API DescribeDefaultQBusinessApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DescribeDefaultQBusinessApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DescribeDefaultQBusinessApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DescribeDefaultQBusinessApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + + ///@{ + /** + *

    The HTTP status of the request.

    + */ + inline int GetStatus() const{ return m_status; } + inline void SetStatus(int value) { m_status = value; } + inline DescribeDefaultQBusinessApplicationResult& WithStatus(int value) { SetStatus(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the Amazon Q Business application that is linked to the Amazon + * QuickSight account.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationId.assign(value); } + inline DescribeDefaultQBusinessApplicationResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline DescribeDefaultQBusinessApplicationResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline DescribeDefaultQBusinessApplicationResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + + int m_status; + + Aws::String m_applicationId; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeQuickSightQSearchConfigurationRequest.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeQuickSightQSearchConfigurationRequest.h new file mode 100644 index 00000000000..39edb04f50e --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeQuickSightQSearchConfigurationRequest.h @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + + /** + */ + class DescribeQuickSightQSearchConfigurationRequest : public QuickSightRequest + { + public: + AWS_QUICKSIGHT_API DescribeQuickSightQSearchConfigurationRequest(); + + // 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 "DescribeQuickSightQSearchConfiguration"; } + + AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The ID of the Amazon Web Services account that contains the Amazon QuickSight + * Q Search configuration that the user wants described.

    + */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline DescribeQuickSightQSearchConfigurationRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline DescribeQuickSightQSearchConfigurationRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline DescribeQuickSightQSearchConfigurationRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + private: + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeQuickSightQSearchConfigurationResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeQuickSightQSearchConfigurationResult.h new file mode 100644 index 00000000000..3238ba5b99e --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeQuickSightQSearchConfigurationResult.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + class DescribeQuickSightQSearchConfigurationResult + { + public: + AWS_QUICKSIGHT_API DescribeQuickSightQSearchConfigurationResult(); + AWS_QUICKSIGHT_API DescribeQuickSightQSearchConfigurationResult(const Aws::AmazonWebServiceResult& result); + AWS_QUICKSIGHT_API DescribeQuickSightQSearchConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The status of Amazon QuickSight Q Search configuration.

    + */ + inline const QSearchStatus& GetQSearchStatus() const{ return m_qSearchStatus; } + inline void SetQSearchStatus(const QSearchStatus& value) { m_qSearchStatus = value; } + inline void SetQSearchStatus(QSearchStatus&& value) { m_qSearchStatus = std::move(value); } + inline DescribeQuickSightQSearchConfigurationResult& WithQSearchStatus(const QSearchStatus& value) { SetQSearchStatus(value); return *this;} + inline DescribeQuickSightQSearchConfigurationResult& WithQSearchStatus(QSearchStatus&& value) { SetQSearchStatus(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline DescribeQuickSightQSearchConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DescribeQuickSightQSearchConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DescribeQuickSightQSearchConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + + ///@{ + /** + *

    The HTTP status of the request.

    + */ + inline int GetStatus() const{ return m_status; } + inline void SetStatus(int value) { m_status = value; } + inline DescribeQuickSightQSearchConfigurationResult& WithStatus(int value) { SetStatus(value); return *this;} + ///@} + private: + + QSearchStatus m_qSearchStatus; + + Aws::String m_requestId; + + int m_status; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GenerateEmbedUrlForRegisteredUserWithIdentityRequest.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GenerateEmbedUrlForRegisteredUserWithIdentityRequest.h new file mode 100644 index 00000000000..91b6be44a1c --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GenerateEmbedUrlForRegisteredUserWithIdentityRequest.h @@ -0,0 +1,102 @@ +/** + * 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 QuickSight +{ +namespace Model +{ + + /** + */ + class GenerateEmbedUrlForRegisteredUserWithIdentityRequest : public QuickSightRequest + { + public: + AWS_QUICKSIGHT_API GenerateEmbedUrlForRegisteredUserWithIdentityRequest(); + + // 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 "GenerateEmbedUrlForRegisteredUserWithIdentity"; } + + AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The ID of the Amazon Web Services registered user.

    + */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline GenerateEmbedUrlForRegisteredUserWithIdentityRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline GenerateEmbedUrlForRegisteredUserWithIdentityRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline GenerateEmbedUrlForRegisteredUserWithIdentityRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The validity of the session in minutes.

    + */ + inline long long GetSessionLifetimeInMinutes() const{ return m_sessionLifetimeInMinutes; } + inline bool SessionLifetimeInMinutesHasBeenSet() const { return m_sessionLifetimeInMinutesHasBeenSet; } + inline void SetSessionLifetimeInMinutes(long long value) { m_sessionLifetimeInMinutesHasBeenSet = true; m_sessionLifetimeInMinutes = value; } + inline GenerateEmbedUrlForRegisteredUserWithIdentityRequest& WithSessionLifetimeInMinutes(long long value) { SetSessionLifetimeInMinutes(value); return *this;} + ///@} + + ///@{ + + inline const RegisteredUserEmbeddingExperienceConfiguration& GetExperienceConfiguration() const{ return m_experienceConfiguration; } + inline bool ExperienceConfigurationHasBeenSet() const { return m_experienceConfigurationHasBeenSet; } + inline void SetExperienceConfiguration(const RegisteredUserEmbeddingExperienceConfiguration& value) { m_experienceConfigurationHasBeenSet = true; m_experienceConfiguration = value; } + inline void SetExperienceConfiguration(RegisteredUserEmbeddingExperienceConfiguration&& value) { m_experienceConfigurationHasBeenSet = true; m_experienceConfiguration = std::move(value); } + inline GenerateEmbedUrlForRegisteredUserWithIdentityRequest& WithExperienceConfiguration(const RegisteredUserEmbeddingExperienceConfiguration& value) { SetExperienceConfiguration(value); return *this;} + inline GenerateEmbedUrlForRegisteredUserWithIdentityRequest& WithExperienceConfiguration(RegisteredUserEmbeddingExperienceConfiguration&& value) { SetExperienceConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    A list of domains to be allowed to generate the embed URL.

    + */ + inline const Aws::Vector& GetAllowedDomains() const{ return m_allowedDomains; } + inline bool AllowedDomainsHasBeenSet() const { return m_allowedDomainsHasBeenSet; } + inline void SetAllowedDomains(const Aws::Vector& value) { m_allowedDomainsHasBeenSet = true; m_allowedDomains = value; } + inline void SetAllowedDomains(Aws::Vector&& value) { m_allowedDomainsHasBeenSet = true; m_allowedDomains = std::move(value); } + inline GenerateEmbedUrlForRegisteredUserWithIdentityRequest& WithAllowedDomains(const Aws::Vector& value) { SetAllowedDomains(value); return *this;} + inline GenerateEmbedUrlForRegisteredUserWithIdentityRequest& WithAllowedDomains(Aws::Vector&& value) { SetAllowedDomains(std::move(value)); return *this;} + inline GenerateEmbedUrlForRegisteredUserWithIdentityRequest& AddAllowedDomains(const Aws::String& value) { m_allowedDomainsHasBeenSet = true; m_allowedDomains.push_back(value); return *this; } + inline GenerateEmbedUrlForRegisteredUserWithIdentityRequest& AddAllowedDomains(Aws::String&& value) { m_allowedDomainsHasBeenSet = true; m_allowedDomains.push_back(std::move(value)); return *this; } + inline GenerateEmbedUrlForRegisteredUserWithIdentityRequest& AddAllowedDomains(const char* value) { m_allowedDomainsHasBeenSet = true; m_allowedDomains.push_back(value); return *this; } + ///@} + private: + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + + long long m_sessionLifetimeInMinutes; + bool m_sessionLifetimeInMinutesHasBeenSet = false; + + RegisteredUserEmbeddingExperienceConfiguration m_experienceConfiguration; + bool m_experienceConfigurationHasBeenSet = false; + + Aws::Vector m_allowedDomains; + bool m_allowedDomainsHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GenerateEmbedUrlForRegisteredUserWithIdentityResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GenerateEmbedUrlForRegisteredUserWithIdentityResult.h new file mode 100644 index 00000000000..f6722737422 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GenerateEmbedUrlForRegisteredUserWithIdentityResult.h @@ -0,0 +1,78 @@ +/** + * 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 QuickSight +{ +namespace Model +{ + class GenerateEmbedUrlForRegisteredUserWithIdentityResult + { + public: + AWS_QUICKSIGHT_API GenerateEmbedUrlForRegisteredUserWithIdentityResult(); + AWS_QUICKSIGHT_API GenerateEmbedUrlForRegisteredUserWithIdentityResult(const Aws::AmazonWebServiceResult& result); + AWS_QUICKSIGHT_API GenerateEmbedUrlForRegisteredUserWithIdentityResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The generated embed URL for the registered user.

    + */ + inline const Aws::String& GetEmbedUrl() const{ return m_embedUrl; } + inline void SetEmbedUrl(const Aws::String& value) { m_embedUrl = value; } + inline void SetEmbedUrl(Aws::String&& value) { m_embedUrl = std::move(value); } + inline void SetEmbedUrl(const char* value) { m_embedUrl.assign(value); } + inline GenerateEmbedUrlForRegisteredUserWithIdentityResult& WithEmbedUrl(const Aws::String& value) { SetEmbedUrl(value); return *this;} + inline GenerateEmbedUrlForRegisteredUserWithIdentityResult& WithEmbedUrl(Aws::String&& value) { SetEmbedUrl(std::move(value)); return *this;} + inline GenerateEmbedUrlForRegisteredUserWithIdentityResult& WithEmbedUrl(const char* value) { SetEmbedUrl(value); return *this;} + ///@} + + ///@{ + /** + *

    The HTTP status of the request.

    + */ + inline int GetStatus() const{ return m_status; } + inline void SetStatus(int value) { m_status = value; } + inline GenerateEmbedUrlForRegisteredUserWithIdentityResult& WithStatus(int value) { SetStatus(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GenerateEmbedUrlForRegisteredUserWithIdentityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GenerateEmbedUrlForRegisteredUserWithIdentityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GenerateEmbedUrlForRegisteredUserWithIdentityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_embedUrl; + + int m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GeneratedAnswerResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GeneratedAnswerResult.h new file mode 100644 index 00000000000..d409f556b93 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GeneratedAnswerResult.h @@ -0,0 +1,180 @@ +/** + * 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 QuickSight +{ +namespace Model +{ + + /** + *

    The QA result that is made from generated answer.

    See Also:

    + * AWS + * API Reference

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

    The question text.

    + */ + inline const Aws::String& GetQuestionText() const{ return m_questionText; } + inline bool QuestionTextHasBeenSet() const { return m_questionTextHasBeenSet; } + inline void SetQuestionText(const Aws::String& value) { m_questionTextHasBeenSet = true; m_questionText = value; } + inline void SetQuestionText(Aws::String&& value) { m_questionTextHasBeenSet = true; m_questionText = std::move(value); } + inline void SetQuestionText(const char* value) { m_questionTextHasBeenSet = true; m_questionText.assign(value); } + inline GeneratedAnswerResult& WithQuestionText(const Aws::String& value) { SetQuestionText(value); return *this;} + inline GeneratedAnswerResult& WithQuestionText(Aws::String&& value) { SetQuestionText(std::move(value)); return *this;} + inline GeneratedAnswerResult& WithQuestionText(const char* value) { SetQuestionText(value); return *this;} + ///@} + + ///@{ + /** + *

    The answer status of the generated answer.

    + */ + inline const GeneratedAnswerStatus& GetAnswerStatus() const{ return m_answerStatus; } + inline bool AnswerStatusHasBeenSet() const { return m_answerStatusHasBeenSet; } + inline void SetAnswerStatus(const GeneratedAnswerStatus& value) { m_answerStatusHasBeenSet = true; m_answerStatus = value; } + inline void SetAnswerStatus(GeneratedAnswerStatus&& value) { m_answerStatusHasBeenSet = true; m_answerStatus = std::move(value); } + inline GeneratedAnswerResult& WithAnswerStatus(const GeneratedAnswerStatus& value) { SetAnswerStatus(value); return *this;} + inline GeneratedAnswerResult& WithAnswerStatus(GeneratedAnswerStatus&& value) { SetAnswerStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the topic.

    + */ + inline const Aws::String& GetTopicId() const{ return m_topicId; } + inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; } + inline void SetTopicId(const Aws::String& value) { m_topicIdHasBeenSet = true; m_topicId = value; } + inline void SetTopicId(Aws::String&& value) { m_topicIdHasBeenSet = true; m_topicId = std::move(value); } + inline void SetTopicId(const char* value) { m_topicIdHasBeenSet = true; m_topicId.assign(value); } + inline GeneratedAnswerResult& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;} + inline GeneratedAnswerResult& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;} + inline GeneratedAnswerResult& WithTopicId(const char* value) { SetTopicId(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the topic.

    + */ + inline const Aws::String& GetTopicName() const{ return m_topicName; } + inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; } + inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; } + inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); } + inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); } + inline GeneratedAnswerResult& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;} + inline GeneratedAnswerResult& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;} + inline GeneratedAnswerResult& WithTopicName(const char* value) { SetTopicName(value); return *this;} + ///@} + + ///@{ + /** + *

    The restatement for the answer.

    + */ + inline const Aws::String& GetRestatement() const{ return m_restatement; } + inline bool RestatementHasBeenSet() const { return m_restatementHasBeenSet; } + inline void SetRestatement(const Aws::String& value) { m_restatementHasBeenSet = true; m_restatement = value; } + inline void SetRestatement(Aws::String&& value) { m_restatementHasBeenSet = true; m_restatement = std::move(value); } + inline void SetRestatement(const char* value) { m_restatementHasBeenSet = true; m_restatement.assign(value); } + inline GeneratedAnswerResult& WithRestatement(const Aws::String& value) { SetRestatement(value); return *this;} + inline GeneratedAnswerResult& WithRestatement(Aws::String&& value) { SetRestatement(std::move(value)); return *this;} + inline GeneratedAnswerResult& WithRestatement(const char* value) { SetRestatement(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the question.

    + */ + inline const Aws::String& GetQuestionId() const{ return m_questionId; } + inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; } + inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; } + inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); } + inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); } + inline GeneratedAnswerResult& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;} + inline GeneratedAnswerResult& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;} + inline GeneratedAnswerResult& WithQuestionId(const char* value) { SetQuestionId(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the answer.

    + */ + inline const Aws::String& GetAnswerId() const{ return m_answerId; } + inline bool AnswerIdHasBeenSet() const { return m_answerIdHasBeenSet; } + inline void SetAnswerId(const Aws::String& value) { m_answerIdHasBeenSet = true; m_answerId = value; } + inline void SetAnswerId(Aws::String&& value) { m_answerIdHasBeenSet = true; m_answerId = std::move(value); } + inline void SetAnswerId(const char* value) { m_answerIdHasBeenSet = true; m_answerId.assign(value); } + inline GeneratedAnswerResult& WithAnswerId(const Aws::String& value) { SetAnswerId(value); return *this;} + inline GeneratedAnswerResult& WithAnswerId(Aws::String&& value) { SetAnswerId(std::move(value)); return *this;} + inline GeneratedAnswerResult& WithAnswerId(const char* value) { SetAnswerId(value); return *this;} + ///@} + + ///@{ + /** + *

    The URL of the question.

    + */ + inline const Aws::String& GetQuestionUrl() const{ return m_questionUrl; } + inline bool QuestionUrlHasBeenSet() const { return m_questionUrlHasBeenSet; } + inline void SetQuestionUrl(const Aws::String& value) { m_questionUrlHasBeenSet = true; m_questionUrl = value; } + inline void SetQuestionUrl(Aws::String&& value) { m_questionUrlHasBeenSet = true; m_questionUrl = std::move(value); } + inline void SetQuestionUrl(const char* value) { m_questionUrlHasBeenSet = true; m_questionUrl.assign(value); } + inline GeneratedAnswerResult& WithQuestionUrl(const Aws::String& value) { SetQuestionUrl(value); return *this;} + inline GeneratedAnswerResult& WithQuestionUrl(Aws::String&& value) { SetQuestionUrl(std::move(value)); return *this;} + inline GeneratedAnswerResult& WithQuestionUrl(const char* value) { SetQuestionUrl(value); return *this;} + ///@} + private: + + Aws::String m_questionText; + bool m_questionTextHasBeenSet = false; + + GeneratedAnswerStatus m_answerStatus; + bool m_answerStatusHasBeenSet = false; + + Aws::String m_topicId; + bool m_topicIdHasBeenSet = false; + + Aws::String m_topicName; + bool m_topicNameHasBeenSet = false; + + Aws::String m_restatement; + bool m_restatementHasBeenSet = false; + + Aws::String m_questionId; + bool m_questionIdHasBeenSet = false; + + Aws::String m_answerId; + bool m_answerIdHasBeenSet = false; + + Aws::String m_questionUrl; + bool m_questionUrlHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GeneratedAnswerStatus.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GeneratedAnswerStatus.h new file mode 100644 index 00000000000..652ebe404a5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/GeneratedAnswerStatus.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class GeneratedAnswerStatus + { + NOT_SET, + ANSWER_GENERATED, + ANSWER_RETRIEVED, + ANSWER_DOWNGRADE + }; + +namespace GeneratedAnswerStatusMapper +{ +AWS_QUICKSIGHT_API GeneratedAnswerStatus GetGeneratedAnswerStatusForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForGeneratedAnswerStatus(GeneratedAnswerStatus value); +} // namespace GeneratedAnswerStatusMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/IncludeGeneratedAnswer.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/IncludeGeneratedAnswer.h new file mode 100644 index 00000000000..b77abfde6fc --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/IncludeGeneratedAnswer.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class IncludeGeneratedAnswer + { + NOT_SET, + INCLUDE, + EXCLUDE + }; + +namespace IncludeGeneratedAnswerMapper +{ +AWS_QUICKSIGHT_API IncludeGeneratedAnswer GetIncludeGeneratedAnswerForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForIncludeGeneratedAnswer(IncludeGeneratedAnswer value); +} // namespace IncludeGeneratedAnswerMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/IncludeQuickSightQIndex.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/IncludeQuickSightQIndex.h new file mode 100644 index 00000000000..e4280c719b4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/IncludeQuickSightQIndex.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class IncludeQuickSightQIndex + { + NOT_SET, + INCLUDE, + EXCLUDE + }; + +namespace IncludeQuickSightQIndexMapper +{ +AWS_QUICKSIGHT_API IncludeQuickSightQIndex GetIncludeQuickSightQIndexForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForIncludeQuickSightQIndex(IncludeQuickSightQIndex value); +} // namespace IncludeQuickSightQIndexMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/PredictQAResultsRequest.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/PredictQAResultsRequest.h new file mode 100644 index 00000000000..afb15b9066b --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/PredictQAResultsRequest.h @@ -0,0 +1,119 @@ +/** + * 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 QuickSight +{ +namespace Model +{ + + /** + */ + class PredictQAResultsRequest : public QuickSightRequest + { + public: + AWS_QUICKSIGHT_API PredictQAResultsRequest(); + + // 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 "PredictQAResults"; } + + AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The ID of the Amazon Web Services account that the user wants to execute + * Predict QA results in.

    + */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline PredictQAResultsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline PredictQAResultsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline PredictQAResultsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The query text to be used to predict QA results.

    + */ + inline const Aws::String& GetQueryText() const{ return m_queryText; } + inline bool QueryTextHasBeenSet() const { return m_queryTextHasBeenSet; } + inline void SetQueryText(const Aws::String& value) { m_queryTextHasBeenSet = true; m_queryText = value; } + inline void SetQueryText(Aws::String&& value) { m_queryTextHasBeenSet = true; m_queryText = std::move(value); } + inline void SetQueryText(const char* value) { m_queryTextHasBeenSet = true; m_queryText.assign(value); } + inline PredictQAResultsRequest& WithQueryText(const Aws::String& value) { SetQueryText(value); return *this;} + inline PredictQAResultsRequest& WithQueryText(Aws::String&& value) { SetQueryText(std::move(value)); return *this;} + inline PredictQAResultsRequest& WithQueryText(const char* value) { SetQueryText(value); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether Q indicies are included or excluded.

    + */ + inline const IncludeQuickSightQIndex& GetIncludeQuickSightQIndex() const{ return m_includeQuickSightQIndex; } + inline bool IncludeQuickSightQIndexHasBeenSet() const { return m_includeQuickSightQIndexHasBeenSet; } + inline void SetIncludeQuickSightQIndex(const IncludeQuickSightQIndex& value) { m_includeQuickSightQIndexHasBeenSet = true; m_includeQuickSightQIndex = value; } + inline void SetIncludeQuickSightQIndex(IncludeQuickSightQIndex&& value) { m_includeQuickSightQIndexHasBeenSet = true; m_includeQuickSightQIndex = std::move(value); } + inline PredictQAResultsRequest& WithIncludeQuickSightQIndex(const IncludeQuickSightQIndex& value) { SetIncludeQuickSightQIndex(value); return *this;} + inline PredictQAResultsRequest& WithIncludeQuickSightQIndex(IncludeQuickSightQIndex&& value) { SetIncludeQuickSightQIndex(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Indicates whether generated answers are included or excluded.

    + */ + inline const IncludeGeneratedAnswer& GetIncludeGeneratedAnswer() const{ return m_includeGeneratedAnswer; } + inline bool IncludeGeneratedAnswerHasBeenSet() const { return m_includeGeneratedAnswerHasBeenSet; } + inline void SetIncludeGeneratedAnswer(const IncludeGeneratedAnswer& value) { m_includeGeneratedAnswerHasBeenSet = true; m_includeGeneratedAnswer = value; } + inline void SetIncludeGeneratedAnswer(IncludeGeneratedAnswer&& value) { m_includeGeneratedAnswerHasBeenSet = true; m_includeGeneratedAnswer = std::move(value); } + inline PredictQAResultsRequest& WithIncludeGeneratedAnswer(const IncludeGeneratedAnswer& value) { SetIncludeGeneratedAnswer(value); return *this;} + inline PredictQAResultsRequest& WithIncludeGeneratedAnswer(IncludeGeneratedAnswer&& value) { SetIncludeGeneratedAnswer(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The number of maximum topics to be considered to predict QA results.

    + */ + inline int GetMaxTopicsToConsider() const{ return m_maxTopicsToConsider; } + inline bool MaxTopicsToConsiderHasBeenSet() const { return m_maxTopicsToConsiderHasBeenSet; } + inline void SetMaxTopicsToConsider(int value) { m_maxTopicsToConsiderHasBeenSet = true; m_maxTopicsToConsider = value; } + inline PredictQAResultsRequest& WithMaxTopicsToConsider(int value) { SetMaxTopicsToConsider(value); return *this;} + ///@} + private: + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + + Aws::String m_queryText; + bool m_queryTextHasBeenSet = false; + + IncludeQuickSightQIndex m_includeQuickSightQIndex; + bool m_includeQuickSightQIndexHasBeenSet = false; + + IncludeGeneratedAnswer m_includeGeneratedAnswer; + bool m_includeGeneratedAnswerHasBeenSet = false; + + int m_maxTopicsToConsider; + bool m_maxTopicsToConsiderHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/PredictQAResultsResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/PredictQAResultsResult.h new file mode 100644 index 00000000000..a23772d2949 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/PredictQAResultsResult.h @@ -0,0 +1,93 @@ +/** + * 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 QuickSight +{ +namespace Model +{ + class PredictQAResultsResult + { + public: + AWS_QUICKSIGHT_API PredictQAResultsResult(); + AWS_QUICKSIGHT_API PredictQAResultsResult(const Aws::AmazonWebServiceResult& result); + AWS_QUICKSIGHT_API PredictQAResultsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The primary visual response.

    + */ + inline const QAResult& GetPrimaryResult() const{ return m_primaryResult; } + inline void SetPrimaryResult(const QAResult& value) { m_primaryResult = value; } + inline void SetPrimaryResult(QAResult&& value) { m_primaryResult = std::move(value); } + inline PredictQAResultsResult& WithPrimaryResult(const QAResult& value) { SetPrimaryResult(value); return *this;} + inline PredictQAResultsResult& WithPrimaryResult(QAResult&& value) { SetPrimaryResult(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Additional visual responses.

    + */ + inline const Aws::Vector& GetAdditionalResults() const{ return m_additionalResults; } + inline void SetAdditionalResults(const Aws::Vector& value) { m_additionalResults = value; } + inline void SetAdditionalResults(Aws::Vector&& value) { m_additionalResults = std::move(value); } + inline PredictQAResultsResult& WithAdditionalResults(const Aws::Vector& value) { SetAdditionalResults(value); return *this;} + inline PredictQAResultsResult& WithAdditionalResults(Aws::Vector&& value) { SetAdditionalResults(std::move(value)); return *this;} + inline PredictQAResultsResult& AddAdditionalResults(const QAResult& value) { m_additionalResults.push_back(value); return *this; } + inline PredictQAResultsResult& AddAdditionalResults(QAResult&& value) { m_additionalResults.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline PredictQAResultsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline PredictQAResultsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline PredictQAResultsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + + ///@{ + /** + *

    The HTTP status of the request.

    + */ + inline int GetStatus() const{ return m_status; } + inline void SetStatus(int value) { m_status = value; } + inline PredictQAResultsResult& WithStatus(int value) { SetStatus(value); return *this;} + ///@} + private: + + QAResult m_primaryResult; + + Aws::Vector m_additionalResults; + + Aws::String m_requestId; + + int m_status; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/QAResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/QAResult.h new file mode 100644 index 00000000000..23fe9e5bc7c --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/QAResult.h @@ -0,0 +1,92 @@ +/** + * 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 QuickSight +{ +namespace Model +{ + + /** + *

    The QA result that is made from the DashboardVisual or + * GeneratedAnswer.

    See Also:

    AWS + * API Reference

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

    The type of QA result.

    + */ + inline const QAResultType& GetResultType() const{ return m_resultType; } + inline bool ResultTypeHasBeenSet() const { return m_resultTypeHasBeenSet; } + inline void SetResultType(const QAResultType& value) { m_resultTypeHasBeenSet = true; m_resultType = value; } + inline void SetResultType(QAResultType&& value) { m_resultTypeHasBeenSet = true; m_resultType = std::move(value); } + inline QAResult& WithResultType(const QAResultType& value) { SetResultType(value); return *this;} + inline QAResult& WithResultType(QAResultType&& value) { SetResultType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The representation of a dashboard visual result.

    + */ + inline const DashboardVisualResult& GetDashboardVisual() const{ return m_dashboardVisual; } + inline bool DashboardVisualHasBeenSet() const { return m_dashboardVisualHasBeenSet; } + inline void SetDashboardVisual(const DashboardVisualResult& value) { m_dashboardVisualHasBeenSet = true; m_dashboardVisual = value; } + inline void SetDashboardVisual(DashboardVisualResult&& value) { m_dashboardVisualHasBeenSet = true; m_dashboardVisual = std::move(value); } + inline QAResult& WithDashboardVisual(const DashboardVisualResult& value) { SetDashboardVisual(value); return *this;} + inline QAResult& WithDashboardVisual(DashboardVisualResult&& value) { SetDashboardVisual(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The representation of a generated answer result.

    + */ + inline const GeneratedAnswerResult& GetGeneratedAnswer() const{ return m_generatedAnswer; } + inline bool GeneratedAnswerHasBeenSet() const { return m_generatedAnswerHasBeenSet; } + inline void SetGeneratedAnswer(const GeneratedAnswerResult& value) { m_generatedAnswerHasBeenSet = true; m_generatedAnswer = value; } + inline void SetGeneratedAnswer(GeneratedAnswerResult&& value) { m_generatedAnswerHasBeenSet = true; m_generatedAnswer = std::move(value); } + inline QAResult& WithGeneratedAnswer(const GeneratedAnswerResult& value) { SetGeneratedAnswer(value); return *this;} + inline QAResult& WithGeneratedAnswer(GeneratedAnswerResult&& value) { SetGeneratedAnswer(std::move(value)); return *this;} + ///@} + private: + + QAResultType m_resultType; + bool m_resultTypeHasBeenSet = false; + + DashboardVisualResult m_dashboardVisual; + bool m_dashboardVisualHasBeenSet = false; + + GeneratedAnswerResult m_generatedAnswer; + bool m_generatedAnswerHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/QAResultType.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/QAResultType.h new file mode 100644 index 00000000000..589f0a381f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/QAResultType.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class QAResultType + { + NOT_SET, + DASHBOARD_VISUAL, + GENERATED_ANSWER, + NO_ANSWER + }; + +namespace QAResultTypeMapper +{ +AWS_QUICKSIGHT_API QAResultType GetQAResultTypeForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForQAResultType(QAResultType value); +} // namespace QAResultTypeMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/QSearchStatus.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/QSearchStatus.h new file mode 100644 index 00000000000..f3847bb88ce --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/QSearchStatus.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class QSearchStatus + { + NOT_SET, + ENABLED, + DISABLED + }; + +namespace QSearchStatusMapper +{ +AWS_QUICKSIGHT_API QSearchStatus GetQSearchStatusForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForQSearchStatus(QSearchStatus value); +} // namespace QSearchStatusMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ServiceType.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ServiceType.h index f7f16e2357e..ad7bb5e86bc 100644 --- a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ServiceType.h +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ServiceType.h @@ -16,7 +16,8 @@ namespace Model enum class ServiceType { NOT_SET, - REDSHIFT + REDSHIFT, + QBUSINESS }; namespace ServiceTypeMapper diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateApplicationWithTokenExchangeGrantRequest.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateApplicationWithTokenExchangeGrantRequest.h new file mode 100644 index 00000000000..24f6c059c3a --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateApplicationWithTokenExchangeGrantRequest.h @@ -0,0 +1,80 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace QuickSight +{ +namespace Model +{ + + /** + */ + class UpdateApplicationWithTokenExchangeGrantRequest : public QuickSightRequest + { + public: + AWS_QUICKSIGHT_API UpdateApplicationWithTokenExchangeGrantRequest(); + + // 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 "UpdateApplicationWithTokenExchangeGrant"; } + + AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; + + AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The ID of the Amazon Web Services account to be updated with a token exchange + * grant.

    + */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline UpdateApplicationWithTokenExchangeGrantRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline UpdateApplicationWithTokenExchangeGrantRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline UpdateApplicationWithTokenExchangeGrantRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace of the Amazon QuickSight application.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline UpdateApplicationWithTokenExchangeGrantRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline UpdateApplicationWithTokenExchangeGrantRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline UpdateApplicationWithTokenExchangeGrantRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + private: + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateApplicationWithTokenExchangeGrantResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateApplicationWithTokenExchangeGrantResult.h new file mode 100644 index 00000000000..64fa1c31b07 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateApplicationWithTokenExchangeGrantResult.h @@ -0,0 +1,63 @@ +/** + * 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 QuickSight +{ +namespace Model +{ + class UpdateApplicationWithTokenExchangeGrantResult + { + public: + AWS_QUICKSIGHT_API UpdateApplicationWithTokenExchangeGrantResult(); + AWS_QUICKSIGHT_API UpdateApplicationWithTokenExchangeGrantResult(const Aws::AmazonWebServiceResult& result); + AWS_QUICKSIGHT_API UpdateApplicationWithTokenExchangeGrantResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The HTTP status of the request.

    + */ + inline int GetStatus() const{ return m_status; } + inline void SetStatus(int value) { m_status = value; } + inline UpdateApplicationWithTokenExchangeGrantResult& WithStatus(int value) { SetStatus(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateApplicationWithTokenExchangeGrantResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateApplicationWithTokenExchangeGrantResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateApplicationWithTokenExchangeGrantResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + int m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateDefaultQBusinessApplicationRequest.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateDefaultQBusinessApplicationRequest.h new file mode 100644 index 00000000000..c60c716f20c --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateDefaultQBusinessApplicationRequest.h @@ -0,0 +1,99 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace QuickSight +{ +namespace Model +{ + + /** + */ + class UpdateDefaultQBusinessApplicationRequest : public QuickSightRequest + { + public: + AWS_QUICKSIGHT_API UpdateDefaultQBusinessApplicationRequest(); + + // 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 "UpdateDefaultQBusinessApplication"; } + + AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; + + AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The ID of the Amazon QuickSight account that is connected to the Amazon Q + * Business application that you want to update.

    + */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline UpdateDefaultQBusinessApplicationRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline UpdateDefaultQBusinessApplicationRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline UpdateDefaultQBusinessApplicationRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon QuickSight namespace that contains the linked Amazon Q Business + * application. If this field is left blank, the default namespace is used. + * Currently, the default namespace is the only valid value for this parameter.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline UpdateDefaultQBusinessApplicationRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline UpdateDefaultQBusinessApplicationRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline UpdateDefaultQBusinessApplicationRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the Amazon Q Business application that you want to update.

    + */ + inline const Aws::String& GetApplicationId() const{ return m_applicationId; } + inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } + inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } + inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } + inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } + inline UpdateDefaultQBusinessApplicationRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} + inline UpdateDefaultQBusinessApplicationRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} + inline UpdateDefaultQBusinessApplicationRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} + ///@} + private: + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_applicationId; + bool m_applicationIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateDefaultQBusinessApplicationResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateDefaultQBusinessApplicationResult.h new file mode 100644 index 00000000000..4df334e75fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateDefaultQBusinessApplicationResult.h @@ -0,0 +1,63 @@ +/** + * 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 QuickSight +{ +namespace Model +{ + class UpdateDefaultQBusinessApplicationResult + { + public: + AWS_QUICKSIGHT_API UpdateDefaultQBusinessApplicationResult(); + AWS_QUICKSIGHT_API UpdateDefaultQBusinessApplicationResult(const Aws::AmazonWebServiceResult& result); + AWS_QUICKSIGHT_API UpdateDefaultQBusinessApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateDefaultQBusinessApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateDefaultQBusinessApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateDefaultQBusinessApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + + ///@{ + /** + *

    The HTTP status of the request.

    + */ + inline int GetStatus() const{ return m_status; } + inline void SetStatus(int value) { m_status = value; } + inline UpdateDefaultQBusinessApplicationResult& WithStatus(int value) { SetStatus(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + + int m_status; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateQuickSightQSearchConfigurationRequest.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateQuickSightQSearchConfigurationRequest.h new file mode 100644 index 00000000000..c17ec06368e --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateQuickSightQSearchConfigurationRequest.h @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + + /** + */ + class UpdateQuickSightQSearchConfigurationRequest : public QuickSightRequest + { + public: + AWS_QUICKSIGHT_API UpdateQuickSightQSearchConfigurationRequest(); + + // 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 "UpdateQuickSightQSearchConfiguration"; } + + AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The ID of the Amazon Web Services account that contains the Amazon QuickSight + * Q Search configuration that you want to update.

    + */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline UpdateQuickSightQSearchConfigurationRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline UpdateQuickSightQSearchConfigurationRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline UpdateQuickSightQSearchConfigurationRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The status of the Amazon QuickSight Q Search configuration that the user + * wants to update.

    + */ + inline const QSearchStatus& GetQSearchStatus() const{ return m_qSearchStatus; } + inline bool QSearchStatusHasBeenSet() const { return m_qSearchStatusHasBeenSet; } + inline void SetQSearchStatus(const QSearchStatus& value) { m_qSearchStatusHasBeenSet = true; m_qSearchStatus = value; } + inline void SetQSearchStatus(QSearchStatus&& value) { m_qSearchStatusHasBeenSet = true; m_qSearchStatus = std::move(value); } + inline UpdateQuickSightQSearchConfigurationRequest& WithQSearchStatus(const QSearchStatus& value) { SetQSearchStatus(value); return *this;} + inline UpdateQuickSightQSearchConfigurationRequest& WithQSearchStatus(QSearchStatus&& value) { SetQSearchStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + + QSearchStatus m_qSearchStatus; + bool m_qSearchStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateQuickSightQSearchConfigurationResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateQuickSightQSearchConfigurationResult.h new file mode 100644 index 00000000000..776cabce849 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateQuickSightQSearchConfigurationResult.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + class UpdateQuickSightQSearchConfigurationResult + { + public: + AWS_QUICKSIGHT_API UpdateQuickSightQSearchConfigurationResult(); + AWS_QUICKSIGHT_API UpdateQuickSightQSearchConfigurationResult(const Aws::AmazonWebServiceResult& result); + AWS_QUICKSIGHT_API UpdateQuickSightQSearchConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The status of the Amazon QuickSight Q Search configuration.

    + */ + inline const QSearchStatus& GetQSearchStatus() const{ return m_qSearchStatus; } + inline void SetQSearchStatus(const QSearchStatus& value) { m_qSearchStatus = value; } + inline void SetQSearchStatus(QSearchStatus&& value) { m_qSearchStatus = std::move(value); } + inline UpdateQuickSightQSearchConfigurationResult& WithQSearchStatus(const QSearchStatus& value) { SetQSearchStatus(value); return *this;} + inline UpdateQuickSightQSearchConfigurationResult& WithQSearchStatus(QSearchStatus&& value) { SetQSearchStatus(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateQuickSightQSearchConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateQuickSightQSearchConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateQuickSightQSearchConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + + ///@{ + /** + *

    The HTTP status of the request.

    + */ + inline int GetStatus() const{ return m_status; } + inline void SetStatus(int value) { m_status = value; } + inline UpdateQuickSightQSearchConfigurationResult& WithStatus(int value) { SetStatus(value); return *this;} + ///@} + private: + + QSearchStatus m_qSearchStatus; + + Aws::String m_requestId; + + int m_status; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient.cpp b/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient.cpp index 819e1f8b2d3..62815d43d27 100644 --- a/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient.cpp +++ b/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient.cpp @@ -58,6 +58,7 @@ #include #include #include +#include #include #include #include @@ -101,6 +102,7 @@ #include #include #include +#include #include #include #include @@ -112,15 +114,13 @@ #include #include #include +#include #include #include #include #include #include #include -#include -#include -#include #include @@ -1751,6 +1751,40 @@ DeleteDataSourceOutcome QuickSightClient::DeleteDataSource(const DeleteDataSourc {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteDefaultQBusinessApplicationOutcome QuickSightClient::DeleteDefaultQBusinessApplication(const DeleteDefaultQBusinessApplicationRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteDefaultQBusinessApplication); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteDefaultQBusinessApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteDefaultQBusinessApplication", "Required field: AwsAccountId, is not set"); + return DeleteDefaultQBusinessApplicationOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteDefaultQBusinessApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteDefaultQBusinessApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteDefaultQBusinessApplication", + {{ 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( + [&]()-> DeleteDefaultQBusinessApplicationOutcome { + 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, DeleteDefaultQBusinessApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/default-qbusiness-application"); + return DeleteDefaultQBusinessApplicationOutcome(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()}}); +} + DeleteFolderOutcome QuickSightClient::DeleteFolder(const DeleteFolderRequest& request) const { AWS_OPERATION_GUARD(DeleteFolder); @@ -3576,6 +3610,40 @@ DescribeDataSourcePermissionsOutcome QuickSightClient::DescribeDataSourcePermiss {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DescribeDefaultQBusinessApplicationOutcome QuickSightClient::DescribeDefaultQBusinessApplication(const DescribeDefaultQBusinessApplicationRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeDefaultQBusinessApplication); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeDefaultQBusinessApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeDefaultQBusinessApplication", "Required field: AwsAccountId, is not set"); + return DescribeDefaultQBusinessApplicationOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeDefaultQBusinessApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeDefaultQBusinessApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeDefaultQBusinessApplication", + {{ 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( + [&]()-> DescribeDefaultQBusinessApplicationOutcome { + 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, DescribeDefaultQBusinessApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/default-qbusiness-application"); + return DescribeDefaultQBusinessApplicationOutcome(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()}}); +} + DescribeFolderOutcome QuickSightClient::DescribeFolder(const DescribeFolderRequest& request) const { AWS_OPERATION_GUARD(DescribeFolder); @@ -4035,6 +4103,40 @@ DescribeQPersonalizationConfigurationOutcome QuickSightClient::DescribeQPersonal {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DescribeQuickSightQSearchConfigurationOutcome QuickSightClient::DescribeQuickSightQSearchConfiguration(const DescribeQuickSightQSearchConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeQuickSightQSearchConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeQuickSightQSearchConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeQuickSightQSearchConfiguration", "Required field: AwsAccountId, is not set"); + return DescribeQuickSightQSearchConfigurationOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeQuickSightQSearchConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeQuickSightQSearchConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeQuickSightQSearchConfiguration", + {{ 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( + [&]()-> DescribeQuickSightQSearchConfigurationOutcome { + 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, DescribeQuickSightQSearchConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/quicksight-q-search-configuration"); + return DescribeQuickSightQSearchConfigurationOutcome(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()}}); +} + DescribeRefreshScheduleOutcome QuickSightClient::DescribeRefreshSchedule(const DescribeRefreshScheduleRequest& request) const { AWS_OPERATION_GUARD(DescribeRefreshSchedule); @@ -4299,131 +4401,3 @@ DescribeTemplatePermissionsOutcome QuickSightClient::DescribeTemplatePermissions {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -DescribeThemeOutcome QuickSightClient::DescribeTheme(const DescribeThemeRequest& request) const -{ - AWS_OPERATION_GUARD(DescribeTheme); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeTheme, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.AwsAccountIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DescribeTheme", "Required field: AwsAccountId, is not set"); - return DescribeThemeOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); - } - if (!request.ThemeIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DescribeTheme", "Required field: ThemeId, is not set"); - return DescribeThemeOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ThemeId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeTheme, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeTheme, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeTheme", - {{ 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( - [&]()-> DescribeThemeOutcome { - 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, DescribeTheme, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/themes/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetThemeId()); - return DescribeThemeOutcome(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()}}); -} - -DescribeThemeAliasOutcome QuickSightClient::DescribeThemeAlias(const DescribeThemeAliasRequest& request) const -{ - AWS_OPERATION_GUARD(DescribeThemeAlias); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeThemeAlias, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.AwsAccountIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DescribeThemeAlias", "Required field: AwsAccountId, is not set"); - return DescribeThemeAliasOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); - } - if (!request.ThemeIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DescribeThemeAlias", "Required field: ThemeId, is not set"); - return DescribeThemeAliasOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ThemeId]", false)); - } - if (!request.AliasNameHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DescribeThemeAlias", "Required field: AliasName, is not set"); - return DescribeThemeAliasOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AliasName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeThemeAlias, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeThemeAlias, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeThemeAlias", - {{ 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( - [&]()-> DescribeThemeAliasOutcome { - 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, DescribeThemeAlias, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/themes/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetThemeId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/aliases/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAliasName()); - return DescribeThemeAliasOutcome(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()}}); -} - -DescribeThemePermissionsOutcome QuickSightClient::DescribeThemePermissions(const DescribeThemePermissionsRequest& request) const -{ - AWS_OPERATION_GUARD(DescribeThemePermissions); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeThemePermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.AwsAccountIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DescribeThemePermissions", "Required field: AwsAccountId, is not set"); - return DescribeThemePermissionsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); - } - if (!request.ThemeIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DescribeThemePermissions", "Required field: ThemeId, is not set"); - return DescribeThemePermissionsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ThemeId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeThemePermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeThemePermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeThemePermissions", - {{ 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( - [&]()-> DescribeThemePermissionsOutcome { - 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, DescribeThemePermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/themes/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetThemeId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/permissions"); - return DescribeThemePermissionsOutcome(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()}}); -} - diff --git a/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient1.cpp b/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient1.cpp index 73a833bc04e..0d7e290d917 100644 --- a/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient1.cpp +++ b/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient1.cpp @@ -21,6 +21,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -29,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -65,6 +69,7 @@ #include #include #include +#include #include #include #include @@ -85,6 +90,7 @@ #include #include #include +#include #include #include #include @@ -98,6 +104,7 @@ #include #include #include +#include #include #include #include @@ -107,20 +114,13 @@ #include #include #include +#include #include #include #include #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include #include @@ -136,6 +136,134 @@ using namespace smithy::components::tracing; using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; +DescribeThemeOutcome QuickSightClient::DescribeTheme(const DescribeThemeRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeTheme); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeTheme, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeTheme", "Required field: AwsAccountId, is not set"); + return DescribeThemeOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.ThemeIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeTheme", "Required field: ThemeId, is not set"); + return DescribeThemeOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ThemeId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeTheme, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeTheme, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeTheme", + {{ 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( + [&]()-> DescribeThemeOutcome { + 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, DescribeTheme, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/themes/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetThemeId()); + return DescribeThemeOutcome(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()}}); +} + +DescribeThemeAliasOutcome QuickSightClient::DescribeThemeAlias(const DescribeThemeAliasRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeThemeAlias); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeThemeAlias, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeThemeAlias", "Required field: AwsAccountId, is not set"); + return DescribeThemeAliasOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.ThemeIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeThemeAlias", "Required field: ThemeId, is not set"); + return DescribeThemeAliasOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ThemeId]", false)); + } + if (!request.AliasNameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeThemeAlias", "Required field: AliasName, is not set"); + return DescribeThemeAliasOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AliasName]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeThemeAlias, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeThemeAlias, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeThemeAlias", + {{ 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( + [&]()-> DescribeThemeAliasOutcome { + 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, DescribeThemeAlias, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/themes/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetThemeId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/aliases/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAliasName()); + return DescribeThemeAliasOutcome(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()}}); +} + +DescribeThemePermissionsOutcome QuickSightClient::DescribeThemePermissions(const DescribeThemePermissionsRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeThemePermissions); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeThemePermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeThemePermissions", "Required field: AwsAccountId, is not set"); + return DescribeThemePermissionsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.ThemeIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeThemePermissions", "Required field: ThemeId, is not set"); + return DescribeThemePermissionsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ThemeId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeThemePermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeThemePermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeThemePermissions", + {{ 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( + [&]()-> DescribeThemePermissionsOutcome { + 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, DescribeThemePermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/themes/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetThemeId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/permissions"); + return DescribeThemePermissionsOutcome(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()}}); +} + DescribeTopicOutcome QuickSightClient::DescribeTopic(const DescribeTopicRequest& request) const { AWS_OPERATION_GUARD(DescribeTopic); @@ -466,6 +594,40 @@ GenerateEmbedUrlForRegisteredUserOutcome QuickSightClient::GenerateEmbedUrlForRe {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GenerateEmbedUrlForRegisteredUserWithIdentityOutcome QuickSightClient::GenerateEmbedUrlForRegisteredUserWithIdentity(const GenerateEmbedUrlForRegisteredUserWithIdentityRequest& request) const +{ + AWS_OPERATION_GUARD(GenerateEmbedUrlForRegisteredUserWithIdentity); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GenerateEmbedUrlForRegisteredUserWithIdentity, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GenerateEmbedUrlForRegisteredUserWithIdentity", "Required field: AwsAccountId, is not set"); + return GenerateEmbedUrlForRegisteredUserWithIdentityOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GenerateEmbedUrlForRegisteredUserWithIdentity, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GenerateEmbedUrlForRegisteredUserWithIdentity, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GenerateEmbedUrlForRegisteredUserWithIdentity", + {{ 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( + [&]()-> GenerateEmbedUrlForRegisteredUserWithIdentityOutcome { + 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, GenerateEmbedUrlForRegisteredUserWithIdentity, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/embed-url/registered-user-with-identity"); + return GenerateEmbedUrlForRegisteredUserWithIdentityOutcome(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()}}); +} + GetDashboardEmbedUrlOutcome QuickSightClient::GetDashboardEmbedUrl(const GetDashboardEmbedUrlRequest& request) const { AWS_OPERATION_GUARD(GetDashboardEmbedUrl); @@ -1856,6 +2018,40 @@ ListVPCConnectionsOutcome QuickSightClient::ListVPCConnections(const ListVPCConn {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +PredictQAResultsOutcome QuickSightClient::PredictQAResults(const PredictQAResultsRequest& request) const +{ + AWS_OPERATION_GUARD(PredictQAResults); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, PredictQAResults, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PredictQAResults", "Required field: AwsAccountId, is not set"); + return PredictQAResultsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, PredictQAResults, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, PredictQAResults, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".PredictQAResults", + {{ 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( + [&]()-> PredictQAResultsOutcome { + 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, PredictQAResults, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/qa/predict"); + return PredictQAResultsOutcome(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()}}); +} + PutDataSetRefreshPropertiesOutcome QuickSightClient::PutDataSetRefreshProperties(const PutDataSetRefreshPropertiesRequest& request) const { AWS_OPERATION_GUARD(PutDataSetRefreshProperties); @@ -2601,6 +2797,45 @@ UpdateAnalysisPermissionsOutcome QuickSightClient::UpdateAnalysisPermissions(con {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateApplicationWithTokenExchangeGrantOutcome QuickSightClient::UpdateApplicationWithTokenExchangeGrant(const UpdateApplicationWithTokenExchangeGrantRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateApplicationWithTokenExchangeGrant); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateApplicationWithTokenExchangeGrant, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateApplicationWithTokenExchangeGrant", "Required field: AwsAccountId, is not set"); + return UpdateApplicationWithTokenExchangeGrantOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateApplicationWithTokenExchangeGrant", "Required field: Namespace, is not set"); + return UpdateApplicationWithTokenExchangeGrantOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateApplicationWithTokenExchangeGrant, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateApplicationWithTokenExchangeGrant, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateApplicationWithTokenExchangeGrant", + {{ 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( + [&]()-> UpdateApplicationWithTokenExchangeGrantOutcome { + 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, UpdateApplicationWithTokenExchangeGrant, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/application-with-token-exchange-grant"); + return UpdateApplicationWithTokenExchangeGrantOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateBrandOutcome QuickSightClient::UpdateBrand(const UpdateBrandRequest& request) const { AWS_OPERATION_GUARD(UpdateBrand); @@ -3121,6 +3356,40 @@ UpdateDataSourcePermissionsOutcome QuickSightClient::UpdateDataSourcePermissions {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateDefaultQBusinessApplicationOutcome QuickSightClient::UpdateDefaultQBusinessApplication(const UpdateDefaultQBusinessApplicationRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateDefaultQBusinessApplication); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateDefaultQBusinessApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateDefaultQBusinessApplication", "Required field: AwsAccountId, is not set"); + return UpdateDefaultQBusinessApplicationOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateDefaultQBusinessApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateDefaultQBusinessApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateDefaultQBusinessApplication", + {{ 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( + [&]()-> UpdateDefaultQBusinessApplicationOutcome { + 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, UpdateDefaultQBusinessApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/default-qbusiness-application"); + return UpdateDefaultQBusinessApplicationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateFolderOutcome QuickSightClient::UpdateFolder(const UpdateFolderRequest& request) const { AWS_OPERATION_GUARD(UpdateFolder); @@ -3472,6 +3741,40 @@ UpdateQPersonalizationConfigurationOutcome QuickSightClient::UpdateQPersonalizat {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateQuickSightQSearchConfigurationOutcome QuickSightClient::UpdateQuickSightQSearchConfiguration(const UpdateQuickSightQSearchConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateQuickSightQSearchConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateQuickSightQSearchConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateQuickSightQSearchConfiguration", "Required field: AwsAccountId, is not set"); + return UpdateQuickSightQSearchConfigurationOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateQuickSightQSearchConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateQuickSightQSearchConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateQuickSightQSearchConfiguration", + {{ 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( + [&]()-> UpdateQuickSightQSearchConfigurationOutcome { + 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, UpdateQuickSightQSearchConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/quicksight-q-search-configuration"); + return UpdateQuickSightQSearchConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateRefreshScheduleOutcome QuickSightClient::UpdateRefreshSchedule(const UpdateRefreshScheduleRequest& request) const { AWS_OPERATION_GUARD(UpdateRefreshSchedule); @@ -3723,354 +4026,3 @@ UpdateTemplatePermissionsOutcome QuickSightClient::UpdateTemplatePermissions(con {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -UpdateThemeOutcome QuickSightClient::UpdateTheme(const UpdateThemeRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateTheme); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTheme, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.AwsAccountIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateTheme", "Required field: AwsAccountId, is not set"); - return UpdateThemeOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); - } - if (!request.ThemeIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateTheme", "Required field: ThemeId, is not set"); - return UpdateThemeOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ThemeId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTheme, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateTheme, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTheme", - {{ 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( - [&]()-> UpdateThemeOutcome { - 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, UpdateTheme, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/themes/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetThemeId()); - return UpdateThemeOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - -UpdateThemeAliasOutcome QuickSightClient::UpdateThemeAlias(const UpdateThemeAliasRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateThemeAlias); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateThemeAlias, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.AwsAccountIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateThemeAlias", "Required field: AwsAccountId, is not set"); - return UpdateThemeAliasOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); - } - if (!request.ThemeIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateThemeAlias", "Required field: ThemeId, is not set"); - return UpdateThemeAliasOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ThemeId]", false)); - } - if (!request.AliasNameHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateThemeAlias", "Required field: AliasName, is not set"); - return UpdateThemeAliasOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AliasName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateThemeAlias, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateThemeAlias, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateThemeAlias", - {{ 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( - [&]()-> UpdateThemeAliasOutcome { - 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, UpdateThemeAlias, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/themes/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetThemeId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/aliases/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAliasName()); - return UpdateThemeAliasOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - -UpdateThemePermissionsOutcome QuickSightClient::UpdateThemePermissions(const UpdateThemePermissionsRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateThemePermissions); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateThemePermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.AwsAccountIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateThemePermissions", "Required field: AwsAccountId, is not set"); - return UpdateThemePermissionsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); - } - if (!request.ThemeIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateThemePermissions", "Required field: ThemeId, is not set"); - return UpdateThemePermissionsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ThemeId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateThemePermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateThemePermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateThemePermissions", - {{ 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( - [&]()-> UpdateThemePermissionsOutcome { - 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, UpdateThemePermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/themes/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetThemeId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/permissions"); - return UpdateThemePermissionsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - -UpdateTopicOutcome QuickSightClient::UpdateTopic(const UpdateTopicRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateTopic); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTopic, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.AwsAccountIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateTopic", "Required field: AwsAccountId, is not set"); - return UpdateTopicOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); - } - if (!request.TopicIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateTopic", "Required field: TopicId, is not set"); - return UpdateTopicOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TopicId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTopic, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateTopic, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTopic", - {{ 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( - [&]()-> UpdateTopicOutcome { - 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, UpdateTopic, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/topics/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTopicId()); - return UpdateTopicOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - -UpdateTopicPermissionsOutcome QuickSightClient::UpdateTopicPermissions(const UpdateTopicPermissionsRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateTopicPermissions); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTopicPermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.AwsAccountIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateTopicPermissions", "Required field: AwsAccountId, is not set"); - return UpdateTopicPermissionsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); - } - if (!request.TopicIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateTopicPermissions", "Required field: TopicId, is not set"); - return UpdateTopicPermissionsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TopicId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTopicPermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateTopicPermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTopicPermissions", - {{ 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( - [&]()-> UpdateTopicPermissionsOutcome { - 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, UpdateTopicPermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/topics/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTopicId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/permissions"); - return UpdateTopicPermissionsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - -UpdateTopicRefreshScheduleOutcome QuickSightClient::UpdateTopicRefreshSchedule(const UpdateTopicRefreshScheduleRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateTopicRefreshSchedule); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTopicRefreshSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.AwsAccountIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateTopicRefreshSchedule", "Required field: AwsAccountId, is not set"); - return UpdateTopicRefreshScheduleOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); - } - if (!request.TopicIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateTopicRefreshSchedule", "Required field: TopicId, is not set"); - return UpdateTopicRefreshScheduleOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TopicId]", false)); - } - if (!request.DatasetIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateTopicRefreshSchedule", "Required field: DatasetId, is not set"); - return UpdateTopicRefreshScheduleOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DatasetId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTopicRefreshSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateTopicRefreshSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTopicRefreshSchedule", - {{ 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( - [&]()-> UpdateTopicRefreshScheduleOutcome { - 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, UpdateTopicRefreshSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/topics/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTopicId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/schedules/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDatasetId()); - return UpdateTopicRefreshScheduleOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - -UpdateUserOutcome QuickSightClient::UpdateUser(const UpdateUserRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateUser); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateUser, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.UserNameHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateUser", "Required field: UserName, is not set"); - return UpdateUserOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UserName]", false)); - } - if (!request.AwsAccountIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateUser", "Required field: AwsAccountId, is not set"); - return UpdateUserOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); - } - if (!request.NamespaceHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateUser", "Required field: Namespace, is not set"); - return UpdateUserOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateUser, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateUser, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateUser", - {{ 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( - [&]()-> UpdateUserOutcome { - 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, UpdateUser, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/namespaces/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); - endpointResolutionOutcome.GetResult().AddPathSegments("/users/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetUserName()); - return UpdateUserOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - -UpdateUserCustomPermissionOutcome QuickSightClient::UpdateUserCustomPermission(const UpdateUserCustomPermissionRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateUserCustomPermission); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateUserCustomPermission, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.UserNameHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateUserCustomPermission", "Required field: UserName, is not set"); - return UpdateUserCustomPermissionOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UserName]", false)); - } - if (!request.AwsAccountIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateUserCustomPermission", "Required field: AwsAccountId, is not set"); - return UpdateUserCustomPermissionOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); - } - if (!request.NamespaceHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UpdateUserCustomPermission", "Required field: Namespace, is not set"); - return UpdateUserCustomPermissionOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateUserCustomPermission, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateUserCustomPermission, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateUserCustomPermission", - {{ 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( - [&]()-> UpdateUserCustomPermissionOutcome { - 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, UpdateUserCustomPermission, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/namespaces/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); - endpointResolutionOutcome.GetResult().AddPathSegments("/users/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetUserName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/custom-permission"); - return UpdateUserCustomPermissionOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - diff --git a/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient2.cpp b/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient2.cpp index 30aa30dde10..360a569465f 100644 --- a/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient2.cpp +++ b/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient2.cpp @@ -21,6 +21,14 @@ #include #include #include +#include +#include +#include +#include +#include +#include +#include +#include #include #include @@ -37,6 +45,357 @@ using namespace smithy::components::tracing; using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; +UpdateThemeOutcome QuickSightClient::UpdateTheme(const UpdateThemeRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateTheme); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTheme, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTheme", "Required field: AwsAccountId, is not set"); + return UpdateThemeOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.ThemeIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTheme", "Required field: ThemeId, is not set"); + return UpdateThemeOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ThemeId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTheme, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateTheme, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTheme", + {{ 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( + [&]()-> UpdateThemeOutcome { + 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, UpdateTheme, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/themes/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetThemeId()); + return UpdateThemeOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateThemeAliasOutcome QuickSightClient::UpdateThemeAlias(const UpdateThemeAliasRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateThemeAlias); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateThemeAlias, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateThemeAlias", "Required field: AwsAccountId, is not set"); + return UpdateThemeAliasOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.ThemeIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateThemeAlias", "Required field: ThemeId, is not set"); + return UpdateThemeAliasOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ThemeId]", false)); + } + if (!request.AliasNameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateThemeAlias", "Required field: AliasName, is not set"); + return UpdateThemeAliasOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AliasName]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateThemeAlias, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateThemeAlias, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateThemeAlias", + {{ 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( + [&]()-> UpdateThemeAliasOutcome { + 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, UpdateThemeAlias, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/themes/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetThemeId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/aliases/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAliasName()); + return UpdateThemeAliasOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateThemePermissionsOutcome QuickSightClient::UpdateThemePermissions(const UpdateThemePermissionsRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateThemePermissions); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateThemePermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateThemePermissions", "Required field: AwsAccountId, is not set"); + return UpdateThemePermissionsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.ThemeIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateThemePermissions", "Required field: ThemeId, is not set"); + return UpdateThemePermissionsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ThemeId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateThemePermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateThemePermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateThemePermissions", + {{ 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( + [&]()-> UpdateThemePermissionsOutcome { + 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, UpdateThemePermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/themes/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetThemeId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/permissions"); + return UpdateThemePermissionsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateTopicOutcome QuickSightClient::UpdateTopic(const UpdateTopicRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateTopic); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTopic, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTopic", "Required field: AwsAccountId, is not set"); + return UpdateTopicOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.TopicIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTopic", "Required field: TopicId, is not set"); + return UpdateTopicOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TopicId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTopic, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateTopic, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTopic", + {{ 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( + [&]()-> UpdateTopicOutcome { + 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, UpdateTopic, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/topics/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTopicId()); + return UpdateTopicOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateTopicPermissionsOutcome QuickSightClient::UpdateTopicPermissions(const UpdateTopicPermissionsRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateTopicPermissions); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTopicPermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTopicPermissions", "Required field: AwsAccountId, is not set"); + return UpdateTopicPermissionsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.TopicIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTopicPermissions", "Required field: TopicId, is not set"); + return UpdateTopicPermissionsOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TopicId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTopicPermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateTopicPermissions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTopicPermissions", + {{ 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( + [&]()-> UpdateTopicPermissionsOutcome { + 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, UpdateTopicPermissions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/topics/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTopicId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/permissions"); + return UpdateTopicPermissionsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateTopicRefreshScheduleOutcome QuickSightClient::UpdateTopicRefreshSchedule(const UpdateTopicRefreshScheduleRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateTopicRefreshSchedule); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTopicRefreshSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTopicRefreshSchedule", "Required field: AwsAccountId, is not set"); + return UpdateTopicRefreshScheduleOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.TopicIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTopicRefreshSchedule", "Required field: TopicId, is not set"); + return UpdateTopicRefreshScheduleOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TopicId]", false)); + } + if (!request.DatasetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTopicRefreshSchedule", "Required field: DatasetId, is not set"); + return UpdateTopicRefreshScheduleOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DatasetId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTopicRefreshSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateTopicRefreshSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTopicRefreshSchedule", + {{ 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( + [&]()-> UpdateTopicRefreshScheduleOutcome { + 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, UpdateTopicRefreshSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/topics/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTopicId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/schedules/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDatasetId()); + return UpdateTopicRefreshScheduleOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateUserOutcome QuickSightClient::UpdateUser(const UpdateUserRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateUser); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateUser, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.UserNameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateUser", "Required field: UserName, is not set"); + return UpdateUserOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UserName]", false)); + } + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateUser", "Required field: AwsAccountId, is not set"); + return UpdateUserOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateUser", "Required field: Namespace, is not set"); + return UpdateUserOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateUser, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateUser, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateUser", + {{ 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( + [&]()-> UpdateUserOutcome { + 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, UpdateUser, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/namespaces/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegments("/users/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetUserName()); + return UpdateUserOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateUserCustomPermissionOutcome QuickSightClient::UpdateUserCustomPermission(const UpdateUserCustomPermissionRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateUserCustomPermission); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateUserCustomPermission, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.UserNameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateUserCustomPermission", "Required field: UserName, is not set"); + return UpdateUserCustomPermissionOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UserName]", false)); + } + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateUserCustomPermission", "Required field: AwsAccountId, is not set"); + return UpdateUserCustomPermissionOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateUserCustomPermission", "Required field: Namespace, is not set"); + return UpdateUserCustomPermissionOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateUserCustomPermission, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateUserCustomPermission, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateUserCustomPermission", + {{ 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( + [&]()-> UpdateUserCustomPermissionOutcome { + 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, UpdateUserCustomPermission, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/namespaces/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegments("/users/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetUserName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/custom-permission"); + return UpdateUserCustomPermissionOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateVPCConnectionOutcome QuickSightClient::UpdateVPCConnection(const UpdateVPCConnectionRequest& request) const { AWS_OPERATION_GUARD(UpdateVPCConnection); diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/DashboardVisualResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/DashboardVisualResult.cpp new file mode 100644 index 00000000000..bf6b7ad7178 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/DashboardVisualResult.cpp @@ -0,0 +1,157 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +DashboardVisualResult::DashboardVisualResult() : + m_dashboardIdHasBeenSet(false), + m_dashboardNameHasBeenSet(false), + m_sheetIdHasBeenSet(false), + m_sheetNameHasBeenSet(false), + m_visualIdHasBeenSet(false), + m_visualTitleHasBeenSet(false), + m_visualSubtitleHasBeenSet(false), + m_dashboardUrlHasBeenSet(false) +{ +} + +DashboardVisualResult::DashboardVisualResult(JsonView jsonValue) + : DashboardVisualResult() +{ + *this = jsonValue; +} + +DashboardVisualResult& DashboardVisualResult::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DashboardId")) + { + m_dashboardId = jsonValue.GetString("DashboardId"); + + m_dashboardIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("DashboardName")) + { + m_dashboardName = jsonValue.GetString("DashboardName"); + + m_dashboardNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("SheetId")) + { + m_sheetId = jsonValue.GetString("SheetId"); + + m_sheetIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("SheetName")) + { + m_sheetName = jsonValue.GetString("SheetName"); + + m_sheetNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("VisualId")) + { + m_visualId = jsonValue.GetString("VisualId"); + + m_visualIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("VisualTitle")) + { + m_visualTitle = jsonValue.GetString("VisualTitle"); + + m_visualTitleHasBeenSet = true; + } + + if(jsonValue.ValueExists("VisualSubtitle")) + { + m_visualSubtitle = jsonValue.GetString("VisualSubtitle"); + + m_visualSubtitleHasBeenSet = true; + } + + if(jsonValue.ValueExists("DashboardUrl")) + { + m_dashboardUrl = jsonValue.GetString("DashboardUrl"); + + m_dashboardUrlHasBeenSet = true; + } + + return *this; +} + +JsonValue DashboardVisualResult::Jsonize() const +{ + JsonValue payload; + + if(m_dashboardIdHasBeenSet) + { + payload.WithString("DashboardId", m_dashboardId); + + } + + if(m_dashboardNameHasBeenSet) + { + payload.WithString("DashboardName", m_dashboardName); + + } + + if(m_sheetIdHasBeenSet) + { + payload.WithString("SheetId", m_sheetId); + + } + + if(m_sheetNameHasBeenSet) + { + payload.WithString("SheetName", m_sheetName); + + } + + if(m_visualIdHasBeenSet) + { + payload.WithString("VisualId", m_visualId); + + } + + if(m_visualTitleHasBeenSet) + { + payload.WithString("VisualTitle", m_visualTitle); + + } + + if(m_visualSubtitleHasBeenSet) + { + payload.WithString("VisualSubtitle", m_visualSubtitle); + + } + + if(m_dashboardUrlHasBeenSet) + { + payload.WithString("DashboardUrl", m_dashboardUrl); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/DeleteDefaultQBusinessApplicationRequest.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/DeleteDefaultQBusinessApplicationRequest.cpp new file mode 100644 index 00000000000..716705e833c --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/DeleteDefaultQBusinessApplicationRequest.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +DeleteDefaultQBusinessApplicationRequest::DeleteDefaultQBusinessApplicationRequest() : + m_awsAccountIdHasBeenSet(false), + m_namespaceHasBeenSet(false) +{ +} + +Aws::String DeleteDefaultQBusinessApplicationRequest::SerializePayload() const +{ + return {}; +} + +void DeleteDefaultQBusinessApplicationRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_namespaceHasBeenSet) + { + ss << m_namespace; + uri.AddQueryStringParameter("namespace", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/DeleteDefaultQBusinessApplicationResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/DeleteDefaultQBusinessApplicationResult.cpp new file mode 100644 index 00000000000..c193855419f --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/DeleteDefaultQBusinessApplicationResult.cpp @@ -0,0 +1,46 @@ +/** + * 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::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteDefaultQBusinessApplicationResult::DeleteDefaultQBusinessApplicationResult() : + m_status(0) +{ +} + +DeleteDefaultQBusinessApplicationResult::DeleteDefaultQBusinessApplicationResult(const Aws::AmazonWebServiceResult& result) + : DeleteDefaultQBusinessApplicationResult() +{ + *this = result; +} + +DeleteDefaultQBusinessApplicationResult& DeleteDefaultQBusinessApplicationResult::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_status = static_cast(result.GetResponseCode()); + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/DescribeDefaultQBusinessApplicationRequest.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/DescribeDefaultQBusinessApplicationRequest.cpp new file mode 100644 index 00000000000..55c1713f8d1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/DescribeDefaultQBusinessApplicationRequest.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +DescribeDefaultQBusinessApplicationRequest::DescribeDefaultQBusinessApplicationRequest() : + m_awsAccountIdHasBeenSet(false), + m_namespaceHasBeenSet(false) +{ +} + +Aws::String DescribeDefaultQBusinessApplicationRequest::SerializePayload() const +{ + return {}; +} + +void DescribeDefaultQBusinessApplicationRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_namespaceHasBeenSet) + { + ss << m_namespace; + uri.AddQueryStringParameter("namespace", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/DescribeDefaultQBusinessApplicationResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/DescribeDefaultQBusinessApplicationResult.cpp new file mode 100644 index 00000000000..c9a07cd4158 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/DescribeDefaultQBusinessApplicationResult.cpp @@ -0,0 +1,52 @@ +/** + * 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::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DescribeDefaultQBusinessApplicationResult::DescribeDefaultQBusinessApplicationResult() : + m_status(0) +{ +} + +DescribeDefaultQBusinessApplicationResult::DescribeDefaultQBusinessApplicationResult(const Aws::AmazonWebServiceResult& result) + : DescribeDefaultQBusinessApplicationResult() +{ + *this = result; +} + +DescribeDefaultQBusinessApplicationResult& DescribeDefaultQBusinessApplicationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ApplicationId")) + { + m_applicationId = jsonValue.GetString("ApplicationId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + m_status = static_cast(result.GetResponseCode()); + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/DescribeQuickSightQSearchConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/DescribeQuickSightQSearchConfigurationRequest.cpp new file mode 100644 index 00000000000..2aba9f08104 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/DescribeQuickSightQSearchConfigurationRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DescribeQuickSightQSearchConfigurationRequest::DescribeQuickSightQSearchConfigurationRequest() : + m_awsAccountIdHasBeenSet(false) +{ +} + +Aws::String DescribeQuickSightQSearchConfigurationRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/DescribeQuickSightQSearchConfigurationResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/DescribeQuickSightQSearchConfigurationResult.cpp new file mode 100644 index 00000000000..2f94858be34 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/DescribeQuickSightQSearchConfigurationResult.cpp @@ -0,0 +1,53 @@ +/** + * 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::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DescribeQuickSightQSearchConfigurationResult::DescribeQuickSightQSearchConfigurationResult() : + m_qSearchStatus(QSearchStatus::NOT_SET), + m_status(0) +{ +} + +DescribeQuickSightQSearchConfigurationResult::DescribeQuickSightQSearchConfigurationResult(const Aws::AmazonWebServiceResult& result) + : DescribeQuickSightQSearchConfigurationResult() +{ + *this = result; +} + +DescribeQuickSightQSearchConfigurationResult& DescribeQuickSightQSearchConfigurationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("QSearchStatus")) + { + m_qSearchStatus = QSearchStatusMapper::GetQSearchStatusForName(jsonValue.GetString("QSearchStatus")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + m_status = static_cast(result.GetResponseCode()); + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/GenerateEmbedUrlForRegisteredUserWithIdentityRequest.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/GenerateEmbedUrlForRegisteredUserWithIdentityRequest.cpp new file mode 100644 index 00000000000..6d79821b345 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/GenerateEmbedUrlForRegisteredUserWithIdentityRequest.cpp @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GenerateEmbedUrlForRegisteredUserWithIdentityRequest::GenerateEmbedUrlForRegisteredUserWithIdentityRequest() : + m_awsAccountIdHasBeenSet(false), + m_sessionLifetimeInMinutes(0), + m_sessionLifetimeInMinutesHasBeenSet(false), + m_experienceConfigurationHasBeenSet(false), + m_allowedDomainsHasBeenSet(false) +{ +} + +Aws::String GenerateEmbedUrlForRegisteredUserWithIdentityRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_sessionLifetimeInMinutesHasBeenSet) + { + payload.WithInt64("SessionLifetimeInMinutes", m_sessionLifetimeInMinutes); + + } + + if(m_experienceConfigurationHasBeenSet) + { + payload.WithObject("ExperienceConfiguration", m_experienceConfiguration.Jsonize()); + + } + + if(m_allowedDomainsHasBeenSet) + { + Aws::Utils::Array allowedDomainsJsonList(m_allowedDomains.size()); + for(unsigned allowedDomainsIndex = 0; allowedDomainsIndex < allowedDomainsJsonList.GetLength(); ++allowedDomainsIndex) + { + allowedDomainsJsonList[allowedDomainsIndex].AsString(m_allowedDomains[allowedDomainsIndex]); + } + payload.WithArray("AllowedDomains", std::move(allowedDomainsJsonList)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/GenerateEmbedUrlForRegisteredUserWithIdentityResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/GenerateEmbedUrlForRegisteredUserWithIdentityResult.cpp new file mode 100644 index 00000000000..f5441a6f80b --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/GenerateEmbedUrlForRegisteredUserWithIdentityResult.cpp @@ -0,0 +1,52 @@ +/** + * 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::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GenerateEmbedUrlForRegisteredUserWithIdentityResult::GenerateEmbedUrlForRegisteredUserWithIdentityResult() : + m_status(0) +{ +} + +GenerateEmbedUrlForRegisteredUserWithIdentityResult::GenerateEmbedUrlForRegisteredUserWithIdentityResult(const Aws::AmazonWebServiceResult& result) + : GenerateEmbedUrlForRegisteredUserWithIdentityResult() +{ + *this = result; +} + +GenerateEmbedUrlForRegisteredUserWithIdentityResult& GenerateEmbedUrlForRegisteredUserWithIdentityResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("EmbedUrl")) + { + m_embedUrl = jsonValue.GetString("EmbedUrl"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + m_status = static_cast(result.GetResponseCode()); + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/GeneratedAnswerResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/GeneratedAnswerResult.cpp new file mode 100644 index 00000000000..3506ac49e8b --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/GeneratedAnswerResult.cpp @@ -0,0 +1,157 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +GeneratedAnswerResult::GeneratedAnswerResult() : + m_questionTextHasBeenSet(false), + m_answerStatus(GeneratedAnswerStatus::NOT_SET), + m_answerStatusHasBeenSet(false), + m_topicIdHasBeenSet(false), + m_topicNameHasBeenSet(false), + m_restatementHasBeenSet(false), + m_questionIdHasBeenSet(false), + m_answerIdHasBeenSet(false), + m_questionUrlHasBeenSet(false) +{ +} + +GeneratedAnswerResult::GeneratedAnswerResult(JsonView jsonValue) + : GeneratedAnswerResult() +{ + *this = jsonValue; +} + +GeneratedAnswerResult& GeneratedAnswerResult::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("QuestionText")) + { + m_questionText = jsonValue.GetString("QuestionText"); + + m_questionTextHasBeenSet = true; + } + + if(jsonValue.ValueExists("AnswerStatus")) + { + m_answerStatus = GeneratedAnswerStatusMapper::GetGeneratedAnswerStatusForName(jsonValue.GetString("AnswerStatus")); + + m_answerStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("TopicId")) + { + m_topicId = jsonValue.GetString("TopicId"); + + m_topicIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("TopicName")) + { + m_topicName = jsonValue.GetString("TopicName"); + + m_topicNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("Restatement")) + { + m_restatement = jsonValue.GetString("Restatement"); + + m_restatementHasBeenSet = true; + } + + if(jsonValue.ValueExists("QuestionId")) + { + m_questionId = jsonValue.GetString("QuestionId"); + + m_questionIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("AnswerId")) + { + m_answerId = jsonValue.GetString("AnswerId"); + + m_answerIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("QuestionUrl")) + { + m_questionUrl = jsonValue.GetString("QuestionUrl"); + + m_questionUrlHasBeenSet = true; + } + + return *this; +} + +JsonValue GeneratedAnswerResult::Jsonize() const +{ + JsonValue payload; + + if(m_questionTextHasBeenSet) + { + payload.WithString("QuestionText", m_questionText); + + } + + if(m_answerStatusHasBeenSet) + { + payload.WithString("AnswerStatus", GeneratedAnswerStatusMapper::GetNameForGeneratedAnswerStatus(m_answerStatus)); + } + + if(m_topicIdHasBeenSet) + { + payload.WithString("TopicId", m_topicId); + + } + + if(m_topicNameHasBeenSet) + { + payload.WithString("TopicName", m_topicName); + + } + + if(m_restatementHasBeenSet) + { + payload.WithString("Restatement", m_restatement); + + } + + if(m_questionIdHasBeenSet) + { + payload.WithString("QuestionId", m_questionId); + + } + + if(m_answerIdHasBeenSet) + { + payload.WithString("AnswerId", m_answerId); + + } + + if(m_questionUrlHasBeenSet) + { + payload.WithString("QuestionUrl", m_questionUrl); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/GeneratedAnswerStatus.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/GeneratedAnswerStatus.cpp new file mode 100644 index 00000000000..e430217180d --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/GeneratedAnswerStatus.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace GeneratedAnswerStatusMapper + { + + static const int ANSWER_GENERATED_HASH = HashingUtils::HashString("ANSWER_GENERATED"); + static const int ANSWER_RETRIEVED_HASH = HashingUtils::HashString("ANSWER_RETRIEVED"); + static const int ANSWER_DOWNGRADE_HASH = HashingUtils::HashString("ANSWER_DOWNGRADE"); + + + GeneratedAnswerStatus GetGeneratedAnswerStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ANSWER_GENERATED_HASH) + { + return GeneratedAnswerStatus::ANSWER_GENERATED; + } + else if (hashCode == ANSWER_RETRIEVED_HASH) + { + return GeneratedAnswerStatus::ANSWER_RETRIEVED; + } + else if (hashCode == ANSWER_DOWNGRADE_HASH) + { + return GeneratedAnswerStatus::ANSWER_DOWNGRADE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return GeneratedAnswerStatus::NOT_SET; + } + + Aws::String GetNameForGeneratedAnswerStatus(GeneratedAnswerStatus enumValue) + { + switch(enumValue) + { + case GeneratedAnswerStatus::NOT_SET: + return {}; + case GeneratedAnswerStatus::ANSWER_GENERATED: + return "ANSWER_GENERATED"; + case GeneratedAnswerStatus::ANSWER_RETRIEVED: + return "ANSWER_RETRIEVED"; + case GeneratedAnswerStatus::ANSWER_DOWNGRADE: + return "ANSWER_DOWNGRADE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace GeneratedAnswerStatusMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/IncludeGeneratedAnswer.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/IncludeGeneratedAnswer.cpp new file mode 100644 index 00000000000..58dc1b53938 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/IncludeGeneratedAnswer.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace IncludeGeneratedAnswerMapper + { + + static const int INCLUDE_HASH = HashingUtils::HashString("INCLUDE"); + static const int EXCLUDE_HASH = HashingUtils::HashString("EXCLUDE"); + + + IncludeGeneratedAnswer GetIncludeGeneratedAnswerForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == INCLUDE_HASH) + { + return IncludeGeneratedAnswer::INCLUDE; + } + else if (hashCode == EXCLUDE_HASH) + { + return IncludeGeneratedAnswer::EXCLUDE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return IncludeGeneratedAnswer::NOT_SET; + } + + Aws::String GetNameForIncludeGeneratedAnswer(IncludeGeneratedAnswer enumValue) + { + switch(enumValue) + { + case IncludeGeneratedAnswer::NOT_SET: + return {}; + case IncludeGeneratedAnswer::INCLUDE: + return "INCLUDE"; + case IncludeGeneratedAnswer::EXCLUDE: + return "EXCLUDE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace IncludeGeneratedAnswerMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/IncludeQuickSightQIndex.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/IncludeQuickSightQIndex.cpp new file mode 100644 index 00000000000..c931168a997 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/IncludeQuickSightQIndex.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace IncludeQuickSightQIndexMapper + { + + static const int INCLUDE_HASH = HashingUtils::HashString("INCLUDE"); + static const int EXCLUDE_HASH = HashingUtils::HashString("EXCLUDE"); + + + IncludeQuickSightQIndex GetIncludeQuickSightQIndexForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == INCLUDE_HASH) + { + return IncludeQuickSightQIndex::INCLUDE; + } + else if (hashCode == EXCLUDE_HASH) + { + return IncludeQuickSightQIndex::EXCLUDE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return IncludeQuickSightQIndex::NOT_SET; + } + + Aws::String GetNameForIncludeQuickSightQIndex(IncludeQuickSightQIndex enumValue) + { + switch(enumValue) + { + case IncludeQuickSightQIndex::NOT_SET: + return {}; + case IncludeQuickSightQIndex::INCLUDE: + return "INCLUDE"; + case IncludeQuickSightQIndex::EXCLUDE: + return "EXCLUDE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace IncludeQuickSightQIndexMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/PredictQAResultsRequest.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/PredictQAResultsRequest.cpp new file mode 100644 index 00000000000..e28b1a67cd2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/PredictQAResultsRequest.cpp @@ -0,0 +1,58 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +PredictQAResultsRequest::PredictQAResultsRequest() : + m_awsAccountIdHasBeenSet(false), + m_queryTextHasBeenSet(false), + m_includeQuickSightQIndex(IncludeQuickSightQIndex::NOT_SET), + m_includeQuickSightQIndexHasBeenSet(false), + m_includeGeneratedAnswer(IncludeGeneratedAnswer::NOT_SET), + m_includeGeneratedAnswerHasBeenSet(false), + m_maxTopicsToConsider(0), + m_maxTopicsToConsiderHasBeenSet(false) +{ +} + +Aws::String PredictQAResultsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_queryTextHasBeenSet) + { + payload.WithString("QueryText", m_queryText); + + } + + if(m_includeQuickSightQIndexHasBeenSet) + { + payload.WithString("IncludeQuickSightQIndex", IncludeQuickSightQIndexMapper::GetNameForIncludeQuickSightQIndex(m_includeQuickSightQIndex)); + } + + if(m_includeGeneratedAnswerHasBeenSet) + { + payload.WithString("IncludeGeneratedAnswer", IncludeGeneratedAnswerMapper::GetNameForIncludeGeneratedAnswer(m_includeGeneratedAnswer)); + } + + if(m_maxTopicsToConsiderHasBeenSet) + { + payload.WithInteger("MaxTopicsToConsider", m_maxTopicsToConsider); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/PredictQAResultsResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/PredictQAResultsResult.cpp new file mode 100644 index 00000000000..b279da94951 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/PredictQAResultsResult.cpp @@ -0,0 +1,61 @@ +/** + * 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::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +PredictQAResultsResult::PredictQAResultsResult() : + m_status(0) +{ +} + +PredictQAResultsResult::PredictQAResultsResult(const Aws::AmazonWebServiceResult& result) + : PredictQAResultsResult() +{ + *this = result; +} + +PredictQAResultsResult& PredictQAResultsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("PrimaryResult")) + { + m_primaryResult = jsonValue.GetObject("PrimaryResult"); + + } + + if(jsonValue.ValueExists("AdditionalResults")) + { + Aws::Utils::Array additionalResultsJsonList = jsonValue.GetArray("AdditionalResults"); + for(unsigned additionalResultsIndex = 0; additionalResultsIndex < additionalResultsJsonList.GetLength(); ++additionalResultsIndex) + { + m_additionalResults.push_back(additionalResultsJsonList[additionalResultsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + m_status = static_cast(result.GetResponseCode()); + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/QAResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/QAResult.cpp new file mode 100644 index 00000000000..192a53f5eb7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/QAResult.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +QAResult::QAResult() : + m_resultType(QAResultType::NOT_SET), + m_resultTypeHasBeenSet(false), + m_dashboardVisualHasBeenSet(false), + m_generatedAnswerHasBeenSet(false) +{ +} + +QAResult::QAResult(JsonView jsonValue) + : QAResult() +{ + *this = jsonValue; +} + +QAResult& QAResult::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ResultType")) + { + m_resultType = QAResultTypeMapper::GetQAResultTypeForName(jsonValue.GetString("ResultType")); + + m_resultTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("DashboardVisual")) + { + m_dashboardVisual = jsonValue.GetObject("DashboardVisual"); + + m_dashboardVisualHasBeenSet = true; + } + + if(jsonValue.ValueExists("GeneratedAnswer")) + { + m_generatedAnswer = jsonValue.GetObject("GeneratedAnswer"); + + m_generatedAnswerHasBeenSet = true; + } + + return *this; +} + +JsonValue QAResult::Jsonize() const +{ + JsonValue payload; + + if(m_resultTypeHasBeenSet) + { + payload.WithString("ResultType", QAResultTypeMapper::GetNameForQAResultType(m_resultType)); + } + + if(m_dashboardVisualHasBeenSet) + { + payload.WithObject("DashboardVisual", m_dashboardVisual.Jsonize()); + + } + + if(m_generatedAnswerHasBeenSet) + { + payload.WithObject("GeneratedAnswer", m_generatedAnswer.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/QAResultType.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/QAResultType.cpp new file mode 100644 index 00000000000..89dc403eac3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/QAResultType.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace QAResultTypeMapper + { + + static const int DASHBOARD_VISUAL_HASH = HashingUtils::HashString("DASHBOARD_VISUAL"); + static const int GENERATED_ANSWER_HASH = HashingUtils::HashString("GENERATED_ANSWER"); + static const int NO_ANSWER_HASH = HashingUtils::HashString("NO_ANSWER"); + + + QAResultType GetQAResultTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == DASHBOARD_VISUAL_HASH) + { + return QAResultType::DASHBOARD_VISUAL; + } + else if (hashCode == GENERATED_ANSWER_HASH) + { + return QAResultType::GENERATED_ANSWER; + } + else if (hashCode == NO_ANSWER_HASH) + { + return QAResultType::NO_ANSWER; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return QAResultType::NOT_SET; + } + + Aws::String GetNameForQAResultType(QAResultType enumValue) + { + switch(enumValue) + { + case QAResultType::NOT_SET: + return {}; + case QAResultType::DASHBOARD_VISUAL: + return "DASHBOARD_VISUAL"; + case QAResultType::GENERATED_ANSWER: + return "GENERATED_ANSWER"; + case QAResultType::NO_ANSWER: + return "NO_ANSWER"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace QAResultTypeMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/QSearchStatus.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/QSearchStatus.cpp new file mode 100644 index 00000000000..4b442d35989 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/QSearchStatus.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace QSearchStatusMapper + { + + static const int ENABLED_HASH = HashingUtils::HashString("ENABLED"); + static const int DISABLED_HASH = HashingUtils::HashString("DISABLED"); + + + QSearchStatus GetQSearchStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ENABLED_HASH) + { + return QSearchStatus::ENABLED; + } + else if (hashCode == DISABLED_HASH) + { + return QSearchStatus::DISABLED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return QSearchStatus::NOT_SET; + } + + Aws::String GetNameForQSearchStatus(QSearchStatus enumValue) + { + switch(enumValue) + { + case QSearchStatus::NOT_SET: + return {}; + case QSearchStatus::ENABLED: + return "ENABLED"; + case QSearchStatus::DISABLED: + return "DISABLED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace QSearchStatusMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/ServiceType.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/ServiceType.cpp index 40ba71a3bbc..f5ecfc3f9fd 100644 --- a/generated/src/aws-cpp-sdk-quicksight/source/model/ServiceType.cpp +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/ServiceType.cpp @@ -21,6 +21,7 @@ namespace Aws { static const int REDSHIFT_HASH = HashingUtils::HashString("REDSHIFT"); + static const int QBUSINESS_HASH = HashingUtils::HashString("QBUSINESS"); ServiceType GetServiceTypeForName(const Aws::String& name) @@ -30,6 +31,10 @@ namespace Aws { return ServiceType::REDSHIFT; } + else if (hashCode == QBUSINESS_HASH) + { + return ServiceType::QBUSINESS; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -48,6 +53,8 @@ namespace Aws return {}; case ServiceType::REDSHIFT: return "REDSHIFT"; + case ServiceType::QBUSINESS: + return "QBUSINESS"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateApplicationWithTokenExchangeGrantRequest.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateApplicationWithTokenExchangeGrantRequest.cpp new file mode 100644 index 00000000000..4b263ef8af3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateApplicationWithTokenExchangeGrantRequest.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +UpdateApplicationWithTokenExchangeGrantRequest::UpdateApplicationWithTokenExchangeGrantRequest() : + m_awsAccountIdHasBeenSet(false), + m_namespaceHasBeenSet(false) +{ +} + +Aws::String UpdateApplicationWithTokenExchangeGrantRequest::SerializePayload() const +{ + return {}; +} + +void UpdateApplicationWithTokenExchangeGrantRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_namespaceHasBeenSet) + { + ss << m_namespace; + uri.AddQueryStringParameter("namespace", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateApplicationWithTokenExchangeGrantResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateApplicationWithTokenExchangeGrantResult.cpp new file mode 100644 index 00000000000..0f0dda3aead --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateApplicationWithTokenExchangeGrantResult.cpp @@ -0,0 +1,46 @@ +/** + * 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::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateApplicationWithTokenExchangeGrantResult::UpdateApplicationWithTokenExchangeGrantResult() : + m_status(0) +{ +} + +UpdateApplicationWithTokenExchangeGrantResult::UpdateApplicationWithTokenExchangeGrantResult(const Aws::AmazonWebServiceResult& result) + : UpdateApplicationWithTokenExchangeGrantResult() +{ + *this = result; +} + +UpdateApplicationWithTokenExchangeGrantResult& UpdateApplicationWithTokenExchangeGrantResult::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_status = static_cast(result.GetResponseCode()); + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateDefaultQBusinessApplicationRequest.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateDefaultQBusinessApplicationRequest.cpp new file mode 100644 index 00000000000..8e20b64d265 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateDefaultQBusinessApplicationRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +UpdateDefaultQBusinessApplicationRequest::UpdateDefaultQBusinessApplicationRequest() : + m_awsAccountIdHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_applicationIdHasBeenSet(false) +{ +} + +Aws::String UpdateDefaultQBusinessApplicationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_applicationIdHasBeenSet) + { + payload.WithString("ApplicationId", m_applicationId); + + } + + return payload.View().WriteReadable(); +} + +void UpdateDefaultQBusinessApplicationRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_namespaceHasBeenSet) + { + ss << m_namespace; + uri.AddQueryStringParameter("namespace", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateDefaultQBusinessApplicationResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateDefaultQBusinessApplicationResult.cpp new file mode 100644 index 00000000000..39a070035e5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateDefaultQBusinessApplicationResult.cpp @@ -0,0 +1,46 @@ +/** + * 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::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateDefaultQBusinessApplicationResult::UpdateDefaultQBusinessApplicationResult() : + m_status(0) +{ +} + +UpdateDefaultQBusinessApplicationResult::UpdateDefaultQBusinessApplicationResult(const Aws::AmazonWebServiceResult& result) + : UpdateDefaultQBusinessApplicationResult() +{ + *this = result; +} + +UpdateDefaultQBusinessApplicationResult& UpdateDefaultQBusinessApplicationResult::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_status = static_cast(result.GetResponseCode()); + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateQuickSightQSearchConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateQuickSightQSearchConfigurationRequest.cpp new file mode 100644 index 00000000000..f8746971546 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateQuickSightQSearchConfigurationRequest.cpp @@ -0,0 +1,36 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateQuickSightQSearchConfigurationRequest::UpdateQuickSightQSearchConfigurationRequest() : + m_awsAccountIdHasBeenSet(false), + m_qSearchStatus(QSearchStatus::NOT_SET), + m_qSearchStatusHasBeenSet(false) +{ +} + +Aws::String UpdateQuickSightQSearchConfigurationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_qSearchStatusHasBeenSet) + { + payload.WithString("QSearchStatus", QSearchStatusMapper::GetNameForQSearchStatus(m_qSearchStatus)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateQuickSightQSearchConfigurationResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateQuickSightQSearchConfigurationResult.cpp new file mode 100644 index 00000000000..d9a4273da29 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/UpdateQuickSightQSearchConfigurationResult.cpp @@ -0,0 +1,53 @@ +/** + * 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::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateQuickSightQSearchConfigurationResult::UpdateQuickSightQSearchConfigurationResult() : + m_qSearchStatus(QSearchStatus::NOT_SET), + m_status(0) +{ +} + +UpdateQuickSightQSearchConfigurationResult::UpdateQuickSightQSearchConfigurationResult(const Aws::AmazonWebServiceResult& result) + : UpdateQuickSightQSearchConfigurationResult() +{ + *this = result; +} + +UpdateQuickSightQSearchConfigurationResult& UpdateQuickSightQSearchConfigurationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("QSearchStatus")) + { + m_qSearchStatus = QSearchStatusMapper::GetQSearchStatusForName(jsonValue.GetString("QSearchStatus")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + m_status = static_cast(result.GetResponseCode()); + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/RedshiftServerlessClient.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/RedshiftServerlessClient.h index edfa51e9916..fdb8647c396 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/RedshiftServerlessClient.h +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/RedshiftServerlessClient.h @@ -27,7 +27,7 @@ namespace RedshiftServerless * for your business and customers.

    To learn more about Amazon Redshift * Serverless, see What - * is Amazon Redshift Serverless.

    + * is Amazon Redshift Serverless?.

    */ class AWS_REDSHIFTSERVERLESS_API RedshiftServerlessClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { @@ -302,8 +302,18 @@ namespace RedshiftServerless } /** - *

    Creates an workgroup in Amazon Redshift Serverless.

    See Also:

    - * Creates an workgroup in Amazon Redshift Serverless.

    VPC Block Public + * Access (BPA) enables you to block resources in VPCs and subnets that you own in + * a Region from reaching or being reached from the internet through internet + * gateways and egress-only internet gateways. If a workgroup is in an account with + * VPC BPA turned on, the following capabilities are blocked:

    • + *

      Creating a public access workgroup

    • Modifying a private + * workgroup to public

    • Adding a subnet with VPC BPA turned on to + * the workgroup when the workgroup is public

    For more + * information about VPC BPA, see Block + * public access to VPCs and subnets in the Amazon VPC User + * Guide.

    See Also:

    AWS * API Reference

    */ @@ -563,12 +573,11 @@ namespace RedshiftServerless * authorization to log in to Amazon Redshift Serverless.

    By default, the * temporary credentials expire in 900 seconds. You can optionally specify a * duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).

    - *
     <p>The Identity and Access Management (IAM) user or role that
    -         * runs GetCredentials must have an IAM policy attached that allows access to all
    -         * necessary actions and resources.</p> <p>If the
    -         * <code>DbName</code> parameter is specified, the IAM policy must
    -         * allow access to the resource dbname for the specified database name.</p>
    -         * 

    See Also:

    The Identity and Access Management (IAM) user or role that runs + * GetCredentials must have an IAM policy attached that allows access to all + * necessary actions and resources.

    If the DbName parameter is + * specified, the IAM policy must allow access to the resource dbname for the + * specified database name.

    See Also:

    AWS * API Reference

    */ @@ -898,6 +907,32 @@ namespace RedshiftServerless return SubmitAsync(&RedshiftServerlessClient::ListEndpointAccess, request, handler, context); } + /** + *

    Returns information about a list of specified managed workgroups in your + * account.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListManagedWorkgroupsOutcome ListManagedWorkgroups(const Model::ListManagedWorkgroupsRequest& request = {}) const; + + /** + * A Callable wrapper for ListManagedWorkgroups that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListManagedWorkgroupsOutcomeCallable ListManagedWorkgroupsCallable(const ListManagedWorkgroupsRequestT& request = {}) const + { + return SubmitCallable(&RedshiftServerlessClient::ListManagedWorkgroups, request); + } + + /** + * An Async wrapper for ListManagedWorkgroups that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListManagedWorkgroupsAsync(const ListManagedWorkgroupsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListManagedWorkgroupsRequestT& request = {}) const + { + return SubmitAsync(&RedshiftServerlessClient::ListManagedWorkgroups, request, handler, context); + } + /** *

    Returns information about a list of specified namespaces.

    See * Also:

    Updates a workgroup with the specified configuration settings. You can't * update multiple parameters in one request. For example, you can update * baseCapacity or port in a single request, but you - * can't update both in the same request.

    See Also:

    VPC Block Public Access (BPA) + * enables you to block resources in VPCs and subnets that you own in a Region from + * reaching or being reached from the internet through internet gateways and + * egress-only internet gateways. If a workgroup is in an account with VPC BPA + * turned on, the following capabilities are blocked:

    • Creating a + * public access workgroup

    • Modifying a private workgroup to + * public

    • Adding a subnet with VPC BPA turned on to the workgroup + * when the workgroup is public

    For more information about VPC + * BPA, see Block + * public access to VPCs and subnets in the Amazon VPC User + * Guide.

    See Also:

    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/RedshiftServerlessServiceClientModel.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/RedshiftServerlessServiceClientModel.h index c63bb16a65f..62bcf294228 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/RedshiftServerlessServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/RedshiftServerlessServiceClientModel.h @@ -49,6 +49,7 @@ #include #include #include +#include #include #include #include @@ -73,16 +74,17 @@ #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 RedshiftServerlessClient header */ @@ -156,6 +158,7 @@ namespace Aws class GetWorkgroupRequest; class ListCustomDomainAssociationsRequest; class ListEndpointAccessRequest; + class ListManagedWorkgroupsRequest; class ListNamespacesRequest; class ListRecoveryPointsRequest; class ListScheduledActionsRequest; @@ -214,6 +217,7 @@ namespace Aws typedef Aws::Utils::Outcome GetWorkgroupOutcome; typedef Aws::Utils::Outcome ListCustomDomainAssociationsOutcome; typedef Aws::Utils::Outcome ListEndpointAccessOutcome; + typedef Aws::Utils::Outcome ListManagedWorkgroupsOutcome; typedef Aws::Utils::Outcome ListNamespacesOutcome; typedef Aws::Utils::Outcome ListRecoveryPointsOutcome; typedef Aws::Utils::Outcome ListScheduledActionsOutcome; @@ -272,6 +276,7 @@ namespace Aws typedef std::future GetWorkgroupOutcomeCallable; typedef std::future ListCustomDomainAssociationsOutcomeCallable; typedef std::future ListEndpointAccessOutcomeCallable; + typedef std::future ListManagedWorkgroupsOutcomeCallable; typedef std::future ListNamespacesOutcomeCallable; typedef std::future ListRecoveryPointsOutcomeCallable; typedef std::future ListScheduledActionsOutcomeCallable; @@ -333,6 +338,7 @@ namespace Aws typedef std::function&) > GetWorkgroupResponseReceivedHandler; typedef std::function&) > ListCustomDomainAssociationsResponseReceivedHandler; typedef std::function&) > ListEndpointAccessResponseReceivedHandler; + typedef std::function&) > ListManagedWorkgroupsResponseReceivedHandler; typedef std::function&) > ListNamespacesResponseReceivedHandler; typedef std::function&) > ListRecoveryPointsResponseReceivedHandler; typedef std::function&) > ListScheduledActionsResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ListManagedWorkgroupsRequest.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ListManagedWorkgroupsRequest.h new file mode 100644 index 00000000000..2a72053ee5e --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ListManagedWorkgroupsRequest.h @@ -0,0 +1,92 @@ +/** + * 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 RedshiftServerless +{ +namespace Model +{ + + /** + */ + class ListManagedWorkgroupsRequest : public RedshiftServerlessRequest + { + public: + AWS_REDSHIFTSERVERLESS_API ListManagedWorkgroupsRequest(); + + // 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 "ListManagedWorkgroups"; } + + AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override; + + AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + ///@{ + /** + *

    An optional parameter that specifies the maximum number of results to return. + * You can use nextToken to display the next 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 ListManagedWorkgroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

    If your initial ListManagedWorkgroups operation returns a nextToken, you can + * include the returned nextToken in following ListManagedWorkgroups operations, + * which returns results in the next page.

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

    The Amazon Resource Name (ARN) for the managed workgroup in the AWS Glue Data + * Catalog.

    + */ + inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } + inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } + inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } + inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } + inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } + inline ListManagedWorkgroupsRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} + inline ListManagedWorkgroupsRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} + inline ListManagedWorkgroupsRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} + ///@} + private: + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_sourceArn; + bool m_sourceArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace RedshiftServerless +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ListManagedWorkgroupsResult.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ListManagedWorkgroupsResult.h new file mode 100644 index 00000000000..873a90549a1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ListManagedWorkgroupsResult.h @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace RedshiftServerless +{ +namespace Model +{ + class ListManagedWorkgroupsResult + { + public: + AWS_REDSHIFTSERVERLESS_API ListManagedWorkgroupsResult(); + AWS_REDSHIFTSERVERLESS_API ListManagedWorkgroupsResult(const Aws::AmazonWebServiceResult& result); + AWS_REDSHIFTSERVERLESS_API ListManagedWorkgroupsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The returned array of managed workgroups.

    + */ + inline const Aws::Vector& GetManagedWorkgroups() const{ return m_managedWorkgroups; } + inline void SetManagedWorkgroups(const Aws::Vector& value) { m_managedWorkgroups = value; } + inline void SetManagedWorkgroups(Aws::Vector&& value) { m_managedWorkgroups = std::move(value); } + inline ListManagedWorkgroupsResult& WithManagedWorkgroups(const Aws::Vector& value) { SetManagedWorkgroups(value); return *this;} + inline ListManagedWorkgroupsResult& WithManagedWorkgroups(Aws::Vector&& value) { SetManagedWorkgroups(std::move(value)); return *this;} + inline ListManagedWorkgroupsResult& AddManagedWorkgroups(const ManagedWorkgroupListItem& value) { m_managedWorkgroups.push_back(value); return *this; } + inline ListManagedWorkgroupsResult& AddManagedWorkgroups(ManagedWorkgroupListItem&& value) { m_managedWorkgroups.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. To retrieve the next page, + * make the call again using the returned token.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListManagedWorkgroupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListManagedWorkgroupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListManagedWorkgroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListManagedWorkgroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListManagedWorkgroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListManagedWorkgroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_managedWorkgroups; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace RedshiftServerless +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ManagedWorkgroupListItem.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ManagedWorkgroupListItem.h new file mode 100644 index 00000000000..a457ad67a38 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ManagedWorkgroupListItem.h @@ -0,0 +1,129 @@ +/** + * 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 RedshiftServerless +{ +namespace Model +{ + + /** + *

    A collection of Amazon Redshift compute resources managed by AWS + * Glue.

    See Also:

    AWS + * API Reference

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

    The creation date of the managed workgroup.

    + */ + inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } + inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } + inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } + inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } + inline ManagedWorkgroupListItem& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} + inline ManagedWorkgroupListItem& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier of the managed workgroup.

    + */ + inline const Aws::String& GetManagedWorkgroupId() const{ return m_managedWorkgroupId; } + inline bool ManagedWorkgroupIdHasBeenSet() const { return m_managedWorkgroupIdHasBeenSet; } + inline void SetManagedWorkgroupId(const Aws::String& value) { m_managedWorkgroupIdHasBeenSet = true; m_managedWorkgroupId = value; } + inline void SetManagedWorkgroupId(Aws::String&& value) { m_managedWorkgroupIdHasBeenSet = true; m_managedWorkgroupId = std::move(value); } + inline void SetManagedWorkgroupId(const char* value) { m_managedWorkgroupIdHasBeenSet = true; m_managedWorkgroupId.assign(value); } + inline ManagedWorkgroupListItem& WithManagedWorkgroupId(const Aws::String& value) { SetManagedWorkgroupId(value); return *this;} + inline ManagedWorkgroupListItem& WithManagedWorkgroupId(Aws::String&& value) { SetManagedWorkgroupId(std::move(value)); return *this;} + inline ManagedWorkgroupListItem& WithManagedWorkgroupId(const char* value) { SetManagedWorkgroupId(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the managed workgroup.

    + */ + inline const Aws::String& GetManagedWorkgroupName() const{ return m_managedWorkgroupName; } + inline bool ManagedWorkgroupNameHasBeenSet() const { return m_managedWorkgroupNameHasBeenSet; } + inline void SetManagedWorkgroupName(const Aws::String& value) { m_managedWorkgroupNameHasBeenSet = true; m_managedWorkgroupName = value; } + inline void SetManagedWorkgroupName(Aws::String&& value) { m_managedWorkgroupNameHasBeenSet = true; m_managedWorkgroupName = std::move(value); } + inline void SetManagedWorkgroupName(const char* value) { m_managedWorkgroupNameHasBeenSet = true; m_managedWorkgroupName.assign(value); } + inline ManagedWorkgroupListItem& WithManagedWorkgroupName(const Aws::String& value) { SetManagedWorkgroupName(value); return *this;} + inline ManagedWorkgroupListItem& WithManagedWorkgroupName(Aws::String&& value) { SetManagedWorkgroupName(std::move(value)); return *this;} + inline ManagedWorkgroupListItem& WithManagedWorkgroupName(const char* value) { SetManagedWorkgroupName(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the managed workgroup in the AWS Glue Data + * Catalog.

    + */ + inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } + inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } + inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } + inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } + inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } + inline ManagedWorkgroupListItem& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} + inline ManagedWorkgroupListItem& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} + inline ManagedWorkgroupListItem& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The status of the managed workgroup.

    + */ + inline const ManagedWorkgroupStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const ManagedWorkgroupStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(ManagedWorkgroupStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline ManagedWorkgroupListItem& WithStatus(const ManagedWorkgroupStatus& value) { SetStatus(value); return *this;} + inline ManagedWorkgroupListItem& WithStatus(ManagedWorkgroupStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_creationDate; + bool m_creationDateHasBeenSet = false; + + Aws::String m_managedWorkgroupId; + bool m_managedWorkgroupIdHasBeenSet = false; + + Aws::String m_managedWorkgroupName; + bool m_managedWorkgroupNameHasBeenSet = false; + + Aws::String m_sourceArn; + bool m_sourceArnHasBeenSet = false; + + ManagedWorkgroupStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace RedshiftServerless +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ManagedWorkgroupStatus.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ManagedWorkgroupStatus.h new file mode 100644 index 00000000000..6d2db6ec1f7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ManagedWorkgroupStatus.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace RedshiftServerless +{ +namespace Model +{ + enum class ManagedWorkgroupStatus + { + NOT_SET, + CREATING, + DELETING, + MODIFYING, + AVAILABLE, + NOT_AVAILABLE + }; + +namespace ManagedWorkgroupStatusMapper +{ +AWS_REDSHIFTSERVERLESS_API ManagedWorkgroupStatus GetManagedWorkgroupStatusForName(const Aws::String& name); + +AWS_REDSHIFTSERVERLESS_API Aws::String GetNameForManagedWorkgroupStatus(ManagedWorkgroupStatus value); +} // namespace ManagedWorkgroupStatusMapper +} // namespace Model +} // namespace RedshiftServerless +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/source/RedshiftServerlessClient.cpp b/generated/src/aws-cpp-sdk-redshift-serverless/source/RedshiftServerlessClient.cpp index 4f4ca59654b..e4c401aa113 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/source/RedshiftServerlessClient.cpp +++ b/generated/src/aws-cpp-sdk-redshift-serverless/source/RedshiftServerlessClient.cpp @@ -52,6 +52,7 @@ #include #include #include +#include #include #include #include @@ -1025,6 +1026,32 @@ ListEndpointAccessOutcome RedshiftServerlessClient::ListEndpointAccess(const Lis {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListManagedWorkgroupsOutcome RedshiftServerlessClient::ListManagedWorkgroups(const ListManagedWorkgroupsRequest& request) const +{ + AWS_OPERATION_GUARD(ListManagedWorkgroups); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListManagedWorkgroups, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListManagedWorkgroups, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListManagedWorkgroups, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListManagedWorkgroups", + {{ 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( + [&]()-> ListManagedWorkgroupsOutcome { + 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, ListManagedWorkgroups, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListManagedWorkgroupsOutcome(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()}}); +} + ListNamespacesOutcome RedshiftServerlessClient::ListNamespaces(const ListNamespacesRequest& request) const { AWS_OPERATION_GUARD(ListNamespaces); diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/source/model/ListManagedWorkgroupsRequest.cpp b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/ListManagedWorkgroupsRequest.cpp new file mode 100644 index 00000000000..c383c8c728e --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/ListManagedWorkgroupsRequest.cpp @@ -0,0 +1,58 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::RedshiftServerless::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListManagedWorkgroupsRequest::ListManagedWorkgroupsRequest() : + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_sourceArnHasBeenSet(false) +{ +} + +Aws::String ListManagedWorkgroupsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("maxResults", m_maxResults); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("nextToken", m_nextToken); + + } + + if(m_sourceArnHasBeenSet) + { + payload.WithString("sourceArn", m_sourceArn); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection ListManagedWorkgroupsRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "RedshiftServerless.ListManagedWorkgroups")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/source/model/ListManagedWorkgroupsResult.cpp b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/ListManagedWorkgroupsResult.cpp new file mode 100644 index 00000000000..6a781650d81 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/ListManagedWorkgroupsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::RedshiftServerless::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListManagedWorkgroupsResult::ListManagedWorkgroupsResult() +{ +} + +ListManagedWorkgroupsResult::ListManagedWorkgroupsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListManagedWorkgroupsResult& ListManagedWorkgroupsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("managedWorkgroups")) + { + Aws::Utils::Array managedWorkgroupsJsonList = jsonValue.GetArray("managedWorkgroups"); + for(unsigned managedWorkgroupsIndex = 0; managedWorkgroupsIndex < managedWorkgroupsJsonList.GetLength(); ++managedWorkgroupsIndex) + { + m_managedWorkgroups.push_back(managedWorkgroupsJsonList[managedWorkgroupsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/source/model/ManagedWorkgroupListItem.cpp b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/ManagedWorkgroupListItem.cpp new file mode 100644 index 00000000000..be4a61ae246 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/ManagedWorkgroupListItem.cpp @@ -0,0 +1,114 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace RedshiftServerless +{ +namespace Model +{ + +ManagedWorkgroupListItem::ManagedWorkgroupListItem() : + m_creationDateHasBeenSet(false), + m_managedWorkgroupIdHasBeenSet(false), + m_managedWorkgroupNameHasBeenSet(false), + m_sourceArnHasBeenSet(false), + m_status(ManagedWorkgroupStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +ManagedWorkgroupListItem::ManagedWorkgroupListItem(JsonView jsonValue) + : ManagedWorkgroupListItem() +{ + *this = jsonValue; +} + +ManagedWorkgroupListItem& ManagedWorkgroupListItem::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("creationDate")) + { + m_creationDate = jsonValue.GetString("creationDate"); + + m_creationDateHasBeenSet = true; + } + + if(jsonValue.ValueExists("managedWorkgroupId")) + { + m_managedWorkgroupId = jsonValue.GetString("managedWorkgroupId"); + + m_managedWorkgroupIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("managedWorkgroupName")) + { + m_managedWorkgroupName = jsonValue.GetString("managedWorkgroupName"); + + m_managedWorkgroupNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("sourceArn")) + { + m_sourceArn = jsonValue.GetString("sourceArn"); + + m_sourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = ManagedWorkgroupStatusMapper::GetManagedWorkgroupStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + return *this; +} + +JsonValue ManagedWorkgroupListItem::Jsonize() const +{ + JsonValue payload; + + if(m_creationDateHasBeenSet) + { + payload.WithString("creationDate", m_creationDate.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_managedWorkgroupIdHasBeenSet) + { + payload.WithString("managedWorkgroupId", m_managedWorkgroupId); + + } + + if(m_managedWorkgroupNameHasBeenSet) + { + payload.WithString("managedWorkgroupName", m_managedWorkgroupName); + + } + + if(m_sourceArnHasBeenSet) + { + payload.WithString("sourceArn", m_sourceArn); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", ManagedWorkgroupStatusMapper::GetNameForManagedWorkgroupStatus(m_status)); + } + + return payload; +} + +} // namespace Model +} // namespace RedshiftServerless +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/source/model/ManagedWorkgroupStatus.cpp b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/ManagedWorkgroupStatus.cpp new file mode 100644 index 00000000000..571aa045d17 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/ManagedWorkgroupStatus.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace RedshiftServerless + { + namespace Model + { + namespace ManagedWorkgroupStatusMapper + { + + static const int CREATING_HASH = HashingUtils::HashString("CREATING"); + static const int DELETING_HASH = HashingUtils::HashString("DELETING"); + static const int MODIFYING_HASH = HashingUtils::HashString("MODIFYING"); + static const int AVAILABLE_HASH = HashingUtils::HashString("AVAILABLE"); + static const int NOT_AVAILABLE_HASH = HashingUtils::HashString("NOT_AVAILABLE"); + + + ManagedWorkgroupStatus GetManagedWorkgroupStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CREATING_HASH) + { + return ManagedWorkgroupStatus::CREATING; + } + else if (hashCode == DELETING_HASH) + { + return ManagedWorkgroupStatus::DELETING; + } + else if (hashCode == MODIFYING_HASH) + { + return ManagedWorkgroupStatus::MODIFYING; + } + else if (hashCode == AVAILABLE_HASH) + { + return ManagedWorkgroupStatus::AVAILABLE; + } + else if (hashCode == NOT_AVAILABLE_HASH) + { + return ManagedWorkgroupStatus::NOT_AVAILABLE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ManagedWorkgroupStatus::NOT_SET; + } + + Aws::String GetNameForManagedWorkgroupStatus(ManagedWorkgroupStatus enumValue) + { + switch(enumValue) + { + case ManagedWorkgroupStatus::NOT_SET: + return {}; + case ManagedWorkgroupStatus::CREATING: + return "CREATING"; + case ManagedWorkgroupStatus::DELETING: + return "DELETING"; + case ManagedWorkgroupStatus::MODIFYING: + return "MODIFYING"; + case ManagedWorkgroupStatus::AVAILABLE: + return "AVAILABLE"; + case ManagedWorkgroupStatus::NOT_AVAILABLE: + return "NOT_AVAILABLE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ManagedWorkgroupStatusMapper + } // namespace Model + } // namespace RedshiftServerless +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/RedshiftClient.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/RedshiftClient.h index 907ff8ce5f3..a2097213d45 100644 --- a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/RedshiftClient.h +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/RedshiftClient.h @@ -458,6 +458,17 @@ namespace Redshift * clusters, go to Amazon * Redshift Clusters in the Amazon Redshift Cluster Management + * Guide.

    VPC Block Public Access (BPA) enables you to block resources + * in VPCs and subnets that you own in a Region from reaching or being reached from + * the internet through internet gateways and egress-only internet gateways. If a + * subnet group for a provisioned cluster is in an account with VPC BPA turned on, + * the following capabilities are blocked:

    • Creating a public + * cluster

    • Restoring a public cluster

    • Modifying + * a private cluster to be public

    • Adding a subnet with VPC BPA + * turned on to the subnet group when there's at least one public cluster within + * the group

    For more information about VPC BPA, see Block + * public access to VPCs and subnets in the Amazon VPC User * Guide.

    See Also:

    AWS * API Reference

    @@ -1528,6 +1539,32 @@ namespace Redshift return SubmitAsync(&RedshiftClient::DeleteUsageLimit, request, handler, context); } + /** + *

    Deregisters a cluster or serverless namespace from the Amazon Web Services + * Glue Data Catalog.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeregisterNamespaceOutcome DeregisterNamespace(const Model::DeregisterNamespaceRequest& request) const; + + /** + * A Callable wrapper for DeregisterNamespace that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeregisterNamespaceOutcomeCallable DeregisterNamespaceCallable(const DeregisterNamespaceRequestT& request) const + { + return SubmitCallable(&RedshiftClient::DeregisterNamespace, request); + } + + /** + * An Async wrapper for DeregisterNamespace that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeregisterNamespaceAsync(const DeregisterNamespaceRequestT& request, const DeregisterNamespaceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&RedshiftClient::DeregisterNamespace, request, handler, context); + } + /** *

    Returns a list of attributes attached to an account

    See Also:

    * Amazon * Redshift Clusters in the Amazon Redshift Cluster Management + * Guide.

    VPC Block Public Access (BPA) enables you to block resources + * in VPCs and subnets that you own in a Region from reaching or being reached from + * the internet through internet gateways and egress-only internet gateways. If a + * subnet group for a provisioned cluster is in an account with VPC BPA turned on, + * the following capabilities are blocked:

    • Creating a public + * cluster

    • Restoring a public cluster

    • Modifying + * a private cluster to be public

    • Adding a subnet with VPC BPA + * turned on to the subnet group when there's at least one public cluster within + * the group

    For more information about VPC BPA, see Block + * public access to VPCs and subnets in the Amazon VPC User * Guide.

    See Also:

    AWS * API Reference

    @@ -3364,7 +3412,18 @@ namespace Redshift /** *

    Modifies a cluster subnet group to include the specified list of VPC subnets. * The operation replaces the existing list of subnets with the new list of - * subnets.

    See Also:

    VPC Block Public Access (BPA) enables you to block resources in + * VPCs and subnets that you own in a Region from reaching or being reached from + * the internet through internet gateways and egress-only internet gateways. If a + * subnet group for a provisioned cluster is in an account with VPC BPA turned on, + * the following capabilities are blocked:

    • Creating a public + * cluster

    • Restoring a public cluster

    • Modifying + * a private cluster to be public

    • Adding a subnet with VPC BPA + * turned on to the subnet group when there's at least one public cluster within + * the group

    For more information about VPC BPA, see Block + * public access to VPCs and subnets in the Amazon VPC User + * Guide.

    See Also:

    AWS * API Reference

    */ @@ -3742,6 +3801,32 @@ namespace Redshift return SubmitAsync(&RedshiftClient::RebootCluster, request, handler, context); } + /** + *

    Registers a cluster or serverless namespace to the Amazon Web Services Glue + * Data Catalog.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::RegisterNamespaceOutcome RegisterNamespace(const Model::RegisterNamespaceRequest& request) const; + + /** + * A Callable wrapper for RegisterNamespace that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::RegisterNamespaceOutcomeCallable RegisterNamespaceCallable(const RegisterNamespaceRequestT& request) const + { + return SubmitCallable(&RedshiftClient::RegisterNamespace, request); + } + + /** + * An Async wrapper for RegisterNamespace that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void RegisterNamespaceAsync(const RegisterNamespaceRequestT& request, const RegisterNamespaceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&RedshiftClient::RegisterNamespace, request, handler, context); + } + /** *

    From a datashare consumer account, rejects the specified * datashare.

    See Also:

    If you restore a cluster into a VPC, you - * must provide a cluster subnet group where you want the cluster restored.

    - * For more information about working with snapshots, go to + *

    VPC Block Public Access (BPA) enables you to block resources in VPCs and + * subnets that you own in a Region from reaching or being reached from the + * internet through internet gateways and egress-only internet gateways. If a + * subnet group for a provisioned cluster is in an account with VPC BPA turned on, + * the following capabilities are blocked:

    • Creating a public + * cluster

    • Restoring a public cluster

    • Modifying + * a private cluster to be public

    • Adding a subnet with VPC BPA + * turned on to the subnet group when there's at least one public cluster within + * the group

    For more information about VPC BPA, see Block + * public access to VPCs and subnets in the Amazon VPC User Guide.

    + *

    For more information about working with snapshots, go to Amazon * Redshift Snapshots in the Amazon Redshift Cluster Management * Guide.

    See Also:

    #include #include +#include #include #include #include @@ -128,6 +129,7 @@ #include #include #include +#include #include #include #include @@ -269,6 +271,7 @@ namespace Aws class DeleteSnapshotScheduleRequest; class DeleteTagsRequest; class DeleteUsageLimitRequest; + class DeregisterNamespaceRequest; class DescribeAccountAttributesRequest; class DescribeAuthenticationProfilesRequest; class DescribeClusterDbRevisionsRequest; @@ -345,6 +348,7 @@ namespace Aws class PurchaseReservedNodeOfferingRequest; class PutResourcePolicyRequest; class RebootClusterRequest; + class RegisterNamespaceRequest; class RejectDataShareRequest; class ResetClusterParameterGroupRequest; class ResizeClusterRequest; @@ -409,6 +413,7 @@ namespace Aws typedef Aws::Utils::Outcome DeleteSnapshotScheduleOutcome; typedef Aws::Utils::Outcome DeleteTagsOutcome; typedef Aws::Utils::Outcome DeleteUsageLimitOutcome; + typedef Aws::Utils::Outcome DeregisterNamespaceOutcome; typedef Aws::Utils::Outcome DescribeAccountAttributesOutcome; typedef Aws::Utils::Outcome DescribeAuthenticationProfilesOutcome; typedef Aws::Utils::Outcome DescribeClusterDbRevisionsOutcome; @@ -485,6 +490,7 @@ namespace Aws typedef Aws::Utils::Outcome PurchaseReservedNodeOfferingOutcome; typedef Aws::Utils::Outcome PutResourcePolicyOutcome; typedef Aws::Utils::Outcome RebootClusterOutcome; + typedef Aws::Utils::Outcome RegisterNamespaceOutcome; typedef Aws::Utils::Outcome RejectDataShareOutcome; typedef Aws::Utils::Outcome ResetClusterParameterGroupOutcome; typedef Aws::Utils::Outcome ResizeClusterOutcome; @@ -549,6 +555,7 @@ namespace Aws typedef std::future DeleteSnapshotScheduleOutcomeCallable; typedef std::future DeleteTagsOutcomeCallable; typedef std::future DeleteUsageLimitOutcomeCallable; + typedef std::future DeregisterNamespaceOutcomeCallable; typedef std::future DescribeAccountAttributesOutcomeCallable; typedef std::future DescribeAuthenticationProfilesOutcomeCallable; typedef std::future DescribeClusterDbRevisionsOutcomeCallable; @@ -625,6 +632,7 @@ namespace Aws typedef std::future PurchaseReservedNodeOfferingOutcomeCallable; typedef std::future PutResourcePolicyOutcomeCallable; typedef std::future RebootClusterOutcomeCallable; + typedef std::future RegisterNamespaceOutcomeCallable; typedef std::future RejectDataShareOutcomeCallable; typedef std::future ResetClusterParameterGroupOutcomeCallable; typedef std::future ResizeClusterOutcomeCallable; @@ -692,6 +700,7 @@ namespace Aws typedef std::function&) > DeleteSnapshotScheduleResponseReceivedHandler; typedef std::function&) > DeleteTagsResponseReceivedHandler; typedef std::function&) > DeleteUsageLimitResponseReceivedHandler; + typedef std::function&) > DeregisterNamespaceResponseReceivedHandler; typedef std::function&) > DescribeAccountAttributesResponseReceivedHandler; typedef std::function&) > DescribeAuthenticationProfilesResponseReceivedHandler; typedef std::function&) > DescribeClusterDbRevisionsResponseReceivedHandler; @@ -768,6 +777,7 @@ namespace Aws typedef std::function&) > PurchaseReservedNodeOfferingResponseReceivedHandler; typedef std::function&) > PutResourcePolicyResponseReceivedHandler; typedef std::function&) > RebootClusterResponseReceivedHandler; + typedef std::function&) > RegisterNamespaceResponseReceivedHandler; typedef std::function&) > RejectDataShareResponseReceivedHandler; typedef std::function&) > ResetClusterParameterGroupResponseReceivedHandler; typedef std::function&) > ResizeClusterResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/AssociateDataShareConsumerResult.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/AssociateDataShareConsumerResult.h index 91d53ba276e..7652805445b 100644 --- a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/AssociateDataShareConsumerResult.h +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/AssociateDataShareConsumerResult.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -99,6 +100,17 @@ namespace Model inline AssociateDataShareConsumerResult& WithManagedBy(const char* value) { SetManagedBy(value); return *this;} ///@} + ///@{ + /** + *

    The type of the datashare created by RegisterNamespace.

    + */ + inline const DataShareType& GetDataShareType() const{ return m_dataShareType; } + inline void SetDataShareType(const DataShareType& value) { m_dataShareType = value; } + inline void SetDataShareType(DataShareType&& value) { m_dataShareType = std::move(value); } + inline AssociateDataShareConsumerResult& WithDataShareType(const DataShareType& value) { SetDataShareType(value); return *this;} + inline AssociateDataShareConsumerResult& WithDataShareType(DataShareType&& value) { SetDataShareType(std::move(value)); return *this;} + ///@} + ///@{ inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } @@ -119,6 +131,8 @@ namespace Model Aws::String m_managedBy; + DataShareType m_dataShareType; + ResponseMetadata m_responseMetadata; }; diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/AuthorizeDataShareResult.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/AuthorizeDataShareResult.h index c97eaf71588..08b2870a51a 100644 --- a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/AuthorizeDataShareResult.h +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/AuthorizeDataShareResult.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -99,6 +100,17 @@ namespace Model inline AuthorizeDataShareResult& WithManagedBy(const char* value) { SetManagedBy(value); return *this;} ///@} + ///@{ + /** + *

    The type of the datashare created by RegisterNamespace.

    + */ + inline const DataShareType& GetDataShareType() const{ return m_dataShareType; } + inline void SetDataShareType(const DataShareType& value) { m_dataShareType = value; } + inline void SetDataShareType(DataShareType&& value) { m_dataShareType = std::move(value); } + inline AuthorizeDataShareResult& WithDataShareType(const DataShareType& value) { SetDataShareType(value); return *this;} + inline AuthorizeDataShareResult& WithDataShareType(DataShareType&& value) { SetDataShareType(std::move(value)); return *this;} + ///@} + ///@{ inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } @@ -119,6 +131,8 @@ namespace Model Aws::String m_managedBy; + DataShareType m_dataShareType; + ResponseMetadata m_responseMetadata; }; diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DataShare.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DataShare.h index f465fd50ad2..cac3af9d235 100644 --- a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DataShare.h +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DataShare.h @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -106,6 +107,18 @@ namespace Model inline DataShare& WithManagedBy(const char* value) { SetManagedBy(value); return *this;} ///@} + ///@{ + /** + *

    The type of the datashare created by RegisterNamespace.

    + */ + inline const DataShareType& GetDataShareType() const{ return m_dataShareType; } + inline bool DataShareTypeHasBeenSet() const { return m_dataShareTypeHasBeenSet; } + inline void SetDataShareType(const DataShareType& value) { m_dataShareTypeHasBeenSet = true; m_dataShareType = value; } + inline void SetDataShareType(DataShareType&& value) { m_dataShareTypeHasBeenSet = true; m_dataShareType = std::move(value); } + inline DataShare& WithDataShareType(const DataShareType& value) { SetDataShareType(value); return *this;} + inline DataShare& WithDataShareType(DataShareType&& value) { SetDataShareType(std::move(value)); return *this;} + ///@} + ///@{ inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } @@ -131,6 +144,9 @@ namespace Model Aws::String m_managedBy; bool m_managedByHasBeenSet = false; + DataShareType m_dataShareType; + bool m_dataShareTypeHasBeenSet = false; + ResponseMetadata m_responseMetadata; }; diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DataShareType.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DataShareType.h new file mode 100644 index 00000000000..d2553df37ab --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DataShareType.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Redshift +{ +namespace Model +{ + enum class DataShareType + { + NOT_SET, + INTERNAL + }; + +namespace DataShareTypeMapper +{ +AWS_REDSHIFT_API DataShareType GetDataShareTypeForName(const Aws::String& name); + +AWS_REDSHIFT_API Aws::String GetNameForDataShareType(DataShareType value); +} // namespace DataShareTypeMapper +} // namespace Model +} // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DeauthorizeDataShareResult.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DeauthorizeDataShareResult.h index 2d5d3afbac4..c9b84f4d411 100644 --- a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DeauthorizeDataShareResult.h +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DeauthorizeDataShareResult.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -99,6 +100,17 @@ namespace Model inline DeauthorizeDataShareResult& WithManagedBy(const char* value) { SetManagedBy(value); return *this;} ///@} + ///@{ + /** + *

    The type of the datashare created by RegisterNamespace.

    + */ + inline const DataShareType& GetDataShareType() const{ return m_dataShareType; } + inline void SetDataShareType(const DataShareType& value) { m_dataShareType = value; } + inline void SetDataShareType(DataShareType&& value) { m_dataShareType = std::move(value); } + inline DeauthorizeDataShareResult& WithDataShareType(const DataShareType& value) { SetDataShareType(value); return *this;} + inline DeauthorizeDataShareResult& WithDataShareType(DataShareType&& value) { SetDataShareType(std::move(value)); return *this;} + ///@} + ///@{ inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } @@ -119,6 +131,8 @@ namespace Model Aws::String m_managedBy; + DataShareType m_dataShareType; + ResponseMetadata m_responseMetadata; }; diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DeregisterNamespaceRequest.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DeregisterNamespaceRequest.h new file mode 100644 index 00000000000..ab47e7a99d0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DeregisterNamespaceRequest.h @@ -0,0 +1,80 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Redshift +{ +namespace Model +{ + + /** + */ + class DeregisterNamespaceRequest : public RedshiftRequest + { + public: + AWS_REDSHIFT_API DeregisterNamespaceRequest(); + + // 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 "DeregisterNamespace"; } + + AWS_REDSHIFT_API Aws::String SerializePayload() const override; + + protected: + AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; + + public: + + ///@{ + /** + *

    The unique identifier of the cluster or serverless namespace that you want to + * deregister.

    + */ + inline const NamespaceIdentifierUnion& GetNamespaceIdentifier() const{ return m_namespaceIdentifier; } + inline bool NamespaceIdentifierHasBeenSet() const { return m_namespaceIdentifierHasBeenSet; } + inline void SetNamespaceIdentifier(const NamespaceIdentifierUnion& value) { m_namespaceIdentifierHasBeenSet = true; m_namespaceIdentifier = value; } + inline void SetNamespaceIdentifier(NamespaceIdentifierUnion&& value) { m_namespaceIdentifierHasBeenSet = true; m_namespaceIdentifier = std::move(value); } + inline DeregisterNamespaceRequest& WithNamespaceIdentifier(const NamespaceIdentifierUnion& value) { SetNamespaceIdentifier(value); return *this;} + inline DeregisterNamespaceRequest& WithNamespaceIdentifier(NamespaceIdentifierUnion&& value) { SetNamespaceIdentifier(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    An array containing the ID of the consumer account that you want to + * deregister the cluster or serverless namespace from.

    + */ + inline const Aws::Vector& GetConsumerIdentifiers() const{ return m_consumerIdentifiers; } + inline bool ConsumerIdentifiersHasBeenSet() const { return m_consumerIdentifiersHasBeenSet; } + inline void SetConsumerIdentifiers(const Aws::Vector& value) { m_consumerIdentifiersHasBeenSet = true; m_consumerIdentifiers = value; } + inline void SetConsumerIdentifiers(Aws::Vector&& value) { m_consumerIdentifiersHasBeenSet = true; m_consumerIdentifiers = std::move(value); } + inline DeregisterNamespaceRequest& WithConsumerIdentifiers(const Aws::Vector& value) { SetConsumerIdentifiers(value); return *this;} + inline DeregisterNamespaceRequest& WithConsumerIdentifiers(Aws::Vector&& value) { SetConsumerIdentifiers(std::move(value)); return *this;} + inline DeregisterNamespaceRequest& AddConsumerIdentifiers(const Aws::String& value) { m_consumerIdentifiersHasBeenSet = true; m_consumerIdentifiers.push_back(value); return *this; } + inline DeregisterNamespaceRequest& AddConsumerIdentifiers(Aws::String&& value) { m_consumerIdentifiersHasBeenSet = true; m_consumerIdentifiers.push_back(std::move(value)); return *this; } + inline DeregisterNamespaceRequest& AddConsumerIdentifiers(const char* value) { m_consumerIdentifiersHasBeenSet = true; m_consumerIdentifiers.push_back(value); return *this; } + ///@} + private: + + NamespaceIdentifierUnion m_namespaceIdentifier; + bool m_namespaceIdentifierHasBeenSet = false; + + Aws::Vector m_consumerIdentifiers; + bool m_consumerIdentifiersHasBeenSet = false; + }; + +} // namespace Model +} // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DeregisterNamespaceResult.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DeregisterNamespaceResult.h new file mode 100644 index 00000000000..8cbc090a0a5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DeregisterNamespaceResult.h @@ -0,0 +1,64 @@ +/** + * 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 Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace Redshift +{ +namespace Model +{ + class DeregisterNamespaceResult + { + public: + AWS_REDSHIFT_API DeregisterNamespaceResult(); + AWS_REDSHIFT_API DeregisterNamespaceResult(const Aws::AmazonWebServiceResult& result); + AWS_REDSHIFT_API DeregisterNamespaceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The registration status of the cluster or serverless namespace.

    + */ + inline const NamespaceRegistrationStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const NamespaceRegistrationStatus& value) { m_status = value; } + inline void SetStatus(NamespaceRegistrationStatus&& value) { m_status = std::move(value); } + inline DeregisterNamespaceResult& WithStatus(const NamespaceRegistrationStatus& value) { SetStatus(value); return *this;} + inline DeregisterNamespaceResult& WithStatus(NamespaceRegistrationStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } + inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } + inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } + inline DeregisterNamespaceResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} + inline DeregisterNamespaceResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} + ///@} + private: + + NamespaceRegistrationStatus m_status; + + ResponseMetadata m_responseMetadata; + }; + +} // namespace Model +} // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DisassociateDataShareConsumerResult.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DisassociateDataShareConsumerResult.h index 101ef8a1a23..3b5ab98e5ce 100644 --- a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DisassociateDataShareConsumerResult.h +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/DisassociateDataShareConsumerResult.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -99,6 +100,17 @@ namespace Model inline DisassociateDataShareConsumerResult& WithManagedBy(const char* value) { SetManagedBy(value); return *this;} ///@} + ///@{ + /** + *

    The type of the datashare created by RegisterNamespace.

    + */ + inline const DataShareType& GetDataShareType() const{ return m_dataShareType; } + inline void SetDataShareType(const DataShareType& value) { m_dataShareType = value; } + inline void SetDataShareType(DataShareType&& value) { m_dataShareType = std::move(value); } + inline DisassociateDataShareConsumerResult& WithDataShareType(const DataShareType& value) { SetDataShareType(value); return *this;} + inline DisassociateDataShareConsumerResult& WithDataShareType(DataShareType&& value) { SetDataShareType(std::move(value)); return *this;} + ///@} + ///@{ inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } @@ -119,6 +131,8 @@ namespace Model Aws::String m_managedBy; + DataShareType m_dataShareType; + ResponseMetadata m_responseMetadata; }; diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/NamespaceIdentifierUnion.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/NamespaceIdentifierUnion.h new file mode 100644 index 00000000000..79a2d8206a2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/NamespaceIdentifierUnion.h @@ -0,0 +1,78 @@ +/** + * 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 Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace Redshift +{ +namespace Model +{ + + /** + *

    Object to store union of values for a provisioned cluster or serverless + * namespace’s identifier.

    See Also:

    AWS + * API Reference

    + */ + class NamespaceIdentifierUnion + { + public: + AWS_REDSHIFT_API NamespaceIdentifierUnion(); + AWS_REDSHIFT_API NamespaceIdentifierUnion(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_REDSHIFT_API NamespaceIdentifierUnion& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; + AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const; + + + ///@{ + /** + *

    The identifier for a serverless namespace.

    + */ + inline const ServerlessIdentifier& GetServerlessIdentifier() const{ return m_serverlessIdentifier; } + inline bool ServerlessIdentifierHasBeenSet() const { return m_serverlessIdentifierHasBeenSet; } + inline void SetServerlessIdentifier(const ServerlessIdentifier& value) { m_serverlessIdentifierHasBeenSet = true; m_serverlessIdentifier = value; } + inline void SetServerlessIdentifier(ServerlessIdentifier&& value) { m_serverlessIdentifierHasBeenSet = true; m_serverlessIdentifier = std::move(value); } + inline NamespaceIdentifierUnion& WithServerlessIdentifier(const ServerlessIdentifier& value) { SetServerlessIdentifier(value); return *this;} + inline NamespaceIdentifierUnion& WithServerlessIdentifier(ServerlessIdentifier&& value) { SetServerlessIdentifier(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The identifier for a provisioned cluster.

    + */ + inline const ProvisionedIdentifier& GetProvisionedIdentifier() const{ return m_provisionedIdentifier; } + inline bool ProvisionedIdentifierHasBeenSet() const { return m_provisionedIdentifierHasBeenSet; } + inline void SetProvisionedIdentifier(const ProvisionedIdentifier& value) { m_provisionedIdentifierHasBeenSet = true; m_provisionedIdentifier = value; } + inline void SetProvisionedIdentifier(ProvisionedIdentifier&& value) { m_provisionedIdentifierHasBeenSet = true; m_provisionedIdentifier = std::move(value); } + inline NamespaceIdentifierUnion& WithProvisionedIdentifier(const ProvisionedIdentifier& value) { SetProvisionedIdentifier(value); return *this;} + inline NamespaceIdentifierUnion& WithProvisionedIdentifier(ProvisionedIdentifier&& value) { SetProvisionedIdentifier(std::move(value)); return *this;} + ///@} + private: + + ServerlessIdentifier m_serverlessIdentifier; + bool m_serverlessIdentifierHasBeenSet = false; + + ProvisionedIdentifier m_provisionedIdentifier; + bool m_provisionedIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/NamespaceRegistrationStatus.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/NamespaceRegistrationStatus.h new file mode 100644 index 00000000000..1ab3fe673c3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/NamespaceRegistrationStatus.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Redshift +{ +namespace Model +{ + enum class NamespaceRegistrationStatus + { + NOT_SET, + Registering, + Deregistering + }; + +namespace NamespaceRegistrationStatusMapper +{ +AWS_REDSHIFT_API NamespaceRegistrationStatus GetNamespaceRegistrationStatusForName(const Aws::String& name); + +AWS_REDSHIFT_API Aws::String GetNameForNamespaceRegistrationStatus(NamespaceRegistrationStatus value); +} // namespace NamespaceRegistrationStatusMapper +} // namespace Model +} // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/ProvisionedIdentifier.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/ProvisionedIdentifier.h new file mode 100644 index 00000000000..6da8f4f61c3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/ProvisionedIdentifier.h @@ -0,0 +1,63 @@ +/** + * 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 Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace Redshift +{ +namespace Model +{ + + /** + *

    The identifier for a provisioned cluster.

    See Also:

    AWS + * API Reference

    + */ + class ProvisionedIdentifier + { + public: + AWS_REDSHIFT_API ProvisionedIdentifier(); + AWS_REDSHIFT_API ProvisionedIdentifier(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_REDSHIFT_API ProvisionedIdentifier& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; + AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const; + + + ///@{ + /** + *

    The unique identifier for the provisioned cluster.

    + */ + inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; } + inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; } + inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; } + inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); } + inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); } + inline ProvisionedIdentifier& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;} + inline ProvisionedIdentifier& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;} + inline ProvisionedIdentifier& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_clusterIdentifier; + bool m_clusterIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/RegisterNamespaceRequest.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/RegisterNamespaceRequest.h new file mode 100644 index 00000000000..b5aa1b7b7bd --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/RegisterNamespaceRequest.h @@ -0,0 +1,80 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Redshift +{ +namespace Model +{ + + /** + */ + class RegisterNamespaceRequest : public RedshiftRequest + { + public: + AWS_REDSHIFT_API RegisterNamespaceRequest(); + + // 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 "RegisterNamespace"; } + + AWS_REDSHIFT_API Aws::String SerializePayload() const override; + + protected: + AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; + + public: + + ///@{ + /** + *

    The unique identifier of the cluster or serverless namespace that you want to + * register.

    + */ + inline const NamespaceIdentifierUnion& GetNamespaceIdentifier() const{ return m_namespaceIdentifier; } + inline bool NamespaceIdentifierHasBeenSet() const { return m_namespaceIdentifierHasBeenSet; } + inline void SetNamespaceIdentifier(const NamespaceIdentifierUnion& value) { m_namespaceIdentifierHasBeenSet = true; m_namespaceIdentifier = value; } + inline void SetNamespaceIdentifier(NamespaceIdentifierUnion&& value) { m_namespaceIdentifierHasBeenSet = true; m_namespaceIdentifier = std::move(value); } + inline RegisterNamespaceRequest& WithNamespaceIdentifier(const NamespaceIdentifierUnion& value) { SetNamespaceIdentifier(value); return *this;} + inline RegisterNamespaceRequest& WithNamespaceIdentifier(NamespaceIdentifierUnion&& value) { SetNamespaceIdentifier(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    An array containing the ID of the consumer account that you want to register + * the namespace to.

    + */ + inline const Aws::Vector& GetConsumerIdentifiers() const{ return m_consumerIdentifiers; } + inline bool ConsumerIdentifiersHasBeenSet() const { return m_consumerIdentifiersHasBeenSet; } + inline void SetConsumerIdentifiers(const Aws::Vector& value) { m_consumerIdentifiersHasBeenSet = true; m_consumerIdentifiers = value; } + inline void SetConsumerIdentifiers(Aws::Vector&& value) { m_consumerIdentifiersHasBeenSet = true; m_consumerIdentifiers = std::move(value); } + inline RegisterNamespaceRequest& WithConsumerIdentifiers(const Aws::Vector& value) { SetConsumerIdentifiers(value); return *this;} + inline RegisterNamespaceRequest& WithConsumerIdentifiers(Aws::Vector&& value) { SetConsumerIdentifiers(std::move(value)); return *this;} + inline RegisterNamespaceRequest& AddConsumerIdentifiers(const Aws::String& value) { m_consumerIdentifiersHasBeenSet = true; m_consumerIdentifiers.push_back(value); return *this; } + inline RegisterNamespaceRequest& AddConsumerIdentifiers(Aws::String&& value) { m_consumerIdentifiersHasBeenSet = true; m_consumerIdentifiers.push_back(std::move(value)); return *this; } + inline RegisterNamespaceRequest& AddConsumerIdentifiers(const char* value) { m_consumerIdentifiersHasBeenSet = true; m_consumerIdentifiers.push_back(value); return *this; } + ///@} + private: + + NamespaceIdentifierUnion m_namespaceIdentifier; + bool m_namespaceIdentifierHasBeenSet = false; + + Aws::Vector m_consumerIdentifiers; + bool m_consumerIdentifiersHasBeenSet = false; + }; + +} // namespace Model +} // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/RegisterNamespaceResult.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/RegisterNamespaceResult.h new file mode 100644 index 00000000000..a4f8adf0e12 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/RegisterNamespaceResult.h @@ -0,0 +1,64 @@ +/** + * 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 Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace Redshift +{ +namespace Model +{ + class RegisterNamespaceResult + { + public: + AWS_REDSHIFT_API RegisterNamespaceResult(); + AWS_REDSHIFT_API RegisterNamespaceResult(const Aws::AmazonWebServiceResult& result); + AWS_REDSHIFT_API RegisterNamespaceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The registration status of the cluster or serverless namespace.

    + */ + inline const NamespaceRegistrationStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const NamespaceRegistrationStatus& value) { m_status = value; } + inline void SetStatus(NamespaceRegistrationStatus&& value) { m_status = std::move(value); } + inline RegisterNamespaceResult& WithStatus(const NamespaceRegistrationStatus& value) { SetStatus(value); return *this;} + inline RegisterNamespaceResult& WithStatus(NamespaceRegistrationStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } + inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } + inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } + inline RegisterNamespaceResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} + inline RegisterNamespaceResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} + ///@} + private: + + NamespaceRegistrationStatus m_status; + + ResponseMetadata m_responseMetadata; + }; + +} // namespace Model +} // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/RejectDataShareResult.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/RejectDataShareResult.h index e086e970b7a..603e37873e5 100644 --- a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/RejectDataShareResult.h +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/RejectDataShareResult.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -99,6 +100,17 @@ namespace Model inline RejectDataShareResult& WithManagedBy(const char* value) { SetManagedBy(value); return *this;} ///@} + ///@{ + /** + *

    The type of the datashare created by RegisterNamespace.

    + */ + inline const DataShareType& GetDataShareType() const{ return m_dataShareType; } + inline void SetDataShareType(const DataShareType& value) { m_dataShareType = value; } + inline void SetDataShareType(DataShareType&& value) { m_dataShareType = std::move(value); } + inline RejectDataShareResult& WithDataShareType(const DataShareType& value) { SetDataShareType(value); return *this;} + inline RejectDataShareResult& WithDataShareType(DataShareType&& value) { SetDataShareType(std::move(value)); return *this;} + ///@} + ///@{ inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } @@ -119,6 +131,8 @@ namespace Model Aws::String m_managedBy; + DataShareType m_dataShareType; + ResponseMetadata m_responseMetadata; }; diff --git a/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/ServerlessIdentifier.h b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/ServerlessIdentifier.h new file mode 100644 index 00000000000..92239b2353d --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/include/aws/redshift/model/ServerlessIdentifier.h @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace Redshift +{ +namespace Model +{ + + /** + *

    The identifier for a serverless namespace.

    See Also:

    AWS + * API Reference

    + */ + class ServerlessIdentifier + { + public: + AWS_REDSHIFT_API ServerlessIdentifier(); + AWS_REDSHIFT_API ServerlessIdentifier(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_REDSHIFT_API ServerlessIdentifier& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; + AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const; + + + ///@{ + /** + *

    The unique identifier for the serverless namespace.

    + */ + inline const Aws::String& GetNamespaceIdentifier() const{ return m_namespaceIdentifier; } + inline bool NamespaceIdentifierHasBeenSet() const { return m_namespaceIdentifierHasBeenSet; } + inline void SetNamespaceIdentifier(const Aws::String& value) { m_namespaceIdentifierHasBeenSet = true; m_namespaceIdentifier = value; } + inline void SetNamespaceIdentifier(Aws::String&& value) { m_namespaceIdentifierHasBeenSet = true; m_namespaceIdentifier = std::move(value); } + inline void SetNamespaceIdentifier(const char* value) { m_namespaceIdentifierHasBeenSet = true; m_namespaceIdentifier.assign(value); } + inline ServerlessIdentifier& WithNamespaceIdentifier(const Aws::String& value) { SetNamespaceIdentifier(value); return *this;} + inline ServerlessIdentifier& WithNamespaceIdentifier(Aws::String&& value) { SetNamespaceIdentifier(std::move(value)); return *this;} + inline ServerlessIdentifier& WithNamespaceIdentifier(const char* value) { SetNamespaceIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

    The unique identifier for the workgroup associated with the serverless + * namespace.

    + */ + inline const Aws::String& GetWorkgroupIdentifier() const{ return m_workgroupIdentifier; } + inline bool WorkgroupIdentifierHasBeenSet() const { return m_workgroupIdentifierHasBeenSet; } + inline void SetWorkgroupIdentifier(const Aws::String& value) { m_workgroupIdentifierHasBeenSet = true; m_workgroupIdentifier = value; } + inline void SetWorkgroupIdentifier(Aws::String&& value) { m_workgroupIdentifierHasBeenSet = true; m_workgroupIdentifier = std::move(value); } + inline void SetWorkgroupIdentifier(const char* value) { m_workgroupIdentifierHasBeenSet = true; m_workgroupIdentifier.assign(value); } + inline ServerlessIdentifier& WithWorkgroupIdentifier(const Aws::String& value) { SetWorkgroupIdentifier(value); return *this;} + inline ServerlessIdentifier& WithWorkgroupIdentifier(Aws::String&& value) { SetWorkgroupIdentifier(std::move(value)); return *this;} + inline ServerlessIdentifier& WithWorkgroupIdentifier(const char* value) { SetWorkgroupIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_namespaceIdentifier; + bool m_namespaceIdentifierHasBeenSet = false; + + Aws::String m_workgroupIdentifier; + bool m_workgroupIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/source/RedshiftClient.cpp b/generated/src/aws-cpp-sdk-redshift/source/RedshiftClient.cpp index f9f9aead15e..ac885e09f0c 100644 --- a/generated/src/aws-cpp-sdk-redshift/source/RedshiftClient.cpp +++ b/generated/src/aws-cpp-sdk-redshift/source/RedshiftClient.cpp @@ -71,6 +71,7 @@ #include #include #include +#include #include #include #include @@ -147,6 +148,7 @@ #include #include #include +#include #include #include #include @@ -1624,6 +1626,32 @@ DeleteUsageLimitOutcome RedshiftClient::DeleteUsageLimit(const DeleteUsageLimitR {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeregisterNamespaceOutcome RedshiftClient::DeregisterNamespace(const DeregisterNamespaceRequest& request) const +{ + AWS_OPERATION_GUARD(DeregisterNamespace); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeregisterNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeregisterNamespace, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeregisterNamespace, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> DeregisterNamespaceOutcome { + 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, DeregisterNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DeregisterNamespaceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DescribeAccountAttributesOutcome RedshiftClient::DescribeAccountAttributes(const DescribeAccountAttributesRequest& request) const { AWS_OPERATION_GUARD(DescribeAccountAttributes); @@ -3600,6 +3628,32 @@ RebootClusterOutcome RedshiftClient::RebootCluster(const RebootClusterRequest& r {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +RegisterNamespaceOutcome RedshiftClient::RegisterNamespace(const RegisterNamespaceRequest& request) const +{ + AWS_OPERATION_GUARD(RegisterNamespace); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, RegisterNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RegisterNamespace, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, RegisterNamespace, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> RegisterNamespaceOutcome { + 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, RegisterNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return RegisterNamespaceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + RejectDataShareOutcome RedshiftClient::RejectDataShare(const RejectDataShareRequest& request) const { AWS_OPERATION_GUARD(RejectDataShare); diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/AssociateDataShareConsumerResult.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/AssociateDataShareConsumerResult.cpp index ad5bff3c9d8..6e6028dd8d1 100644 --- a/generated/src/aws-cpp-sdk-redshift/source/model/AssociateDataShareConsumerResult.cpp +++ b/generated/src/aws-cpp-sdk-redshift/source/model/AssociateDataShareConsumerResult.cpp @@ -18,7 +18,8 @@ using namespace Aws::Utils; using namespace Aws; AssociateDataShareConsumerResult::AssociateDataShareConsumerResult() : - m_allowPubliclyAccessibleConsumers(false) + m_allowPubliclyAccessibleConsumers(false), + m_dataShareType(DataShareType::NOT_SET) { } @@ -71,6 +72,11 @@ AssociateDataShareConsumerResult& AssociateDataShareConsumerResult::operator =(c { m_managedBy = Aws::Utils::Xml::DecodeEscapedXmlText(managedByNode.GetText()); } + XmlNode dataShareTypeNode = resultNode.FirstChild("DataShareType"); + if(!dataShareTypeNode.IsNull()) + { + m_dataShareType = DataShareTypeMapper::GetDataShareTypeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(dataShareTypeNode.GetText()).c_str()).c_str()); + } } if (!rootNode.IsNull()) { diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/AuthorizeDataShareResult.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/AuthorizeDataShareResult.cpp index 835fd1b546a..f3a964554df 100644 --- a/generated/src/aws-cpp-sdk-redshift/source/model/AuthorizeDataShareResult.cpp +++ b/generated/src/aws-cpp-sdk-redshift/source/model/AuthorizeDataShareResult.cpp @@ -18,7 +18,8 @@ using namespace Aws::Utils; using namespace Aws; AuthorizeDataShareResult::AuthorizeDataShareResult() : - m_allowPubliclyAccessibleConsumers(false) + m_allowPubliclyAccessibleConsumers(false), + m_dataShareType(DataShareType::NOT_SET) { } @@ -71,6 +72,11 @@ AuthorizeDataShareResult& AuthorizeDataShareResult::operator =(const Aws::Amazon { m_managedBy = Aws::Utils::Xml::DecodeEscapedXmlText(managedByNode.GetText()); } + XmlNode dataShareTypeNode = resultNode.FirstChild("DataShareType"); + if(!dataShareTypeNode.IsNull()) + { + m_dataShareType = DataShareTypeMapper::GetDataShareTypeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(dataShareTypeNode.GetText()).c_str()).c_str()); + } } if (!rootNode.IsNull()) { diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/DataShare.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/DataShare.cpp index 3be60a5b91e..ffe42ee3840 100644 --- a/generated/src/aws-cpp-sdk-redshift/source/model/DataShare.cpp +++ b/generated/src/aws-cpp-sdk-redshift/source/model/DataShare.cpp @@ -26,7 +26,9 @@ DataShare::DataShare() : m_allowPubliclyAccessibleConsumers(false), m_allowPubliclyAccessibleConsumersHasBeenSet(false), m_dataShareAssociationsHasBeenSet(false), - m_managedByHasBeenSet(false) + m_managedByHasBeenSet(false), + m_dataShareType(DataShareType::NOT_SET), + m_dataShareTypeHasBeenSet(false) { } @@ -78,6 +80,12 @@ DataShare& DataShare::operator =(const XmlNode& xmlNode) m_managedBy = Aws::Utils::Xml::DecodeEscapedXmlText(managedByNode.GetText()); m_managedByHasBeenSet = true; } + XmlNode dataShareTypeNode = resultNode.FirstChild("DataShareType"); + if(!dataShareTypeNode.IsNull()) + { + m_dataShareType = DataShareTypeMapper::GetDataShareTypeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(dataShareTypeNode.GetText()).c_str()).c_str()); + m_dataShareTypeHasBeenSet = true; + } } return *this; @@ -116,6 +124,11 @@ void DataShare::OutputToStream(Aws::OStream& oStream, const char* location, unsi oStream << location << index << locationValue << ".ManagedBy=" << StringUtils::URLEncode(m_managedBy.c_str()) << "&"; } + if(m_dataShareTypeHasBeenSet) + { + oStream << location << index << locationValue << ".DataShareType=" << DataShareTypeMapper::GetNameForDataShareType(m_dataShareType) << "&"; + } + Aws::StringStream responseMetadataLocationAndMemberSs; responseMetadataLocationAndMemberSs << location << index << locationValue << ".ResponseMetadata"; m_responseMetadata.OutputToStream(oStream, responseMetadataLocationAndMemberSs.str().c_str()); @@ -149,6 +162,10 @@ void DataShare::OutputToStream(Aws::OStream& oStream, const char* location) cons { oStream << location << ".ManagedBy=" << StringUtils::URLEncode(m_managedBy.c_str()) << "&"; } + if(m_dataShareTypeHasBeenSet) + { + oStream << location << ".DataShareType=" << DataShareTypeMapper::GetNameForDataShareType(m_dataShareType) << "&"; + } Aws::String responseMetadataLocationAndMember(location); responseMetadataLocationAndMember += ".ResponseMetadata"; m_responseMetadata.OutputToStream(oStream, responseMetadataLocationAndMember.c_str()); diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/DataShareType.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/DataShareType.cpp new file mode 100644 index 00000000000..5542104de22 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/source/model/DataShareType.cpp @@ -0,0 +1,65 @@ +/** + * 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 Redshift + { + namespace Model + { + namespace DataShareTypeMapper + { + + static const int INTERNAL_HASH = HashingUtils::HashString("INTERNAL"); + + + DataShareType GetDataShareTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == INTERNAL_HASH) + { + return DataShareType::INTERNAL; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return DataShareType::NOT_SET; + } + + Aws::String GetNameForDataShareType(DataShareType enumValue) + { + switch(enumValue) + { + case DataShareType::NOT_SET: + return {}; + case DataShareType::INTERNAL: + return "INTERNAL"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace DataShareTypeMapper + } // namespace Model + } // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/DeauthorizeDataShareResult.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/DeauthorizeDataShareResult.cpp index 07036d14e03..5bbc8e8ed55 100644 --- a/generated/src/aws-cpp-sdk-redshift/source/model/DeauthorizeDataShareResult.cpp +++ b/generated/src/aws-cpp-sdk-redshift/source/model/DeauthorizeDataShareResult.cpp @@ -18,7 +18,8 @@ using namespace Aws::Utils; using namespace Aws; DeauthorizeDataShareResult::DeauthorizeDataShareResult() : - m_allowPubliclyAccessibleConsumers(false) + m_allowPubliclyAccessibleConsumers(false), + m_dataShareType(DataShareType::NOT_SET) { } @@ -71,6 +72,11 @@ DeauthorizeDataShareResult& DeauthorizeDataShareResult::operator =(const Aws::Am { m_managedBy = Aws::Utils::Xml::DecodeEscapedXmlText(managedByNode.GetText()); } + XmlNode dataShareTypeNode = resultNode.FirstChild("DataShareType"); + if(!dataShareTypeNode.IsNull()) + { + m_dataShareType = DataShareTypeMapper::GetDataShareTypeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(dataShareTypeNode.GetText()).c_str()).c_str()); + } } if (!rootNode.IsNull()) { diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/DeregisterNamespaceRequest.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/DeregisterNamespaceRequest.cpp new file mode 100644 index 00000000000..54f776bc693 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/source/model/DeregisterNamespaceRequest.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +using namespace Aws::Redshift::Model; +using namespace Aws::Utils; + +DeregisterNamespaceRequest::DeregisterNamespaceRequest() : + m_namespaceIdentifierHasBeenSet(false), + m_consumerIdentifiersHasBeenSet(false) +{ +} + +Aws::String DeregisterNamespaceRequest::SerializePayload() const +{ + Aws::StringStream ss; + ss << "Action=DeregisterNamespace&"; + if(m_namespaceIdentifierHasBeenSet) + { + m_namespaceIdentifier.OutputToStream(ss, "NamespaceIdentifier"); + } + + if(m_consumerIdentifiersHasBeenSet) + { + if (m_consumerIdentifiers.empty()) + { + ss << "ConsumerIdentifiers=&"; + } + else + { + unsigned consumerIdentifiersCount = 1; + for(auto& item : m_consumerIdentifiers) + { + ss << "ConsumerIdentifiers.member." << consumerIdentifiersCount << "=" + << StringUtils::URLEncode(item.c_str()) << "&"; + consumerIdentifiersCount++; + } + } + } + + ss << "Version=2012-12-01"; + return ss.str(); +} + + +void DeregisterNamespaceRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const +{ + uri.SetQueryString(SerializePayload()); +} diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/DeregisterNamespaceResult.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/DeregisterNamespaceResult.cpp new file mode 100644 index 00000000000..d91656db8d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/source/model/DeregisterNamespaceResult.cpp @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Redshift::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils::Logging; +using namespace Aws::Utils; +using namespace Aws; + +DeregisterNamespaceResult::DeregisterNamespaceResult() : + m_status(NamespaceRegistrationStatus::NOT_SET) +{ +} + +DeregisterNamespaceResult::DeregisterNamespaceResult(const Aws::AmazonWebServiceResult& result) + : DeregisterNamespaceResult() +{ + *this = result; +} + +DeregisterNamespaceResult& DeregisterNamespaceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode rootNode = xmlDocument.GetRootElement(); + XmlNode resultNode = rootNode; + if (!rootNode.IsNull() && (rootNode.GetName() != "DeregisterNamespaceResult")) + { + resultNode = rootNode.FirstChild("DeregisterNamespaceResult"); + } + + if(!resultNode.IsNull()) + { + XmlNode statusNode = resultNode.FirstChild("Status"); + if(!statusNode.IsNull()) + { + m_status = NamespaceRegistrationStatusMapper::GetNamespaceRegistrationStatusForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(statusNode.GetText()).c_str()).c_str()); + } + } + + if (!rootNode.IsNull()) { + XmlNode responseMetadataNode = rootNode.FirstChild("ResponseMetadata"); + m_responseMetadata = responseMetadataNode; + AWS_LOGSTREAM_DEBUG("Aws::Redshift::Model::DeregisterNamespaceResult", "x-amzn-request-id: " << m_responseMetadata.GetRequestId() ); + } + return *this; +} diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/DisassociateDataShareConsumerResult.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/DisassociateDataShareConsumerResult.cpp index e7dceb72d66..f7d75324507 100644 --- a/generated/src/aws-cpp-sdk-redshift/source/model/DisassociateDataShareConsumerResult.cpp +++ b/generated/src/aws-cpp-sdk-redshift/source/model/DisassociateDataShareConsumerResult.cpp @@ -18,7 +18,8 @@ using namespace Aws::Utils; using namespace Aws; DisassociateDataShareConsumerResult::DisassociateDataShareConsumerResult() : - m_allowPubliclyAccessibleConsumers(false) + m_allowPubliclyAccessibleConsumers(false), + m_dataShareType(DataShareType::NOT_SET) { } @@ -71,6 +72,11 @@ DisassociateDataShareConsumerResult& DisassociateDataShareConsumerResult::operat { m_managedBy = Aws::Utils::Xml::DecodeEscapedXmlText(managedByNode.GetText()); } + XmlNode dataShareTypeNode = resultNode.FirstChild("DataShareType"); + if(!dataShareTypeNode.IsNull()) + { + m_dataShareType = DataShareTypeMapper::GetDataShareTypeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(dataShareTypeNode.GetText()).c_str()).c_str()); + } } if (!rootNode.IsNull()) { diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/NamespaceIdentifierUnion.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/NamespaceIdentifierUnion.cpp new file mode 100644 index 00000000000..e6864a09f11 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/source/model/NamespaceIdentifierUnion.cpp @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Redshift +{ +namespace Model +{ + +NamespaceIdentifierUnion::NamespaceIdentifierUnion() : + m_serverlessIdentifierHasBeenSet(false), + m_provisionedIdentifierHasBeenSet(false) +{ +} + +NamespaceIdentifierUnion::NamespaceIdentifierUnion(const XmlNode& xmlNode) + : NamespaceIdentifierUnion() +{ + *this = xmlNode; +} + +NamespaceIdentifierUnion& NamespaceIdentifierUnion::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode serverlessIdentifierNode = resultNode.FirstChild("ServerlessIdentifier"); + if(!serverlessIdentifierNode.IsNull()) + { + m_serverlessIdentifier = serverlessIdentifierNode; + m_serverlessIdentifierHasBeenSet = true; + } + XmlNode provisionedIdentifierNode = resultNode.FirstChild("ProvisionedIdentifier"); + if(!provisionedIdentifierNode.IsNull()) + { + m_provisionedIdentifier = provisionedIdentifierNode; + m_provisionedIdentifierHasBeenSet = true; + } + } + + return *this; +} + +void NamespaceIdentifierUnion::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const +{ + if(m_serverlessIdentifierHasBeenSet) + { + Aws::StringStream serverlessIdentifierLocationAndMemberSs; + serverlessIdentifierLocationAndMemberSs << location << index << locationValue << ".ServerlessIdentifier"; + m_serverlessIdentifier.OutputToStream(oStream, serverlessIdentifierLocationAndMemberSs.str().c_str()); + } + + if(m_provisionedIdentifierHasBeenSet) + { + Aws::StringStream provisionedIdentifierLocationAndMemberSs; + provisionedIdentifierLocationAndMemberSs << location << index << locationValue << ".ProvisionedIdentifier"; + m_provisionedIdentifier.OutputToStream(oStream, provisionedIdentifierLocationAndMemberSs.str().c_str()); + } + +} + +void NamespaceIdentifierUnion::OutputToStream(Aws::OStream& oStream, const char* location) const +{ + if(m_serverlessIdentifierHasBeenSet) + { + Aws::String serverlessIdentifierLocationAndMember(location); + serverlessIdentifierLocationAndMember += ".ServerlessIdentifier"; + m_serverlessIdentifier.OutputToStream(oStream, serverlessIdentifierLocationAndMember.c_str()); + } + if(m_provisionedIdentifierHasBeenSet) + { + Aws::String provisionedIdentifierLocationAndMember(location); + provisionedIdentifierLocationAndMember += ".ProvisionedIdentifier"; + m_provisionedIdentifier.OutputToStream(oStream, provisionedIdentifierLocationAndMember.c_str()); + } +} + +} // namespace Model +} // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/NamespaceRegistrationStatus.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/NamespaceRegistrationStatus.cpp new file mode 100644 index 00000000000..c3a1f7be561 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/source/model/NamespaceRegistrationStatus.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Redshift + { + namespace Model + { + namespace NamespaceRegistrationStatusMapper + { + + static const int Registering_HASH = HashingUtils::HashString("Registering"); + static const int Deregistering_HASH = HashingUtils::HashString("Deregistering"); + + + NamespaceRegistrationStatus GetNamespaceRegistrationStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == Registering_HASH) + { + return NamespaceRegistrationStatus::Registering; + } + else if (hashCode == Deregistering_HASH) + { + return NamespaceRegistrationStatus::Deregistering; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return NamespaceRegistrationStatus::NOT_SET; + } + + Aws::String GetNameForNamespaceRegistrationStatus(NamespaceRegistrationStatus enumValue) + { + switch(enumValue) + { + case NamespaceRegistrationStatus::NOT_SET: + return {}; + case NamespaceRegistrationStatus::Registering: + return "Registering"; + case NamespaceRegistrationStatus::Deregistering: + return "Deregistering"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace NamespaceRegistrationStatusMapper + } // namespace Model + } // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/ProvisionedIdentifier.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/ProvisionedIdentifier.cpp new file mode 100644 index 00000000000..db9bce2cb79 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/source/model/ProvisionedIdentifier.cpp @@ -0,0 +1,70 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Redshift +{ +namespace Model +{ + +ProvisionedIdentifier::ProvisionedIdentifier() : + m_clusterIdentifierHasBeenSet(false) +{ +} + +ProvisionedIdentifier::ProvisionedIdentifier(const XmlNode& xmlNode) + : ProvisionedIdentifier() +{ + *this = xmlNode; +} + +ProvisionedIdentifier& ProvisionedIdentifier::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode clusterIdentifierNode = resultNode.FirstChild("ClusterIdentifier"); + if(!clusterIdentifierNode.IsNull()) + { + m_clusterIdentifier = Aws::Utils::Xml::DecodeEscapedXmlText(clusterIdentifierNode.GetText()); + m_clusterIdentifierHasBeenSet = true; + } + } + + return *this; +} + +void ProvisionedIdentifier::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const +{ + if(m_clusterIdentifierHasBeenSet) + { + oStream << location << index << locationValue << ".ClusterIdentifier=" << StringUtils::URLEncode(m_clusterIdentifier.c_str()) << "&"; + } + +} + +void ProvisionedIdentifier::OutputToStream(Aws::OStream& oStream, const char* location) const +{ + if(m_clusterIdentifierHasBeenSet) + { + oStream << location << ".ClusterIdentifier=" << StringUtils::URLEncode(m_clusterIdentifier.c_str()) << "&"; + } +} + +} // namespace Model +} // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/RegisterNamespaceRequest.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/RegisterNamespaceRequest.cpp new file mode 100644 index 00000000000..837f833ec37 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/source/model/RegisterNamespaceRequest.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +using namespace Aws::Redshift::Model; +using namespace Aws::Utils; + +RegisterNamespaceRequest::RegisterNamespaceRequest() : + m_namespaceIdentifierHasBeenSet(false), + m_consumerIdentifiersHasBeenSet(false) +{ +} + +Aws::String RegisterNamespaceRequest::SerializePayload() const +{ + Aws::StringStream ss; + ss << "Action=RegisterNamespace&"; + if(m_namespaceIdentifierHasBeenSet) + { + m_namespaceIdentifier.OutputToStream(ss, "NamespaceIdentifier"); + } + + if(m_consumerIdentifiersHasBeenSet) + { + if (m_consumerIdentifiers.empty()) + { + ss << "ConsumerIdentifiers=&"; + } + else + { + unsigned consumerIdentifiersCount = 1; + for(auto& item : m_consumerIdentifiers) + { + ss << "ConsumerIdentifiers.member." << consumerIdentifiersCount << "=" + << StringUtils::URLEncode(item.c_str()) << "&"; + consumerIdentifiersCount++; + } + } + } + + ss << "Version=2012-12-01"; + return ss.str(); +} + + +void RegisterNamespaceRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const +{ + uri.SetQueryString(SerializePayload()); +} diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/RegisterNamespaceResult.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/RegisterNamespaceResult.cpp new file mode 100644 index 00000000000..b03b673aa09 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/source/model/RegisterNamespaceResult.cpp @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Redshift::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils::Logging; +using namespace Aws::Utils; +using namespace Aws; + +RegisterNamespaceResult::RegisterNamespaceResult() : + m_status(NamespaceRegistrationStatus::NOT_SET) +{ +} + +RegisterNamespaceResult::RegisterNamespaceResult(const Aws::AmazonWebServiceResult& result) + : RegisterNamespaceResult() +{ + *this = result; +} + +RegisterNamespaceResult& RegisterNamespaceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode rootNode = xmlDocument.GetRootElement(); + XmlNode resultNode = rootNode; + if (!rootNode.IsNull() && (rootNode.GetName() != "RegisterNamespaceResult")) + { + resultNode = rootNode.FirstChild("RegisterNamespaceResult"); + } + + if(!resultNode.IsNull()) + { + XmlNode statusNode = resultNode.FirstChild("Status"); + if(!statusNode.IsNull()) + { + m_status = NamespaceRegistrationStatusMapper::GetNamespaceRegistrationStatusForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(statusNode.GetText()).c_str()).c_str()); + } + } + + if (!rootNode.IsNull()) { + XmlNode responseMetadataNode = rootNode.FirstChild("ResponseMetadata"); + m_responseMetadata = responseMetadataNode; + AWS_LOGSTREAM_DEBUG("Aws::Redshift::Model::RegisterNamespaceResult", "x-amzn-request-id: " << m_responseMetadata.GetRequestId() ); + } + return *this; +} diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/RejectDataShareResult.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/RejectDataShareResult.cpp index 1f20f6510af..6fb3304ecce 100644 --- a/generated/src/aws-cpp-sdk-redshift/source/model/RejectDataShareResult.cpp +++ b/generated/src/aws-cpp-sdk-redshift/source/model/RejectDataShareResult.cpp @@ -18,7 +18,8 @@ using namespace Aws::Utils; using namespace Aws; RejectDataShareResult::RejectDataShareResult() : - m_allowPubliclyAccessibleConsumers(false) + m_allowPubliclyAccessibleConsumers(false), + m_dataShareType(DataShareType::NOT_SET) { } @@ -71,6 +72,11 @@ RejectDataShareResult& RejectDataShareResult::operator =(const Aws::AmazonWebSer { m_managedBy = Aws::Utils::Xml::DecodeEscapedXmlText(managedByNode.GetText()); } + XmlNode dataShareTypeNode = resultNode.FirstChild("DataShareType"); + if(!dataShareTypeNode.IsNull()) + { + m_dataShareType = DataShareTypeMapper::GetDataShareTypeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(dataShareTypeNode.GetText()).c_str()).c_str()); + } } if (!rootNode.IsNull()) { diff --git a/generated/src/aws-cpp-sdk-redshift/source/model/ServerlessIdentifier.cpp b/generated/src/aws-cpp-sdk-redshift/source/model/ServerlessIdentifier.cpp new file mode 100644 index 00000000000..82dbb0652b2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-redshift/source/model/ServerlessIdentifier.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Redshift +{ +namespace Model +{ + +ServerlessIdentifier::ServerlessIdentifier() : + m_namespaceIdentifierHasBeenSet(false), + m_workgroupIdentifierHasBeenSet(false) +{ +} + +ServerlessIdentifier::ServerlessIdentifier(const XmlNode& xmlNode) + : ServerlessIdentifier() +{ + *this = xmlNode; +} + +ServerlessIdentifier& ServerlessIdentifier::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode namespaceIdentifierNode = resultNode.FirstChild("NamespaceIdentifier"); + if(!namespaceIdentifierNode.IsNull()) + { + m_namespaceIdentifier = Aws::Utils::Xml::DecodeEscapedXmlText(namespaceIdentifierNode.GetText()); + m_namespaceIdentifierHasBeenSet = true; + } + XmlNode workgroupIdentifierNode = resultNode.FirstChild("WorkgroupIdentifier"); + if(!workgroupIdentifierNode.IsNull()) + { + m_workgroupIdentifier = Aws::Utils::Xml::DecodeEscapedXmlText(workgroupIdentifierNode.GetText()); + m_workgroupIdentifierHasBeenSet = true; + } + } + + return *this; +} + +void ServerlessIdentifier::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const +{ + if(m_namespaceIdentifierHasBeenSet) + { + oStream << location << index << locationValue << ".NamespaceIdentifier=" << StringUtils::URLEncode(m_namespaceIdentifier.c_str()) << "&"; + } + + if(m_workgroupIdentifierHasBeenSet) + { + oStream << location << index << locationValue << ".WorkgroupIdentifier=" << StringUtils::URLEncode(m_workgroupIdentifier.c_str()) << "&"; + } + +} + +void ServerlessIdentifier::OutputToStream(Aws::OStream& oStream, const char* location) const +{ + if(m_namespaceIdentifierHasBeenSet) + { + oStream << location << ".NamespaceIdentifier=" << StringUtils::URLEncode(m_namespaceIdentifier.c_str()) << "&"; + } + if(m_workgroupIdentifierHasBeenSet) + { + oStream << location << ".WorkgroupIdentifier=" << StringUtils::URLEncode(m_workgroupIdentifier.c_str()) << "&"; + } +} + +} // namespace Model +} // namespace Redshift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/S3CrtClient.h b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/S3CrtClient.h index 7d438342a63..4e148850e49 100644 --- a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/S3CrtClient.h +++ b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/S3CrtClient.h @@ -613,6 +613,55 @@ namespace Aws return SubmitAsync(&S3CrtClient::CreateBucket, request, handler, context); } + /** + *

    Creates a metadata table configuration for a general purpose bucket. For more + * information, see Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

    + *
    Permissions

    To use this operation, you must have the + * following permissions. For more information, see Setting + * up permissions for configuring metadata tables in the Amazon S3 User + * Guide.

    If you also want to integrate your table bucket with Amazon + * Web Services analytics services so that you can query your metadata table, you + * need additional permissions. For more information, see + * Integrating Amazon S3 Tables with Amazon Web Services analytics services in + * the Amazon S3 User Guide.

    • + * s3:CreateBucketMetadataTableConfiguration

    • + * s3tables:CreateNamespace

    • + * s3tables:GetTable

    • + * s3tables:CreateTable

    • + * s3tables:PutTablePolicy

    The + * following operations are related to + * CreateBucketMetadataTableConfiguration:

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateBucketMetadataTableConfigurationOutcome CreateBucketMetadataTableConfiguration(const Model::CreateBucketMetadataTableConfigurationRequest& request) const; + + /** + * A Callable wrapper for CreateBucketMetadataTableConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateBucketMetadataTableConfigurationOutcomeCallable CreateBucketMetadataTableConfigurationCallable(const CreateBucketMetadataTableConfigurationRequestT& request) const + { + return SubmitCallable(&S3CrtClient::CreateBucketMetadataTableConfiguration, request); + } + + /** + * An Async wrapper for CreateBucketMetadataTableConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateBucketMetadataTableConfigurationAsync(const CreateBucketMetadataTableConfigurationRequestT& request, const CreateBucketMetadataTableConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3CrtClient::CreateBucketMetadataTableConfiguration, request, handler, context); + } + /** *

    This action initiates a multipart upload and returns an upload ID. This * upload ID is used to associate all of the parts in the specific multipart @@ -1376,6 +1425,45 @@ namespace Aws return SubmitAsync(&S3CrtClient::DeleteBucketLifecycle, request, handler, context); } + /** + *

    Deletes a metadata table configuration from a general purpose bucket. For + * more information, see Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

    + *
    Permissions

    To use this operation, you must have the + * s3:DeleteBucketMetadataTableConfiguration permission. For more + * information, see Setting + * up permissions for configuring metadata tables in the Amazon S3 User + * Guide.

    The following operations are related to + * DeleteBucketMetadataTableConfiguration:

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteBucketMetadataTableConfigurationOutcome DeleteBucketMetadataTableConfiguration(const Model::DeleteBucketMetadataTableConfigurationRequest& request) const; + + /** + * A Callable wrapper for DeleteBucketMetadataTableConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteBucketMetadataTableConfigurationOutcomeCallable DeleteBucketMetadataTableConfigurationCallable(const DeleteBucketMetadataTableConfigurationRequestT& request) const + { + return SubmitCallable(&S3CrtClient::DeleteBucketMetadataTableConfiguration, request); + } + + /** + * An Async wrapper for DeleteBucketMetadataTableConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteBucketMetadataTableConfigurationAsync(const DeleteBucketMetadataTableConfigurationRequestT& request, const DeleteBucketMetadataTableConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3CrtClient::DeleteBucketMetadataTableConfiguration, request, handler, context); + } + /** *

    This operation is not supported for directory buckets.

    *

    Deletes a metrics configuration for the Amazon CloudWatch request metrics @@ -2460,6 +2548,45 @@ namespace Aws return SubmitAsync(&S3CrtClient::GetBucketLogging, request, handler, context); } + /** + *

    Retrieves the metadata table configuration for a general purpose bucket. For + * more information, see Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

    + *
    Permissions

    To use this operation, you must have the + * s3:GetBucketMetadataTableConfiguration permission. For more + * information, see Setting + * up permissions for configuring metadata tables in the Amazon S3 User + * Guide.

    The following operations are related to + * GetBucketMetadataTableConfiguration:

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetBucketMetadataTableConfigurationOutcome GetBucketMetadataTableConfiguration(const Model::GetBucketMetadataTableConfigurationRequest& request) const; + + /** + * A Callable wrapper for GetBucketMetadataTableConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetBucketMetadataTableConfigurationOutcomeCallable GetBucketMetadataTableConfigurationCallable(const GetBucketMetadataTableConfigurationRequestT& request) const + { + return SubmitCallable(&S3CrtClient::GetBucketMetadataTableConfiguration, request); + } + + /** + * An Async wrapper for GetBucketMetadataTableConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetBucketMetadataTableConfigurationAsync(const GetBucketMetadataTableConfigurationRequestT& request, const GetBucketMetadataTableConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3CrtClient::GetBucketMetadataTableConfiguration, request, handler, context); + } + /** *

    This operation is not supported for directory buckets.

    *

    Gets a metrics configuration (specified by the metrics configuration ID) from diff --git a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/S3CrtServiceClientModel.h b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/S3CrtServiceClientModel.h index cff74eaa8b9..290081cf2e3 100644 --- a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/S3CrtServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/S3CrtServiceClientModel.h @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -125,6 +126,7 @@ namespace Aws class CompleteMultipartUploadRequest; class CopyObjectRequest; class CreateBucketRequest; + class CreateBucketMetadataTableConfigurationRequest; class CreateMultipartUploadRequest; class CreateSessionRequest; class DeleteBucketRequest; @@ -134,6 +136,7 @@ namespace Aws class DeleteBucketIntelligentTieringConfigurationRequest; class DeleteBucketInventoryConfigurationRequest; class DeleteBucketLifecycleRequest; + class DeleteBucketMetadataTableConfigurationRequest; class DeleteBucketMetricsConfigurationRequest; class DeleteBucketOwnershipControlsRequest; class DeleteBucketPolicyRequest; @@ -154,6 +157,7 @@ namespace Aws class GetBucketLifecycleConfigurationRequest; class GetBucketLocationRequest; class GetBucketLoggingRequest; + class GetBucketMetadataTableConfigurationRequest; class GetBucketMetricsConfigurationRequest; class GetBucketNotificationConfigurationRequest; class GetBucketOwnershipControlsRequest; @@ -223,6 +227,7 @@ namespace Aws typedef Aws::Utils::Outcome CompleteMultipartUploadOutcome; typedef Aws::Utils::Outcome CopyObjectOutcome; typedef Aws::Utils::Outcome CreateBucketOutcome; + typedef Aws::Utils::Outcome CreateBucketMetadataTableConfigurationOutcome; typedef Aws::Utils::Outcome CreateMultipartUploadOutcome; typedef Aws::Utils::Outcome CreateSessionOutcome; typedef Aws::Utils::Outcome DeleteBucketOutcome; @@ -232,6 +237,7 @@ namespace Aws typedef Aws::Utils::Outcome DeleteBucketIntelligentTieringConfigurationOutcome; typedef Aws::Utils::Outcome DeleteBucketInventoryConfigurationOutcome; typedef Aws::Utils::Outcome DeleteBucketLifecycleOutcome; + typedef Aws::Utils::Outcome DeleteBucketMetadataTableConfigurationOutcome; typedef Aws::Utils::Outcome DeleteBucketMetricsConfigurationOutcome; typedef Aws::Utils::Outcome DeleteBucketOwnershipControlsOutcome; typedef Aws::Utils::Outcome DeleteBucketPolicyOutcome; @@ -252,6 +258,7 @@ namespace Aws typedef Aws::Utils::Outcome GetBucketLifecycleConfigurationOutcome; typedef Aws::Utils::Outcome GetBucketLocationOutcome; typedef Aws::Utils::Outcome GetBucketLoggingOutcome; + typedef Aws::Utils::Outcome GetBucketMetadataTableConfigurationOutcome; typedef Aws::Utils::Outcome GetBucketMetricsConfigurationOutcome; typedef Aws::Utils::Outcome GetBucketNotificationConfigurationOutcome; typedef Aws::Utils::Outcome GetBucketOwnershipControlsOutcome; @@ -320,6 +327,7 @@ namespace Aws typedef std::future AbortMultipartUploadOutcomeCallable; typedef std::future CompleteMultipartUploadOutcomeCallable; typedef std::future CreateBucketOutcomeCallable; + typedef std::future CreateBucketMetadataTableConfigurationOutcomeCallable; typedef std::future CreateMultipartUploadOutcomeCallable; typedef std::future CreateSessionOutcomeCallable; typedef std::future DeleteBucketOutcomeCallable; @@ -329,6 +337,7 @@ namespace Aws typedef std::future DeleteBucketIntelligentTieringConfigurationOutcomeCallable; typedef std::future DeleteBucketInventoryConfigurationOutcomeCallable; typedef std::future DeleteBucketLifecycleOutcomeCallable; + typedef std::future DeleteBucketMetadataTableConfigurationOutcomeCallable; typedef std::future DeleteBucketMetricsConfigurationOutcomeCallable; typedef std::future DeleteBucketOwnershipControlsOutcomeCallable; typedef std::future DeleteBucketPolicyOutcomeCallable; @@ -349,6 +358,7 @@ namespace Aws typedef std::future GetBucketLifecycleConfigurationOutcomeCallable; typedef std::future GetBucketLocationOutcomeCallable; typedef std::future GetBucketLoggingOutcomeCallable; + typedef std::future GetBucketMetadataTableConfigurationOutcomeCallable; typedef std::future GetBucketMetricsConfigurationOutcomeCallable; typedef std::future GetBucketNotificationConfigurationOutcomeCallable; typedef std::future GetBucketOwnershipControlsOutcomeCallable; @@ -419,6 +429,7 @@ namespace Aws typedef std::function&) > CompleteMultipartUploadResponseReceivedHandler; typedef std::function&) > CopyObjectResponseReceivedHandler; typedef std::function&) > CreateBucketResponseReceivedHandler; + typedef std::function&) > CreateBucketMetadataTableConfigurationResponseReceivedHandler; typedef std::function&) > CreateMultipartUploadResponseReceivedHandler; typedef std::function&) > CreateSessionResponseReceivedHandler; typedef std::function&) > DeleteBucketResponseReceivedHandler; @@ -428,6 +439,7 @@ namespace Aws typedef std::function&) > DeleteBucketIntelligentTieringConfigurationResponseReceivedHandler; typedef std::function&) > DeleteBucketInventoryConfigurationResponseReceivedHandler; typedef std::function&) > DeleteBucketLifecycleResponseReceivedHandler; + typedef std::function&) > DeleteBucketMetadataTableConfigurationResponseReceivedHandler; typedef std::function&) > DeleteBucketMetricsConfigurationResponseReceivedHandler; typedef std::function&) > DeleteBucketOwnershipControlsResponseReceivedHandler; typedef std::function&) > DeleteBucketPolicyResponseReceivedHandler; @@ -448,6 +460,7 @@ namespace Aws typedef std::function&) > GetBucketLifecycleConfigurationResponseReceivedHandler; typedef std::function&) > GetBucketLocationResponseReceivedHandler; typedef std::function&) > GetBucketLoggingResponseReceivedHandler; + typedef std::function&) > GetBucketMetadataTableConfigurationResponseReceivedHandler; typedef std::function&) > GetBucketMetricsConfigurationResponseReceivedHandler; typedef std::function&) > GetBucketNotificationConfigurationResponseReceivedHandler; typedef std::function&) > GetBucketOwnershipControlsResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/CreateBucketMetadataTableConfigurationRequest.h b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/CreateBucketMetadataTableConfigurationRequest.h new file mode 100644 index 00000000000..2915bc914d0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/CreateBucketMetadataTableConfigurationRequest.h @@ -0,0 +1,160 @@ +/** + * 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 Http +{ + class URI; +} //namespace Http +namespace S3Crt +{ +namespace Model +{ + + /** + */ + class CreateBucketMetadataTableConfigurationRequest : public S3CrtRequest + { + public: + AWS_S3CRT_API CreateBucketMetadataTableConfigurationRequest(); + + // 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 "CreateBucketMetadataTableConfiguration"; } + + AWS_S3CRT_API Aws::String SerializePayload() const override; + + AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override; + + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override; + + ///@{ + /** + *

    The general purpose bucket that you want to create the metadata table + * configuration in.

    + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + inline CreateBucketMetadataTableConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + ///@} + + ///@{ + /** + *

    The Content-MD5 header for the metadata table configuration. + *

    + */ + inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } + inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } + inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } + inline CreateBucketMetadataTableConfigurationRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} + ///@} + + ///@{ + /** + *

    The checksum algorithm to use with your metadata table configuration.

    + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + inline CreateBucketMetadataTableConfigurationRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The contents of your metadata table configuration.

    + */ + inline const MetadataTableConfiguration& GetMetadataTableConfiguration() const{ return m_metadataTableConfiguration; } + inline bool MetadataTableConfigurationHasBeenSet() const { return m_metadataTableConfigurationHasBeenSet; } + inline void SetMetadataTableConfiguration(const MetadataTableConfiguration& value) { m_metadataTableConfigurationHasBeenSet = true; m_metadataTableConfiguration = value; } + inline void SetMetadataTableConfiguration(MetadataTableConfiguration&& value) { m_metadataTableConfigurationHasBeenSet = true; m_metadataTableConfiguration = std::move(value); } + inline CreateBucketMetadataTableConfigurationRequest& WithMetadataTableConfiguration(const MetadataTableConfiguration& value) { SetMetadataTableConfiguration(value); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithMetadataTableConfiguration(MetadataTableConfiguration&& value) { SetMetadataTableConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The expected owner of the general purpose bucket that contains your metadata + * table configuration.

    + */ + inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; } + inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; } + inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; } + inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); } + inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); } + inline CreateBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + ///@} + + ///@{ + + inline const Aws::Map& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + inline void SetCustomizedAccessLogTag(const Aws::Map& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + inline void SetCustomizedAccessLogTag(Aws::Map&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + inline CreateBucketMetadataTableConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map& value) { SetCustomizedAccessLogTag(value); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet = false; + + Aws::String m_contentMD5; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; + + MetadataTableConfiguration m_metadataTableConfiguration; + bool m_metadataTableConfigurationHasBeenSet = false; + + Aws::String m_expectedBucketOwner; + bool m_expectedBucketOwnerHasBeenSet = false; + + Aws::Map m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/DeleteBucketMetadataTableConfigurationRequest.h b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/DeleteBucketMetadataTableConfigurationRequest.h new file mode 100644 index 00000000000..d6df9a4a181 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/DeleteBucketMetadataTableConfigurationRequest.h @@ -0,0 +1,108 @@ +/** + * 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 S3Crt +{ +namespace Model +{ + + /** + */ + class DeleteBucketMetadataTableConfigurationRequest : public S3CrtRequest + { + public: + AWS_S3CRT_API DeleteBucketMetadataTableConfigurationRequest(); + + // 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 "DeleteBucketMetadataTableConfiguration"; } + + AWS_S3CRT_API Aws::String SerializePayload() const override; + + AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override; + + ///@{ + /** + *

    The general purpose bucket that you want to remove the metadata table + * configuration from.

    + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + inline DeleteBucketMetadataTableConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + inline DeleteBucketMetadataTableConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + inline DeleteBucketMetadataTableConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + ///@} + + ///@{ + /** + *

    The expected bucket owner of the general purpose bucket that you want to + * remove the metadata table configuration from.

    + */ + inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; } + inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; } + inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; } + inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); } + inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); } + inline DeleteBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;} + inline DeleteBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;} + inline DeleteBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + ///@} + + ///@{ + + inline const Aws::Map& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + inline void SetCustomizedAccessLogTag(const Aws::Map& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + inline void SetCustomizedAccessLogTag(Aws::Map&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + inline DeleteBucketMetadataTableConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map& value) { SetCustomizedAccessLogTag(value); return *this;} + inline DeleteBucketMetadataTableConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet = false; + + Aws::String m_expectedBucketOwner; + bool m_expectedBucketOwnerHasBeenSet = false; + + Aws::Map m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/ErrorDetails.h b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/ErrorDetails.h new file mode 100644 index 00000000000..704d62ed46f --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/ErrorDetails.h @@ -0,0 +1,136 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3Crt +{ +namespace Model +{ + + /** + *

    If the CreateBucketMetadataTableConfiguration request succeeds, + * but S3 Metadata was unable to create the table, this structure contains the + * error code and error message.

    See Also:

    AWS API + * Reference

    + */ + class ErrorDetails + { + public: + AWS_S3CRT_API ErrorDetails(); + AWS_S3CRT_API ErrorDetails(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3CRT_API ErrorDetails& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + ///@{ + /** + *

    If the CreateBucketMetadataTableConfiguration request succeeds, + * but S3 Metadata was unable to create the table, this structure contains the + * error code. The possible error codes and error messages are as follows:

    + *
    • AccessDeniedCreatingResources - You don't have + * sufficient permissions to create the required resources. Make sure that you have + * s3tables:CreateNamespace, s3tables:CreateTable, + * s3tables:GetTable and s3tables:PutTablePolicy + * permissions, and then try again. To create a new metadata table, you must delete + * the metadata configuration for this bucket, and then create a new metadata + * configuration.

    • AccessDeniedWritingToTable - + * Unable to write to the metadata table because of missing resource permissions. + * To fix the resource policy, Amazon S3 needs to create a new metadata table. To + * create a new metadata table, you must delete the metadata configuration for this + * bucket, and then create a new metadata configuration.

    • + * DestinationTableNotFound - The destination table doesn't exist. To + * create a new metadata table, you must delete the metadata configuration for this + * bucket, and then create a new metadata configuration.

    • + * ServerInternalError - An internal error has occurred. To create a + * new metadata table, you must delete the metadata configuration for this bucket, + * and then create a new metadata configuration.

    • + * TableAlreadyExists - The table that you specified already exists in + * the table bucket's namespace. Specify a different table name. To create a new + * metadata table, you must delete the metadata configuration for this bucket, and + * then create a new metadata configuration.

    • + * TableBucketNotFound - The table bucket that you specified doesn't + * exist in this Amazon Web Services Region and account. Create or choose a + * different table bucket. To create a new metadata table, you must delete the + * metadata configuration for this bucket, and then create a new metadata + * configuration.

    + */ + inline const Aws::String& GetErrorCode() const{ return m_errorCode; } + inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } + inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } + inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } + inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } + inline ErrorDetails& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} + inline ErrorDetails& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} + inline ErrorDetails& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} + ///@} + + ///@{ + /** + *

    If the CreateBucketMetadataTableConfiguration request succeeds, + * but S3 Metadata was unable to create the table, this structure contains the + * error message. The possible error codes and error messages are as follows:

    + *
    • AccessDeniedCreatingResources - You don't have + * sufficient permissions to create the required resources. Make sure that you have + * s3tables:CreateNamespace, s3tables:CreateTable, + * s3tables:GetTable and s3tables:PutTablePolicy + * permissions, and then try again. To create a new metadata table, you must delete + * the metadata configuration for this bucket, and then create a new metadata + * configuration.

    • AccessDeniedWritingToTable - + * Unable to write to the metadata table because of missing resource permissions. + * To fix the resource policy, Amazon S3 needs to create a new metadata table. To + * create a new metadata table, you must delete the metadata configuration for this + * bucket, and then create a new metadata configuration.

    • + * DestinationTableNotFound - The destination table doesn't exist. To + * create a new metadata table, you must delete the metadata configuration for this + * bucket, and then create a new metadata configuration.

    • + * ServerInternalError - An internal error has occurred. To create a + * new metadata table, you must delete the metadata configuration for this bucket, + * and then create a new metadata configuration.

    • + * TableAlreadyExists - The table that you specified already exists in + * the table bucket's namespace. Specify a different table name. To create a new + * metadata table, you must delete the metadata configuration for this bucket, and + * then create a new metadata configuration.

    • + * TableBucketNotFound - The table bucket that you specified doesn't + * exist in this Amazon Web Services Region and account. Create or choose a + * different table bucket. To create a new metadata table, you must delete the + * metadata configuration for this bucket, and then create a new metadata + * configuration.

    + */ + inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } + inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } + inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } + inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } + inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } + inline ErrorDetails& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} + inline ErrorDetails& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} + inline ErrorDetails& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} + ///@} + private: + + Aws::String m_errorCode; + bool m_errorCodeHasBeenSet = false; + + Aws::String m_errorMessage; + bool m_errorMessageHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/GetBucketMetadataTableConfigurationRequest.h b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/GetBucketMetadataTableConfigurationRequest.h new file mode 100644 index 00000000000..e0e541b7677 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/GetBucketMetadataTableConfigurationRequest.h @@ -0,0 +1,108 @@ +/** + * 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 S3Crt +{ +namespace Model +{ + + /** + */ + class GetBucketMetadataTableConfigurationRequest : public S3CrtRequest + { + public: + AWS_S3CRT_API GetBucketMetadataTableConfigurationRequest(); + + // 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 "GetBucketMetadataTableConfiguration"; } + + AWS_S3CRT_API Aws::String SerializePayload() const override; + + AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override; + + ///@{ + /** + *

    The general purpose bucket that contains the metadata table configuration + * that you want to retrieve.

    + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + inline GetBucketMetadataTableConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + inline GetBucketMetadataTableConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + inline GetBucketMetadataTableConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + ///@} + + ///@{ + /** + *

    The expected owner of the general purpose bucket that you want to retrieve + * the metadata table configuration from.

    + */ + inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; } + inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; } + inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; } + inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); } + inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); } + inline GetBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;} + inline GetBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;} + inline GetBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + ///@} + + ///@{ + + inline const Aws::Map& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + inline void SetCustomizedAccessLogTag(const Aws::Map& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + inline void SetCustomizedAccessLogTag(Aws::Map&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + inline GetBucketMetadataTableConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map& value) { SetCustomizedAccessLogTag(value); return *this;} + inline GetBucketMetadataTableConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet = false; + + Aws::String m_expectedBucketOwner; + bool m_expectedBucketOwnerHasBeenSet = false; + + Aws::Map m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/GetBucketMetadataTableConfigurationResult.h b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/GetBucketMetadataTableConfigurationResult.h new file mode 100644 index 00000000000..7e2b0931517 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/GetBucketMetadataTableConfigurationResult.h @@ -0,0 +1,102 @@ +/** + * 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 Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3Crt +{ +namespace Model +{ + + /** + *

    The metadata table configuration for a general purpose bucket. + *

    See Also:

    AWS + * API Reference

    + */ + class GetBucketMetadataTableConfigurationResult + { + public: + AWS_S3CRT_API GetBucketMetadataTableConfigurationResult(); + AWS_S3CRT_API GetBucketMetadataTableConfigurationResult(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3CRT_API GetBucketMetadataTableConfigurationResult& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + ///@{ + /** + *

    The metadata table configuration for a general purpose bucket.

    + */ + inline const MetadataTableConfigurationResult& GetMetadataTableConfigurationResult() const{ return m_metadataTableConfigurationResult; } + inline bool MetadataTableConfigurationResultHasBeenSet() const { return m_metadataTableConfigurationResultHasBeenSet; } + inline void SetMetadataTableConfigurationResult(const MetadataTableConfigurationResult& value) { m_metadataTableConfigurationResultHasBeenSet = true; m_metadataTableConfigurationResult = value; } + inline void SetMetadataTableConfigurationResult(MetadataTableConfigurationResult&& value) { m_metadataTableConfigurationResultHasBeenSet = true; m_metadataTableConfigurationResult = std::move(value); } + inline GetBucketMetadataTableConfigurationResult& WithMetadataTableConfigurationResult(const MetadataTableConfigurationResult& value) { SetMetadataTableConfigurationResult(value); return *this;} + inline GetBucketMetadataTableConfigurationResult& WithMetadataTableConfigurationResult(MetadataTableConfigurationResult&& value) { SetMetadataTableConfigurationResult(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The status of the metadata table. The status values are:

    • + * CREATING - The metadata table is in the process of being created in + * the specified table bucket.

    • ACTIVE - The + * metadata table has been created successfully and records are being delivered to + * the table.

    • FAILED - Amazon S3 is unable to + * create the metadata table, or Amazon S3 is unable to deliver records. See + * ErrorDetails for details.

    + */ + inline const Aws::String& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } + inline GetBucketMetadataTableConfigurationResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} + inline GetBucketMetadataTableConfigurationResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} + inline GetBucketMetadataTableConfigurationResult& WithStatus(const char* value) { SetStatus(value); return *this;} + ///@} + + ///@{ + /** + *

    If the CreateBucketMetadataTableConfiguration request succeeds, + * but S3 Metadata was unable to create the table, this structure contains the + * error code and error message.

    + */ + inline const ErrorDetails& GetError() const{ return m_error; } + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + inline void SetError(const ErrorDetails& value) { m_errorHasBeenSet = true; m_error = value; } + inline void SetError(ErrorDetails&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + inline GetBucketMetadataTableConfigurationResult& WithError(const ErrorDetails& value) { SetError(value); return *this;} + inline GetBucketMetadataTableConfigurationResult& WithError(ErrorDetails&& value) { SetError(std::move(value)); return *this;} + ///@} + private: + + MetadataTableConfigurationResult m_metadataTableConfigurationResult; + bool m_metadataTableConfigurationResultHasBeenSet = false; + + Aws::String m_status; + bool m_statusHasBeenSet = false; + + ErrorDetails m_error; + bool m_errorHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/GetBucketMetadataTableConfigurationSdkResult.h b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/GetBucketMetadataTableConfigurationSdkResult.h new file mode 100644 index 00000000000..c4479f58e92 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/GetBucketMetadataTableConfigurationSdkResult.h @@ -0,0 +1,66 @@ +/** + * 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 Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace S3Crt +{ +namespace Model +{ + class GetBucketMetadataTableConfigurationSdkResult + { + public: + AWS_S3CRT_API GetBucketMetadataTableConfigurationSdkResult(); + AWS_S3CRT_API GetBucketMetadataTableConfigurationSdkResult(const Aws::AmazonWebServiceResult& result); + AWS_S3CRT_API GetBucketMetadataTableConfigurationSdkResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The metadata table configuration for the general purpose bucket.

    + */ + inline const GetBucketMetadataTableConfigurationResult& GetGetBucketMetadataTableConfigurationResult() const{ return m_getBucketMetadataTableConfigurationResult; } + inline void SetGetBucketMetadataTableConfigurationResult(const GetBucketMetadataTableConfigurationResult& value) { m_getBucketMetadataTableConfigurationResult = value; } + inline void SetGetBucketMetadataTableConfigurationResult(GetBucketMetadataTableConfigurationResult&& value) { m_getBucketMetadataTableConfigurationResult = std::move(value); } + inline GetBucketMetadataTableConfigurationSdkResult& WithGetBucketMetadataTableConfigurationResult(const GetBucketMetadataTableConfigurationResult& value) { SetGetBucketMetadataTableConfigurationResult(value); return *this;} + inline GetBucketMetadataTableConfigurationSdkResult& WithGetBucketMetadataTableConfigurationResult(GetBucketMetadataTableConfigurationResult&& value) { SetGetBucketMetadataTableConfigurationResult(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetBucketMetadataTableConfigurationSdkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetBucketMetadataTableConfigurationSdkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetBucketMetadataTableConfigurationSdkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + GetBucketMetadataTableConfigurationResult m_getBucketMetadataTableConfigurationResult; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/MetadataTableConfiguration.h b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/MetadataTableConfiguration.h new file mode 100644 index 00000000000..0ebd579ba15 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/MetadataTableConfiguration.h @@ -0,0 +1,64 @@ +/** + * 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 Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3Crt +{ +namespace Model +{ + + /** + *

    The metadata table configuration for a general purpose bucket. + *

    See Also:

    AWS + * API Reference

    + */ + class MetadataTableConfiguration + { + public: + AWS_S3CRT_API MetadataTableConfiguration(); + AWS_S3CRT_API MetadataTableConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3CRT_API MetadataTableConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + ///@{ + /** + *

    The destination information for the metadata table configuration. The + * destination table bucket must be in the same Region and Amazon Web Services + * account as the general purpose bucket. The specified metadata table name must be + * unique within the aws_s3_metadata namespace in the destination + * table bucket.

    + */ + inline const S3TablesDestination& GetS3TablesDestination() const{ return m_s3TablesDestination; } + inline bool S3TablesDestinationHasBeenSet() const { return m_s3TablesDestinationHasBeenSet; } + inline void SetS3TablesDestination(const S3TablesDestination& value) { m_s3TablesDestinationHasBeenSet = true; m_s3TablesDestination = value; } + inline void SetS3TablesDestination(S3TablesDestination&& value) { m_s3TablesDestinationHasBeenSet = true; m_s3TablesDestination = std::move(value); } + inline MetadataTableConfiguration& WithS3TablesDestination(const S3TablesDestination& value) { SetS3TablesDestination(value); return *this;} + inline MetadataTableConfiguration& WithS3TablesDestination(S3TablesDestination&& value) { SetS3TablesDestination(std::move(value)); return *this;} + ///@} + private: + + S3TablesDestination m_s3TablesDestination; + bool m_s3TablesDestinationHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/MetadataTableConfigurationResult.h b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/MetadataTableConfigurationResult.h new file mode 100644 index 00000000000..f27e36e81a8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/MetadataTableConfigurationResult.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3Crt +{ +namespace Model +{ + + /** + *

    The metadata table configuration for a general purpose bucket. The + * destination table bucket must be in the same Region and Amazon Web Services + * account as the general purpose bucket. The specified metadata table name must be + * unique within the aws_s3_metadata namespace in the destination + * table bucket.

    See Also:

    AWS + * API Reference

    + */ + class MetadataTableConfigurationResult + { + public: + AWS_S3CRT_API MetadataTableConfigurationResult(); + AWS_S3CRT_API MetadataTableConfigurationResult(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3CRT_API MetadataTableConfigurationResult& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + ///@{ + /** + *

    The destination information for the metadata table configuration. The + * destination table bucket must be in the same Region and Amazon Web Services + * account as the general purpose bucket. The specified metadata table name must be + * unique within the aws_s3_metadata namespace in the destination + * table bucket.

    + */ + inline const S3TablesDestinationResult& GetS3TablesDestinationResult() const{ return m_s3TablesDestinationResult; } + inline bool S3TablesDestinationResultHasBeenSet() const { return m_s3TablesDestinationResultHasBeenSet; } + inline void SetS3TablesDestinationResult(const S3TablesDestinationResult& value) { m_s3TablesDestinationResultHasBeenSet = true; m_s3TablesDestinationResult = value; } + inline void SetS3TablesDestinationResult(S3TablesDestinationResult&& value) { m_s3TablesDestinationResultHasBeenSet = true; m_s3TablesDestinationResult = std::move(value); } + inline MetadataTableConfigurationResult& WithS3TablesDestinationResult(const S3TablesDestinationResult& value) { SetS3TablesDestinationResult(value); return *this;} + inline MetadataTableConfigurationResult& WithS3TablesDestinationResult(S3TablesDestinationResult&& value) { SetS3TablesDestinationResult(std::move(value)); return *this;} + ///@} + private: + + S3TablesDestinationResult m_s3TablesDestinationResult; + bool m_s3TablesDestinationResultHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/S3TablesDestination.h b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/S3TablesDestination.h new file mode 100644 index 00000000000..931bcff8497 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/S3TablesDestination.h @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3Crt +{ +namespace Model +{ + + /** + *

    The destination information for the metadata table configuration. The + * destination table bucket must be in the same Region and Amazon Web Services + * account as the general purpose bucket. The specified metadata table name must be + * unique within the aws_s3_metadata namespace in the destination + * table bucket.

    See Also:

    AWS + * API Reference

    + */ + class S3TablesDestination + { + public: + AWS_S3CRT_API S3TablesDestination(); + AWS_S3CRT_API S3TablesDestination(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3CRT_API S3TablesDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the table bucket that's specified as the + * destination in the metadata table configuration. The destination table bucket + * must be in the same Region and Amazon Web Services account as the general + * purpose bucket.

    + */ + inline const Aws::String& GetTableBucketArn() const{ return m_tableBucketArn; } + inline bool TableBucketArnHasBeenSet() const { return m_tableBucketArnHasBeenSet; } + inline void SetTableBucketArn(const Aws::String& value) { m_tableBucketArnHasBeenSet = true; m_tableBucketArn = value; } + inline void SetTableBucketArn(Aws::String&& value) { m_tableBucketArnHasBeenSet = true; m_tableBucketArn = std::move(value); } + inline void SetTableBucketArn(const char* value) { m_tableBucketArnHasBeenSet = true; m_tableBucketArn.assign(value); } + inline S3TablesDestination& WithTableBucketArn(const Aws::String& value) { SetTableBucketArn(value); return *this;} + inline S3TablesDestination& WithTableBucketArn(Aws::String&& value) { SetTableBucketArn(std::move(value)); return *this;} + inline S3TablesDestination& WithTableBucketArn(const char* value) { SetTableBucketArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The name for the metadata table in your metadata table configuration. The + * specified metadata table name must be unique within the + * aws_s3_metadata namespace in the destination table bucket.

    + */ + inline const Aws::String& GetTableName() const{ return m_tableName; } + inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } + inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } + inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } + inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } + inline S3TablesDestination& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} + inline S3TablesDestination& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} + inline S3TablesDestination& WithTableName(const char* value) { SetTableName(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketArn; + bool m_tableBucketArnHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/S3TablesDestinationResult.h b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/S3TablesDestinationResult.h new file mode 100644 index 00000000000..2afcf97f584 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/model/S3TablesDestinationResult.h @@ -0,0 +1,124 @@ +/** + * 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 Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3Crt +{ +namespace Model +{ + + /** + *

    The destination information for the metadata table configuration. The + * destination table bucket must be in the same Region and Amazon Web Services + * account as the general purpose bucket. The specified metadata table name must be + * unique within the aws_s3_metadata namespace in the destination + * table bucket.

    See Also:

    AWS + * API Reference

    + */ + class S3TablesDestinationResult + { + public: + AWS_S3CRT_API S3TablesDestinationResult(); + AWS_S3CRT_API S3TablesDestinationResult(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3CRT_API S3TablesDestinationResult& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the table bucket that's specified as the + * destination in the metadata table configuration. The destination table bucket + * must be in the same Region and Amazon Web Services account as the general + * purpose bucket.

    + */ + inline const Aws::String& GetTableBucketArn() const{ return m_tableBucketArn; } + inline bool TableBucketArnHasBeenSet() const { return m_tableBucketArnHasBeenSet; } + inline void SetTableBucketArn(const Aws::String& value) { m_tableBucketArnHasBeenSet = true; m_tableBucketArn = value; } + inline void SetTableBucketArn(Aws::String&& value) { m_tableBucketArnHasBeenSet = true; m_tableBucketArn = std::move(value); } + inline void SetTableBucketArn(const char* value) { m_tableBucketArnHasBeenSet = true; m_tableBucketArn.assign(value); } + inline S3TablesDestinationResult& WithTableBucketArn(const Aws::String& value) { SetTableBucketArn(value); return *this;} + inline S3TablesDestinationResult& WithTableBucketArn(Aws::String&& value) { SetTableBucketArn(std::move(value)); return *this;} + inline S3TablesDestinationResult& WithTableBucketArn(const char* value) { SetTableBucketArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The name for the metadata table in your metadata table configuration. The + * specified metadata table name must be unique within the + * aws_s3_metadata namespace in the destination table bucket.

    + */ + inline const Aws::String& GetTableName() const{ return m_tableName; } + inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } + inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } + inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } + inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } + inline S3TablesDestinationResult& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} + inline S3TablesDestinationResult& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} + inline S3TablesDestinationResult& WithTableName(const char* value) { SetTableName(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the metadata table in the metadata table + * configuration. The specified metadata table name must be unique within the + * aws_s3_metadata namespace in the destination table bucket.

    + */ + inline const Aws::String& GetTableArn() const{ return m_tableArn; } + inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; } + inline void SetTableArn(const Aws::String& value) { m_tableArnHasBeenSet = true; m_tableArn = value; } + inline void SetTableArn(Aws::String&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::move(value); } + inline void SetTableArn(const char* value) { m_tableArnHasBeenSet = true; m_tableArn.assign(value); } + inline S3TablesDestinationResult& WithTableArn(const Aws::String& value) { SetTableArn(value); return *this;} + inline S3TablesDestinationResult& WithTableArn(Aws::String&& value) { SetTableArn(std::move(value)); return *this;} + inline S3TablesDestinationResult& WithTableArn(const char* value) { SetTableArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The table bucket namespace for the metadata table in your metadata table + * configuration. This value is always aws_s3_metadata.

    + */ + inline const Aws::String& GetTableNamespace() const{ return m_tableNamespace; } + inline bool TableNamespaceHasBeenSet() const { return m_tableNamespaceHasBeenSet; } + inline void SetTableNamespace(const Aws::String& value) { m_tableNamespaceHasBeenSet = true; m_tableNamespace = value; } + inline void SetTableNamespace(Aws::String&& value) { m_tableNamespaceHasBeenSet = true; m_tableNamespace = std::move(value); } + inline void SetTableNamespace(const char* value) { m_tableNamespaceHasBeenSet = true; m_tableNamespace.assign(value); } + inline S3TablesDestinationResult& WithTableNamespace(const Aws::String& value) { SetTableNamespace(value); return *this;} + inline S3TablesDestinationResult& WithTableNamespace(Aws::String&& value) { SetTableNamespace(std::move(value)); return *this;} + inline S3TablesDestinationResult& WithTableNamespace(const char* value) { SetTableNamespace(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketArn; + bool m_tableBucketArnHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + + Aws::String m_tableArn; + bool m_tableArnHasBeenSet = false; + + Aws::String m_tableNamespace; + bool m_tableNamespaceHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/source/S3CrtClient.cpp b/generated/src/aws-cpp-sdk-s3-crt/source/S3CrtClient.cpp index d910764d923..820fa54224a 100644 --- a/generated/src/aws-cpp-sdk-s3-crt/source/S3CrtClient.cpp +++ b/generated/src/aws-cpp-sdk-s3-crt/source/S3CrtClient.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -36,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -56,6 +58,7 @@ #include #include #include +#include #include #include #include @@ -1365,6 +1368,51 @@ CreateBucketOutcome S3CrtClient::CreateBucket(const CreateBucketRequest& request {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateBucketMetadataTableConfigurationOutcome S3CrtClient::CreateBucketMetadataTableConfiguration(const CreateBucketMetadataTableConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(CreateBucketMetadataTableConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateBucketMetadataTableConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateBucketMetadataTableConfiguration", "Required field: Bucket, is not set"); + return CreateBucketMetadataTableConfigurationOutcome(Aws::Client::AWSError(S3CrtErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateBucketMetadataTableConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateBucketMetadataTableConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> CreateBucketMetadataTableConfigurationOutcome { + 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, CreateBucketMetadataTableConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + Aws::StringStream ss; + ss.str("?metadataTable"); + endpointResolutionOutcome.GetResult().SetQueryString(ss.str()); + request.SetServiceSpecificParameters( + [&]() -> std::shared_ptr { + Aws::Map params; + auto isExpress = endpointResolutionOutcome.GetResult().AccessAttributes().value().backend == "S3Express"; + if (!request.ChecksumAlgorithmHasBeenSet() && isExpress && request.GetChecksumAlgorithmName() == "md5") { + params.emplace("overrideChecksum", "crc32"); + } + params.emplace("bucketName", request.GetBucket()); + ServiceSpecificParameters serviceSpecificParameters{params}; + return Aws::MakeShared(ALLOCATION_TAG, serviceSpecificParameters); + }()); + return CreateBucketMetadataTableConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CreateMultipartUploadOutcome S3CrtClient::CreateMultipartUpload(const CreateMultipartUploadRequest& request) const { AWS_OPERATION_GUARD(CreateMultipartUpload); @@ -1752,6 +1800,47 @@ DeleteBucketLifecycleOutcome S3CrtClient::DeleteBucketLifecycle(const DeleteBuck {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteBucketMetadataTableConfigurationOutcome S3CrtClient::DeleteBucketMetadataTableConfiguration(const DeleteBucketMetadataTableConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteBucketMetadataTableConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteBucketMetadataTableConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketMetadataTableConfiguration", "Required field: Bucket, is not set"); + return DeleteBucketMetadataTableConfigurationOutcome(Aws::Client::AWSError(S3CrtErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteBucketMetadataTableConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteBucketMetadataTableConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> DeleteBucketMetadataTableConfigurationOutcome { + 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, DeleteBucketMetadataTableConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + Aws::StringStream ss; + ss.str("?metadataTable"); + endpointResolutionOutcome.GetResult().SetQueryString(ss.str()); + request.SetServiceSpecificParameters( + [&]() -> std::shared_ptr { + Aws::Map params; + params.emplace("bucketName", request.GetBucket()); + ServiceSpecificParameters serviceSpecificParameters{params}; + return Aws::MakeShared(ALLOCATION_TAG, serviceSpecificParameters); + }()); + return DeleteBucketMetadataTableConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DeleteBucketMetricsConfigurationOutcome S3CrtClient::DeleteBucketMetricsConfiguration(const DeleteBucketMetricsConfigurationRequest& request) const { AWS_OPERATION_GUARD(DeleteBucketMetricsConfiguration); @@ -2605,6 +2694,47 @@ GetBucketLoggingOutcome S3CrtClient::GetBucketLogging(const GetBucketLoggingRequ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetBucketMetadataTableConfigurationOutcome S3CrtClient::GetBucketMetadataTableConfiguration(const GetBucketMetadataTableConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(GetBucketMetadataTableConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetBucketMetadataTableConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketMetadataTableConfiguration", "Required field: Bucket, is not set"); + return GetBucketMetadataTableConfigurationOutcome(Aws::Client::AWSError(S3CrtErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetBucketMetadataTableConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetBucketMetadataTableConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> GetBucketMetadataTableConfigurationOutcome { + 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, GetBucketMetadataTableConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + Aws::StringStream ss; + ss.str("?metadataTable"); + endpointResolutionOutcome.GetResult().SetQueryString(ss.str()); + request.SetServiceSpecificParameters( + [&]() -> std::shared_ptr { + Aws::Map params; + params.emplace("bucketName", request.GetBucket()); + ServiceSpecificParameters serviceSpecificParameters{params}; + return Aws::MakeShared(ALLOCATION_TAG, serviceSpecificParameters); + }()); + return GetBucketMetadataTableConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetBucketMetricsConfigurationOutcome S3CrtClient::GetBucketMetricsConfiguration(const GetBucketMetricsConfigurationRequest& request) const { AWS_OPERATION_GUARD(GetBucketMetricsConfiguration); diff --git a/generated/src/aws-cpp-sdk-s3-crt/source/model/CreateBucketMetadataTableConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3-crt/source/model/CreateBucketMetadataTableConfigurationRequest.cpp new file mode 100644 index 00000000000..f9425979f10 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/source/model/CreateBucketMetadataTableConfigurationRequest.cpp @@ -0,0 +1,118 @@ +/** + * 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::S3Crt::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +CreateBucketMetadataTableConfigurationRequest::CreateBucketMetadataTableConfigurationRequest() : + m_bucketHasBeenSet(false), + m_contentMD5HasBeenSet(false), + m_checksumAlgorithm(ChecksumAlgorithm::NOT_SET), + m_checksumAlgorithmHasBeenSet(false), + m_metadataTableConfigurationHasBeenSet(false), + m_expectedBucketOwnerHasBeenSet(false), + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String CreateBucketMetadataTableConfigurationRequest::SerializePayload() const +{ + XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("MetadataTableConfiguration"); + + XmlNode parentNode = payloadDoc.GetRootElement(); + parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); + + m_metadataTableConfiguration.AddToNode(parentNode); + if(parentNode.HasChildren()) + { + return payloadDoc.ConvertToString(); + } + + return {}; +} + +void CreateBucketMetadataTableConfigurationRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection CreateBucketMetadataTableConfigurationRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_contentMD5HasBeenSet) + { + ss << m_contentMD5; + headers.emplace("content-md5", ss.str()); + ss.str(""); + } + + if(m_checksumAlgorithmHasBeenSet && m_checksumAlgorithm != ChecksumAlgorithm::NOT_SET) + { + headers.emplace("x-amz-sdk-checksum-algorithm", ChecksumAlgorithmMapper::GetNameForChecksumAlgorithm(m_checksumAlgorithm)); + } + + if(m_expectedBucketOwnerHasBeenSet) + { + ss << m_expectedBucketOwner; + headers.emplace("x-amz-expected-bucket-owner", ss.str()); + ss.str(""); + } + + return headers; +} + +CreateBucketMetadataTableConfigurationRequest::EndpointParameters CreateBucketMetadataTableConfigurationRequest::GetEndpointContextParams() const +{ + EndpointParameters parameters; + // Static context parameters + parameters.emplace_back(Aws::String("UseS3ExpressControlEndpoint"), true, Aws::Endpoint::EndpointParameter::ParameterOrigin::STATIC_CONTEXT); + // Operation context parameters + if (BucketHasBeenSet()) { + parameters.emplace_back(Aws::String("Bucket"), this->GetBucket(), Aws::Endpoint::EndpointParameter::ParameterOrigin::OPERATION_CONTEXT); + } + return parameters; +} + +Aws::String CreateBucketMetadataTableConfigurationRequest::GetChecksumAlgorithmName() const +{ + if (m_checksumAlgorithm == ChecksumAlgorithm::NOT_SET) + { + return "md5"; + } + else + { + return ChecksumAlgorithmMapper::GetNameForChecksumAlgorithm(m_checksumAlgorithm); + } +} + diff --git a/generated/src/aws-cpp-sdk-s3-crt/source/model/DeleteBucketMetadataTableConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3-crt/source/model/DeleteBucketMetadataTableConfigurationRequest.cpp new file mode 100644 index 00000000000..ea7553a641c --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/source/model/DeleteBucketMetadataTableConfigurationRequest.cpp @@ -0,0 +1,78 @@ +/** + * 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::S3Crt::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +DeleteBucketMetadataTableConfigurationRequest::DeleteBucketMetadataTableConfigurationRequest() : + m_bucketHasBeenSet(false), + m_expectedBucketOwnerHasBeenSet(false), + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String DeleteBucketMetadataTableConfigurationRequest::SerializePayload() const +{ + return {}; +} + +void DeleteBucketMetadataTableConfigurationRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection DeleteBucketMetadataTableConfigurationRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_expectedBucketOwnerHasBeenSet) + { + ss << m_expectedBucketOwner; + headers.emplace("x-amz-expected-bucket-owner", ss.str()); + ss.str(""); + } + + return headers; +} + +DeleteBucketMetadataTableConfigurationRequest::EndpointParameters DeleteBucketMetadataTableConfigurationRequest::GetEndpointContextParams() const +{ + EndpointParameters parameters; + // Static context parameters + parameters.emplace_back(Aws::String("UseS3ExpressControlEndpoint"), true, Aws::Endpoint::EndpointParameter::ParameterOrigin::STATIC_CONTEXT); + // Operation context parameters + if (BucketHasBeenSet()) { + parameters.emplace_back(Aws::String("Bucket"), this->GetBucket(), Aws::Endpoint::EndpointParameter::ParameterOrigin::OPERATION_CONTEXT); + } + return parameters; +} diff --git a/generated/src/aws-cpp-sdk-s3-crt/source/model/ErrorDetails.cpp b/generated/src/aws-cpp-sdk-s3-crt/source/model/ErrorDetails.cpp new file mode 100644 index 00000000000..593405a611c --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/source/model/ErrorDetails.cpp @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Crt +{ +namespace Model +{ + +ErrorDetails::ErrorDetails() : + m_errorCodeHasBeenSet(false), + m_errorMessageHasBeenSet(false) +{ +} + +ErrorDetails::ErrorDetails(const XmlNode& xmlNode) + : ErrorDetails() +{ + *this = xmlNode; +} + +ErrorDetails& ErrorDetails::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode errorCodeNode = resultNode.FirstChild("ErrorCode"); + if(!errorCodeNode.IsNull()) + { + m_errorCode = Aws::Utils::Xml::DecodeEscapedXmlText(errorCodeNode.GetText()); + m_errorCodeHasBeenSet = true; + } + XmlNode errorMessageNode = resultNode.FirstChild("ErrorMessage"); + if(!errorMessageNode.IsNull()) + { + m_errorMessage = Aws::Utils::Xml::DecodeEscapedXmlText(errorMessageNode.GetText()); + m_errorMessageHasBeenSet = true; + } + } + + return *this; +} + +void ErrorDetails::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_errorCodeHasBeenSet) + { + XmlNode errorCodeNode = parentNode.CreateChildElement("ErrorCode"); + errorCodeNode.SetText(m_errorCode); + } + + if(m_errorMessageHasBeenSet) + { + XmlNode errorMessageNode = parentNode.CreateChildElement("ErrorMessage"); + errorMessageNode.SetText(m_errorMessage); + } + +} + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/source/model/GetBucketMetadataTableConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3-crt/source/model/GetBucketMetadataTableConfigurationRequest.cpp new file mode 100644 index 00000000000..7c445e49a2f --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/source/model/GetBucketMetadataTableConfigurationRequest.cpp @@ -0,0 +1,78 @@ +/** + * 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::S3Crt::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +GetBucketMetadataTableConfigurationRequest::GetBucketMetadataTableConfigurationRequest() : + m_bucketHasBeenSet(false), + m_expectedBucketOwnerHasBeenSet(false), + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String GetBucketMetadataTableConfigurationRequest::SerializePayload() const +{ + return {}; +} + +void GetBucketMetadataTableConfigurationRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection GetBucketMetadataTableConfigurationRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_expectedBucketOwnerHasBeenSet) + { + ss << m_expectedBucketOwner; + headers.emplace("x-amz-expected-bucket-owner", ss.str()); + ss.str(""); + } + + return headers; +} + +GetBucketMetadataTableConfigurationRequest::EndpointParameters GetBucketMetadataTableConfigurationRequest::GetEndpointContextParams() const +{ + EndpointParameters parameters; + // Static context parameters + parameters.emplace_back(Aws::String("UseS3ExpressControlEndpoint"), true, Aws::Endpoint::EndpointParameter::ParameterOrigin::STATIC_CONTEXT); + // Operation context parameters + if (BucketHasBeenSet()) { + parameters.emplace_back(Aws::String("Bucket"), this->GetBucket(), Aws::Endpoint::EndpointParameter::ParameterOrigin::OPERATION_CONTEXT); + } + return parameters; +} diff --git a/generated/src/aws-cpp-sdk-s3-crt/source/model/GetBucketMetadataTableConfigurationResult.cpp b/generated/src/aws-cpp-sdk-s3-crt/source/model/GetBucketMetadataTableConfigurationResult.cpp new file mode 100644 index 00000000000..13ab30e55dc --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/source/model/GetBucketMetadataTableConfigurationResult.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Crt +{ +namespace Model +{ + +GetBucketMetadataTableConfigurationResult::GetBucketMetadataTableConfigurationResult() : + m_metadataTableConfigurationResultHasBeenSet(false), + m_statusHasBeenSet(false), + m_errorHasBeenSet(false) +{ +} + +GetBucketMetadataTableConfigurationResult::GetBucketMetadataTableConfigurationResult(const XmlNode& xmlNode) + : GetBucketMetadataTableConfigurationResult() +{ + *this = xmlNode; +} + +GetBucketMetadataTableConfigurationResult& GetBucketMetadataTableConfigurationResult::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode metadataTableConfigurationResultNode = resultNode.FirstChild("MetadataTableConfigurationResult"); + if(!metadataTableConfigurationResultNode.IsNull()) + { + m_metadataTableConfigurationResult = metadataTableConfigurationResultNode; + m_metadataTableConfigurationResultHasBeenSet = true; + } + XmlNode statusNode = resultNode.FirstChild("Status"); + if(!statusNode.IsNull()) + { + m_status = Aws::Utils::Xml::DecodeEscapedXmlText(statusNode.GetText()); + m_statusHasBeenSet = true; + } + XmlNode errorNode = resultNode.FirstChild("Error"); + if(!errorNode.IsNull()) + { + m_error = errorNode; + m_errorHasBeenSet = true; + } + } + + return *this; +} + +void GetBucketMetadataTableConfigurationResult::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_metadataTableConfigurationResultHasBeenSet) + { + XmlNode metadataTableConfigurationResultNode = parentNode.CreateChildElement("MetadataTableConfigurationResult"); + m_metadataTableConfigurationResult.AddToNode(metadataTableConfigurationResultNode); + } + + if(m_statusHasBeenSet) + { + XmlNode statusNode = parentNode.CreateChildElement("Status"); + statusNode.SetText(m_status); + } + + if(m_errorHasBeenSet) + { + XmlNode errorNode = parentNode.CreateChildElement("Error"); + m_error.AddToNode(errorNode); + } + +} + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/source/model/GetBucketMetadataTableConfigurationSdkResult.cpp b/generated/src/aws-cpp-sdk-s3-crt/source/model/GetBucketMetadataTableConfigurationSdkResult.cpp new file mode 100644 index 00000000000..3b8e85ab996 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/source/model/GetBucketMetadataTableConfigurationSdkResult.cpp @@ -0,0 +1,46 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include + +#include + +using namespace Aws::S3Crt::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws; + +GetBucketMetadataTableConfigurationSdkResult::GetBucketMetadataTableConfigurationSdkResult() +{ +} + +GetBucketMetadataTableConfigurationSdkResult::GetBucketMetadataTableConfigurationSdkResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetBucketMetadataTableConfigurationSdkResult& GetBucketMetadataTableConfigurationSdkResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode resultNode = xmlDocument.GetRootElement(); + + if(!resultNode.IsNull()) + { + m_getBucketMetadataTableConfigurationResult = resultNode; + } + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amz-request-id"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3-crt/source/model/MetadataTableConfiguration.cpp b/generated/src/aws-cpp-sdk-s3-crt/source/model/MetadataTableConfiguration.cpp new file mode 100644 index 00000000000..7980bcea23c --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/source/model/MetadataTableConfiguration.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Crt +{ +namespace Model +{ + +MetadataTableConfiguration::MetadataTableConfiguration() : + m_s3TablesDestinationHasBeenSet(false) +{ +} + +MetadataTableConfiguration::MetadataTableConfiguration(const XmlNode& xmlNode) + : MetadataTableConfiguration() +{ + *this = xmlNode; +} + +MetadataTableConfiguration& MetadataTableConfiguration::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode s3TablesDestinationNode = resultNode.FirstChild("S3TablesDestination"); + if(!s3TablesDestinationNode.IsNull()) + { + m_s3TablesDestination = s3TablesDestinationNode; + m_s3TablesDestinationHasBeenSet = true; + } + } + + return *this; +} + +void MetadataTableConfiguration::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_s3TablesDestinationHasBeenSet) + { + XmlNode s3TablesDestinationNode = parentNode.CreateChildElement("S3TablesDestination"); + m_s3TablesDestination.AddToNode(s3TablesDestinationNode); + } + +} + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/source/model/MetadataTableConfigurationResult.cpp b/generated/src/aws-cpp-sdk-s3-crt/source/model/MetadataTableConfigurationResult.cpp new file mode 100644 index 00000000000..98ee88e6b00 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/source/model/MetadataTableConfigurationResult.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Crt +{ +namespace Model +{ + +MetadataTableConfigurationResult::MetadataTableConfigurationResult() : + m_s3TablesDestinationResultHasBeenSet(false) +{ +} + +MetadataTableConfigurationResult::MetadataTableConfigurationResult(const XmlNode& xmlNode) + : MetadataTableConfigurationResult() +{ + *this = xmlNode; +} + +MetadataTableConfigurationResult& MetadataTableConfigurationResult::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode s3TablesDestinationResultNode = resultNode.FirstChild("S3TablesDestinationResult"); + if(!s3TablesDestinationResultNode.IsNull()) + { + m_s3TablesDestinationResult = s3TablesDestinationResultNode; + m_s3TablesDestinationResultHasBeenSet = true; + } + } + + return *this; +} + +void MetadataTableConfigurationResult::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_s3TablesDestinationResultHasBeenSet) + { + XmlNode s3TablesDestinationResultNode = parentNode.CreateChildElement("S3TablesDestinationResult"); + m_s3TablesDestinationResult.AddToNode(s3TablesDestinationResultNode); + } + +} + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/source/model/S3TablesDestination.cpp b/generated/src/aws-cpp-sdk-s3-crt/source/model/S3TablesDestination.cpp new file mode 100644 index 00000000000..85de1c1b574 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/source/model/S3TablesDestination.cpp @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Crt +{ +namespace Model +{ + +S3TablesDestination::S3TablesDestination() : + m_tableBucketArnHasBeenSet(false), + m_tableNameHasBeenSet(false) +{ +} + +S3TablesDestination::S3TablesDestination(const XmlNode& xmlNode) + : S3TablesDestination() +{ + *this = xmlNode; +} + +S3TablesDestination& S3TablesDestination::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode tableBucketArnNode = resultNode.FirstChild("TableBucketArn"); + if(!tableBucketArnNode.IsNull()) + { + m_tableBucketArn = Aws::Utils::Xml::DecodeEscapedXmlText(tableBucketArnNode.GetText()); + m_tableBucketArnHasBeenSet = true; + } + XmlNode tableNameNode = resultNode.FirstChild("TableName"); + if(!tableNameNode.IsNull()) + { + m_tableName = Aws::Utils::Xml::DecodeEscapedXmlText(tableNameNode.GetText()); + m_tableNameHasBeenSet = true; + } + } + + return *this; +} + +void S3TablesDestination::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_tableBucketArnHasBeenSet) + { + XmlNode tableBucketArnNode = parentNode.CreateChildElement("TableBucketArn"); + tableBucketArnNode.SetText(m_tableBucketArn); + } + + if(m_tableNameHasBeenSet) + { + XmlNode tableNameNode = parentNode.CreateChildElement("TableName"); + tableNameNode.SetText(m_tableName); + } + +} + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3-crt/source/model/S3TablesDestinationResult.cpp b/generated/src/aws-cpp-sdk-s3-crt/source/model/S3TablesDestinationResult.cpp new file mode 100644 index 00000000000..b4065934d5a --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3-crt/source/model/S3TablesDestinationResult.cpp @@ -0,0 +1,103 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Crt +{ +namespace Model +{ + +S3TablesDestinationResult::S3TablesDestinationResult() : + m_tableBucketArnHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_tableArnHasBeenSet(false), + m_tableNamespaceHasBeenSet(false) +{ +} + +S3TablesDestinationResult::S3TablesDestinationResult(const XmlNode& xmlNode) + : S3TablesDestinationResult() +{ + *this = xmlNode; +} + +S3TablesDestinationResult& S3TablesDestinationResult::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode tableBucketArnNode = resultNode.FirstChild("TableBucketArn"); + if(!tableBucketArnNode.IsNull()) + { + m_tableBucketArn = Aws::Utils::Xml::DecodeEscapedXmlText(tableBucketArnNode.GetText()); + m_tableBucketArnHasBeenSet = true; + } + XmlNode tableNameNode = resultNode.FirstChild("TableName"); + if(!tableNameNode.IsNull()) + { + m_tableName = Aws::Utils::Xml::DecodeEscapedXmlText(tableNameNode.GetText()); + m_tableNameHasBeenSet = true; + } + XmlNode tableArnNode = resultNode.FirstChild("TableArn"); + if(!tableArnNode.IsNull()) + { + m_tableArn = Aws::Utils::Xml::DecodeEscapedXmlText(tableArnNode.GetText()); + m_tableArnHasBeenSet = true; + } + XmlNode tableNamespaceNode = resultNode.FirstChild("TableNamespace"); + if(!tableNamespaceNode.IsNull()) + { + m_tableNamespace = Aws::Utils::Xml::DecodeEscapedXmlText(tableNamespaceNode.GetText()); + m_tableNamespaceHasBeenSet = true; + } + } + + return *this; +} + +void S3TablesDestinationResult::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_tableBucketArnHasBeenSet) + { + XmlNode tableBucketArnNode = parentNode.CreateChildElement("TableBucketArn"); + tableBucketArnNode.SetText(m_tableBucketArn); + } + + if(m_tableNameHasBeenSet) + { + XmlNode tableNameNode = parentNode.CreateChildElement("TableName"); + tableNameNode.SetText(m_tableName); + } + + if(m_tableArnHasBeenSet) + { + XmlNode tableArnNode = parentNode.CreateChildElement("TableArn"); + tableArnNode.SetText(m_tableArn); + } + + if(m_tableNamespaceHasBeenSet) + { + XmlNode tableNamespaceNode = parentNode.CreateChildElement("TableNamespace"); + tableNamespaceNode.SetText(m_tableNamespace); + } + +} + +} // namespace Model +} // namespace S3Crt +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/include/aws/s3/S3Client.h b/generated/src/aws-cpp-sdk-s3/include/aws/s3/S3Client.h index 8a2867f0c83..797950aaa54 100644 --- a/generated/src/aws-cpp-sdk-s3/include/aws/s3/S3Client.h +++ b/generated/src/aws-cpp-sdk-s3/include/aws/s3/S3Client.h @@ -627,6 +627,55 @@ namespace Aws return SubmitAsync(&S3Client::CreateBucket, request, handler, context); } + /** + *

    Creates a metadata table configuration for a general purpose bucket. For more + * information, see Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

    + *
    Permissions

    To use this operation, you must have the + * following permissions. For more information, see Setting + * up permissions for configuring metadata tables in the Amazon S3 User + * Guide.

    If you also want to integrate your table bucket with Amazon + * Web Services analytics services so that you can query your metadata table, you + * need additional permissions. For more information, see + * Integrating Amazon S3 Tables with Amazon Web Services analytics services in + * the Amazon S3 User Guide.

    • + * s3:CreateBucketMetadataTableConfiguration

    • + * s3tables:CreateNamespace

    • + * s3tables:GetTable

    • + * s3tables:CreateTable

    • + * s3tables:PutTablePolicy

    The + * following operations are related to + * CreateBucketMetadataTableConfiguration:

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateBucketMetadataTableConfigurationOutcome CreateBucketMetadataTableConfiguration(const Model::CreateBucketMetadataTableConfigurationRequest& request) const; + + /** + * A Callable wrapper for CreateBucketMetadataTableConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateBucketMetadataTableConfigurationOutcomeCallable CreateBucketMetadataTableConfigurationCallable(const CreateBucketMetadataTableConfigurationRequestT& request) const + { + return SubmitCallable(&S3Client::CreateBucketMetadataTableConfiguration, request); + } + + /** + * An Async wrapper for CreateBucketMetadataTableConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateBucketMetadataTableConfigurationAsync(const CreateBucketMetadataTableConfigurationRequestT& request, const CreateBucketMetadataTableConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3Client::CreateBucketMetadataTableConfiguration, request, handler, context); + } + /** *

    This action initiates a multipart upload and returns an upload ID. This * upload ID is used to associate all of the parts in the specific multipart @@ -1390,6 +1439,45 @@ namespace Aws return SubmitAsync(&S3Client::DeleteBucketLifecycle, request, handler, context); } + /** + *

    Deletes a metadata table configuration from a general purpose bucket. For + * more information, see Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

    + *
    Permissions

    To use this operation, you must have the + * s3:DeleteBucketMetadataTableConfiguration permission. For more + * information, see Setting + * up permissions for configuring metadata tables in the Amazon S3 User + * Guide.

    The following operations are related to + * DeleteBucketMetadataTableConfiguration:

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteBucketMetadataTableConfigurationOutcome DeleteBucketMetadataTableConfiguration(const Model::DeleteBucketMetadataTableConfigurationRequest& request) const; + + /** + * A Callable wrapper for DeleteBucketMetadataTableConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteBucketMetadataTableConfigurationOutcomeCallable DeleteBucketMetadataTableConfigurationCallable(const DeleteBucketMetadataTableConfigurationRequestT& request) const + { + return SubmitCallable(&S3Client::DeleteBucketMetadataTableConfiguration, request); + } + + /** + * An Async wrapper for DeleteBucketMetadataTableConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteBucketMetadataTableConfigurationAsync(const DeleteBucketMetadataTableConfigurationRequestT& request, const DeleteBucketMetadataTableConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3Client::DeleteBucketMetadataTableConfiguration, request, handler, context); + } + /** *

    This operation is not supported for directory buckets.

    *

    Deletes a metrics configuration for the Amazon CloudWatch request metrics @@ -2474,6 +2562,45 @@ namespace Aws return SubmitAsync(&S3Client::GetBucketLogging, request, handler, context); } + /** + *

    Retrieves the metadata table configuration for a general purpose bucket. For + * more information, see Accelerating + * data discovery with S3 Metadata in the Amazon S3 User Guide.

    + *
    Permissions

    To use this operation, you must have the + * s3:GetBucketMetadataTableConfiguration permission. For more + * information, see Setting + * up permissions for configuring metadata tables in the Amazon S3 User + * Guide.

    The following operations are related to + * GetBucketMetadataTableConfiguration:

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetBucketMetadataTableConfigurationOutcome GetBucketMetadataTableConfiguration(const Model::GetBucketMetadataTableConfigurationRequest& request) const; + + /** + * A Callable wrapper for GetBucketMetadataTableConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetBucketMetadataTableConfigurationOutcomeCallable GetBucketMetadataTableConfigurationCallable(const GetBucketMetadataTableConfigurationRequestT& request) const + { + return SubmitCallable(&S3Client::GetBucketMetadataTableConfiguration, request); + } + + /** + * An Async wrapper for GetBucketMetadataTableConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetBucketMetadataTableConfigurationAsync(const GetBucketMetadataTableConfigurationRequestT& request, const GetBucketMetadataTableConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3Client::GetBucketMetadataTableConfiguration, request, handler, context); + } + /** *

    This operation is not supported for directory buckets.

    *

    Gets a metrics configuration (specified by the metrics configuration ID) from diff --git a/generated/src/aws-cpp-sdk-s3/include/aws/s3/S3ServiceClientModel.h b/generated/src/aws-cpp-sdk-s3/include/aws/s3/S3ServiceClientModel.h index 71fdacfaf7a..c5bddb4513d 100644 --- a/generated/src/aws-cpp-sdk-s3/include/aws/s3/S3ServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-s3/include/aws/s3/S3ServiceClientModel.h @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -125,6 +126,7 @@ namespace Aws class CompleteMultipartUploadRequest; class CopyObjectRequest; class CreateBucketRequest; + class CreateBucketMetadataTableConfigurationRequest; class CreateMultipartUploadRequest; class CreateSessionRequest; class DeleteBucketRequest; @@ -134,6 +136,7 @@ namespace Aws class DeleteBucketIntelligentTieringConfigurationRequest; class DeleteBucketInventoryConfigurationRequest; class DeleteBucketLifecycleRequest; + class DeleteBucketMetadataTableConfigurationRequest; class DeleteBucketMetricsConfigurationRequest; class DeleteBucketOwnershipControlsRequest; class DeleteBucketPolicyRequest; @@ -154,6 +157,7 @@ namespace Aws class GetBucketLifecycleConfigurationRequest; class GetBucketLocationRequest; class GetBucketLoggingRequest; + class GetBucketMetadataTableConfigurationRequest; class GetBucketMetricsConfigurationRequest; class GetBucketNotificationConfigurationRequest; class GetBucketOwnershipControlsRequest; @@ -223,6 +227,7 @@ namespace Aws typedef Aws::Utils::Outcome CompleteMultipartUploadOutcome; typedef Aws::Utils::Outcome CopyObjectOutcome; typedef Aws::Utils::Outcome CreateBucketOutcome; + typedef Aws::Utils::Outcome CreateBucketMetadataTableConfigurationOutcome; typedef Aws::Utils::Outcome CreateMultipartUploadOutcome; typedef Aws::Utils::Outcome CreateSessionOutcome; typedef Aws::Utils::Outcome DeleteBucketOutcome; @@ -232,6 +237,7 @@ namespace Aws typedef Aws::Utils::Outcome DeleteBucketIntelligentTieringConfigurationOutcome; typedef Aws::Utils::Outcome DeleteBucketInventoryConfigurationOutcome; typedef Aws::Utils::Outcome DeleteBucketLifecycleOutcome; + typedef Aws::Utils::Outcome DeleteBucketMetadataTableConfigurationOutcome; typedef Aws::Utils::Outcome DeleteBucketMetricsConfigurationOutcome; typedef Aws::Utils::Outcome DeleteBucketOwnershipControlsOutcome; typedef Aws::Utils::Outcome DeleteBucketPolicyOutcome; @@ -252,6 +258,7 @@ namespace Aws typedef Aws::Utils::Outcome GetBucketLifecycleConfigurationOutcome; typedef Aws::Utils::Outcome GetBucketLocationOutcome; typedef Aws::Utils::Outcome GetBucketLoggingOutcome; + typedef Aws::Utils::Outcome GetBucketMetadataTableConfigurationOutcome; typedef Aws::Utils::Outcome GetBucketMetricsConfigurationOutcome; typedef Aws::Utils::Outcome GetBucketNotificationConfigurationOutcome; typedef Aws::Utils::Outcome GetBucketOwnershipControlsOutcome; @@ -321,6 +328,7 @@ namespace Aws typedef std::future CompleteMultipartUploadOutcomeCallable; typedef std::future CopyObjectOutcomeCallable; typedef std::future CreateBucketOutcomeCallable; + typedef std::future CreateBucketMetadataTableConfigurationOutcomeCallable; typedef std::future CreateMultipartUploadOutcomeCallable; typedef std::future CreateSessionOutcomeCallable; typedef std::future DeleteBucketOutcomeCallable; @@ -330,6 +338,7 @@ namespace Aws typedef std::future DeleteBucketIntelligentTieringConfigurationOutcomeCallable; typedef std::future DeleteBucketInventoryConfigurationOutcomeCallable; typedef std::future DeleteBucketLifecycleOutcomeCallable; + typedef std::future DeleteBucketMetadataTableConfigurationOutcomeCallable; typedef std::future DeleteBucketMetricsConfigurationOutcomeCallable; typedef std::future DeleteBucketOwnershipControlsOutcomeCallable; typedef std::future DeleteBucketPolicyOutcomeCallable; @@ -350,6 +359,7 @@ namespace Aws typedef std::future GetBucketLifecycleConfigurationOutcomeCallable; typedef std::future GetBucketLocationOutcomeCallable; typedef std::future GetBucketLoggingOutcomeCallable; + typedef std::future GetBucketMetadataTableConfigurationOutcomeCallable; typedef std::future GetBucketMetricsConfigurationOutcomeCallable; typedef std::future GetBucketNotificationConfigurationOutcomeCallable; typedef std::future GetBucketOwnershipControlsOutcomeCallable; @@ -422,6 +432,7 @@ namespace Aws typedef std::function&) > CompleteMultipartUploadResponseReceivedHandler; typedef std::function&) > CopyObjectResponseReceivedHandler; typedef std::function&) > CreateBucketResponseReceivedHandler; + typedef std::function&) > CreateBucketMetadataTableConfigurationResponseReceivedHandler; typedef std::function&) > CreateMultipartUploadResponseReceivedHandler; typedef std::function&) > CreateSessionResponseReceivedHandler; typedef std::function&) > DeleteBucketResponseReceivedHandler; @@ -431,6 +442,7 @@ namespace Aws typedef std::function&) > DeleteBucketIntelligentTieringConfigurationResponseReceivedHandler; typedef std::function&) > DeleteBucketInventoryConfigurationResponseReceivedHandler; typedef std::function&) > DeleteBucketLifecycleResponseReceivedHandler; + typedef std::function&) > DeleteBucketMetadataTableConfigurationResponseReceivedHandler; typedef std::function&) > DeleteBucketMetricsConfigurationResponseReceivedHandler; typedef std::function&) > DeleteBucketOwnershipControlsResponseReceivedHandler; typedef std::function&) > DeleteBucketPolicyResponseReceivedHandler; @@ -451,6 +463,7 @@ namespace Aws typedef std::function&) > GetBucketLifecycleConfigurationResponseReceivedHandler; typedef std::function&) > GetBucketLocationResponseReceivedHandler; typedef std::function&) > GetBucketLoggingResponseReceivedHandler; + typedef std::function&) > GetBucketMetadataTableConfigurationResponseReceivedHandler; typedef std::function&) > GetBucketMetricsConfigurationResponseReceivedHandler; typedef std::function&) > GetBucketNotificationConfigurationResponseReceivedHandler; typedef std::function&) > GetBucketOwnershipControlsResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketMetadataTableConfigurationRequest.h b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketMetadataTableConfigurationRequest.h new file mode 100644 index 00000000000..527354ebfae --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketMetadataTableConfigurationRequest.h @@ -0,0 +1,160 @@ +/** + * 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 Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + */ + class CreateBucketMetadataTableConfigurationRequest : public S3Request + { + public: + AWS_S3_API CreateBucketMetadataTableConfigurationRequest(); + + // 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 "CreateBucketMetadataTableConfiguration"; } + + AWS_S3_API Aws::String SerializePayload() const override; + + AWS_S3_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; + + ///@{ + /** + *

    The general purpose bucket that you want to create the metadata table + * configuration in.

    + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + inline CreateBucketMetadataTableConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + ///@} + + ///@{ + /** + *

    The Content-MD5 header for the metadata table configuration. + *

    + */ + inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } + inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } + inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } + inline CreateBucketMetadataTableConfigurationRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} + ///@} + + ///@{ + /** + *

    The checksum algorithm to use with your metadata table configuration.

    + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + inline CreateBucketMetadataTableConfigurationRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The contents of your metadata table configuration.

    + */ + inline const MetadataTableConfiguration& GetMetadataTableConfiguration() const{ return m_metadataTableConfiguration; } + inline bool MetadataTableConfigurationHasBeenSet() const { return m_metadataTableConfigurationHasBeenSet; } + inline void SetMetadataTableConfiguration(const MetadataTableConfiguration& value) { m_metadataTableConfigurationHasBeenSet = true; m_metadataTableConfiguration = value; } + inline void SetMetadataTableConfiguration(MetadataTableConfiguration&& value) { m_metadataTableConfigurationHasBeenSet = true; m_metadataTableConfiguration = std::move(value); } + inline CreateBucketMetadataTableConfigurationRequest& WithMetadataTableConfiguration(const MetadataTableConfiguration& value) { SetMetadataTableConfiguration(value); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithMetadataTableConfiguration(MetadataTableConfiguration&& value) { SetMetadataTableConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The expected owner of the general purpose bucket that contains your metadata + * table configuration.

    + */ + inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; } + inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; } + inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; } + inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); } + inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); } + inline CreateBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + ///@} + + ///@{ + + inline const Aws::Map& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + inline void SetCustomizedAccessLogTag(const Aws::Map& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + inline void SetCustomizedAccessLogTag(Aws::Map&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + inline CreateBucketMetadataTableConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map& value) { SetCustomizedAccessLogTag(value); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + inline CreateBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet = false; + + Aws::String m_contentMD5; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; + + MetadataTableConfiguration m_metadataTableConfiguration; + bool m_metadataTableConfigurationHasBeenSet = false; + + Aws::String m_expectedBucketOwner; + bool m_expectedBucketOwnerHasBeenSet = false; + + Aws::Map m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetadataTableConfigurationRequest.h b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetadataTableConfigurationRequest.h new file mode 100644 index 00000000000..2ff9b4847c6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetadataTableConfigurationRequest.h @@ -0,0 +1,108 @@ +/** + * 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 S3 +{ +namespace Model +{ + + /** + */ + class DeleteBucketMetadataTableConfigurationRequest : public S3Request + { + public: + AWS_S3_API DeleteBucketMetadataTableConfigurationRequest(); + + // 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 "DeleteBucketMetadataTableConfiguration"; } + + AWS_S3_API Aws::String SerializePayload() const override; + + AWS_S3_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; + + ///@{ + /** + *

    The general purpose bucket that you want to remove the metadata table + * configuration from.

    + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + inline DeleteBucketMetadataTableConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + inline DeleteBucketMetadataTableConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + inline DeleteBucketMetadataTableConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + ///@} + + ///@{ + /** + *

    The expected bucket owner of the general purpose bucket that you want to + * remove the metadata table configuration from.

    + */ + inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; } + inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; } + inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; } + inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); } + inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); } + inline DeleteBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;} + inline DeleteBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;} + inline DeleteBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + ///@} + + ///@{ + + inline const Aws::Map& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + inline void SetCustomizedAccessLogTag(const Aws::Map& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + inline void SetCustomizedAccessLogTag(Aws::Map&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + inline DeleteBucketMetadataTableConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map& value) { SetCustomizedAccessLogTag(value); return *this;} + inline DeleteBucketMetadataTableConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + inline DeleteBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet = false; + + Aws::String m_expectedBucketOwner; + bool m_expectedBucketOwnerHasBeenSet = false; + + Aws::Map m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDetails.h b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDetails.h new file mode 100644 index 00000000000..9908668e522 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDetails.h @@ -0,0 +1,136 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + *

    If the CreateBucketMetadataTableConfiguration request succeeds, + * but S3 Metadata was unable to create the table, this structure contains the + * error code and error message.

    See Also:

    AWS API + * Reference

    + */ + class ErrorDetails + { + public: + AWS_S3_API ErrorDetails(); + AWS_S3_API ErrorDetails(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ErrorDetails& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + ///@{ + /** + *

    If the CreateBucketMetadataTableConfiguration request succeeds, + * but S3 Metadata was unable to create the table, this structure contains the + * error code. The possible error codes and error messages are as follows:

    + *
    • AccessDeniedCreatingResources - You don't have + * sufficient permissions to create the required resources. Make sure that you have + * s3tables:CreateNamespace, s3tables:CreateTable, + * s3tables:GetTable and s3tables:PutTablePolicy + * permissions, and then try again. To create a new metadata table, you must delete + * the metadata configuration for this bucket, and then create a new metadata + * configuration.

    • AccessDeniedWritingToTable - + * Unable to write to the metadata table because of missing resource permissions. + * To fix the resource policy, Amazon S3 needs to create a new metadata table. To + * create a new metadata table, you must delete the metadata configuration for this + * bucket, and then create a new metadata configuration.

    • + * DestinationTableNotFound - The destination table doesn't exist. To + * create a new metadata table, you must delete the metadata configuration for this + * bucket, and then create a new metadata configuration.

    • + * ServerInternalError - An internal error has occurred. To create a + * new metadata table, you must delete the metadata configuration for this bucket, + * and then create a new metadata configuration.

    • + * TableAlreadyExists - The table that you specified already exists in + * the table bucket's namespace. Specify a different table name. To create a new + * metadata table, you must delete the metadata configuration for this bucket, and + * then create a new metadata configuration.

    • + * TableBucketNotFound - The table bucket that you specified doesn't + * exist in this Amazon Web Services Region and account. Create or choose a + * different table bucket. To create a new metadata table, you must delete the + * metadata configuration for this bucket, and then create a new metadata + * configuration.

    + */ + inline const Aws::String& GetErrorCode() const{ return m_errorCode; } + inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } + inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } + inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } + inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } + inline ErrorDetails& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} + inline ErrorDetails& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} + inline ErrorDetails& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} + ///@} + + ///@{ + /** + *

    If the CreateBucketMetadataTableConfiguration request succeeds, + * but S3 Metadata was unable to create the table, this structure contains the + * error message. The possible error codes and error messages are as follows:

    + *
    • AccessDeniedCreatingResources - You don't have + * sufficient permissions to create the required resources. Make sure that you have + * s3tables:CreateNamespace, s3tables:CreateTable, + * s3tables:GetTable and s3tables:PutTablePolicy + * permissions, and then try again. To create a new metadata table, you must delete + * the metadata configuration for this bucket, and then create a new metadata + * configuration.

    • AccessDeniedWritingToTable - + * Unable to write to the metadata table because of missing resource permissions. + * To fix the resource policy, Amazon S3 needs to create a new metadata table. To + * create a new metadata table, you must delete the metadata configuration for this + * bucket, and then create a new metadata configuration.

    • + * DestinationTableNotFound - The destination table doesn't exist. To + * create a new metadata table, you must delete the metadata configuration for this + * bucket, and then create a new metadata configuration.

    • + * ServerInternalError - An internal error has occurred. To create a + * new metadata table, you must delete the metadata configuration for this bucket, + * and then create a new metadata configuration.

    • + * TableAlreadyExists - The table that you specified already exists in + * the table bucket's namespace. Specify a different table name. To create a new + * metadata table, you must delete the metadata configuration for this bucket, and + * then create a new metadata configuration.

    • + * TableBucketNotFound - The table bucket that you specified doesn't + * exist in this Amazon Web Services Region and account. Create or choose a + * different table bucket. To create a new metadata table, you must delete the + * metadata configuration for this bucket, and then create a new metadata + * configuration.

    + */ + inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } + inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } + inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } + inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } + inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } + inline ErrorDetails& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} + inline ErrorDetails& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} + inline ErrorDetails& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} + ///@} + private: + + Aws::String m_errorCode; + bool m_errorCodeHasBeenSet = false; + + Aws::String m_errorMessage; + bool m_errorMessageHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetadataTableConfigurationRequest.h b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetadataTableConfigurationRequest.h new file mode 100644 index 00000000000..648de524966 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetadataTableConfigurationRequest.h @@ -0,0 +1,108 @@ +/** + * 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 S3 +{ +namespace Model +{ + + /** + */ + class GetBucketMetadataTableConfigurationRequest : public S3Request + { + public: + AWS_S3_API GetBucketMetadataTableConfigurationRequest(); + + // 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 "GetBucketMetadataTableConfiguration"; } + + AWS_S3_API Aws::String SerializePayload() const override; + + AWS_S3_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; + + ///@{ + /** + *

    The general purpose bucket that contains the metadata table configuration + * that you want to retrieve.

    + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + inline GetBucketMetadataTableConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + inline GetBucketMetadataTableConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + inline GetBucketMetadataTableConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + ///@} + + ///@{ + /** + *

    The expected owner of the general purpose bucket that you want to retrieve + * the metadata table configuration from.

    + */ + inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; } + inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; } + inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; } + inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); } + inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); } + inline GetBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;} + inline GetBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;} + inline GetBucketMetadataTableConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + ///@} + + ///@{ + + inline const Aws::Map& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + inline void SetCustomizedAccessLogTag(const Aws::Map& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + inline void SetCustomizedAccessLogTag(Aws::Map&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + inline GetBucketMetadataTableConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map& value) { SetCustomizedAccessLogTag(value); return *this;} + inline GetBucketMetadataTableConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + inline GetBucketMetadataTableConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet = false; + + Aws::String m_expectedBucketOwner; + bool m_expectedBucketOwnerHasBeenSet = false; + + Aws::Map m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetadataTableConfigurationResult.h b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetadataTableConfigurationResult.h new file mode 100644 index 00000000000..08eb0f1f5bd --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetadataTableConfigurationResult.h @@ -0,0 +1,102 @@ +/** + * 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 Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + *

    The metadata table configuration for a general purpose bucket. + *

    See Also:

    AWS + * API Reference

    + */ + class GetBucketMetadataTableConfigurationResult + { + public: + AWS_S3_API GetBucketMetadataTableConfigurationResult(); + AWS_S3_API GetBucketMetadataTableConfigurationResult(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API GetBucketMetadataTableConfigurationResult& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + ///@{ + /** + *

    The metadata table configuration for a general purpose bucket.

    + */ + inline const MetadataTableConfigurationResult& GetMetadataTableConfigurationResult() const{ return m_metadataTableConfigurationResult; } + inline bool MetadataTableConfigurationResultHasBeenSet() const { return m_metadataTableConfigurationResultHasBeenSet; } + inline void SetMetadataTableConfigurationResult(const MetadataTableConfigurationResult& value) { m_metadataTableConfigurationResultHasBeenSet = true; m_metadataTableConfigurationResult = value; } + inline void SetMetadataTableConfigurationResult(MetadataTableConfigurationResult&& value) { m_metadataTableConfigurationResultHasBeenSet = true; m_metadataTableConfigurationResult = std::move(value); } + inline GetBucketMetadataTableConfigurationResult& WithMetadataTableConfigurationResult(const MetadataTableConfigurationResult& value) { SetMetadataTableConfigurationResult(value); return *this;} + inline GetBucketMetadataTableConfigurationResult& WithMetadataTableConfigurationResult(MetadataTableConfigurationResult&& value) { SetMetadataTableConfigurationResult(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The status of the metadata table. The status values are:

    • + * CREATING - The metadata table is in the process of being created in + * the specified table bucket.

    • ACTIVE - The + * metadata table has been created successfully and records are being delivered to + * the table.

    • FAILED - Amazon S3 is unable to + * create the metadata table, or Amazon S3 is unable to deliver records. See + * ErrorDetails for details.

    + */ + inline const Aws::String& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } + inline GetBucketMetadataTableConfigurationResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} + inline GetBucketMetadataTableConfigurationResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} + inline GetBucketMetadataTableConfigurationResult& WithStatus(const char* value) { SetStatus(value); return *this;} + ///@} + + ///@{ + /** + *

    If the CreateBucketMetadataTableConfiguration request succeeds, + * but S3 Metadata was unable to create the table, this structure contains the + * error code and error message.

    + */ + inline const ErrorDetails& GetError() const{ return m_error; } + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + inline void SetError(const ErrorDetails& value) { m_errorHasBeenSet = true; m_error = value; } + inline void SetError(ErrorDetails&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + inline GetBucketMetadataTableConfigurationResult& WithError(const ErrorDetails& value) { SetError(value); return *this;} + inline GetBucketMetadataTableConfigurationResult& WithError(ErrorDetails&& value) { SetError(std::move(value)); return *this;} + ///@} + private: + + MetadataTableConfigurationResult m_metadataTableConfigurationResult; + bool m_metadataTableConfigurationResultHasBeenSet = false; + + Aws::String m_status; + bool m_statusHasBeenSet = false; + + ErrorDetails m_error; + bool m_errorHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetadataTableConfigurationSdkResult.h b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetadataTableConfigurationSdkResult.h new file mode 100644 index 00000000000..64d7df6b619 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetadataTableConfigurationSdkResult.h @@ -0,0 +1,66 @@ +/** + * 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 Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + class GetBucketMetadataTableConfigurationSdkResult + { + public: + AWS_S3_API GetBucketMetadataTableConfigurationSdkResult(); + AWS_S3_API GetBucketMetadataTableConfigurationSdkResult(const Aws::AmazonWebServiceResult& result); + AWS_S3_API GetBucketMetadataTableConfigurationSdkResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The metadata table configuration for the general purpose bucket.

    + */ + inline const GetBucketMetadataTableConfigurationResult& GetGetBucketMetadataTableConfigurationResult() const{ return m_getBucketMetadataTableConfigurationResult; } + inline void SetGetBucketMetadataTableConfigurationResult(const GetBucketMetadataTableConfigurationResult& value) { m_getBucketMetadataTableConfigurationResult = value; } + inline void SetGetBucketMetadataTableConfigurationResult(GetBucketMetadataTableConfigurationResult&& value) { m_getBucketMetadataTableConfigurationResult = std::move(value); } + inline GetBucketMetadataTableConfigurationSdkResult& WithGetBucketMetadataTableConfigurationResult(const GetBucketMetadataTableConfigurationResult& value) { SetGetBucketMetadataTableConfigurationResult(value); return *this;} + inline GetBucketMetadataTableConfigurationSdkResult& WithGetBucketMetadataTableConfigurationResult(GetBucketMetadataTableConfigurationResult&& value) { SetGetBucketMetadataTableConfigurationResult(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetBucketMetadataTableConfigurationSdkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetBucketMetadataTableConfigurationSdkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetBucketMetadataTableConfigurationSdkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + GetBucketMetadataTableConfigurationResult m_getBucketMetadataTableConfigurationResult; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/MetadataTableConfiguration.h b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/MetadataTableConfiguration.h new file mode 100644 index 00000000000..f8134e08b88 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/MetadataTableConfiguration.h @@ -0,0 +1,64 @@ +/** + * 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 Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + *

    The metadata table configuration for a general purpose bucket. + *

    See Also:

    AWS + * API Reference

    + */ + class MetadataTableConfiguration + { + public: + AWS_S3_API MetadataTableConfiguration(); + AWS_S3_API MetadataTableConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API MetadataTableConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + ///@{ + /** + *

    The destination information for the metadata table configuration. The + * destination table bucket must be in the same Region and Amazon Web Services + * account as the general purpose bucket. The specified metadata table name must be + * unique within the aws_s3_metadata namespace in the destination + * table bucket.

    + */ + inline const S3TablesDestination& GetS3TablesDestination() const{ return m_s3TablesDestination; } + inline bool S3TablesDestinationHasBeenSet() const { return m_s3TablesDestinationHasBeenSet; } + inline void SetS3TablesDestination(const S3TablesDestination& value) { m_s3TablesDestinationHasBeenSet = true; m_s3TablesDestination = value; } + inline void SetS3TablesDestination(S3TablesDestination&& value) { m_s3TablesDestinationHasBeenSet = true; m_s3TablesDestination = std::move(value); } + inline MetadataTableConfiguration& WithS3TablesDestination(const S3TablesDestination& value) { SetS3TablesDestination(value); return *this;} + inline MetadataTableConfiguration& WithS3TablesDestination(S3TablesDestination&& value) { SetS3TablesDestination(std::move(value)); return *this;} + ///@} + private: + + S3TablesDestination m_s3TablesDestination; + bool m_s3TablesDestinationHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/MetadataTableConfigurationResult.h b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/MetadataTableConfigurationResult.h new file mode 100644 index 00000000000..5c0f061c863 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/MetadataTableConfigurationResult.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + *

    The metadata table configuration for a general purpose bucket. The + * destination table bucket must be in the same Region and Amazon Web Services + * account as the general purpose bucket. The specified metadata table name must be + * unique within the aws_s3_metadata namespace in the destination + * table bucket.

    See Also:

    AWS + * API Reference

    + */ + class MetadataTableConfigurationResult + { + public: + AWS_S3_API MetadataTableConfigurationResult(); + AWS_S3_API MetadataTableConfigurationResult(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API MetadataTableConfigurationResult& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + ///@{ + /** + *

    The destination information for the metadata table configuration. The + * destination table bucket must be in the same Region and Amazon Web Services + * account as the general purpose bucket. The specified metadata table name must be + * unique within the aws_s3_metadata namespace in the destination + * table bucket.

    + */ + inline const S3TablesDestinationResult& GetS3TablesDestinationResult() const{ return m_s3TablesDestinationResult; } + inline bool S3TablesDestinationResultHasBeenSet() const { return m_s3TablesDestinationResultHasBeenSet; } + inline void SetS3TablesDestinationResult(const S3TablesDestinationResult& value) { m_s3TablesDestinationResultHasBeenSet = true; m_s3TablesDestinationResult = value; } + inline void SetS3TablesDestinationResult(S3TablesDestinationResult&& value) { m_s3TablesDestinationResultHasBeenSet = true; m_s3TablesDestinationResult = std::move(value); } + inline MetadataTableConfigurationResult& WithS3TablesDestinationResult(const S3TablesDestinationResult& value) { SetS3TablesDestinationResult(value); return *this;} + inline MetadataTableConfigurationResult& WithS3TablesDestinationResult(S3TablesDestinationResult&& value) { SetS3TablesDestinationResult(std::move(value)); return *this;} + ///@} + private: + + S3TablesDestinationResult m_s3TablesDestinationResult; + bool m_s3TablesDestinationResultHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/S3TablesDestination.h b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/S3TablesDestination.h new file mode 100644 index 00000000000..be4a01af6af --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/S3TablesDestination.h @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + *

    The destination information for the metadata table configuration. The + * destination table bucket must be in the same Region and Amazon Web Services + * account as the general purpose bucket. The specified metadata table name must be + * unique within the aws_s3_metadata namespace in the destination + * table bucket.

    See Also:

    AWS + * API Reference

    + */ + class S3TablesDestination + { + public: + AWS_S3_API S3TablesDestination(); + AWS_S3_API S3TablesDestination(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API S3TablesDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the table bucket that's specified as the + * destination in the metadata table configuration. The destination table bucket + * must be in the same Region and Amazon Web Services account as the general + * purpose bucket.

    + */ + inline const Aws::String& GetTableBucketArn() const{ return m_tableBucketArn; } + inline bool TableBucketArnHasBeenSet() const { return m_tableBucketArnHasBeenSet; } + inline void SetTableBucketArn(const Aws::String& value) { m_tableBucketArnHasBeenSet = true; m_tableBucketArn = value; } + inline void SetTableBucketArn(Aws::String&& value) { m_tableBucketArnHasBeenSet = true; m_tableBucketArn = std::move(value); } + inline void SetTableBucketArn(const char* value) { m_tableBucketArnHasBeenSet = true; m_tableBucketArn.assign(value); } + inline S3TablesDestination& WithTableBucketArn(const Aws::String& value) { SetTableBucketArn(value); return *this;} + inline S3TablesDestination& WithTableBucketArn(Aws::String&& value) { SetTableBucketArn(std::move(value)); return *this;} + inline S3TablesDestination& WithTableBucketArn(const char* value) { SetTableBucketArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The name for the metadata table in your metadata table configuration. The + * specified metadata table name must be unique within the + * aws_s3_metadata namespace in the destination table bucket.

    + */ + inline const Aws::String& GetTableName() const{ return m_tableName; } + inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } + inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } + inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } + inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } + inline S3TablesDestination& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} + inline S3TablesDestination& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} + inline S3TablesDestination& WithTableName(const char* value) { SetTableName(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketArn; + bool m_tableBucketArnHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/S3TablesDestinationResult.h b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/S3TablesDestinationResult.h new file mode 100644 index 00000000000..b35f295855d --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/S3TablesDestinationResult.h @@ -0,0 +1,124 @@ +/** + * 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 Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + *

    The destination information for the metadata table configuration. The + * destination table bucket must be in the same Region and Amazon Web Services + * account as the general purpose bucket. The specified metadata table name must be + * unique within the aws_s3_metadata namespace in the destination + * table bucket.

    See Also:

    AWS + * API Reference

    + */ + class S3TablesDestinationResult + { + public: + AWS_S3_API S3TablesDestinationResult(); + AWS_S3_API S3TablesDestinationResult(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API S3TablesDestinationResult& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the table bucket that's specified as the + * destination in the metadata table configuration. The destination table bucket + * must be in the same Region and Amazon Web Services account as the general + * purpose bucket.

    + */ + inline const Aws::String& GetTableBucketArn() const{ return m_tableBucketArn; } + inline bool TableBucketArnHasBeenSet() const { return m_tableBucketArnHasBeenSet; } + inline void SetTableBucketArn(const Aws::String& value) { m_tableBucketArnHasBeenSet = true; m_tableBucketArn = value; } + inline void SetTableBucketArn(Aws::String&& value) { m_tableBucketArnHasBeenSet = true; m_tableBucketArn = std::move(value); } + inline void SetTableBucketArn(const char* value) { m_tableBucketArnHasBeenSet = true; m_tableBucketArn.assign(value); } + inline S3TablesDestinationResult& WithTableBucketArn(const Aws::String& value) { SetTableBucketArn(value); return *this;} + inline S3TablesDestinationResult& WithTableBucketArn(Aws::String&& value) { SetTableBucketArn(std::move(value)); return *this;} + inline S3TablesDestinationResult& WithTableBucketArn(const char* value) { SetTableBucketArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The name for the metadata table in your metadata table configuration. The + * specified metadata table name must be unique within the + * aws_s3_metadata namespace in the destination table bucket.

    + */ + inline const Aws::String& GetTableName() const{ return m_tableName; } + inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } + inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } + inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } + inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } + inline S3TablesDestinationResult& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} + inline S3TablesDestinationResult& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} + inline S3TablesDestinationResult& WithTableName(const char* value) { SetTableName(value); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) for the metadata table in the metadata table + * configuration. The specified metadata table name must be unique within the + * aws_s3_metadata namespace in the destination table bucket.

    + */ + inline const Aws::String& GetTableArn() const{ return m_tableArn; } + inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; } + inline void SetTableArn(const Aws::String& value) { m_tableArnHasBeenSet = true; m_tableArn = value; } + inline void SetTableArn(Aws::String&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::move(value); } + inline void SetTableArn(const char* value) { m_tableArnHasBeenSet = true; m_tableArn.assign(value); } + inline S3TablesDestinationResult& WithTableArn(const Aws::String& value) { SetTableArn(value); return *this;} + inline S3TablesDestinationResult& WithTableArn(Aws::String&& value) { SetTableArn(std::move(value)); return *this;} + inline S3TablesDestinationResult& WithTableArn(const char* value) { SetTableArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The table bucket namespace for the metadata table in your metadata table + * configuration. This value is always aws_s3_metadata.

    + */ + inline const Aws::String& GetTableNamespace() const{ return m_tableNamespace; } + inline bool TableNamespaceHasBeenSet() const { return m_tableNamespaceHasBeenSet; } + inline void SetTableNamespace(const Aws::String& value) { m_tableNamespaceHasBeenSet = true; m_tableNamespace = value; } + inline void SetTableNamespace(Aws::String&& value) { m_tableNamespaceHasBeenSet = true; m_tableNamespace = std::move(value); } + inline void SetTableNamespace(const char* value) { m_tableNamespaceHasBeenSet = true; m_tableNamespace.assign(value); } + inline S3TablesDestinationResult& WithTableNamespace(const Aws::String& value) { SetTableNamespace(value); return *this;} + inline S3TablesDestinationResult& WithTableNamespace(Aws::String&& value) { SetTableNamespace(std::move(value)); return *this;} + inline S3TablesDestinationResult& WithTableNamespace(const char* value) { SetTableNamespace(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketArn; + bool m_tableBucketArnHasBeenSet = false; + + Aws::String m_tableName; + bool m_tableNameHasBeenSet = false; + + Aws::String m_tableArn; + bool m_tableArnHasBeenSet = false; + + Aws::String m_tableNamespace; + bool m_tableNamespaceHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/source/S3Client.cpp b/generated/src/aws-cpp-sdk-s3/source/S3Client.cpp index 726457b9a8b..4fb7b0d82e1 100644 --- a/generated/src/aws-cpp-sdk-s3/source/S3Client.cpp +++ b/generated/src/aws-cpp-sdk-s3/source/S3Client.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -36,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -56,6 +58,7 @@ #include #include #include +#include #include #include #include @@ -556,6 +559,51 @@ CreateBucketOutcome S3Client::CreateBucket(const CreateBucketRequest& request) c {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateBucketMetadataTableConfigurationOutcome S3Client::CreateBucketMetadataTableConfiguration(const CreateBucketMetadataTableConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(CreateBucketMetadataTableConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateBucketMetadataTableConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateBucketMetadataTableConfiguration", "Required field: Bucket, is not set"); + return CreateBucketMetadataTableConfigurationOutcome(Aws::Client::AWSError(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateBucketMetadataTableConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateBucketMetadataTableConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> CreateBucketMetadataTableConfigurationOutcome { + 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, CreateBucketMetadataTableConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + Aws::StringStream ss; + ss.str("?metadataTable"); + endpointResolutionOutcome.GetResult().SetQueryString(ss.str()); + request.SetServiceSpecificParameters( + [&]() -> std::shared_ptr { + Aws::Map params; + auto isExpress = endpointResolutionOutcome.GetResult().AccessAttributes().value().backend == "S3Express"; + if (!request.ChecksumAlgorithmHasBeenSet() && isExpress && request.GetChecksumAlgorithmName() == "md5") { + params.emplace("overrideChecksum", "crc32"); + } + params.emplace("bucketName", request.GetBucket()); + ServiceSpecificParameters serviceSpecificParameters{params}; + return Aws::MakeShared(ALLOCATION_TAG, serviceSpecificParameters); + }()); + return CreateBucketMetadataTableConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CreateMultipartUploadOutcome S3Client::CreateMultipartUpload(const CreateMultipartUploadRequest& request) const { AWS_OPERATION_GUARD(CreateMultipartUpload); @@ -943,6 +991,47 @@ DeleteBucketLifecycleOutcome S3Client::DeleteBucketLifecycle(const DeleteBucketL {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteBucketMetadataTableConfigurationOutcome S3Client::DeleteBucketMetadataTableConfiguration(const DeleteBucketMetadataTableConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteBucketMetadataTableConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteBucketMetadataTableConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketMetadataTableConfiguration", "Required field: Bucket, is not set"); + return DeleteBucketMetadataTableConfigurationOutcome(Aws::Client::AWSError(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteBucketMetadataTableConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteBucketMetadataTableConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> DeleteBucketMetadataTableConfigurationOutcome { + 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, DeleteBucketMetadataTableConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + Aws::StringStream ss; + ss.str("?metadataTable"); + endpointResolutionOutcome.GetResult().SetQueryString(ss.str()); + request.SetServiceSpecificParameters( + [&]() -> std::shared_ptr { + Aws::Map params; + params.emplace("bucketName", request.GetBucket()); + ServiceSpecificParameters serviceSpecificParameters{params}; + return Aws::MakeShared(ALLOCATION_TAG, serviceSpecificParameters); + }()); + return DeleteBucketMetadataTableConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DeleteBucketMetricsConfigurationOutcome S3Client::DeleteBucketMetricsConfiguration(const DeleteBucketMetricsConfigurationRequest& request) const { AWS_OPERATION_GUARD(DeleteBucketMetricsConfiguration); @@ -1796,6 +1885,47 @@ GetBucketLoggingOutcome S3Client::GetBucketLogging(const GetBucketLoggingRequest {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetBucketMetadataTableConfigurationOutcome S3Client::GetBucketMetadataTableConfiguration(const GetBucketMetadataTableConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(GetBucketMetadataTableConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetBucketMetadataTableConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketMetadataTableConfiguration", "Required field: Bucket, is not set"); + return GetBucketMetadataTableConfigurationOutcome(Aws::Client::AWSError(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetBucketMetadataTableConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetBucketMetadataTableConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> GetBucketMetadataTableConfigurationOutcome { + 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, GetBucketMetadataTableConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + Aws::StringStream ss; + ss.str("?metadataTable"); + endpointResolutionOutcome.GetResult().SetQueryString(ss.str()); + request.SetServiceSpecificParameters( + [&]() -> std::shared_ptr { + Aws::Map params; + params.emplace("bucketName", request.GetBucket()); + ServiceSpecificParameters serviceSpecificParameters{params}; + return Aws::MakeShared(ALLOCATION_TAG, serviceSpecificParameters); + }()); + return GetBucketMetadataTableConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetBucketMetricsConfigurationOutcome S3Client::GetBucketMetricsConfiguration(const GetBucketMetricsConfigurationRequest& request) const { AWS_OPERATION_GUARD(GetBucketMetricsConfiguration); diff --git a/generated/src/aws-cpp-sdk-s3/source/model/CreateBucketMetadataTableConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3/source/model/CreateBucketMetadataTableConfigurationRequest.cpp new file mode 100644 index 00000000000..e671d490872 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/source/model/CreateBucketMetadataTableConfigurationRequest.cpp @@ -0,0 +1,118 @@ +/** + * 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::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +CreateBucketMetadataTableConfigurationRequest::CreateBucketMetadataTableConfigurationRequest() : + m_bucketHasBeenSet(false), + m_contentMD5HasBeenSet(false), + m_checksumAlgorithm(ChecksumAlgorithm::NOT_SET), + m_checksumAlgorithmHasBeenSet(false), + m_metadataTableConfigurationHasBeenSet(false), + m_expectedBucketOwnerHasBeenSet(false), + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String CreateBucketMetadataTableConfigurationRequest::SerializePayload() const +{ + XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("MetadataTableConfiguration"); + + XmlNode parentNode = payloadDoc.GetRootElement(); + parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); + + m_metadataTableConfiguration.AddToNode(parentNode); + if(parentNode.HasChildren()) + { + return payloadDoc.ConvertToString(); + } + + return {}; +} + +void CreateBucketMetadataTableConfigurationRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection CreateBucketMetadataTableConfigurationRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_contentMD5HasBeenSet) + { + ss << m_contentMD5; + headers.emplace("content-md5", ss.str()); + ss.str(""); + } + + if(m_checksumAlgorithmHasBeenSet && m_checksumAlgorithm != ChecksumAlgorithm::NOT_SET) + { + headers.emplace("x-amz-sdk-checksum-algorithm", ChecksumAlgorithmMapper::GetNameForChecksumAlgorithm(m_checksumAlgorithm)); + } + + if(m_expectedBucketOwnerHasBeenSet) + { + ss << m_expectedBucketOwner; + headers.emplace("x-amz-expected-bucket-owner", ss.str()); + ss.str(""); + } + + return headers; +} + +CreateBucketMetadataTableConfigurationRequest::EndpointParameters CreateBucketMetadataTableConfigurationRequest::GetEndpointContextParams() const +{ + EndpointParameters parameters; + // Static context parameters + parameters.emplace_back(Aws::String("UseS3ExpressControlEndpoint"), true, Aws::Endpoint::EndpointParameter::ParameterOrigin::STATIC_CONTEXT); + // Operation context parameters + if (BucketHasBeenSet()) { + parameters.emplace_back(Aws::String("Bucket"), this->GetBucket(), Aws::Endpoint::EndpointParameter::ParameterOrigin::OPERATION_CONTEXT); + } + return parameters; +} + +Aws::String CreateBucketMetadataTableConfigurationRequest::GetChecksumAlgorithmName() const +{ + if (m_checksumAlgorithm == ChecksumAlgorithm::NOT_SET) + { + return "md5"; + } + else + { + return ChecksumAlgorithmMapper::GetNameForChecksumAlgorithm(m_checksumAlgorithm); + } +} + diff --git a/generated/src/aws-cpp-sdk-s3/source/model/DeleteBucketMetadataTableConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3/source/model/DeleteBucketMetadataTableConfigurationRequest.cpp new file mode 100644 index 00000000000..a457b27bebb --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/source/model/DeleteBucketMetadataTableConfigurationRequest.cpp @@ -0,0 +1,78 @@ +/** + * 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::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +DeleteBucketMetadataTableConfigurationRequest::DeleteBucketMetadataTableConfigurationRequest() : + m_bucketHasBeenSet(false), + m_expectedBucketOwnerHasBeenSet(false), + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String DeleteBucketMetadataTableConfigurationRequest::SerializePayload() const +{ + return {}; +} + +void DeleteBucketMetadataTableConfigurationRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection DeleteBucketMetadataTableConfigurationRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_expectedBucketOwnerHasBeenSet) + { + ss << m_expectedBucketOwner; + headers.emplace("x-amz-expected-bucket-owner", ss.str()); + ss.str(""); + } + + return headers; +} + +DeleteBucketMetadataTableConfigurationRequest::EndpointParameters DeleteBucketMetadataTableConfigurationRequest::GetEndpointContextParams() const +{ + EndpointParameters parameters; + // Static context parameters + parameters.emplace_back(Aws::String("UseS3ExpressControlEndpoint"), true, Aws::Endpoint::EndpointParameter::ParameterOrigin::STATIC_CONTEXT); + // Operation context parameters + if (BucketHasBeenSet()) { + parameters.emplace_back(Aws::String("Bucket"), this->GetBucket(), Aws::Endpoint::EndpointParameter::ParameterOrigin::OPERATION_CONTEXT); + } + return parameters; +} diff --git a/generated/src/aws-cpp-sdk-s3/source/model/ErrorDetails.cpp b/generated/src/aws-cpp-sdk-s3/source/model/ErrorDetails.cpp new file mode 100644 index 00000000000..99f7e679978 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/source/model/ErrorDetails.cpp @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +ErrorDetails::ErrorDetails() : + m_errorCodeHasBeenSet(false), + m_errorMessageHasBeenSet(false) +{ +} + +ErrorDetails::ErrorDetails(const XmlNode& xmlNode) + : ErrorDetails() +{ + *this = xmlNode; +} + +ErrorDetails& ErrorDetails::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode errorCodeNode = resultNode.FirstChild("ErrorCode"); + if(!errorCodeNode.IsNull()) + { + m_errorCode = Aws::Utils::Xml::DecodeEscapedXmlText(errorCodeNode.GetText()); + m_errorCodeHasBeenSet = true; + } + XmlNode errorMessageNode = resultNode.FirstChild("ErrorMessage"); + if(!errorMessageNode.IsNull()) + { + m_errorMessage = Aws::Utils::Xml::DecodeEscapedXmlText(errorMessageNode.GetText()); + m_errorMessageHasBeenSet = true; + } + } + + return *this; +} + +void ErrorDetails::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_errorCodeHasBeenSet) + { + XmlNode errorCodeNode = parentNode.CreateChildElement("ErrorCode"); + errorCodeNode.SetText(m_errorCode); + } + + if(m_errorMessageHasBeenSet) + { + XmlNode errorMessageNode = parentNode.CreateChildElement("ErrorMessage"); + errorMessageNode.SetText(m_errorMessage); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/source/model/GetBucketMetadataTableConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3/source/model/GetBucketMetadataTableConfigurationRequest.cpp new file mode 100644 index 00000000000..1571619104b --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/source/model/GetBucketMetadataTableConfigurationRequest.cpp @@ -0,0 +1,78 @@ +/** + * 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::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +GetBucketMetadataTableConfigurationRequest::GetBucketMetadataTableConfigurationRequest() : + m_bucketHasBeenSet(false), + m_expectedBucketOwnerHasBeenSet(false), + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String GetBucketMetadataTableConfigurationRequest::SerializePayload() const +{ + return {}; +} + +void GetBucketMetadataTableConfigurationRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection GetBucketMetadataTableConfigurationRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_expectedBucketOwnerHasBeenSet) + { + ss << m_expectedBucketOwner; + headers.emplace("x-amz-expected-bucket-owner", ss.str()); + ss.str(""); + } + + return headers; +} + +GetBucketMetadataTableConfigurationRequest::EndpointParameters GetBucketMetadataTableConfigurationRequest::GetEndpointContextParams() const +{ + EndpointParameters parameters; + // Static context parameters + parameters.emplace_back(Aws::String("UseS3ExpressControlEndpoint"), true, Aws::Endpoint::EndpointParameter::ParameterOrigin::STATIC_CONTEXT); + // Operation context parameters + if (BucketHasBeenSet()) { + parameters.emplace_back(Aws::String("Bucket"), this->GetBucket(), Aws::Endpoint::EndpointParameter::ParameterOrigin::OPERATION_CONTEXT); + } + return parameters; +} diff --git a/generated/src/aws-cpp-sdk-s3/source/model/GetBucketMetadataTableConfigurationResult.cpp b/generated/src/aws-cpp-sdk-s3/source/model/GetBucketMetadataTableConfigurationResult.cpp new file mode 100644 index 00000000000..5391402f585 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/source/model/GetBucketMetadataTableConfigurationResult.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +GetBucketMetadataTableConfigurationResult::GetBucketMetadataTableConfigurationResult() : + m_metadataTableConfigurationResultHasBeenSet(false), + m_statusHasBeenSet(false), + m_errorHasBeenSet(false) +{ +} + +GetBucketMetadataTableConfigurationResult::GetBucketMetadataTableConfigurationResult(const XmlNode& xmlNode) + : GetBucketMetadataTableConfigurationResult() +{ + *this = xmlNode; +} + +GetBucketMetadataTableConfigurationResult& GetBucketMetadataTableConfigurationResult::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode metadataTableConfigurationResultNode = resultNode.FirstChild("MetadataTableConfigurationResult"); + if(!metadataTableConfigurationResultNode.IsNull()) + { + m_metadataTableConfigurationResult = metadataTableConfigurationResultNode; + m_metadataTableConfigurationResultHasBeenSet = true; + } + XmlNode statusNode = resultNode.FirstChild("Status"); + if(!statusNode.IsNull()) + { + m_status = Aws::Utils::Xml::DecodeEscapedXmlText(statusNode.GetText()); + m_statusHasBeenSet = true; + } + XmlNode errorNode = resultNode.FirstChild("Error"); + if(!errorNode.IsNull()) + { + m_error = errorNode; + m_errorHasBeenSet = true; + } + } + + return *this; +} + +void GetBucketMetadataTableConfigurationResult::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_metadataTableConfigurationResultHasBeenSet) + { + XmlNode metadataTableConfigurationResultNode = parentNode.CreateChildElement("MetadataTableConfigurationResult"); + m_metadataTableConfigurationResult.AddToNode(metadataTableConfigurationResultNode); + } + + if(m_statusHasBeenSet) + { + XmlNode statusNode = parentNode.CreateChildElement("Status"); + statusNode.SetText(m_status); + } + + if(m_errorHasBeenSet) + { + XmlNode errorNode = parentNode.CreateChildElement("Error"); + m_error.AddToNode(errorNode); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/source/model/GetBucketMetadataTableConfigurationSdkResult.cpp b/generated/src/aws-cpp-sdk-s3/source/model/GetBucketMetadataTableConfigurationSdkResult.cpp new file mode 100644 index 00000000000..284130bed2f --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/source/model/GetBucketMetadataTableConfigurationSdkResult.cpp @@ -0,0 +1,46 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include + +#include + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws; + +GetBucketMetadataTableConfigurationSdkResult::GetBucketMetadataTableConfigurationSdkResult() +{ +} + +GetBucketMetadataTableConfigurationSdkResult::GetBucketMetadataTableConfigurationSdkResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetBucketMetadataTableConfigurationSdkResult& GetBucketMetadataTableConfigurationSdkResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode resultNode = xmlDocument.GetRootElement(); + + if(!resultNode.IsNull()) + { + m_getBucketMetadataTableConfigurationResult = resultNode; + } + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amz-request-id"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3/source/model/MetadataTableConfiguration.cpp b/generated/src/aws-cpp-sdk-s3/source/model/MetadataTableConfiguration.cpp new file mode 100644 index 00000000000..9c4f55ff520 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/source/model/MetadataTableConfiguration.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +MetadataTableConfiguration::MetadataTableConfiguration() : + m_s3TablesDestinationHasBeenSet(false) +{ +} + +MetadataTableConfiguration::MetadataTableConfiguration(const XmlNode& xmlNode) + : MetadataTableConfiguration() +{ + *this = xmlNode; +} + +MetadataTableConfiguration& MetadataTableConfiguration::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode s3TablesDestinationNode = resultNode.FirstChild("S3TablesDestination"); + if(!s3TablesDestinationNode.IsNull()) + { + m_s3TablesDestination = s3TablesDestinationNode; + m_s3TablesDestinationHasBeenSet = true; + } + } + + return *this; +} + +void MetadataTableConfiguration::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_s3TablesDestinationHasBeenSet) + { + XmlNode s3TablesDestinationNode = parentNode.CreateChildElement("S3TablesDestination"); + m_s3TablesDestination.AddToNode(s3TablesDestinationNode); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/source/model/MetadataTableConfigurationResult.cpp b/generated/src/aws-cpp-sdk-s3/source/model/MetadataTableConfigurationResult.cpp new file mode 100644 index 00000000000..6d856a138ea --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/source/model/MetadataTableConfigurationResult.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +MetadataTableConfigurationResult::MetadataTableConfigurationResult() : + m_s3TablesDestinationResultHasBeenSet(false) +{ +} + +MetadataTableConfigurationResult::MetadataTableConfigurationResult(const XmlNode& xmlNode) + : MetadataTableConfigurationResult() +{ + *this = xmlNode; +} + +MetadataTableConfigurationResult& MetadataTableConfigurationResult::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode s3TablesDestinationResultNode = resultNode.FirstChild("S3TablesDestinationResult"); + if(!s3TablesDestinationResultNode.IsNull()) + { + m_s3TablesDestinationResult = s3TablesDestinationResultNode; + m_s3TablesDestinationResultHasBeenSet = true; + } + } + + return *this; +} + +void MetadataTableConfigurationResult::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_s3TablesDestinationResultHasBeenSet) + { + XmlNode s3TablesDestinationResultNode = parentNode.CreateChildElement("S3TablesDestinationResult"); + m_s3TablesDestinationResult.AddToNode(s3TablesDestinationResultNode); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/source/model/S3TablesDestination.cpp b/generated/src/aws-cpp-sdk-s3/source/model/S3TablesDestination.cpp new file mode 100644 index 00000000000..fdfc3cd759e --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/source/model/S3TablesDestination.cpp @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +S3TablesDestination::S3TablesDestination() : + m_tableBucketArnHasBeenSet(false), + m_tableNameHasBeenSet(false) +{ +} + +S3TablesDestination::S3TablesDestination(const XmlNode& xmlNode) + : S3TablesDestination() +{ + *this = xmlNode; +} + +S3TablesDestination& S3TablesDestination::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode tableBucketArnNode = resultNode.FirstChild("TableBucketArn"); + if(!tableBucketArnNode.IsNull()) + { + m_tableBucketArn = Aws::Utils::Xml::DecodeEscapedXmlText(tableBucketArnNode.GetText()); + m_tableBucketArnHasBeenSet = true; + } + XmlNode tableNameNode = resultNode.FirstChild("TableName"); + if(!tableNameNode.IsNull()) + { + m_tableName = Aws::Utils::Xml::DecodeEscapedXmlText(tableNameNode.GetText()); + m_tableNameHasBeenSet = true; + } + } + + return *this; +} + +void S3TablesDestination::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_tableBucketArnHasBeenSet) + { + XmlNode tableBucketArnNode = parentNode.CreateChildElement("TableBucketArn"); + tableBucketArnNode.SetText(m_tableBucketArn); + } + + if(m_tableNameHasBeenSet) + { + XmlNode tableNameNode = parentNode.CreateChildElement("TableName"); + tableNameNode.SetText(m_tableName); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3/source/model/S3TablesDestinationResult.cpp b/generated/src/aws-cpp-sdk-s3/source/model/S3TablesDestinationResult.cpp new file mode 100644 index 00000000000..40dd0413fc9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3/source/model/S3TablesDestinationResult.cpp @@ -0,0 +1,103 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +S3TablesDestinationResult::S3TablesDestinationResult() : + m_tableBucketArnHasBeenSet(false), + m_tableNameHasBeenSet(false), + m_tableArnHasBeenSet(false), + m_tableNamespaceHasBeenSet(false) +{ +} + +S3TablesDestinationResult::S3TablesDestinationResult(const XmlNode& xmlNode) + : S3TablesDestinationResult() +{ + *this = xmlNode; +} + +S3TablesDestinationResult& S3TablesDestinationResult::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode tableBucketArnNode = resultNode.FirstChild("TableBucketArn"); + if(!tableBucketArnNode.IsNull()) + { + m_tableBucketArn = Aws::Utils::Xml::DecodeEscapedXmlText(tableBucketArnNode.GetText()); + m_tableBucketArnHasBeenSet = true; + } + XmlNode tableNameNode = resultNode.FirstChild("TableName"); + if(!tableNameNode.IsNull()) + { + m_tableName = Aws::Utils::Xml::DecodeEscapedXmlText(tableNameNode.GetText()); + m_tableNameHasBeenSet = true; + } + XmlNode tableArnNode = resultNode.FirstChild("TableArn"); + if(!tableArnNode.IsNull()) + { + m_tableArn = Aws::Utils::Xml::DecodeEscapedXmlText(tableArnNode.GetText()); + m_tableArnHasBeenSet = true; + } + XmlNode tableNamespaceNode = resultNode.FirstChild("TableNamespace"); + if(!tableNamespaceNode.IsNull()) + { + m_tableNamespace = Aws::Utils::Xml::DecodeEscapedXmlText(tableNamespaceNode.GetText()); + m_tableNamespaceHasBeenSet = true; + } + } + + return *this; +} + +void S3TablesDestinationResult::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_tableBucketArnHasBeenSet) + { + XmlNode tableBucketArnNode = parentNode.CreateChildElement("TableBucketArn"); + tableBucketArnNode.SetText(m_tableBucketArn); + } + + if(m_tableNameHasBeenSet) + { + XmlNode tableNameNode = parentNode.CreateChildElement("TableName"); + tableNameNode.SetText(m_tableName); + } + + if(m_tableArnHasBeenSet) + { + XmlNode tableArnNode = parentNode.CreateChildElement("TableArn"); + tableArnNode.SetText(m_tableArn); + } + + if(m_tableNamespaceHasBeenSet) + { + XmlNode tableNamespaceNode = parentNode.CreateChildElement("TableNamespace"); + tableNamespaceNode.SetText(m_tableNamespace); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/CMakeLists.txt b/generated/src/aws-cpp-sdk-s3tables/CMakeLists.txt new file mode 100644 index 00000000000..707ad4b2a80 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/CMakeLists.txt @@ -0,0 +1,76 @@ +add_project(aws-cpp-sdk-s3tables "C++ SDK for the AWS s3tables service" aws-cpp-sdk-core) + +file(GLOB AWS_S3TABLES_HEADERS + "include/aws/s3tables/*.h" +) + +file(GLOB AWS_S3TABLES_MODEL_HEADERS + "include/aws/s3tables/model/*.h" +) + +file(GLOB AWS_S3TABLES_SOURCE + "source/*.cpp" +) + +file(GLOB AWS_S3TABLES_MODEL_SOURCE + "source/model/*.cpp" +) + +file(GLOB S3TABLES_UNIFIED_HEADERS + ${AWS_S3TABLES_HEADERS} + ${AWS_S3TABLES_MODEL_HEADERS} +) + +file(GLOB S3TABLES_UNITY_SRC + ${AWS_S3TABLES_SOURCE} + ${AWS_S3TABLES_MODEL_SOURCE} +) + +if(ENABLE_UNITY_BUILD) + enable_unity_build("S3TABLES" S3TABLES_UNITY_SRC) +endif() + +file(GLOB S3TABLES_SRC + ${S3TABLES_UNIFIED_HEADERS} + ${S3TABLES_UNITY_SRC} +) + +if(WIN32) + #if we are compiling for visual studio, create a sane directory tree. + if(MSVC) + source_group("Header Files\\aws\\s3tables" FILES ${AWS_S3TABLES_HEADERS}) + source_group("Header Files\\aws\\s3tables\\model" FILES ${AWS_S3TABLES_MODEL_HEADERS}) + source_group("Source Files" FILES ${AWS_S3TABLES_SOURCE}) + source_group("Source Files\\model" FILES ${AWS_S3TABLES_MODEL_SOURCE}) + endif(MSVC) +endif() + +set(S3TABLES_INCLUDES + "${CMAKE_CURRENT_SOURCE_DIR}/include/" +) + +add_library(${PROJECT_NAME} ${S3TABLES_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_S3TABLES_EXPORTS") +endif() + +target_include_directories(${PROJECT_NAME} PUBLIC + $ + $) + +target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS}) + + +setup_install() + +install (FILES ${AWS_S3TABLES_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/s3tables) +install (FILES ${AWS_S3TABLES_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/s3tables/model) + +do_packaging() + + diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesClient.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesClient.h new file mode 100644 index 00000000000..3d1f7d16c1b --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesClient.h @@ -0,0 +1,767 @@ +/** + * 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 S3Tables +{ + /** + *

    An Amazon S3 table represents a structured dataset consisting of tabular data + * in Apache Parquet format and + * related metadata. This data is stored inside an S3 table as a subresource. All + * tables in a table bucket are stored in the Apache Iceberg table format. + * Through integration with the AWS + * Glue Data Catalog you can interact with your tables using AWS analytics + * services, such as Amazon + * Athena and Amazon + * Redshift. Amazon S3 manages maintenance of your tables through automatic + * file compaction and snapshot management. For more information, see Amazon + * S3 table buckets.

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

    Creates a namespace. A namespace is a logical grouping of tables within your + * table bucket, which you can use to organize tables. For more information, see Table + * namespaces.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateNamespaceOutcome CreateNamespace(const Model::CreateNamespaceRequest& request) const; + + /** + * A Callable wrapper for CreateNamespace that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateNamespaceOutcomeCallable CreateNamespaceCallable(const CreateNamespaceRequestT& request) const + { + return SubmitCallable(&S3TablesClient::CreateNamespace, request); + } + + /** + * An Async wrapper for CreateNamespace that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateNamespaceAsync(const CreateNamespaceRequestT& request, const CreateNamespaceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::CreateNamespace, request, handler, context); + } + + /** + *

    Creates a new table associated with the given namespace in a table + * bucket.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateTableOutcome CreateTable(const Model::CreateTableRequest& request) const; + + /** + * A Callable wrapper for CreateTable that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateTableOutcomeCallable CreateTableCallable(const CreateTableRequestT& request) const + { + return SubmitCallable(&S3TablesClient::CreateTable, request); + } + + /** + * An Async wrapper for CreateTable that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateTableAsync(const CreateTableRequestT& request, const CreateTableResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::CreateTable, request, handler, context); + } + + /** + *

    Creates a table bucket.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateTableBucketOutcome CreateTableBucket(const Model::CreateTableBucketRequest& request) const; + + /** + * A Callable wrapper for CreateTableBucket that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateTableBucketOutcomeCallable CreateTableBucketCallable(const CreateTableBucketRequestT& request) const + { + return SubmitCallable(&S3TablesClient::CreateTableBucket, request); + } + + /** + * An Async wrapper for CreateTableBucket that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateTableBucketAsync(const CreateTableBucketRequestT& request, const CreateTableBucketResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::CreateTableBucket, request, handler, context); + } + + /** + *

    Deletes a namespace.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteNamespaceOutcome DeleteNamespace(const Model::DeleteNamespaceRequest& request) const; + + /** + * A Callable wrapper for DeleteNamespace that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteNamespaceOutcomeCallable DeleteNamespaceCallable(const DeleteNamespaceRequestT& request) const + { + return SubmitCallable(&S3TablesClient::DeleteNamespace, request); + } + + /** + * An Async wrapper for DeleteNamespace that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteNamespaceAsync(const DeleteNamespaceRequestT& request, const DeleteNamespaceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::DeleteNamespace, request, handler, context); + } + + /** + *

    Deletes a table.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteTableOutcome DeleteTable(const Model::DeleteTableRequest& request) const; + + /** + * A Callable wrapper for DeleteTable that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteTableOutcomeCallable DeleteTableCallable(const DeleteTableRequestT& request) const + { + return SubmitCallable(&S3TablesClient::DeleteTable, request); + } + + /** + * An Async wrapper for DeleteTable that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteTableAsync(const DeleteTableRequestT& request, const DeleteTableResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::DeleteTable, request, handler, context); + } + + /** + *

    Deletes a table bucket.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteTableBucketOutcome DeleteTableBucket(const Model::DeleteTableBucketRequest& request) const; + + /** + * A Callable wrapper for DeleteTableBucket that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteTableBucketOutcomeCallable DeleteTableBucketCallable(const DeleteTableBucketRequestT& request) const + { + return SubmitCallable(&S3TablesClient::DeleteTableBucket, request); + } + + /** + * An Async wrapper for DeleteTableBucket that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteTableBucketAsync(const DeleteTableBucketRequestT& request, const DeleteTableBucketResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::DeleteTableBucket, request, handler, context); + } + + /** + *

    Deletes a table bucket policy.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteTableBucketPolicyOutcome DeleteTableBucketPolicy(const Model::DeleteTableBucketPolicyRequest& request) const; + + /** + * A Callable wrapper for DeleteTableBucketPolicy that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteTableBucketPolicyOutcomeCallable DeleteTableBucketPolicyCallable(const DeleteTableBucketPolicyRequestT& request) const + { + return SubmitCallable(&S3TablesClient::DeleteTableBucketPolicy, request); + } + + /** + * An Async wrapper for DeleteTableBucketPolicy that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteTableBucketPolicyAsync(const DeleteTableBucketPolicyRequestT& request, const DeleteTableBucketPolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::DeleteTableBucketPolicy, request, handler, context); + } + + /** + *

    Deletes a table policy.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteTablePolicyOutcome DeleteTablePolicy(const Model::DeleteTablePolicyRequest& request) const; + + /** + * A Callable wrapper for DeleteTablePolicy that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteTablePolicyOutcomeCallable DeleteTablePolicyCallable(const DeleteTablePolicyRequestT& request) const + { + return SubmitCallable(&S3TablesClient::DeleteTablePolicy, request); + } + + /** + * An Async wrapper for DeleteTablePolicy that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteTablePolicyAsync(const DeleteTablePolicyRequestT& request, const DeleteTablePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::DeleteTablePolicy, request, handler, context); + } + + /** + *

    Gets details about a namespace.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetNamespaceOutcome GetNamespace(const Model::GetNamespaceRequest& request) const; + + /** + * A Callable wrapper for GetNamespace that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetNamespaceOutcomeCallable GetNamespaceCallable(const GetNamespaceRequestT& request) const + { + return SubmitCallable(&S3TablesClient::GetNamespace, request); + } + + /** + * An Async wrapper for GetNamespace that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetNamespaceAsync(const GetNamespaceRequestT& request, const GetNamespaceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::GetNamespace, request, handler, context); + } + + /** + *

    Gets details about a table.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetTableOutcome GetTable(const Model::GetTableRequest& request) const; + + /** + * A Callable wrapper for GetTable that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetTableOutcomeCallable GetTableCallable(const GetTableRequestT& request) const + { + return SubmitCallable(&S3TablesClient::GetTable, request); + } + + /** + * An Async wrapper for GetTable that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetTableAsync(const GetTableRequestT& request, const GetTableResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::GetTable, request, handler, context); + } + + /** + *

    Gets details on a table bucket.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetTableBucketOutcome GetTableBucket(const Model::GetTableBucketRequest& request) const; + + /** + * A Callable wrapper for GetTableBucket that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetTableBucketOutcomeCallable GetTableBucketCallable(const GetTableBucketRequestT& request) const + { + return SubmitCallable(&S3TablesClient::GetTableBucket, request); + } + + /** + * An Async wrapper for GetTableBucket that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetTableBucketAsync(const GetTableBucketRequestT& request, const GetTableBucketResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::GetTableBucket, request, handler, context); + } + + /** + *

    Gets details about a maintenance configuration for a given table + * bucket.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetTableBucketMaintenanceConfigurationOutcome GetTableBucketMaintenanceConfiguration(const Model::GetTableBucketMaintenanceConfigurationRequest& request) const; + + /** + * A Callable wrapper for GetTableBucketMaintenanceConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetTableBucketMaintenanceConfigurationOutcomeCallable GetTableBucketMaintenanceConfigurationCallable(const GetTableBucketMaintenanceConfigurationRequestT& request) const + { + return SubmitCallable(&S3TablesClient::GetTableBucketMaintenanceConfiguration, request); + } + + /** + * An Async wrapper for GetTableBucketMaintenanceConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetTableBucketMaintenanceConfigurationAsync(const GetTableBucketMaintenanceConfigurationRequestT& request, const GetTableBucketMaintenanceConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::GetTableBucketMaintenanceConfiguration, request, handler, context); + } + + /** + *

    Gets details about a table bucket policy.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetTableBucketPolicyOutcome GetTableBucketPolicy(const Model::GetTableBucketPolicyRequest& request) const; + + /** + * A Callable wrapper for GetTableBucketPolicy that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetTableBucketPolicyOutcomeCallable GetTableBucketPolicyCallable(const GetTableBucketPolicyRequestT& request) const + { + return SubmitCallable(&S3TablesClient::GetTableBucketPolicy, request); + } + + /** + * An Async wrapper for GetTableBucketPolicy that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetTableBucketPolicyAsync(const GetTableBucketPolicyRequestT& request, const GetTableBucketPolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::GetTableBucketPolicy, request, handler, context); + } + + /** + *

    Gets details about the maintenance configuration of a table.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::GetTableMaintenanceConfigurationOutcome GetTableMaintenanceConfiguration(const Model::GetTableMaintenanceConfigurationRequest& request) const; + + /** + * A Callable wrapper for GetTableMaintenanceConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetTableMaintenanceConfigurationOutcomeCallable GetTableMaintenanceConfigurationCallable(const GetTableMaintenanceConfigurationRequestT& request) const + { + return SubmitCallable(&S3TablesClient::GetTableMaintenanceConfiguration, request); + } + + /** + * An Async wrapper for GetTableMaintenanceConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetTableMaintenanceConfigurationAsync(const GetTableMaintenanceConfigurationRequestT& request, const GetTableMaintenanceConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::GetTableMaintenanceConfiguration, request, handler, context); + } + + /** + *

    Gets the status of a maintenance job for a table.

    See Also:

    + * AWS + * API Reference

    + */ + virtual Model::GetTableMaintenanceJobStatusOutcome GetTableMaintenanceJobStatus(const Model::GetTableMaintenanceJobStatusRequest& request) const; + + /** + * A Callable wrapper for GetTableMaintenanceJobStatus that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetTableMaintenanceJobStatusOutcomeCallable GetTableMaintenanceJobStatusCallable(const GetTableMaintenanceJobStatusRequestT& request) const + { + return SubmitCallable(&S3TablesClient::GetTableMaintenanceJobStatus, request); + } + + /** + * An Async wrapper for GetTableMaintenanceJobStatus that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetTableMaintenanceJobStatusAsync(const GetTableMaintenanceJobStatusRequestT& request, const GetTableMaintenanceJobStatusResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::GetTableMaintenanceJobStatus, request, handler, context); + } + + /** + *

    Gets the location of the table metadata.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetTableMetadataLocationOutcome GetTableMetadataLocation(const Model::GetTableMetadataLocationRequest& request) const; + + /** + * A Callable wrapper for GetTableMetadataLocation that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetTableMetadataLocationOutcomeCallable GetTableMetadataLocationCallable(const GetTableMetadataLocationRequestT& request) const + { + return SubmitCallable(&S3TablesClient::GetTableMetadataLocation, request); + } + + /** + * An Async wrapper for GetTableMetadataLocation that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetTableMetadataLocationAsync(const GetTableMetadataLocationRequestT& request, const GetTableMetadataLocationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::GetTableMetadataLocation, request, handler, context); + } + + /** + *

    Gets details about a table policy.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::GetTablePolicyOutcome GetTablePolicy(const Model::GetTablePolicyRequest& request) const; + + /** + * A Callable wrapper for GetTablePolicy that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetTablePolicyOutcomeCallable GetTablePolicyCallable(const GetTablePolicyRequestT& request) const + { + return SubmitCallable(&S3TablesClient::GetTablePolicy, request); + } + + /** + * An Async wrapper for GetTablePolicy that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetTablePolicyAsync(const GetTablePolicyRequestT& request, const GetTablePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::GetTablePolicy, request, handler, context); + } + + /** + *

    Lists the namespaces within a table bucket.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListNamespacesOutcome ListNamespaces(const Model::ListNamespacesRequest& request) const; + + /** + * A Callable wrapper for ListNamespaces that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListNamespacesOutcomeCallable ListNamespacesCallable(const ListNamespacesRequestT& request) const + { + return SubmitCallable(&S3TablesClient::ListNamespaces, request); + } + + /** + * An Async wrapper for ListNamespaces that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListNamespacesAsync(const ListNamespacesRequestT& request, const ListNamespacesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::ListNamespaces, request, handler, context); + } + + /** + *

    Lists table buckets for your account.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListTableBucketsOutcome ListTableBuckets(const Model::ListTableBucketsRequest& request = {}) const; + + /** + * A Callable wrapper for ListTableBuckets that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListTableBucketsOutcomeCallable ListTableBucketsCallable(const ListTableBucketsRequestT& request = {}) const + { + return SubmitCallable(&S3TablesClient::ListTableBuckets, request); + } + + /** + * An Async wrapper for ListTableBuckets that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListTableBucketsAsync(const ListTableBucketsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListTableBucketsRequestT& request = {}) const + { + return SubmitAsync(&S3TablesClient::ListTableBuckets, request, handler, context); + } + + /** + *

    List tables in the given table bucket.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListTablesOutcome ListTables(const Model::ListTablesRequest& request) const; + + /** + * A Callable wrapper for ListTables that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListTablesOutcomeCallable ListTablesCallable(const ListTablesRequestT& request) const + { + return SubmitCallable(&S3TablesClient::ListTables, request); + } + + /** + * An Async wrapper for ListTables that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListTablesAsync(const ListTablesRequestT& request, const ListTablesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::ListTables, request, handler, context); + } + + /** + *

    Creates a new maintenance configuration or replaces an existing maintenance + * configuration for a table bucket.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::PutTableBucketMaintenanceConfigurationOutcome PutTableBucketMaintenanceConfiguration(const Model::PutTableBucketMaintenanceConfigurationRequest& request) const; + + /** + * A Callable wrapper for PutTableBucketMaintenanceConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::PutTableBucketMaintenanceConfigurationOutcomeCallable PutTableBucketMaintenanceConfigurationCallable(const PutTableBucketMaintenanceConfigurationRequestT& request) const + { + return SubmitCallable(&S3TablesClient::PutTableBucketMaintenanceConfiguration, request); + } + + /** + * An Async wrapper for PutTableBucketMaintenanceConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void PutTableBucketMaintenanceConfigurationAsync(const PutTableBucketMaintenanceConfigurationRequestT& request, const PutTableBucketMaintenanceConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::PutTableBucketMaintenanceConfiguration, request, handler, context); + } + + /** + *

    Creates a new maintenance configuration or replaces an existing table bucket + * policy for a table bucket.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::PutTableBucketPolicyOutcome PutTableBucketPolicy(const Model::PutTableBucketPolicyRequest& request) const; + + /** + * A Callable wrapper for PutTableBucketPolicy that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::PutTableBucketPolicyOutcomeCallable PutTableBucketPolicyCallable(const PutTableBucketPolicyRequestT& request) const + { + return SubmitCallable(&S3TablesClient::PutTableBucketPolicy, request); + } + + /** + * An Async wrapper for PutTableBucketPolicy that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void PutTableBucketPolicyAsync(const PutTableBucketPolicyRequestT& request, const PutTableBucketPolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::PutTableBucketPolicy, request, handler, context); + } + + /** + *

    Creates a new maintenance configuration or replaces an existing maintenance + * configuration for a table.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::PutTableMaintenanceConfigurationOutcome PutTableMaintenanceConfiguration(const Model::PutTableMaintenanceConfigurationRequest& request) const; + + /** + * A Callable wrapper for PutTableMaintenanceConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::PutTableMaintenanceConfigurationOutcomeCallable PutTableMaintenanceConfigurationCallable(const PutTableMaintenanceConfigurationRequestT& request) const + { + return SubmitCallable(&S3TablesClient::PutTableMaintenanceConfiguration, request); + } + + /** + * An Async wrapper for PutTableMaintenanceConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void PutTableMaintenanceConfigurationAsync(const PutTableMaintenanceConfigurationRequestT& request, const PutTableMaintenanceConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::PutTableMaintenanceConfiguration, request, handler, context); + } + + /** + *

    Creates a new maintenance configuration or replaces an existing table policy + * for a table.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::PutTablePolicyOutcome PutTablePolicy(const Model::PutTablePolicyRequest& request) const; + + /** + * A Callable wrapper for PutTablePolicy that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::PutTablePolicyOutcomeCallable PutTablePolicyCallable(const PutTablePolicyRequestT& request) const + { + return SubmitCallable(&S3TablesClient::PutTablePolicy, request); + } + + /** + * An Async wrapper for PutTablePolicy that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void PutTablePolicyAsync(const PutTablePolicyRequestT& request, const PutTablePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::PutTablePolicy, request, handler, context); + } + + /** + *

    Renames a table or a namespace.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::RenameTableOutcome RenameTable(const Model::RenameTableRequest& request) const; + + /** + * A Callable wrapper for RenameTable that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::RenameTableOutcomeCallable RenameTableCallable(const RenameTableRequestT& request) const + { + return SubmitCallable(&S3TablesClient::RenameTable, request); + } + + /** + * An Async wrapper for RenameTable that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void RenameTableAsync(const RenameTableRequestT& request, const RenameTableResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::RenameTable, request, handler, context); + } + + /** + *

    Updates the metadata location for a table.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::UpdateTableMetadataLocationOutcome UpdateTableMetadataLocation(const Model::UpdateTableMetadataLocationRequest& request) const; + + /** + * A Callable wrapper for UpdateTableMetadataLocation that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateTableMetadataLocationOutcomeCallable UpdateTableMetadataLocationCallable(const UpdateTableMetadataLocationRequestT& request) const + { + return SubmitCallable(&S3TablesClient::UpdateTableMetadataLocation, request); + } + + /** + * An Async wrapper for UpdateTableMetadataLocation that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateTableMetadataLocationAsync(const UpdateTableMetadataLocationRequestT& request, const UpdateTableMetadataLocationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&S3TablesClient::UpdateTableMetadataLocation, request, handler, context); + } + + + void OverrideEndpoint(const Aws::String& endpoint); + std::shared_ptr& accessEndpointProvider(); + private: + friend class Aws::Client::ClientWithAsyncTemplateMethods; + void init(const S3TablesClientConfiguration& clientConfiguration); + + S3TablesClientConfiguration m_clientConfiguration; + std::shared_ptr m_endpointProvider; + }; + +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesEndpointProvider.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesEndpointProvider.h new file mode 100644 index 00000000000..cb2f4bc66f3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesEndpointProvider.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +#include + + +namespace Aws +{ +namespace S3Tables +{ +namespace Endpoint +{ +using EndpointParameters = Aws::Endpoint::EndpointParameters; +using Aws::Endpoint::EndpointProviderBase; +using Aws::Endpoint::DefaultEndpointProvider; + +using S3TablesClientContextParameters = Aws::Endpoint::ClientContextParameters; + +using S3TablesClientConfiguration = Aws::Client::GenericClientConfiguration; +using S3TablesBuiltInParameters = Aws::Endpoint::BuiltInParameters; + +/** + * The type for the S3Tables 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 S3TablesEndpointProviderBase = + EndpointProviderBase; + +using S3TablesDefaultEpProviderBase = + DefaultEndpointProvider; + +/** + * Default endpoint provider used for this service + */ +class AWS_S3TABLES_API S3TablesEndpointProvider : public S3TablesDefaultEpProviderBase +{ +public: + using S3TablesResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; + + S3TablesEndpointProvider() + : S3TablesDefaultEpProviderBase(Aws::S3Tables::S3TablesEndpointRules::GetRulesBlob(), Aws::S3Tables::S3TablesEndpointRules::RulesBlobSize) + {} + + ~S3TablesEndpointProvider() + { + } +}; +} // namespace Endpoint +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesEndpointRules.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesEndpointRules.h new file mode 100644 index 00000000000..0dc5a8dbbfe --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesEndpointRules.h @@ -0,0 +1,23 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +class S3TablesEndpointRules +{ +public: + static const size_t RulesBlobStrLen; + static const size_t RulesBlobSize; + + static const char* GetRulesBlob(); +}; +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesErrorMarshaller.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesErrorMarshaller.h new file mode 100644 index 00000000000..64beb4a6ca8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesErrorMarshaller.h @@ -0,0 +1,23 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once + +#include +#include + +namespace Aws +{ +namespace Client +{ + +class AWS_S3TABLES_API S3TablesErrorMarshaller : 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-s3tables/include/aws/s3tables/S3TablesErrors.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesErrors.h new file mode 100644 index 00000000000..5ca095cce93 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesErrors.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once + +#include +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +enum class S3TablesErrors +{ + //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, + CONFLICT, + FORBIDDEN, + INTERNAL_SERVER_ERROR, + NOT_FOUND, + TOO_MANY_REQUESTS +}; + +class AWS_S3TABLES_API S3TablesError : public Aws::Client::AWSError +{ +public: + S3TablesError() {} + S3TablesError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} + S3TablesError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} + S3TablesError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} + S3TablesError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} + + template + T GetModeledError(); +}; + +namespace S3TablesErrorMapper +{ + AWS_S3TABLES_API Aws::Client::AWSError GetErrorForName(const char* errorName); +} + +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesRequest.h new file mode 100644 index 00000000000..710e4caceef --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesRequest.h @@ -0,0 +1,46 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace S3Tables +{ + class AWS_S3TABLES_API S3TablesRequest : public Aws::AmazonSerializableWebServiceRequest + { + public: + using EndpointParameter = Aws::Endpoint::EndpointParameter; + using EndpointParameters = Aws::Endpoint::EndpointParameters; + + virtual ~S3TablesRequest () {} + + void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); } + + inline Aws::Http::HeaderValueCollection GetHeaders() const override + { + auto headers = GetRequestSpecificHeaders(); + + if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0)) + { + headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::JSON_CONTENT_TYPE )); + } + headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2018-05-10")); + return headers; + } + + protected: + virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); } + + }; + + +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesServiceClientModel.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesServiceClientModel.h new file mode 100644 index 00000000000..9a20f4c86d8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3TablesServiceClientModel.h @@ -0,0 +1,197 @@ +/** + * 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 S3TablesClient header */ +#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 S3TablesClient header */ + +namespace Aws +{ + namespace Http + { + class HttpClient; + class HttpClientFactory; + } // namespace Http + + namespace Utils + { + template< typename R, typename E> class Outcome; + + namespace Threading + { + class Executor; + } // namespace Threading + } // namespace Utils + + namespace Auth + { + class AWSCredentials; + class AWSCredentialsProvider; + } // namespace Auth + + namespace Client + { + class RetryStrategy; + } // namespace Client + + namespace S3Tables + { + using S3TablesClientConfiguration = Aws::Client::GenericClientConfiguration; + using S3TablesEndpointProviderBase = Aws::S3Tables::Endpoint::S3TablesEndpointProviderBase; + using S3TablesEndpointProvider = Aws::S3Tables::Endpoint::S3TablesEndpointProvider; + + namespace Model + { + /* Service model forward declarations required in S3TablesClient header */ + class CreateNamespaceRequest; + class CreateTableRequest; + class CreateTableBucketRequest; + class DeleteNamespaceRequest; + class DeleteTableRequest; + class DeleteTableBucketRequest; + class DeleteTableBucketPolicyRequest; + class DeleteTablePolicyRequest; + class GetNamespaceRequest; + class GetTableRequest; + class GetTableBucketRequest; + class GetTableBucketMaintenanceConfigurationRequest; + class GetTableBucketPolicyRequest; + class GetTableMaintenanceConfigurationRequest; + class GetTableMaintenanceJobStatusRequest; + class GetTableMetadataLocationRequest; + class GetTablePolicyRequest; + class ListNamespacesRequest; + class ListTableBucketsRequest; + class ListTablesRequest; + class PutTableBucketMaintenanceConfigurationRequest; + class PutTableBucketPolicyRequest; + class PutTableMaintenanceConfigurationRequest; + class PutTablePolicyRequest; + class RenameTableRequest; + class UpdateTableMetadataLocationRequest; + /* End of service model forward declarations required in S3TablesClient header */ + + /* Service model Outcome class definitions */ + typedef Aws::Utils::Outcome CreateNamespaceOutcome; + typedef Aws::Utils::Outcome CreateTableOutcome; + typedef Aws::Utils::Outcome CreateTableBucketOutcome; + typedef Aws::Utils::Outcome DeleteNamespaceOutcome; + typedef Aws::Utils::Outcome DeleteTableOutcome; + typedef Aws::Utils::Outcome DeleteTableBucketOutcome; + typedef Aws::Utils::Outcome DeleteTableBucketPolicyOutcome; + typedef Aws::Utils::Outcome DeleteTablePolicyOutcome; + typedef Aws::Utils::Outcome GetNamespaceOutcome; + typedef Aws::Utils::Outcome GetTableOutcome; + typedef Aws::Utils::Outcome GetTableBucketOutcome; + typedef Aws::Utils::Outcome GetTableBucketMaintenanceConfigurationOutcome; + typedef Aws::Utils::Outcome GetTableBucketPolicyOutcome; + typedef Aws::Utils::Outcome GetTableMaintenanceConfigurationOutcome; + typedef Aws::Utils::Outcome GetTableMaintenanceJobStatusOutcome; + typedef Aws::Utils::Outcome GetTableMetadataLocationOutcome; + typedef Aws::Utils::Outcome GetTablePolicyOutcome; + typedef Aws::Utils::Outcome ListNamespacesOutcome; + typedef Aws::Utils::Outcome ListTableBucketsOutcome; + typedef Aws::Utils::Outcome ListTablesOutcome; + typedef Aws::Utils::Outcome PutTableBucketMaintenanceConfigurationOutcome; + typedef Aws::Utils::Outcome PutTableBucketPolicyOutcome; + typedef Aws::Utils::Outcome PutTableMaintenanceConfigurationOutcome; + typedef Aws::Utils::Outcome PutTablePolicyOutcome; + typedef Aws::Utils::Outcome RenameTableOutcome; + typedef Aws::Utils::Outcome UpdateTableMetadataLocationOutcome; + /* End of service model Outcome class definitions */ + + /* Service model Outcome callable definitions */ + typedef std::future CreateNamespaceOutcomeCallable; + typedef std::future CreateTableOutcomeCallable; + typedef std::future CreateTableBucketOutcomeCallable; + typedef std::future DeleteNamespaceOutcomeCallable; + typedef std::future DeleteTableOutcomeCallable; + typedef std::future DeleteTableBucketOutcomeCallable; + typedef std::future DeleteTableBucketPolicyOutcomeCallable; + typedef std::future DeleteTablePolicyOutcomeCallable; + typedef std::future GetNamespaceOutcomeCallable; + typedef std::future GetTableOutcomeCallable; + typedef std::future GetTableBucketOutcomeCallable; + typedef std::future GetTableBucketMaintenanceConfigurationOutcomeCallable; + typedef std::future GetTableBucketPolicyOutcomeCallable; + typedef std::future GetTableMaintenanceConfigurationOutcomeCallable; + typedef std::future GetTableMaintenanceJobStatusOutcomeCallable; + typedef std::future GetTableMetadataLocationOutcomeCallable; + typedef std::future GetTablePolicyOutcomeCallable; + typedef std::future ListNamespacesOutcomeCallable; + typedef std::future ListTableBucketsOutcomeCallable; + typedef std::future ListTablesOutcomeCallable; + typedef std::future PutTableBucketMaintenanceConfigurationOutcomeCallable; + typedef std::future PutTableBucketPolicyOutcomeCallable; + typedef std::future PutTableMaintenanceConfigurationOutcomeCallable; + typedef std::future PutTablePolicyOutcomeCallable; + typedef std::future RenameTableOutcomeCallable; + typedef std::future UpdateTableMetadataLocationOutcomeCallable; + /* End of service model Outcome callable definitions */ + } // namespace Model + + class S3TablesClient; + + /* Service model async handlers definitions */ + typedef std::function&) > CreateNamespaceResponseReceivedHandler; + typedef std::function&) > CreateTableResponseReceivedHandler; + typedef std::function&) > CreateTableBucketResponseReceivedHandler; + typedef std::function&) > DeleteNamespaceResponseReceivedHandler; + typedef std::function&) > DeleteTableResponseReceivedHandler; + typedef std::function&) > DeleteTableBucketResponseReceivedHandler; + typedef std::function&) > DeleteTableBucketPolicyResponseReceivedHandler; + typedef std::function&) > DeleteTablePolicyResponseReceivedHandler; + typedef std::function&) > GetNamespaceResponseReceivedHandler; + typedef std::function&) > GetTableResponseReceivedHandler; + typedef std::function&) > GetTableBucketResponseReceivedHandler; + typedef std::function&) > GetTableBucketMaintenanceConfigurationResponseReceivedHandler; + typedef std::function&) > GetTableBucketPolicyResponseReceivedHandler; + typedef std::function&) > GetTableMaintenanceConfigurationResponseReceivedHandler; + typedef std::function&) > GetTableMaintenanceJobStatusResponseReceivedHandler; + typedef std::function&) > GetTableMetadataLocationResponseReceivedHandler; + typedef std::function&) > GetTablePolicyResponseReceivedHandler; + typedef std::function&) > ListNamespacesResponseReceivedHandler; + typedef std::function&) > ListTableBucketsResponseReceivedHandler; + typedef std::function&) > ListTablesResponseReceivedHandler; + typedef std::function&) > PutTableBucketMaintenanceConfigurationResponseReceivedHandler; + typedef std::function&) > PutTableBucketPolicyResponseReceivedHandler; + typedef std::function&) > PutTableMaintenanceConfigurationResponseReceivedHandler; + typedef std::function&) > PutTablePolicyResponseReceivedHandler; + typedef std::function&) > RenameTableResponseReceivedHandler; + typedef std::function&) > UpdateTableMetadataLocationResponseReceivedHandler; + /* End of service model async handlers definitions */ + } // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3Tables_EXPORTS.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3Tables_EXPORTS.h new file mode 100644 index 00000000000..aca9d1ef2e0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/S3Tables_EXPORTS.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once + +#ifdef _MSC_VER + //disable windows complaining about max template size. + #pragma warning (disable : 4503) +#endif // _MSC_VER + +#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) + #ifdef _MSC_VER + #pragma warning(disable : 4251) + #endif // _MSC_VER + + #ifdef USE_IMPORT_EXPORT + #ifdef AWS_S3TABLES_EXPORTS + #define AWS_S3TABLES_API __declspec(dllexport) + #else + #define AWS_S3TABLES_API __declspec(dllimport) + #endif /* AWS_S3TABLES_EXPORTS */ + #define AWS_S3TABLES_EXTERN + #else + #define AWS_S3TABLES_API + #define AWS_S3TABLES_EXTERN extern + #endif // USE_IMPORT_EXPORT +#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) + #define AWS_S3TABLES_API + #define AWS_S3TABLES_EXTERN extern +#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateNamespaceRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateNamespaceRequest.h new file mode 100644 index 00000000000..7128e745810 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateNamespaceRequest.h @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + + /** + */ + class CreateNamespaceRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API CreateNamespaceRequest(); + + // 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 "CreateNamespace"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket to create the namespace + * in.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline CreateNamespaceRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline CreateNamespaceRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline CreateNamespaceRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    A name for the namespace.

    + */ + inline const Aws::Vector& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::Vector& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::Vector&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline CreateNamespaceRequest& WithNamespace(const Aws::Vector& value) { SetNamespace(value); return *this;} + inline CreateNamespaceRequest& WithNamespace(Aws::Vector&& value) { SetNamespace(std::move(value)); return *this;} + inline CreateNamespaceRequest& AddNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace.push_back(value); return *this; } + inline CreateNamespaceRequest& AddNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace.push_back(std::move(value)); return *this; } + inline CreateNamespaceRequest& AddNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.push_back(value); return *this; } + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::Vector m_namespace; + bool m_namespaceHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateNamespaceResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateNamespaceResult.h new file mode 100644 index 00000000000..28ec34f7a3e --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateNamespaceResult.h @@ -0,0 +1,85 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + class CreateNamespaceResult + { + public: + AWS_S3TABLES_API CreateNamespaceResult(); + AWS_S3TABLES_API CreateNamespaceResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API CreateNamespaceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket the namespace was created + * in.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARN.assign(value); } + inline CreateNamespaceResult& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline CreateNamespaceResult& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline CreateNamespaceResult& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the namespace.

    + */ + inline const Aws::Vector& GetNamespace() const{ return m_namespace; } + inline void SetNamespace(const Aws::Vector& value) { m_namespace = value; } + inline void SetNamespace(Aws::Vector&& value) { m_namespace = std::move(value); } + inline CreateNamespaceResult& WithNamespace(const Aws::Vector& value) { SetNamespace(value); return *this;} + inline CreateNamespaceResult& WithNamespace(Aws::Vector&& value) { SetNamespace(std::move(value)); return *this;} + inline CreateNamespaceResult& AddNamespace(const Aws::String& value) { m_namespace.push_back(value); return *this; } + inline CreateNamespaceResult& AddNamespace(Aws::String&& value) { m_namespace.push_back(std::move(value)); return *this; } + inline CreateNamespaceResult& AddNamespace(const char* value) { m_namespace.push_back(value); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline CreateNamespaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateNamespaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateNamespaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + + Aws::Vector m_namespace; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableBucketRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableBucketRequest.h new file mode 100644 index 00000000000..16535939187 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableBucketRequest.h @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + + /** + */ + class CreateTableBucketRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API CreateTableBucketRequest(); + + // 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 "CreateTableBucket"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The name for the table bucket.

    + */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline CreateTableBucketRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline CreateTableBucketRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline CreateTableBucketRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableBucketResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableBucketResult.h new file mode 100644 index 00000000000..b8d86227110 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableBucketResult.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + class CreateTableBucketResult + { + public: + AWS_S3TABLES_API CreateTableBucketResult(); + AWS_S3TABLES_API CreateTableBucketResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API CreateTableBucketResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket.

    + */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } + inline CreateTableBucketResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline CreateTableBucketResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline CreateTableBucketResult& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline CreateTableBucketResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateTableBucketResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateTableBucketResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_arn; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableRequest.h new file mode 100644 index 00000000000..53e4270af29 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableRequest.h @@ -0,0 +1,107 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class CreateTableRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API CreateTableRequest(); + + // 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 "CreateTable"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket to create the table + * in.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline CreateTableRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline CreateTableRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline CreateTableRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace to associated with the table.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline CreateTableRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline CreateTableRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline CreateTableRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The name for the table.

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

    The format for the table.

    + */ + inline const OpenTableFormat& GetFormat() const{ return m_format; } + inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } + inline void SetFormat(const OpenTableFormat& value) { m_formatHasBeenSet = true; m_format = value; } + inline void SetFormat(OpenTableFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } + inline CreateTableRequest& WithFormat(const OpenTableFormat& value) { SetFormat(value); return *this;} + inline CreateTableRequest& WithFormat(OpenTableFormat&& value) { SetFormat(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + OpenTableFormat m_format; + bool m_formatHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableResult.h new file mode 100644 index 00000000000..4ebc3951ab6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/CreateTableResult.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + class CreateTableResult + { + public: + AWS_S3TABLES_API CreateTableResult(); + AWS_S3TABLES_API CreateTableResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API CreateTableResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table.

    + */ + inline const Aws::String& GetTableARN() const{ return m_tableARN; } + inline void SetTableARN(const Aws::String& value) { m_tableARN = value; } + inline void SetTableARN(Aws::String&& value) { m_tableARN = std::move(value); } + inline void SetTableARN(const char* value) { m_tableARN.assign(value); } + inline CreateTableResult& WithTableARN(const Aws::String& value) { SetTableARN(value); return *this;} + inline CreateTableResult& WithTableARN(Aws::String&& value) { SetTableARN(std::move(value)); return *this;} + inline CreateTableResult& WithTableARN(const char* value) { SetTableARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The version token of the table.

    + */ + inline const Aws::String& GetVersionToken() const{ return m_versionToken; } + inline void SetVersionToken(const Aws::String& value) { m_versionToken = value; } + inline void SetVersionToken(Aws::String&& value) { m_versionToken = std::move(value); } + inline void SetVersionToken(const char* value) { m_versionToken.assign(value); } + inline CreateTableResult& WithVersionToken(const Aws::String& value) { SetVersionToken(value); return *this;} + inline CreateTableResult& WithVersionToken(Aws::String&& value) { SetVersionToken(std::move(value)); return *this;} + inline CreateTableResult& WithVersionToken(const char* value) { SetVersionToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline CreateTableResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateTableResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateTableResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_tableARN; + + Aws::String m_versionToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteNamespaceRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteNamespaceRequest.h new file mode 100644 index 00000000000..255527fd7c2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteNamespaceRequest.h @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + + /** + */ + class DeleteNamespaceRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API DeleteNamespaceRequest(); + + // 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 "DeleteNamespace"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket associated with the + * namespace.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline DeleteNamespaceRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline DeleteNamespaceRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline DeleteNamespaceRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the namespace.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline DeleteNamespaceRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline DeleteNamespaceRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline DeleteNamespaceRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTableBucketPolicyRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTableBucketPolicyRequest.h new file mode 100644 index 00000000000..0dc573c6563 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTableBucketPolicyRequest.h @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + + /** + */ + class DeleteTableBucketPolicyRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API DeleteTableBucketPolicyRequest(); + + // 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 "DeleteTableBucketPolicy"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Number (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline DeleteTableBucketPolicyRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline DeleteTableBucketPolicyRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline DeleteTableBucketPolicyRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTableBucketRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTableBucketRequest.h new file mode 100644 index 00000000000..21d39ce2181 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTableBucketRequest.h @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + + /** + */ + class DeleteTableBucketRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API DeleteTableBucketRequest(); + + // 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 "DeleteTableBucket"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline DeleteTableBucketRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline DeleteTableBucketRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline DeleteTableBucketRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTablePolicyRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTablePolicyRequest.h new file mode 100644 index 00000000000..e99c65be95f --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTablePolicyRequest.h @@ -0,0 +1,91 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class DeleteTablePolicyRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API DeleteTablePolicyRequest(); + + // 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 "DeleteTablePolicy"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Number (ARN) of the table bucket that contains the + * table.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline DeleteTablePolicyRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline DeleteTablePolicyRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline DeleteTablePolicyRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace associated with the table.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline DeleteTablePolicyRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline DeleteTablePolicyRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline DeleteTablePolicyRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The table name.

    + */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline DeleteTablePolicyRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline DeleteTablePolicyRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline DeleteTablePolicyRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTableRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTableRequest.h new file mode 100644 index 00000000000..b61e1dc224d --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/DeleteTableRequest.h @@ -0,0 +1,114 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class DeleteTableRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API DeleteTableRequest(); + + // 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 "DeleteTable"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + AWS_S3TABLES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket that contains the + * table.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline DeleteTableRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline DeleteTableRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline DeleteTableRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace associated with the table.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline DeleteTableRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline DeleteTableRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline DeleteTableRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the table.

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

    The version token of the table.

    + */ + inline const Aws::String& GetVersionToken() const{ return m_versionToken; } + inline bool VersionTokenHasBeenSet() const { return m_versionTokenHasBeenSet; } + inline void SetVersionToken(const Aws::String& value) { m_versionTokenHasBeenSet = true; m_versionToken = value; } + inline void SetVersionToken(Aws::String&& value) { m_versionTokenHasBeenSet = true; m_versionToken = std::move(value); } + inline void SetVersionToken(const char* value) { m_versionTokenHasBeenSet = true; m_versionToken.assign(value); } + inline DeleteTableRequest& WithVersionToken(const Aws::String& value) { SetVersionToken(value); return *this;} + inline DeleteTableRequest& WithVersionToken(Aws::String&& value) { SetVersionToken(std::move(value)); return *this;} + inline DeleteTableRequest& WithVersionToken(const char* value) { SetVersionToken(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_versionToken; + bool m_versionTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetNamespaceRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetNamespaceRequest.h new file mode 100644 index 00000000000..2e5efaa53ef --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetNamespaceRequest.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + + /** + */ + class GetNamespaceRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API GetNamespaceRequest(); + + // 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 "GetNamespace"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline GetNamespaceRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline GetNamespaceRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline GetNamespaceRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the namespace.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline GetNamespaceRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline GetNamespaceRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline GetNamespaceRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetNamespaceResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetNamespaceResult.h new file mode 100644 index 00000000000..0805471eb79 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetNamespaceResult.h @@ -0,0 +1,113 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + class GetNamespaceResult + { + public: + AWS_S3TABLES_API GetNamespaceResult(); + AWS_S3TABLES_API GetNamespaceResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API GetNamespaceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The name of the namespace.

    + */ + inline const Aws::Vector& GetNamespace() const{ return m_namespace; } + inline void SetNamespace(const Aws::Vector& value) { m_namespace = value; } + inline void SetNamespace(Aws::Vector&& value) { m_namespace = std::move(value); } + inline GetNamespaceResult& WithNamespace(const Aws::Vector& value) { SetNamespace(value); return *this;} + inline GetNamespaceResult& WithNamespace(Aws::Vector&& value) { SetNamespace(std::move(value)); return *this;} + inline GetNamespaceResult& AddNamespace(const Aws::String& value) { m_namespace.push_back(value); return *this; } + inline GetNamespaceResult& AddNamespace(Aws::String&& value) { m_namespace.push_back(std::move(value)); return *this; } + inline GetNamespaceResult& AddNamespace(const char* value) { m_namespace.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The date and time the namespace was created at.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetNamespaceResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetNamespaceResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the account that created the namespace.

    + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetNamespaceResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetNamespaceResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetNamespaceResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the account that owns the namespcace.

    + */ + inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; } + inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountId = value; } + inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountId = std::move(value); } + inline void SetOwnerAccountId(const char* value) { m_ownerAccountId.assign(value); } + inline GetNamespaceResult& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;} + inline GetNamespaceResult& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;} + inline GetNamespaceResult& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetNamespaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetNamespaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetNamespaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_namespace; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_ownerAccountId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketMaintenanceConfigurationRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketMaintenanceConfigurationRequest.h new file mode 100644 index 00000000000..06b05e63da5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketMaintenanceConfigurationRequest.h @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + + /** + */ + class GetTableBucketMaintenanceConfigurationRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API GetTableBucketMaintenanceConfigurationRequest(); + + // 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 "GetTableBucketMaintenanceConfiguration"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket associated with the + * maintenance configuration.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline GetTableBucketMaintenanceConfigurationRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline GetTableBucketMaintenanceConfigurationRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline GetTableBucketMaintenanceConfigurationRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketMaintenanceConfigurationResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketMaintenanceConfigurationResult.h new file mode 100644 index 00000000000..72310d45b4b --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketMaintenanceConfigurationResult.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + class GetTableBucketMaintenanceConfigurationResult + { + public: + AWS_S3TABLES_API GetTableBucketMaintenanceConfigurationResult(); + AWS_S3TABLES_API GetTableBucketMaintenanceConfigurationResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API GetTableBucketMaintenanceConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket associated with the + * maintenance configuration.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARN.assign(value); } + inline GetTableBucketMaintenanceConfigurationResult& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline GetTableBucketMaintenanceConfigurationResult& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline GetTableBucketMaintenanceConfigurationResult& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    Details about the maintenance configuration for the table bucket.

    + */ + inline const Aws::Map& GetConfiguration() const{ return m_configuration; } + inline void SetConfiguration(const Aws::Map& value) { m_configuration = value; } + inline void SetConfiguration(Aws::Map&& value) { m_configuration = std::move(value); } + inline GetTableBucketMaintenanceConfigurationResult& WithConfiguration(const Aws::Map& value) { SetConfiguration(value); return *this;} + inline GetTableBucketMaintenanceConfigurationResult& WithConfiguration(Aws::Map&& value) { SetConfiguration(std::move(value)); return *this;} + inline GetTableBucketMaintenanceConfigurationResult& AddConfiguration(const TableBucketMaintenanceType& key, const TableBucketMaintenanceConfigurationValue& value) { m_configuration.emplace(key, value); return *this; } + inline GetTableBucketMaintenanceConfigurationResult& AddConfiguration(TableBucketMaintenanceType&& key, const TableBucketMaintenanceConfigurationValue& value) { m_configuration.emplace(std::move(key), value); return *this; } + inline GetTableBucketMaintenanceConfigurationResult& AddConfiguration(const TableBucketMaintenanceType& key, TableBucketMaintenanceConfigurationValue&& value) { m_configuration.emplace(key, std::move(value)); return *this; } + inline GetTableBucketMaintenanceConfigurationResult& AddConfiguration(TableBucketMaintenanceType&& key, TableBucketMaintenanceConfigurationValue&& value) { m_configuration.emplace(std::move(key), std::move(value)); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetTableBucketMaintenanceConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetTableBucketMaintenanceConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetTableBucketMaintenanceConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + + Aws::Map m_configuration; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketPolicyRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketPolicyRequest.h new file mode 100644 index 00000000000..d0e5cf3b955 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketPolicyRequest.h @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + + /** + */ + class GetTableBucketPolicyRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API GetTableBucketPolicyRequest(); + + // 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 "GetTableBucketPolicy"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Number (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline GetTableBucketPolicyRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline GetTableBucketPolicyRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline GetTableBucketPolicyRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketPolicyResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketPolicyResult.h new file mode 100644 index 00000000000..ffdd39d97f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketPolicyResult.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + class GetTableBucketPolicyResult + { + public: + AWS_S3TABLES_API GetTableBucketPolicyResult(); + AWS_S3TABLES_API GetTableBucketPolicyResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API GetTableBucketPolicyResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The name of the resource policy.

    + */ + inline const Aws::String& GetResourcePolicy() const{ return m_resourcePolicy; } + inline void SetResourcePolicy(const Aws::String& value) { m_resourcePolicy = value; } + inline void SetResourcePolicy(Aws::String&& value) { m_resourcePolicy = std::move(value); } + inline void SetResourcePolicy(const char* value) { m_resourcePolicy.assign(value); } + inline GetTableBucketPolicyResult& WithResourcePolicy(const Aws::String& value) { SetResourcePolicy(value); return *this;} + inline GetTableBucketPolicyResult& WithResourcePolicy(Aws::String&& value) { SetResourcePolicy(std::move(value)); return *this;} + inline GetTableBucketPolicyResult& WithResourcePolicy(const char* value) { SetResourcePolicy(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetTableBucketPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetTableBucketPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetTableBucketPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_resourcePolicy; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketRequest.h new file mode 100644 index 00000000000..d5e828a3026 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketRequest.h @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + + /** + */ + class GetTableBucketRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API GetTableBucketRequest(); + + // 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 "GetTableBucket"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline GetTableBucketRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline GetTableBucketRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline GetTableBucketRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketResult.h new file mode 100644 index 00000000000..d378d4b0e72 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableBucketResult.h @@ -0,0 +1,111 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + class GetTableBucketResult + { + public: + AWS_S3TABLES_API GetTableBucketResult(); + AWS_S3TABLES_API GetTableBucketResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API GetTableBucketResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket.

    + */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline void SetArn(const Aws::String& value) { m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arn.assign(value); } + inline GetTableBucketResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline GetTableBucketResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline GetTableBucketResult& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the table bucket

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

    The ID of the account that owns the table bucket.

    + */ + inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; } + inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountId = value; } + inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountId = std::move(value); } + inline void SetOwnerAccountId(const char* value) { m_ownerAccountId.assign(value); } + inline GetTableBucketResult& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;} + inline GetTableBucketResult& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;} + inline GetTableBucketResult& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The date and time the table bucket was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetTableBucketResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetTableBucketResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetTableBucketResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetTableBucketResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetTableBucketResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_arn; + + Aws::String m_name; + + Aws::String m_ownerAccountId; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceConfigurationRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceConfigurationRequest.h new file mode 100644 index 00000000000..b9b030f3656 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceConfigurationRequest.h @@ -0,0 +1,90 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class GetTableMaintenanceConfigurationRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API GetTableMaintenanceConfigurationRequest(); + + // 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 "GetTableMaintenanceConfiguration"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline GetTableMaintenanceConfigurationRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline GetTableMaintenanceConfigurationRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline GetTableMaintenanceConfigurationRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace associated with the table.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline GetTableMaintenanceConfigurationRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline GetTableMaintenanceConfigurationRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline GetTableMaintenanceConfigurationRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the table.

    + */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline GetTableMaintenanceConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline GetTableMaintenanceConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline GetTableMaintenanceConfigurationRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceConfigurationResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceConfigurationResult.h new file mode 100644 index 00000000000..4835ce10382 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceConfigurationResult.h @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + class GetTableMaintenanceConfigurationResult + { + public: + AWS_S3TABLES_API GetTableMaintenanceConfigurationResult(); + AWS_S3TABLES_API GetTableMaintenanceConfigurationResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API GetTableMaintenanceConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table.

    + */ + inline const Aws::String& GetTableARN() const{ return m_tableARN; } + inline void SetTableARN(const Aws::String& value) { m_tableARN = value; } + inline void SetTableARN(Aws::String&& value) { m_tableARN = std::move(value); } + inline void SetTableARN(const char* value) { m_tableARN.assign(value); } + inline GetTableMaintenanceConfigurationResult& WithTableARN(const Aws::String& value) { SetTableARN(value); return *this;} + inline GetTableMaintenanceConfigurationResult& WithTableARN(Aws::String&& value) { SetTableARN(std::move(value)); return *this;} + inline GetTableMaintenanceConfigurationResult& WithTableARN(const char* value) { SetTableARN(value); return *this;} + ///@} + + ///@{ + /** + *

    Details about the maintenance configuration for the table bucket.

    + */ + inline const Aws::Map& GetConfiguration() const{ return m_configuration; } + inline void SetConfiguration(const Aws::Map& value) { m_configuration = value; } + inline void SetConfiguration(Aws::Map&& value) { m_configuration = std::move(value); } + inline GetTableMaintenanceConfigurationResult& WithConfiguration(const Aws::Map& value) { SetConfiguration(value); return *this;} + inline GetTableMaintenanceConfigurationResult& WithConfiguration(Aws::Map&& value) { SetConfiguration(std::move(value)); return *this;} + inline GetTableMaintenanceConfigurationResult& AddConfiguration(const TableMaintenanceType& key, const TableMaintenanceConfigurationValue& value) { m_configuration.emplace(key, value); return *this; } + inline GetTableMaintenanceConfigurationResult& AddConfiguration(TableMaintenanceType&& key, const TableMaintenanceConfigurationValue& value) { m_configuration.emplace(std::move(key), value); return *this; } + inline GetTableMaintenanceConfigurationResult& AddConfiguration(const TableMaintenanceType& key, TableMaintenanceConfigurationValue&& value) { m_configuration.emplace(key, std::move(value)); return *this; } + inline GetTableMaintenanceConfigurationResult& AddConfiguration(TableMaintenanceType&& key, TableMaintenanceConfigurationValue&& value) { m_configuration.emplace(std::move(key), std::move(value)); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetTableMaintenanceConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetTableMaintenanceConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetTableMaintenanceConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_tableARN; + + Aws::Map m_configuration; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceJobStatusRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceJobStatusRequest.h new file mode 100644 index 00000000000..ca9359c42d0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceJobStatusRequest.h @@ -0,0 +1,91 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class GetTableMaintenanceJobStatusRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API GetTableMaintenanceJobStatusRequest(); + + // 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 "GetTableMaintenanceJobStatus"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline GetTableMaintenanceJobStatusRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline GetTableMaintenanceJobStatusRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline GetTableMaintenanceJobStatusRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the namespace the table is associated with.

    </p>
    +     * 
    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline GetTableMaintenanceJobStatusRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline GetTableMaintenanceJobStatusRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline GetTableMaintenanceJobStatusRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the maintenance job.

    + */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline GetTableMaintenanceJobStatusRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline GetTableMaintenanceJobStatusRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline GetTableMaintenanceJobStatusRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceJobStatusResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceJobStatusResult.h new file mode 100644 index 00000000000..7b476b989ba --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMaintenanceJobStatusResult.h @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + class GetTableMaintenanceJobStatusResult + { + public: + AWS_S3TABLES_API GetTableMaintenanceJobStatusResult(); + AWS_S3TABLES_API GetTableMaintenanceJobStatusResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API GetTableMaintenanceJobStatusResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table.

    + */ + inline const Aws::String& GetTableARN() const{ return m_tableARN; } + inline void SetTableARN(const Aws::String& value) { m_tableARN = value; } + inline void SetTableARN(Aws::String&& value) { m_tableARN = std::move(value); } + inline void SetTableARN(const char* value) { m_tableARN.assign(value); } + inline GetTableMaintenanceJobStatusResult& WithTableARN(const Aws::String& value) { SetTableARN(value); return *this;} + inline GetTableMaintenanceJobStatusResult& WithTableARN(Aws::String&& value) { SetTableARN(std::move(value)); return *this;} + inline GetTableMaintenanceJobStatusResult& WithTableARN(const char* value) { SetTableARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The status of the maintenance job.

    + */ + inline const Aws::Map& GetStatus() const{ return m_status; } + inline void SetStatus(const Aws::Map& value) { m_status = value; } + inline void SetStatus(Aws::Map&& value) { m_status = std::move(value); } + inline GetTableMaintenanceJobStatusResult& WithStatus(const Aws::Map& value) { SetStatus(value); return *this;} + inline GetTableMaintenanceJobStatusResult& WithStatus(Aws::Map&& value) { SetStatus(std::move(value)); return *this;} + inline GetTableMaintenanceJobStatusResult& AddStatus(const TableMaintenanceJobType& key, const TableMaintenanceJobStatusValue& value) { m_status.emplace(key, value); return *this; } + inline GetTableMaintenanceJobStatusResult& AddStatus(TableMaintenanceJobType&& key, const TableMaintenanceJobStatusValue& value) { m_status.emplace(std::move(key), value); return *this; } + inline GetTableMaintenanceJobStatusResult& AddStatus(const TableMaintenanceJobType& key, TableMaintenanceJobStatusValue&& value) { m_status.emplace(key, std::move(value)); return *this; } + inline GetTableMaintenanceJobStatusResult& AddStatus(TableMaintenanceJobType&& key, TableMaintenanceJobStatusValue&& value) { m_status.emplace(std::move(key), std::move(value)); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetTableMaintenanceJobStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetTableMaintenanceJobStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetTableMaintenanceJobStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_tableARN; + + Aws::Map m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMetadataLocationRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMetadataLocationRequest.h new file mode 100644 index 00000000000..d70a4ad8405 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMetadataLocationRequest.h @@ -0,0 +1,90 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class GetTableMetadataLocationRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API GetTableMetadataLocationRequest(); + + // 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 "GetTableMetadataLocation"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline GetTableMetadataLocationRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline GetTableMetadataLocationRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline GetTableMetadataLocationRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace of the table.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline GetTableMetadataLocationRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline GetTableMetadataLocationRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline GetTableMetadataLocationRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the table.

    + */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline GetTableMetadataLocationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline GetTableMetadataLocationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline GetTableMetadataLocationRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMetadataLocationResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMetadataLocationResult.h new file mode 100644 index 00000000000..1b18f89b739 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableMetadataLocationResult.h @@ -0,0 +1,97 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + class GetTableMetadataLocationResult + { + public: + AWS_S3TABLES_API GetTableMetadataLocationResult(); + AWS_S3TABLES_API GetTableMetadataLocationResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API GetTableMetadataLocationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The version token.

    + */ + inline const Aws::String& GetVersionToken() const{ return m_versionToken; } + inline void SetVersionToken(const Aws::String& value) { m_versionToken = value; } + inline void SetVersionToken(Aws::String&& value) { m_versionToken = std::move(value); } + inline void SetVersionToken(const char* value) { m_versionToken.assign(value); } + inline GetTableMetadataLocationResult& WithVersionToken(const Aws::String& value) { SetVersionToken(value); return *this;} + inline GetTableMetadataLocationResult& WithVersionToken(Aws::String&& value) { SetVersionToken(std::move(value)); return *this;} + inline GetTableMetadataLocationResult& WithVersionToken(const char* value) { SetVersionToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The metadata location.

    + */ + inline const Aws::String& GetMetadataLocation() const{ return m_metadataLocation; } + inline void SetMetadataLocation(const Aws::String& value) { m_metadataLocation = value; } + inline void SetMetadataLocation(Aws::String&& value) { m_metadataLocation = std::move(value); } + inline void SetMetadataLocation(const char* value) { m_metadataLocation.assign(value); } + inline GetTableMetadataLocationResult& WithMetadataLocation(const Aws::String& value) { SetMetadataLocation(value); return *this;} + inline GetTableMetadataLocationResult& WithMetadataLocation(Aws::String&& value) { SetMetadataLocation(std::move(value)); return *this;} + inline GetTableMetadataLocationResult& WithMetadataLocation(const char* value) { SetMetadataLocation(value); return *this;} + ///@} + + ///@{ + /** + *

    The warehouse location.

    + */ + inline const Aws::String& GetWarehouseLocation() const{ return m_warehouseLocation; } + inline void SetWarehouseLocation(const Aws::String& value) { m_warehouseLocation = value; } + inline void SetWarehouseLocation(Aws::String&& value) { m_warehouseLocation = std::move(value); } + inline void SetWarehouseLocation(const char* value) { m_warehouseLocation.assign(value); } + inline GetTableMetadataLocationResult& WithWarehouseLocation(const Aws::String& value) { SetWarehouseLocation(value); return *this;} + inline GetTableMetadataLocationResult& WithWarehouseLocation(Aws::String&& value) { SetWarehouseLocation(std::move(value)); return *this;} + inline GetTableMetadataLocationResult& WithWarehouseLocation(const char* value) { SetWarehouseLocation(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetTableMetadataLocationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetTableMetadataLocationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetTableMetadataLocationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_versionToken; + + Aws::String m_metadataLocation; + + Aws::String m_warehouseLocation; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTablePolicyRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTablePolicyRequest.h new file mode 100644 index 00000000000..de6fe44ba6e --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTablePolicyRequest.h @@ -0,0 +1,91 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class GetTablePolicyRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API GetTablePolicyRequest(); + + // 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 "GetTablePolicy"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Number (ARN) of the table bucket that contains the + * table.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline GetTablePolicyRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline GetTablePolicyRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline GetTablePolicyRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace associated with the table.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline GetTablePolicyRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline GetTablePolicyRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline GetTablePolicyRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the table.

    + */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline GetTablePolicyRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline GetTablePolicyRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline GetTablePolicyRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTablePolicyResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTablePolicyResult.h new file mode 100644 index 00000000000..75672d17816 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTablePolicyResult.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + class GetTablePolicyResult + { + public: + AWS_S3TABLES_API GetTablePolicyResult(); + AWS_S3TABLES_API GetTablePolicyResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API GetTablePolicyResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The name of the resource policy.

    + */ + inline const Aws::String& GetResourcePolicy() const{ return m_resourcePolicy; } + inline void SetResourcePolicy(const Aws::String& value) { m_resourcePolicy = value; } + inline void SetResourcePolicy(Aws::String&& value) { m_resourcePolicy = std::move(value); } + inline void SetResourcePolicy(const char* value) { m_resourcePolicy.assign(value); } + inline GetTablePolicyResult& WithResourcePolicy(const Aws::String& value) { SetResourcePolicy(value); return *this;} + inline GetTablePolicyResult& WithResourcePolicy(Aws::String&& value) { SetResourcePolicy(std::move(value)); return *this;} + inline GetTablePolicyResult& WithResourcePolicy(const char* value) { SetResourcePolicy(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetTablePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetTablePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetTablePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_resourcePolicy; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableRequest.h new file mode 100644 index 00000000000..627269cd2be --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableRequest.h @@ -0,0 +1,91 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class GetTableRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API GetTableRequest(); + + // 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 "GetTable"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket associated with the + * table.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline GetTableRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline GetTableRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline GetTableRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the namespace the table is associated with.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline GetTableRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline GetTableRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline GetTableRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the table.

    + */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline GetTableRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline GetTableRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline GetTableRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableResult.h new file mode 100644 index 00000000000..b268c9d9166 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/GetTableResult.h @@ -0,0 +1,259 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + class GetTableResult + { + public: + AWS_S3TABLES_API GetTableResult(); + AWS_S3TABLES_API GetTableResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API GetTableResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The name of the table.

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

    The type of the table.

    + */ + inline const TableType& GetType() const{ return m_type; } + inline void SetType(const TableType& value) { m_type = value; } + inline void SetType(TableType&& value) { m_type = std::move(value); } + inline GetTableResult& WithType(const TableType& value) { SetType(value); return *this;} + inline GetTableResult& WithType(TableType&& value) { SetType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table.

    + */ + inline const Aws::String& GetTableARN() const{ return m_tableARN; } + inline void SetTableARN(const Aws::String& value) { m_tableARN = value; } + inline void SetTableARN(Aws::String&& value) { m_tableARN = std::move(value); } + inline void SetTableARN(const char* value) { m_tableARN.assign(value); } + inline GetTableResult& WithTableARN(const Aws::String& value) { SetTableARN(value); return *this;} + inline GetTableResult& WithTableARN(Aws::String&& value) { SetTableARN(std::move(value)); return *this;} + inline GetTableResult& WithTableARN(const char* value) { SetTableARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace associated with the table.

    + */ + inline const Aws::Vector& GetNamespace() const{ return m_namespace; } + inline void SetNamespace(const Aws::Vector& value) { m_namespace = value; } + inline void SetNamespace(Aws::Vector&& value) { m_namespace = std::move(value); } + inline GetTableResult& WithNamespace(const Aws::Vector& value) { SetNamespace(value); return *this;} + inline GetTableResult& WithNamespace(Aws::Vector&& value) { SetNamespace(std::move(value)); return *this;} + inline GetTableResult& AddNamespace(const Aws::String& value) { m_namespace.push_back(value); return *this; } + inline GetTableResult& AddNamespace(Aws::String&& value) { m_namespace.push_back(std::move(value)); return *this; } + inline GetTableResult& AddNamespace(const char* value) { m_namespace.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The version token of the table.

    + */ + inline const Aws::String& GetVersionToken() const{ return m_versionToken; } + inline void SetVersionToken(const Aws::String& value) { m_versionToken = value; } + inline void SetVersionToken(Aws::String&& value) { m_versionToken = std::move(value); } + inline void SetVersionToken(const char* value) { m_versionToken.assign(value); } + inline GetTableResult& WithVersionToken(const Aws::String& value) { SetVersionToken(value); return *this;} + inline GetTableResult& WithVersionToken(Aws::String&& value) { SetVersionToken(std::move(value)); return *this;} + inline GetTableResult& WithVersionToken(const char* value) { SetVersionToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The metadata location of the table.

    + */ + inline const Aws::String& GetMetadataLocation() const{ return m_metadataLocation; } + inline void SetMetadataLocation(const Aws::String& value) { m_metadataLocation = value; } + inline void SetMetadataLocation(Aws::String&& value) { m_metadataLocation = std::move(value); } + inline void SetMetadataLocation(const char* value) { m_metadataLocation.assign(value); } + inline GetTableResult& WithMetadataLocation(const Aws::String& value) { SetMetadataLocation(value); return *this;} + inline GetTableResult& WithMetadataLocation(Aws::String&& value) { SetMetadataLocation(std::move(value)); return *this;} + inline GetTableResult& WithMetadataLocation(const char* value) { SetMetadataLocation(value); return *this;} + ///@} + + ///@{ + /** + *

    The warehouse location of the table.

    + */ + inline const Aws::String& GetWarehouseLocation() const{ return m_warehouseLocation; } + inline void SetWarehouseLocation(const Aws::String& value) { m_warehouseLocation = value; } + inline void SetWarehouseLocation(Aws::String&& value) { m_warehouseLocation = std::move(value); } + inline void SetWarehouseLocation(const char* value) { m_warehouseLocation.assign(value); } + inline GetTableResult& WithWarehouseLocation(const Aws::String& value) { SetWarehouseLocation(value); return *this;} + inline GetTableResult& WithWarehouseLocation(Aws::String&& value) { SetWarehouseLocation(std::move(value)); return *this;} + inline GetTableResult& WithWarehouseLocation(const char* value) { SetWarehouseLocation(value); return *this;} + ///@} + + ///@{ + /** + *

    The date and time the table bucket was created at.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetTableResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetTableResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the account that created the table.

    + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetTableResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetTableResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetTableResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    The service that manages the table.

    + */ + inline const Aws::String& GetManagedByService() const{ return m_managedByService; } + inline void SetManagedByService(const Aws::String& value) { m_managedByService = value; } + inline void SetManagedByService(Aws::String&& value) { m_managedByService = std::move(value); } + inline void SetManagedByService(const char* value) { m_managedByService.assign(value); } + inline GetTableResult& WithManagedByService(const Aws::String& value) { SetManagedByService(value); return *this;} + inline GetTableResult& WithManagedByService(Aws::String&& value) { SetManagedByService(std::move(value)); return *this;} + inline GetTableResult& WithManagedByService(const char* value) { SetManagedByService(value); return *this;} + ///@} + + ///@{ + /** + *

    The date and time the table was last modified on.

    + */ + inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } + inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; } + inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); } + inline GetTableResult& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} + inline GetTableResult& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the account that last modified the table.

    + */ + inline const Aws::String& GetModifiedBy() const{ return m_modifiedBy; } + inline void SetModifiedBy(const Aws::String& value) { m_modifiedBy = value; } + inline void SetModifiedBy(Aws::String&& value) { m_modifiedBy = std::move(value); } + inline void SetModifiedBy(const char* value) { m_modifiedBy.assign(value); } + inline GetTableResult& WithModifiedBy(const Aws::String& value) { SetModifiedBy(value); return *this;} + inline GetTableResult& WithModifiedBy(Aws::String&& value) { SetModifiedBy(std::move(value)); return *this;} + inline GetTableResult& WithModifiedBy(const char* value) { SetModifiedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the account that owns the table.

    + */ + inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; } + inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountId = value; } + inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountId = std::move(value); } + inline void SetOwnerAccountId(const char* value) { m_ownerAccountId.assign(value); } + inline GetTableResult& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;} + inline GetTableResult& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;} + inline GetTableResult& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The format of the table.

    + */ + inline const OpenTableFormat& GetFormat() const{ return m_format; } + inline void SetFormat(const OpenTableFormat& value) { m_format = value; } + inline void SetFormat(OpenTableFormat&& value) { m_format = std::move(value); } + inline GetTableResult& WithFormat(const OpenTableFormat& value) { SetFormat(value); return *this;} + inline GetTableResult& WithFormat(OpenTableFormat&& value) { SetFormat(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetTableResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetTableResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetTableResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_name; + + TableType m_type; + + Aws::String m_tableARN; + + Aws::Vector m_namespace; + + Aws::String m_versionToken; + + Aws::String m_metadataLocation; + + Aws::String m_warehouseLocation; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_managedByService; + + Aws::Utils::DateTime m_modifiedAt; + + Aws::String m_modifiedBy; + + Aws::String m_ownerAccountId; + + OpenTableFormat m_format; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/IcebergCompactionSettings.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/IcebergCompactionSettings.h new file mode 100644 index 00000000000..a11f5170c3b --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/IcebergCompactionSettings.h @@ -0,0 +1,56 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + *

    Contains details about the compaction settings for an Iceberg table. + *

    See Also:

    AWS + * API Reference

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

    The target file size for the table in MB.

    + */ + inline int GetTargetFileSizeMB() const{ return m_targetFileSizeMB; } + inline bool TargetFileSizeMBHasBeenSet() const { return m_targetFileSizeMBHasBeenSet; } + inline void SetTargetFileSizeMB(int value) { m_targetFileSizeMBHasBeenSet = true; m_targetFileSizeMB = value; } + inline IcebergCompactionSettings& WithTargetFileSizeMB(int value) { SetTargetFileSizeMB(value); return *this;} + ///@} + private: + + int m_targetFileSizeMB; + bool m_targetFileSizeMBHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/IcebergSnapshotManagementSettings.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/IcebergSnapshotManagementSettings.h new file mode 100644 index 00000000000..f27d8ca5b54 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/IcebergSnapshotManagementSettings.h @@ -0,0 +1,72 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + *

    Contains details about the snapshot management settings for an Iceberg table. + * The oldest snapshot expires when its age exceeds the + * maxSnapshotAgeHours and the total number of snapshots exceeds the + * value for the minimum number of snapshots to keep + * minSnapshotsToKeep.

    See Also:

    AWS + * API Reference

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

    The minimum number of snapshots to keep.

    + */ + inline int GetMinSnapshotsToKeep() const{ return m_minSnapshotsToKeep; } + inline bool MinSnapshotsToKeepHasBeenSet() const { return m_minSnapshotsToKeepHasBeenSet; } + inline void SetMinSnapshotsToKeep(int value) { m_minSnapshotsToKeepHasBeenSet = true; m_minSnapshotsToKeep = value; } + inline IcebergSnapshotManagementSettings& WithMinSnapshotsToKeep(int value) { SetMinSnapshotsToKeep(value); return *this;} + ///@} + + ///@{ + /** + *

    The maximum age of a snapshot before it can be expired.

    + */ + inline int GetMaxSnapshotAgeHours() const{ return m_maxSnapshotAgeHours; } + inline bool MaxSnapshotAgeHoursHasBeenSet() const { return m_maxSnapshotAgeHoursHasBeenSet; } + inline void SetMaxSnapshotAgeHours(int value) { m_maxSnapshotAgeHoursHasBeenSet = true; m_maxSnapshotAgeHours = value; } + inline IcebergSnapshotManagementSettings& WithMaxSnapshotAgeHours(int value) { SetMaxSnapshotAgeHours(value); return *this;} + ///@} + private: + + int m_minSnapshotsToKeep; + bool m_minSnapshotsToKeepHasBeenSet = false; + + int m_maxSnapshotAgeHours; + bool m_maxSnapshotAgeHoursHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/IcebergUnreferencedFileRemovalSettings.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/IcebergUnreferencedFileRemovalSettings.h new file mode 100644 index 00000000000..6488833124f --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/IcebergUnreferencedFileRemovalSettings.h @@ -0,0 +1,71 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + *

    Contains details about the unreferenced file removal settings for an Iceberg + * table bucket.

    See Also:

    AWS + * API Reference

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

    The number of days an object has to be unreferenced before it is marked as + * non-current.

     </p> 
    + */ + inline int GetUnreferencedDays() const{ return m_unreferencedDays; } + inline bool UnreferencedDaysHasBeenSet() const { return m_unreferencedDaysHasBeenSet; } + inline void SetUnreferencedDays(int value) { m_unreferencedDaysHasBeenSet = true; m_unreferencedDays = value; } + inline IcebergUnreferencedFileRemovalSettings& WithUnreferencedDays(int value) { SetUnreferencedDays(value); return *this;} + ///@} + + ///@{ + /** + *

    The number of days an object has to be non-current before it is deleted. + *

    </p> 
    + */ + inline int GetNonCurrentDays() const{ return m_nonCurrentDays; } + inline bool NonCurrentDaysHasBeenSet() const { return m_nonCurrentDaysHasBeenSet; } + inline void SetNonCurrentDays(int value) { m_nonCurrentDaysHasBeenSet = true; m_nonCurrentDays = value; } + inline IcebergUnreferencedFileRemovalSettings& WithNonCurrentDays(int value) { SetNonCurrentDays(value); return *this;} + ///@} + private: + + int m_unreferencedDays; + bool m_unreferencedDaysHasBeenSet = false; + + int m_nonCurrentDays; + bool m_nonCurrentDaysHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/JobStatus.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/JobStatus.h new file mode 100644 index 00000000000..05bd94fb173 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/JobStatus.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + enum class JobStatus + { + NOT_SET, + Not_Yet_Run, + Successful, + Failed, + Disabled + }; + +namespace JobStatusMapper +{ +AWS_S3TABLES_API JobStatus GetJobStatusForName(const Aws::String& name); + +AWS_S3TABLES_API Aws::String GetNameForJobStatus(JobStatus value); +} // namespace JobStatusMapper +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListNamespacesRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListNamespacesRequest.h new file mode 100644 index 00000000000..9442fcdc1c6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListNamespacesRequest.h @@ -0,0 +1,112 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class ListNamespacesRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API ListNamespacesRequest(); + + // 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 "ListNamespaces"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + AWS_S3TABLES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline ListNamespacesRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline ListNamespacesRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline ListNamespacesRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The prefix of the namespaces.

    + */ + inline const Aws::String& GetPrefix() const{ return m_prefix; } + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } + inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } + inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } + inline ListNamespacesRequest& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} + inline ListNamespacesRequest& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} + inline ListNamespacesRequest& WithPrefix(const char* value) { SetPrefix(value); return *this;} + ///@} + + ///@{ + /** + *

    ContinuationToken indicates to Amazon S3 that the list is being + * continued on this bucket with a token. ContinuationToken is + * obfuscated and is not a real key. You can use this + * ContinuationToken for pagination of the list results.

    + */ + inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; } + inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } + inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; } + inline void SetContinuationToken(Aws::String&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::move(value); } + inline void SetContinuationToken(const char* value) { m_continuationTokenHasBeenSet = true; m_continuationToken.assign(value); } + inline ListNamespacesRequest& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;} + inline ListNamespacesRequest& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;} + inline ListNamespacesRequest& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The maximum number of namespaces to return in the list.

    + */ + inline int GetMaxNamespaces() const{ return m_maxNamespaces; } + inline bool MaxNamespacesHasBeenSet() const { return m_maxNamespacesHasBeenSet; } + inline void SetMaxNamespaces(int value) { m_maxNamespacesHasBeenSet = true; m_maxNamespaces = value; } + inline ListNamespacesRequest& WithMaxNamespaces(int value) { SetMaxNamespaces(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_prefix; + bool m_prefixHasBeenSet = false; + + Aws::String m_continuationToken; + bool m_continuationTokenHasBeenSet = false; + + int m_maxNamespaces; + bool m_maxNamespacesHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListNamespacesResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListNamespacesResult.h new file mode 100644 index 00000000000..a4656e16180 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListNamespacesResult.h @@ -0,0 +1,84 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + class ListNamespacesResult + { + public: + AWS_S3TABLES_API ListNamespacesResult(); + AWS_S3TABLES_API ListNamespacesResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API ListNamespacesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    A list of namespaces.

    + */ + inline const Aws::Vector& GetNamespaces() const{ return m_namespaces; } + inline void SetNamespaces(const Aws::Vector& value) { m_namespaces = value; } + inline void SetNamespaces(Aws::Vector&& value) { m_namespaces = std::move(value); } + inline ListNamespacesResult& WithNamespaces(const Aws::Vector& value) { SetNamespaces(value); return *this;} + inline ListNamespacesResult& WithNamespaces(Aws::Vector&& value) { SetNamespaces(std::move(value)); return *this;} + inline ListNamespacesResult& AddNamespaces(const NamespaceSummary& value) { m_namespaces.push_back(value); return *this; } + inline ListNamespacesResult& AddNamespaces(NamespaceSummary&& value) { m_namespaces.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    The ContinuationToken for pagination of the list results.

    + */ + inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; } + inline void SetContinuationToken(const Aws::String& value) { m_continuationToken = value; } + inline void SetContinuationToken(Aws::String&& value) { m_continuationToken = std::move(value); } + inline void SetContinuationToken(const char* value) { m_continuationToken.assign(value); } + inline ListNamespacesResult& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;} + inline ListNamespacesResult& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;} + inline ListNamespacesResult& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListNamespacesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListNamespacesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListNamespacesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_namespaces; + + Aws::String m_continuationToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTableBucketsRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTableBucketsRequest.h new file mode 100644 index 00000000000..93c813baaa1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTableBucketsRequest.h @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3Tables +{ +namespace Model +{ + + /** + */ + class ListTableBucketsRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API ListTableBucketsRequest(); + + // 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 "ListTableBuckets"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + AWS_S3TABLES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The prefix of the table buckets.

    + */ + inline const Aws::String& GetPrefix() const{ return m_prefix; } + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } + inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } + inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } + inline ListTableBucketsRequest& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} + inline ListTableBucketsRequest& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} + inline ListTableBucketsRequest& WithPrefix(const char* value) { SetPrefix(value); return *this;} + ///@} + + ///@{ + /** + *

    ContinuationToken indicates to Amazon S3 that the list is being + * continued on this bucket with a token. ContinuationToken is + * obfuscated and is not a real key. You can use this + * ContinuationToken for pagination of the list results.

    + */ + inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; } + inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } + inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; } + inline void SetContinuationToken(Aws::String&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::move(value); } + inline void SetContinuationToken(const char* value) { m_continuationTokenHasBeenSet = true; m_continuationToken.assign(value); } + inline ListTableBucketsRequest& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;} + inline ListTableBucketsRequest& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;} + inline ListTableBucketsRequest& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The maximum number of table buckets to return in the list.

    + */ + inline int GetMaxBuckets() const{ return m_maxBuckets; } + inline bool MaxBucketsHasBeenSet() const { return m_maxBucketsHasBeenSet; } + inline void SetMaxBuckets(int value) { m_maxBucketsHasBeenSet = true; m_maxBuckets = value; } + inline ListTableBucketsRequest& WithMaxBuckets(int value) { SetMaxBuckets(value); return *this;} + ///@} + private: + + Aws::String m_prefix; + bool m_prefixHasBeenSet = false; + + Aws::String m_continuationToken; + bool m_continuationTokenHasBeenSet = false; + + int m_maxBuckets; + bool m_maxBucketsHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTableBucketsResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTableBucketsResult.h new file mode 100644 index 00000000000..33aff08d902 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTableBucketsResult.h @@ -0,0 +1,85 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + class ListTableBucketsResult + { + public: + AWS_S3TABLES_API ListTableBucketsResult(); + AWS_S3TABLES_API ListTableBucketsResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API ListTableBucketsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    A list of table buckets.

    + */ + inline const Aws::Vector& GetTableBuckets() const{ return m_tableBuckets; } + inline void SetTableBuckets(const Aws::Vector& value) { m_tableBuckets = value; } + inline void SetTableBuckets(Aws::Vector&& value) { m_tableBuckets = std::move(value); } + inline ListTableBucketsResult& WithTableBuckets(const Aws::Vector& value) { SetTableBuckets(value); return *this;} + inline ListTableBucketsResult& WithTableBuckets(Aws::Vector&& value) { SetTableBuckets(std::move(value)); return *this;} + inline ListTableBucketsResult& AddTableBuckets(const TableBucketSummary& value) { m_tableBuckets.push_back(value); return *this; } + inline ListTableBucketsResult& AddTableBuckets(TableBucketSummary&& value) { m_tableBuckets.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    You can use this ContinuationToken for pagination of the list + * results.

    + */ + inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; } + inline void SetContinuationToken(const Aws::String& value) { m_continuationToken = value; } + inline void SetContinuationToken(Aws::String&& value) { m_continuationToken = std::move(value); } + inline void SetContinuationToken(const char* value) { m_continuationToken.assign(value); } + inline ListTableBucketsResult& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;} + inline ListTableBucketsResult& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;} + inline ListTableBucketsResult& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListTableBucketsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListTableBucketsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListTableBucketsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_tableBuckets; + + Aws::String m_continuationToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTablesRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTablesRequest.h new file mode 100644 index 00000000000..aa4a8527e94 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTablesRequest.h @@ -0,0 +1,129 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class ListTablesRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API ListTablesRequest(); + + // 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 "ListTables"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + AWS_S3TABLES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

    The Amazon resource Number (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline ListTablesRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline ListTablesRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline ListTablesRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace of the tables.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline ListTablesRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline ListTablesRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline ListTablesRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The prefix of the tables.

    + */ + inline const Aws::String& GetPrefix() const{ return m_prefix; } + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } + inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } + inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } + inline ListTablesRequest& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} + inline ListTablesRequest& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} + inline ListTablesRequest& WithPrefix(const char* value) { SetPrefix(value); return *this;} + ///@} + + ///@{ + /** + *

    ContinuationToken indicates to Amazon S3 that the list is being + * continued on this bucket with a token. ContinuationToken is + * obfuscated and is not a real key. You can use this + * ContinuationToken for pagination of the list results.

    + */ + inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; } + inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } + inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; } + inline void SetContinuationToken(Aws::String&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::move(value); } + inline void SetContinuationToken(const char* value) { m_continuationTokenHasBeenSet = true; m_continuationToken.assign(value); } + inline ListTablesRequest& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;} + inline ListTablesRequest& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;} + inline ListTablesRequest& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The maximum number of tables to return.

    + */ + inline int GetMaxTables() const{ return m_maxTables; } + inline bool MaxTablesHasBeenSet() const { return m_maxTablesHasBeenSet; } + inline void SetMaxTables(int value) { m_maxTablesHasBeenSet = true; m_maxTables = value; } + inline ListTablesRequest& WithMaxTables(int value) { SetMaxTables(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_prefix; + bool m_prefixHasBeenSet = false; + + Aws::String m_continuationToken; + bool m_continuationTokenHasBeenSet = false; + + int m_maxTables; + bool m_maxTablesHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTablesResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTablesResult.h new file mode 100644 index 00000000000..7201d08a3fb --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/ListTablesResult.h @@ -0,0 +1,85 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + class ListTablesResult + { + public: + AWS_S3TABLES_API ListTablesResult(); + AWS_S3TABLES_API ListTablesResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API ListTablesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    A list of tables.

    + */ + inline const Aws::Vector& GetTables() const{ return m_tables; } + inline void SetTables(const Aws::Vector& value) { m_tables = value; } + inline void SetTables(Aws::Vector&& value) { m_tables = std::move(value); } + inline ListTablesResult& WithTables(const Aws::Vector& value) { SetTables(value); return *this;} + inline ListTablesResult& WithTables(Aws::Vector&& value) { SetTables(std::move(value)); return *this;} + inline ListTablesResult& AddTables(const TableSummary& value) { m_tables.push_back(value); return *this; } + inline ListTablesResult& AddTables(TableSummary&& value) { m_tables.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

    You can use this ContinuationToken for pagination of the list + * results.

    + */ + inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; } + inline void SetContinuationToken(const Aws::String& value) { m_continuationToken = value; } + inline void SetContinuationToken(Aws::String&& value) { m_continuationToken = std::move(value); } + inline void SetContinuationToken(const char* value) { m_continuationToken.assign(value); } + inline ListTablesResult& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;} + inline ListTablesResult& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;} + inline ListTablesResult& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListTablesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListTablesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListTablesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_tables; + + Aws::String m_continuationToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/MaintenanceStatus.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/MaintenanceStatus.h new file mode 100644 index 00000000000..50dda7acd48 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/MaintenanceStatus.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + enum class MaintenanceStatus + { + NOT_SET, + enabled, + disabled + }; + +namespace MaintenanceStatusMapper +{ +AWS_S3TABLES_API MaintenanceStatus GetMaintenanceStatusForName(const Aws::String& name); + +AWS_S3TABLES_API Aws::String GetNameForMaintenanceStatus(MaintenanceStatus value); +} // namespace MaintenanceStatusMapper +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/NamespaceSummary.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/NamespaceSummary.h new file mode 100644 index 00000000000..12cf8065b87 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/NamespaceSummary.h @@ -0,0 +1,113 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + + /** + *

    Contains details about a namespace.

    See Also:

    AWS + * API Reference

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

    The name of the namespace.

    + */ + inline const Aws::Vector& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::Vector& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::Vector&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline NamespaceSummary& WithNamespace(const Aws::Vector& value) { SetNamespace(value); return *this;} + inline NamespaceSummary& WithNamespace(Aws::Vector&& value) { SetNamespace(std::move(value)); return *this;} + inline NamespaceSummary& AddNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace.push_back(value); return *this; } + inline NamespaceSummary& AddNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace.push_back(std::move(value)); return *this; } + inline NamespaceSummary& AddNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The date and time the namespace was created at.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline NamespaceSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline NamespaceSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the account that created the namespace.

    + */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline NamespaceSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline NamespaceSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline NamespaceSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the account that owns the namespace.

    + */ + inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; } + inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; } + inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = value; } + inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::move(value); } + inline void SetOwnerAccountId(const char* value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId.assign(value); } + inline NamespaceSummary& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;} + inline NamespaceSummary& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;} + inline NamespaceSummary& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;} + ///@} + private: + + Aws::Vector m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_ownerAccountId; + bool m_ownerAccountIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/OpenTableFormat.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/OpenTableFormat.h new file mode 100644 index 00000000000..2c51848a382 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/OpenTableFormat.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + enum class OpenTableFormat + { + NOT_SET, + ICEBERG + }; + +namespace OpenTableFormatMapper +{ +AWS_S3TABLES_API OpenTableFormat GetOpenTableFormatForName(const Aws::String& name); + +AWS_S3TABLES_API Aws::String GetNameForOpenTableFormat(OpenTableFormat value); +} // namespace OpenTableFormatMapper +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTableBucketMaintenanceConfigurationRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTableBucketMaintenanceConfigurationRequest.h new file mode 100644 index 00000000000..3ce22e830a2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTableBucketMaintenanceConfigurationRequest.h @@ -0,0 +1,89 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class PutTableBucketMaintenanceConfigurationRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API PutTableBucketMaintenanceConfigurationRequest(); + + // 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 "PutTableBucketMaintenanceConfiguration"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket associated with the + * maintenance configuration.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline PutTableBucketMaintenanceConfigurationRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline PutTableBucketMaintenanceConfigurationRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline PutTableBucketMaintenanceConfigurationRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The type of the maintenance configuration.

    + */ + inline const TableBucketMaintenanceType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const TableBucketMaintenanceType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(TableBucketMaintenanceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline PutTableBucketMaintenanceConfigurationRequest& WithType(const TableBucketMaintenanceType& value) { SetType(value); return *this;} + inline PutTableBucketMaintenanceConfigurationRequest& WithType(TableBucketMaintenanceType&& value) { SetType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Defines the values of the maintenance configuration for the table bucket.

    + */ + inline const TableBucketMaintenanceConfigurationValue& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const TableBucketMaintenanceConfigurationValue& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(TableBucketMaintenanceConfigurationValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline PutTableBucketMaintenanceConfigurationRequest& WithValue(const TableBucketMaintenanceConfigurationValue& value) { SetValue(value); return *this;} + inline PutTableBucketMaintenanceConfigurationRequest& WithValue(TableBucketMaintenanceConfigurationValue&& value) { SetValue(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + TableBucketMaintenanceType m_type; + bool m_typeHasBeenSet = false; + + TableBucketMaintenanceConfigurationValue m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTableBucketPolicyRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTableBucketPolicyRequest.h new file mode 100644 index 00000000000..fbf0c668aa0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTableBucketPolicyRequest.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + + /** + */ + class PutTableBucketPolicyRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API PutTableBucketPolicyRequest(); + + // 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 "PutTableBucketPolicy"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Number (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline PutTableBucketPolicyRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline PutTableBucketPolicyRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline PutTableBucketPolicyRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the resource policy.

    + */ + inline const Aws::String& GetResourcePolicy() const{ return m_resourcePolicy; } + inline bool ResourcePolicyHasBeenSet() const { return m_resourcePolicyHasBeenSet; } + inline void SetResourcePolicy(const Aws::String& value) { m_resourcePolicyHasBeenSet = true; m_resourcePolicy = value; } + inline void SetResourcePolicy(Aws::String&& value) { m_resourcePolicyHasBeenSet = true; m_resourcePolicy = std::move(value); } + inline void SetResourcePolicy(const char* value) { m_resourcePolicyHasBeenSet = true; m_resourcePolicy.assign(value); } + inline PutTableBucketPolicyRequest& WithResourcePolicy(const Aws::String& value) { SetResourcePolicy(value); return *this;} + inline PutTableBucketPolicyRequest& WithResourcePolicy(Aws::String&& value) { SetResourcePolicy(std::move(value)); return *this;} + inline PutTableBucketPolicyRequest& WithResourcePolicy(const char* value) { SetResourcePolicy(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_resourcePolicy; + bool m_resourcePolicyHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTableMaintenanceConfigurationRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTableMaintenanceConfigurationRequest.h new file mode 100644 index 00000000000..f59aeb74d02 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTableMaintenanceConfigurationRequest.h @@ -0,0 +1,123 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class PutTableMaintenanceConfigurationRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API PutTableMaintenanceConfigurationRequest(); + + // 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 "PutTableMaintenanceConfiguration"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table associated with the maintenance + * configuration.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline PutTableMaintenanceConfigurationRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline PutTableMaintenanceConfigurationRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline PutTableMaintenanceConfigurationRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace of the table.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline PutTableMaintenanceConfigurationRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline PutTableMaintenanceConfigurationRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline PutTableMaintenanceConfigurationRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the maintenance configuration.

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

    The type of the maintenance configuration.

    + */ + inline const TableMaintenanceType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const TableMaintenanceType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(TableMaintenanceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline PutTableMaintenanceConfigurationRequest& WithType(const TableMaintenanceType& value) { SetType(value); return *this;} + inline PutTableMaintenanceConfigurationRequest& WithType(TableMaintenanceType&& value) { SetType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Defines the values of the maintenance configuration for the table.

    + */ + inline const TableMaintenanceConfigurationValue& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const TableMaintenanceConfigurationValue& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(TableMaintenanceConfigurationValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline PutTableMaintenanceConfigurationRequest& WithValue(const TableMaintenanceConfigurationValue& value) { SetValue(value); return *this;} + inline PutTableMaintenanceConfigurationRequest& WithValue(TableMaintenanceConfigurationValue&& value) { SetValue(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + TableMaintenanceType m_type; + bool m_typeHasBeenSet = false; + + TableMaintenanceConfigurationValue m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTablePolicyRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTablePolicyRequest.h new file mode 100644 index 00000000000..6c949ebbf5d --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/PutTablePolicyRequest.h @@ -0,0 +1,108 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class PutTablePolicyRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API PutTablePolicyRequest(); + + // 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 "PutTablePolicy"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Number (ARN) of the table bucket that contains the + * table.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline PutTablePolicyRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline PutTablePolicyRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline PutTablePolicyRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace associated with the table.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline PutTablePolicyRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline PutTablePolicyRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline PutTablePolicyRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the table.

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

    The name of the resource policy.

    + */ + inline const Aws::String& GetResourcePolicy() const{ return m_resourcePolicy; } + inline bool ResourcePolicyHasBeenSet() const { return m_resourcePolicyHasBeenSet; } + inline void SetResourcePolicy(const Aws::String& value) { m_resourcePolicyHasBeenSet = true; m_resourcePolicy = value; } + inline void SetResourcePolicy(Aws::String&& value) { m_resourcePolicyHasBeenSet = true; m_resourcePolicy = std::move(value); } + inline void SetResourcePolicy(const char* value) { m_resourcePolicyHasBeenSet = true; m_resourcePolicy.assign(value); } + inline PutTablePolicyRequest& WithResourcePolicy(const Aws::String& value) { SetResourcePolicy(value); return *this;} + inline PutTablePolicyRequest& WithResourcePolicy(Aws::String&& value) { SetResourcePolicy(std::move(value)); return *this;} + inline PutTablePolicyRequest& WithResourcePolicy(const char* value) { SetResourcePolicy(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_resourcePolicy; + bool m_resourcePolicyHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/RenameTableRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/RenameTableRequest.h new file mode 100644 index 00000000000..cdfba15ac67 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/RenameTableRequest.h @@ -0,0 +1,141 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class RenameTableRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API RenameTableRequest(); + + // 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 "RenameTable"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline RenameTableRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline RenameTableRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline RenameTableRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace associated with the table.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline RenameTableRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline RenameTableRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline RenameTableRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The current name of the table.

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

    The new name for the namespace.

    + */ + inline const Aws::String& GetNewNamespaceName() const{ return m_newNamespaceName; } + inline bool NewNamespaceNameHasBeenSet() const { return m_newNamespaceNameHasBeenSet; } + inline void SetNewNamespaceName(const Aws::String& value) { m_newNamespaceNameHasBeenSet = true; m_newNamespaceName = value; } + inline void SetNewNamespaceName(Aws::String&& value) { m_newNamespaceNameHasBeenSet = true; m_newNamespaceName = std::move(value); } + inline void SetNewNamespaceName(const char* value) { m_newNamespaceNameHasBeenSet = true; m_newNamespaceName.assign(value); } + inline RenameTableRequest& WithNewNamespaceName(const Aws::String& value) { SetNewNamespaceName(value); return *this;} + inline RenameTableRequest& WithNewNamespaceName(Aws::String&& value) { SetNewNamespaceName(std::move(value)); return *this;} + inline RenameTableRequest& WithNewNamespaceName(const char* value) { SetNewNamespaceName(value); return *this;} + ///@} + + ///@{ + /** + *

    The new name for the table.

    + */ + inline const Aws::String& GetNewName() const{ return m_newName; } + inline bool NewNameHasBeenSet() const { return m_newNameHasBeenSet; } + inline void SetNewName(const Aws::String& value) { m_newNameHasBeenSet = true; m_newName = value; } + inline void SetNewName(Aws::String&& value) { m_newNameHasBeenSet = true; m_newName = std::move(value); } + inline void SetNewName(const char* value) { m_newNameHasBeenSet = true; m_newName.assign(value); } + inline RenameTableRequest& WithNewName(const Aws::String& value) { SetNewName(value); return *this;} + inline RenameTableRequest& WithNewName(Aws::String&& value) { SetNewName(std::move(value)); return *this;} + inline RenameTableRequest& WithNewName(const char* value) { SetNewName(value); return *this;} + ///@} + + ///@{ + /** + *

    The version token of the table.

    + */ + inline const Aws::String& GetVersionToken() const{ return m_versionToken; } + inline bool VersionTokenHasBeenSet() const { return m_versionTokenHasBeenSet; } + inline void SetVersionToken(const Aws::String& value) { m_versionTokenHasBeenSet = true; m_versionToken = value; } + inline void SetVersionToken(Aws::String&& value) { m_versionTokenHasBeenSet = true; m_versionToken = std::move(value); } + inline void SetVersionToken(const char* value) { m_versionTokenHasBeenSet = true; m_versionToken.assign(value); } + inline RenameTableRequest& WithVersionToken(const Aws::String& value) { SetVersionToken(value); return *this;} + inline RenameTableRequest& WithVersionToken(Aws::String&& value) { SetVersionToken(std::move(value)); return *this;} + inline RenameTableRequest& WithVersionToken(const char* value) { SetVersionToken(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_newNamespaceName; + bool m_newNamespaceNameHasBeenSet = false; + + Aws::String m_newName; + bool m_newNameHasBeenSet = false; + + Aws::String m_versionToken; + bool m_versionTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketMaintenanceConfigurationValue.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketMaintenanceConfigurationValue.h new file mode 100644 index 00000000000..756805455cc --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketMaintenanceConfigurationValue.h @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + + /** + *

    Details about the values that define the maintenance configuration for a + * table bucket.

    See Also:

    AWS + * API Reference

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

    The status of the maintenance configuration.

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

    Contains details about the settings of the maintenance configuration.

    + */ + inline const TableBucketMaintenanceSettings& GetSettings() const{ return m_settings; } + inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; } + inline void SetSettings(const TableBucketMaintenanceSettings& value) { m_settingsHasBeenSet = true; m_settings = value; } + inline void SetSettings(TableBucketMaintenanceSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); } + inline TableBucketMaintenanceConfigurationValue& WithSettings(const TableBucketMaintenanceSettings& value) { SetSettings(value); return *this;} + inline TableBucketMaintenanceConfigurationValue& WithSettings(TableBucketMaintenanceSettings&& value) { SetSettings(std::move(value)); return *this;} + ///@} + private: + + MaintenanceStatus m_status; + bool m_statusHasBeenSet = false; + + TableBucketMaintenanceSettings m_settings; + bool m_settingsHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketMaintenanceSettings.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketMaintenanceSettings.h new file mode 100644 index 00000000000..edec2bc3c45 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketMaintenanceSettings.h @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + + /** + *

    Contains details about the maintenance settings for the table + * bucket.

    See Also:

    AWS + * API Reference

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

    The unreferenced file removal settings for the table bucket.

    + */ + inline const IcebergUnreferencedFileRemovalSettings& GetIcebergUnreferencedFileRemoval() const{ return m_icebergUnreferencedFileRemoval; } + inline bool IcebergUnreferencedFileRemovalHasBeenSet() const { return m_icebergUnreferencedFileRemovalHasBeenSet; } + inline void SetIcebergUnreferencedFileRemoval(const IcebergUnreferencedFileRemovalSettings& value) { m_icebergUnreferencedFileRemovalHasBeenSet = true; m_icebergUnreferencedFileRemoval = value; } + inline void SetIcebergUnreferencedFileRemoval(IcebergUnreferencedFileRemovalSettings&& value) { m_icebergUnreferencedFileRemovalHasBeenSet = true; m_icebergUnreferencedFileRemoval = std::move(value); } + inline TableBucketMaintenanceSettings& WithIcebergUnreferencedFileRemoval(const IcebergUnreferencedFileRemovalSettings& value) { SetIcebergUnreferencedFileRemoval(value); return *this;} + inline TableBucketMaintenanceSettings& WithIcebergUnreferencedFileRemoval(IcebergUnreferencedFileRemovalSettings&& value) { SetIcebergUnreferencedFileRemoval(std::move(value)); return *this;} + ///@} + private: + + IcebergUnreferencedFileRemovalSettings m_icebergUnreferencedFileRemoval; + bool m_icebergUnreferencedFileRemovalHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketMaintenanceType.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketMaintenanceType.h new file mode 100644 index 00000000000..b1991ad36fc --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketMaintenanceType.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + enum class TableBucketMaintenanceType + { + NOT_SET, + icebergUnreferencedFileRemoval + }; + +namespace TableBucketMaintenanceTypeMapper +{ +AWS_S3TABLES_API TableBucketMaintenanceType GetTableBucketMaintenanceTypeForName(const Aws::String& name); + +AWS_S3TABLES_API Aws::String GetNameForTableBucketMaintenanceType(TableBucketMaintenanceType value); +} // namespace TableBucketMaintenanceTypeMapper +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketSummary.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketSummary.h new file mode 100644 index 00000000000..06245619945 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableBucketSummary.h @@ -0,0 +1,111 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + *

    Contains details about a table bucket.

    See Also:

    AWS + * API Reference

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

    The Amazon Resource Number (ARN) of the table bucket.

    + */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline TableBucketSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline TableBucketSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline TableBucketSummary& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the table bucket.

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

    The ID of the account that owns the table bucket.

    + */ + inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; } + inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; } + inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = value; } + inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::move(value); } + inline void SetOwnerAccountId(const char* value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId.assign(value); } + inline TableBucketSummary& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;} + inline TableBucketSummary& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;} + inline TableBucketSummary& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

    The date and time the table bucket was created at.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline TableBucketSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline TableBucketSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_ownerAccountId; + bool m_ownerAccountIdHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceConfigurationValue.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceConfigurationValue.h new file mode 100644 index 00000000000..31b4c741493 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceConfigurationValue.h @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + + /** + *

    Contains the values that define a maintenance configuration for a + * table.

    See Also:

    AWS + * API Reference

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

    The status of the maintenance configuration.

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

    Contains details about the settings for the maintenance configuration.

    + */ + inline const TableMaintenanceSettings& GetSettings() const{ return m_settings; } + inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; } + inline void SetSettings(const TableMaintenanceSettings& value) { m_settingsHasBeenSet = true; m_settings = value; } + inline void SetSettings(TableMaintenanceSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); } + inline TableMaintenanceConfigurationValue& WithSettings(const TableMaintenanceSettings& value) { SetSettings(value); return *this;} + inline TableMaintenanceConfigurationValue& WithSettings(TableMaintenanceSettings&& value) { SetSettings(std::move(value)); return *this;} + ///@} + private: + + MaintenanceStatus m_status; + bool m_statusHasBeenSet = false; + + TableMaintenanceSettings m_settings; + bool m_settingsHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceJobStatusValue.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceJobStatusValue.h new file mode 100644 index 00000000000..e15e6ad78eb --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceJobStatusValue.h @@ -0,0 +1,93 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + *

    Details about the status of a maintenance job.

    See Also:

    AWS + * API Reference

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

    The status of the job.

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

    The date and time that the maintenance job was last run.

    + */ + inline const Aws::Utils::DateTime& GetLastRunTimestamp() const{ return m_lastRunTimestamp; } + inline bool LastRunTimestampHasBeenSet() const { return m_lastRunTimestampHasBeenSet; } + inline void SetLastRunTimestamp(const Aws::Utils::DateTime& value) { m_lastRunTimestampHasBeenSet = true; m_lastRunTimestamp = value; } + inline void SetLastRunTimestamp(Aws::Utils::DateTime&& value) { m_lastRunTimestampHasBeenSet = true; m_lastRunTimestamp = std::move(value); } + inline TableMaintenanceJobStatusValue& WithLastRunTimestamp(const Aws::Utils::DateTime& value) { SetLastRunTimestamp(value); return *this;} + inline TableMaintenanceJobStatusValue& WithLastRunTimestamp(Aws::Utils::DateTime&& value) { SetLastRunTimestamp(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The failure message of a failed job.

    + */ + inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; } + inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; } + inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; } + inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); } + inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); } + inline TableMaintenanceJobStatusValue& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;} + inline TableMaintenanceJobStatusValue& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;} + inline TableMaintenanceJobStatusValue& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;} + ///@} + private: + + JobStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::Utils::DateTime m_lastRunTimestamp; + bool m_lastRunTimestampHasBeenSet = false; + + Aws::String m_failureMessage; + bool m_failureMessageHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceJobType.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceJobType.h new file mode 100644 index 00000000000..8b95b270316 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceJobType.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + enum class TableMaintenanceJobType + { + NOT_SET, + icebergCompaction, + icebergSnapshotManagement, + icebergUnreferencedFileRemoval + }; + +namespace TableMaintenanceJobTypeMapper +{ +AWS_S3TABLES_API TableMaintenanceJobType GetTableMaintenanceJobTypeForName(const Aws::String& name); + +AWS_S3TABLES_API Aws::String GetNameForTableMaintenanceJobType(TableMaintenanceJobType value); +} // namespace TableMaintenanceJobTypeMapper +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceSettings.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceSettings.h new file mode 100644 index 00000000000..b3b951bceb0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceSettings.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace S3Tables +{ +namespace Model +{ + + /** + *

    Contains details about maintenance settings for the table.

    See + * Also:

    AWS + * API Reference

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

    Contains details about the Iceberg compaction settings for the table.

    + */ + inline const IcebergCompactionSettings& GetIcebergCompaction() const{ return m_icebergCompaction; } + inline bool IcebergCompactionHasBeenSet() const { return m_icebergCompactionHasBeenSet; } + inline void SetIcebergCompaction(const IcebergCompactionSettings& value) { m_icebergCompactionHasBeenSet = true; m_icebergCompaction = value; } + inline void SetIcebergCompaction(IcebergCompactionSettings&& value) { m_icebergCompactionHasBeenSet = true; m_icebergCompaction = std::move(value); } + inline TableMaintenanceSettings& WithIcebergCompaction(const IcebergCompactionSettings& value) { SetIcebergCompaction(value); return *this;} + inline TableMaintenanceSettings& WithIcebergCompaction(IcebergCompactionSettings&& value) { SetIcebergCompaction(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    Contains details about the Iceberg snapshot management settings for the + * table.

    + */ + inline const IcebergSnapshotManagementSettings& GetIcebergSnapshotManagement() const{ return m_icebergSnapshotManagement; } + inline bool IcebergSnapshotManagementHasBeenSet() const { return m_icebergSnapshotManagementHasBeenSet; } + inline void SetIcebergSnapshotManagement(const IcebergSnapshotManagementSettings& value) { m_icebergSnapshotManagementHasBeenSet = true; m_icebergSnapshotManagement = value; } + inline void SetIcebergSnapshotManagement(IcebergSnapshotManagementSettings&& value) { m_icebergSnapshotManagementHasBeenSet = true; m_icebergSnapshotManagement = std::move(value); } + inline TableMaintenanceSettings& WithIcebergSnapshotManagement(const IcebergSnapshotManagementSettings& value) { SetIcebergSnapshotManagement(value); return *this;} + inline TableMaintenanceSettings& WithIcebergSnapshotManagement(IcebergSnapshotManagementSettings&& value) { SetIcebergSnapshotManagement(std::move(value)); return *this;} + ///@} + private: + + IcebergCompactionSettings m_icebergCompaction; + bool m_icebergCompactionHasBeenSet = false; + + IcebergSnapshotManagementSettings m_icebergSnapshotManagement; + bool m_icebergSnapshotManagementHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceType.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceType.h new file mode 100644 index 00000000000..a32b316cc17 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableMaintenanceType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + enum class TableMaintenanceType + { + NOT_SET, + icebergCompaction, + icebergSnapshotManagement + }; + +namespace TableMaintenanceTypeMapper +{ +AWS_S3TABLES_API TableMaintenanceType GetTableMaintenanceTypeForName(const Aws::String& name); + +AWS_S3TABLES_API Aws::String GetNameForTableMaintenanceType(TableMaintenanceType value); +} // namespace TableMaintenanceTypeMapper +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableSummary.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableSummary.h new file mode 100644 index 00000000000..bdd0a3ca0e9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableSummary.h @@ -0,0 +1,144 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + *

    Contains details about a table.

    See Also:

    AWS + * API Reference

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

    The name of the namespace.

    + */ + inline const Aws::Vector& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::Vector& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::Vector&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline TableSummary& WithNamespace(const Aws::Vector& value) { SetNamespace(value); return *this;} + inline TableSummary& WithNamespace(Aws::Vector&& value) { SetNamespace(std::move(value)); return *this;} + inline TableSummary& AddNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace.push_back(value); return *this; } + inline TableSummary& AddNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace.push_back(std::move(value)); return *this; } + inline TableSummary& AddNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The name of the table.

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

    The type of the table.

    + */ + inline const TableType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const TableType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(TableType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline TableSummary& WithType(const TableType& value) { SetType(value); return *this;} + inline TableSummary& WithType(TableType&& value) { SetType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The Amazon Resource Number (ARN) of the table.

    + */ + inline const Aws::String& GetTableARN() const{ return m_tableARN; } + inline bool TableARNHasBeenSet() const { return m_tableARNHasBeenSet; } + inline void SetTableARN(const Aws::String& value) { m_tableARNHasBeenSet = true; m_tableARN = value; } + inline void SetTableARN(Aws::String&& value) { m_tableARNHasBeenSet = true; m_tableARN = std::move(value); } + inline void SetTableARN(const char* value) { m_tableARNHasBeenSet = true; m_tableARN.assign(value); } + inline TableSummary& WithTableARN(const Aws::String& value) { SetTableARN(value); return *this;} + inline TableSummary& WithTableARN(Aws::String&& value) { SetTableARN(std::move(value)); return *this;} + inline TableSummary& WithTableARN(const char* value) { SetTableARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The date and time the table was created at.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline TableSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline TableSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The date and time the table was last modified at.

    + */ + inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } + inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } + inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; } + inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); } + inline TableSummary& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} + inline TableSummary& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} + ///@} + private: + + Aws::Vector m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + TableType m_type; + bool m_typeHasBeenSet = false; + + Aws::String m_tableARN; + bool m_tableARNHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::Utils::DateTime m_modifiedAt; + bool m_modifiedAtHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableType.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableType.h new file mode 100644 index 00000000000..98e5c4223ef --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/TableType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + enum class TableType + { + NOT_SET, + customer, + aws + }; + +namespace TableTypeMapper +{ +AWS_S3TABLES_API TableType GetTableTypeForName(const Aws::String& name); + +AWS_S3TABLES_API Aws::String GetNameForTableType(TableType value); +} // namespace TableTypeMapper +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/UpdateTableMetadataLocationRequest.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/UpdateTableMetadataLocationRequest.h new file mode 100644 index 00000000000..b64bd9666be --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/UpdateTableMetadataLocationRequest.h @@ -0,0 +1,124 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + + /** + */ + class UpdateTableMetadataLocationRequest : public S3TablesRequest + { + public: + AWS_S3TABLES_API UpdateTableMetadataLocationRequest(); + + // 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 "UpdateTableMetadataLocation"; } + + AWS_S3TABLES_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

    The Amazon Resource Name (ARN) of the table bucket.

    + */ + inline const Aws::String& GetTableBucketARN() const{ return m_tableBucketARN; } + inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; } + inline void SetTableBucketARN(const Aws::String& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = value; } + inline void SetTableBucketARN(Aws::String&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::move(value); } + inline void SetTableBucketARN(const char* value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN.assign(value); } + inline UpdateTableMetadataLocationRequest& WithTableBucketARN(const Aws::String& value) { SetTableBucketARN(value); return *this;} + inline UpdateTableMetadataLocationRequest& WithTableBucketARN(Aws::String&& value) { SetTableBucketARN(std::move(value)); return *this;} + inline UpdateTableMetadataLocationRequest& WithTableBucketARN(const char* value) { SetTableBucketARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace of the table.

    + */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline UpdateTableMetadataLocationRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline UpdateTableMetadataLocationRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline UpdateTableMetadataLocationRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} + + ///@{ + /** + *

    The name of the table.

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

    The version token of the table.

    + */ + inline const Aws::String& GetVersionToken() const{ return m_versionToken; } + inline bool VersionTokenHasBeenSet() const { return m_versionTokenHasBeenSet; } + inline void SetVersionToken(const Aws::String& value) { m_versionTokenHasBeenSet = true; m_versionToken = value; } + inline void SetVersionToken(Aws::String&& value) { m_versionTokenHasBeenSet = true; m_versionToken = std::move(value); } + inline void SetVersionToken(const char* value) { m_versionTokenHasBeenSet = true; m_versionToken.assign(value); } + inline UpdateTableMetadataLocationRequest& WithVersionToken(const Aws::String& value) { SetVersionToken(value); return *this;} + inline UpdateTableMetadataLocationRequest& WithVersionToken(Aws::String&& value) { SetVersionToken(std::move(value)); return *this;} + inline UpdateTableMetadataLocationRequest& WithVersionToken(const char* value) { SetVersionToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The new metadata location for the table.

    + */ + inline const Aws::String& GetMetadataLocation() const{ return m_metadataLocation; } + inline bool MetadataLocationHasBeenSet() const { return m_metadataLocationHasBeenSet; } + inline void SetMetadataLocation(const Aws::String& value) { m_metadataLocationHasBeenSet = true; m_metadataLocation = value; } + inline void SetMetadataLocation(Aws::String&& value) { m_metadataLocationHasBeenSet = true; m_metadataLocation = std::move(value); } + inline void SetMetadataLocation(const char* value) { m_metadataLocationHasBeenSet = true; m_metadataLocation.assign(value); } + inline UpdateTableMetadataLocationRequest& WithMetadataLocation(const Aws::String& value) { SetMetadataLocation(value); return *this;} + inline UpdateTableMetadataLocationRequest& WithMetadataLocation(Aws::String&& value) { SetMetadataLocation(std::move(value)); return *this;} + inline UpdateTableMetadataLocationRequest& WithMetadataLocation(const char* value) { SetMetadataLocation(value); return *this;} + ///@} + private: + + Aws::String m_tableBucketARN; + bool m_tableBucketARNHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_versionToken; + bool m_versionTokenHasBeenSet = false; + + Aws::String m_metadataLocation; + bool m_metadataLocationHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/UpdateTableMetadataLocationResult.h b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/UpdateTableMetadataLocationResult.h new file mode 100644 index 00000000000..32e59327db2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/include/aws/s3tables/model/UpdateTableMetadataLocationResult.h @@ -0,0 +1,129 @@ +/** + * 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 S3Tables +{ +namespace Model +{ + class UpdateTableMetadataLocationResult + { + public: + AWS_S3TABLES_API UpdateTableMetadataLocationResult(); + AWS_S3TABLES_API UpdateTableMetadataLocationResult(const Aws::AmazonWebServiceResult& result); + AWS_S3TABLES_API UpdateTableMetadataLocationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

    The name of the table.

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

    The Amazon Resource Number (ARN) of the table.

    + */ + inline const Aws::String& GetTableARN() const{ return m_tableARN; } + inline void SetTableARN(const Aws::String& value) { m_tableARN = value; } + inline void SetTableARN(Aws::String&& value) { m_tableARN = std::move(value); } + inline void SetTableARN(const char* value) { m_tableARN.assign(value); } + inline UpdateTableMetadataLocationResult& WithTableARN(const Aws::String& value) { SetTableARN(value); return *this;} + inline UpdateTableMetadataLocationResult& WithTableARN(Aws::String&& value) { SetTableARN(std::move(value)); return *this;} + inline UpdateTableMetadataLocationResult& WithTableARN(const char* value) { SetTableARN(value); return *this;} + ///@} + + ///@{ + /** + *

    The namespace the table is associated with.

    + */ + inline const Aws::Vector& GetNamespace() const{ return m_namespace; } + inline void SetNamespace(const Aws::Vector& value) { m_namespace = value; } + inline void SetNamespace(Aws::Vector&& value) { m_namespace = std::move(value); } + inline UpdateTableMetadataLocationResult& WithNamespace(const Aws::Vector& value) { SetNamespace(value); return *this;} + inline UpdateTableMetadataLocationResult& WithNamespace(Aws::Vector&& value) { SetNamespace(std::move(value)); return *this;} + inline UpdateTableMetadataLocationResult& AddNamespace(const Aws::String& value) { m_namespace.push_back(value); return *this; } + inline UpdateTableMetadataLocationResult& AddNamespace(Aws::String&& value) { m_namespace.push_back(std::move(value)); return *this; } + inline UpdateTableMetadataLocationResult& AddNamespace(const char* value) { m_namespace.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

    The version token of the table.

    + */ + inline const Aws::String& GetVersionToken() const{ return m_versionToken; } + inline void SetVersionToken(const Aws::String& value) { m_versionToken = value; } + inline void SetVersionToken(Aws::String&& value) { m_versionToken = std::move(value); } + inline void SetVersionToken(const char* value) { m_versionToken.assign(value); } + inline UpdateTableMetadataLocationResult& WithVersionToken(const Aws::String& value) { SetVersionToken(value); return *this;} + inline UpdateTableMetadataLocationResult& WithVersionToken(Aws::String&& value) { SetVersionToken(std::move(value)); return *this;} + inline UpdateTableMetadataLocationResult& WithVersionToken(const char* value) { SetVersionToken(value); return *this;} + ///@} + + ///@{ + /** + *

    The metadata location of the table.

    + */ + inline const Aws::String& GetMetadataLocation() const{ return m_metadataLocation; } + inline void SetMetadataLocation(const Aws::String& value) { m_metadataLocation = value; } + inline void SetMetadataLocation(Aws::String&& value) { m_metadataLocation = std::move(value); } + inline void SetMetadataLocation(const char* value) { m_metadataLocation.assign(value); } + inline UpdateTableMetadataLocationResult& WithMetadataLocation(const Aws::String& value) { SetMetadataLocation(value); return *this;} + inline UpdateTableMetadataLocationResult& WithMetadataLocation(Aws::String&& value) { SetMetadataLocation(std::move(value)); return *this;} + inline UpdateTableMetadataLocationResult& WithMetadataLocation(const char* value) { SetMetadataLocation(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateTableMetadataLocationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateTableMetadataLocationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateTableMetadataLocationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_name; + + Aws::String m_tableARN; + + Aws::Vector m_namespace; + + Aws::String m_versionToken; + + Aws::String m_metadataLocation; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/S3TablesClient.cpp b/generated/src/aws-cpp-sdk-s3tables/source/S3TablesClient.cpp new file mode 100644 index 00000000000..e906ccbe891 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/S3TablesClient.cpp @@ -0,0 +1,1214 @@ +/** + * 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 + + +using namespace Aws; +using namespace Aws::Auth; +using namespace Aws::Client; +using namespace Aws::S3Tables; +using namespace Aws::S3Tables::Model; +using namespace Aws::Http; +using namespace Aws::Utils::Json; +using namespace smithy::components::tracing; +using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; + +namespace Aws +{ + namespace S3Tables + { + const char SERVICE_NAME[] = "s3tables"; + const char ALLOCATION_TAG[] = "S3TablesClient"; + } +} +const char* S3TablesClient::GetServiceName() {return SERVICE_NAME;} +const char* S3TablesClient::GetAllocationTag() {return ALLOCATION_TAG;} + +S3TablesClient::S3TablesClient(const S3Tables::S3TablesClientConfiguration& clientConfiguration, + std::shared_ptr endpointProvider) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + Aws::MakeShared(ALLOCATION_TAG), + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_endpointProvider(endpointProvider ? std::move(endpointProvider) : Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + +S3TablesClient::S3TablesClient(const AWSCredentials& credentials, + std::shared_ptr endpointProvider, + const S3Tables::S3TablesClientConfiguration& 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); +} + +S3TablesClient::S3TablesClient(const std::shared_ptr& credentialsProvider, + std::shared_ptr endpointProvider, + const S3Tables::S3TablesClientConfiguration& 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 */ + S3TablesClient::S3TablesClient(const Client::ClientConfiguration& clientConfiguration) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + Aws::MakeShared(ALLOCATION_TAG), + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + +S3TablesClient::S3TablesClient(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); +} + +S3TablesClient::S3TablesClient(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 */ +S3TablesClient::~S3TablesClient() +{ + ShutdownSdkClient(this, -1); +} + +std::shared_ptr& S3TablesClient::accessEndpointProvider() +{ + return m_endpointProvider; +} + +void S3TablesClient::init(const S3Tables::S3TablesClientConfiguration& config) +{ + AWSClient::SetServiceClientName("S3Tables"); + 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 S3TablesClient::OverrideEndpoint(const Aws::String& endpoint) +{ + AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider); + m_endpointProvider->OverrideEndpoint(endpoint); +} + +CreateNamespaceOutcome S3TablesClient::CreateNamespace(const CreateNamespaceRequest& request) const +{ + AWS_OPERATION_GUARD(CreateNamespace); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateNamespace", "Required field: TableBucketARN, is not set"); + return CreateNamespaceOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateNamespace, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateNamespace, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateNamespace", + {{ 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( + [&]()-> CreateNamespaceOutcome { + 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, CreateNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/namespaces/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + return CreateNamespaceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateTableOutcome S3TablesClient::CreateTable(const CreateTableRequest& request) const +{ + AWS_OPERATION_GUARD(CreateTable); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateTable, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateTable", "Required field: TableBucketARN, is not set"); + return CreateTableOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateTable", "Required field: Namespace, is not set"); + return CreateTableOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateTable, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateTable, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateTable", + {{ 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( + [&]()-> CreateTableOutcome { + 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, CreateTable, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + return CreateTableOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateTableBucketOutcome S3TablesClient::CreateTableBucket(const CreateTableBucketRequest& request) const +{ + AWS_OPERATION_GUARD(CreateTableBucket); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateTableBucket, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateTableBucket, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateTableBucket, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateTableBucket", + {{ 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( + [&]()-> CreateTableBucketOutcome { + 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, CreateTableBucket, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/buckets"); + return CreateTableBucketOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteNamespaceOutcome S3TablesClient::DeleteNamespace(const DeleteNamespaceRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteNamespace); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteNamespace", "Required field: TableBucketARN, is not set"); + return DeleteNamespaceOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteNamespace", "Required field: Namespace, is not set"); + return DeleteNamespaceOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteNamespace, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteNamespace, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteNamespace", + {{ 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( + [&]()-> DeleteNamespaceOutcome { + 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, DeleteNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/namespaces/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + return DeleteNamespaceOutcome(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()}}); +} + +DeleteTableOutcome S3TablesClient::DeleteTable(const DeleteTableRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteTable); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteTable, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteTable", "Required field: TableBucketARN, is not set"); + return DeleteTableOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteTable", "Required field: Namespace, is not set"); + return DeleteTableOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteTable", "Required field: Name, is not set"); + return DeleteTableOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteTable, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteTable, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteTable", + {{ 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( + [&]()-> DeleteTableOutcome { + 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, DeleteTable, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); + return DeleteTableOutcome(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()}}); +} + +DeleteTableBucketOutcome S3TablesClient::DeleteTableBucket(const DeleteTableBucketRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteTableBucket); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteTableBucket, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteTableBucket", "Required field: TableBucketARN, is not set"); + return DeleteTableBucketOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteTableBucket, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteTableBucket, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteTableBucket", + {{ 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( + [&]()-> DeleteTableBucketOutcome { + 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, DeleteTableBucket, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/buckets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + return DeleteTableBucketOutcome(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()}}); +} + +DeleteTableBucketPolicyOutcome S3TablesClient::DeleteTableBucketPolicy(const DeleteTableBucketPolicyRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteTableBucketPolicy); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteTableBucketPolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteTableBucketPolicy", "Required field: TableBucketARN, is not set"); + return DeleteTableBucketPolicyOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteTableBucketPolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteTableBucketPolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteTableBucketPolicy", + {{ 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( + [&]()-> DeleteTableBucketPolicyOutcome { + 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, DeleteTableBucketPolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/buckets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegments("/policy"); + return DeleteTableBucketPolicyOutcome(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()}}); +} + +DeleteTablePolicyOutcome S3TablesClient::DeleteTablePolicy(const DeleteTablePolicyRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteTablePolicy); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteTablePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteTablePolicy", "Required field: TableBucketARN, is not set"); + return DeleteTablePolicyOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteTablePolicy", "Required field: Namespace, is not set"); + return DeleteTablePolicyOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteTablePolicy", "Required field: Name, is not set"); + return DeleteTablePolicyOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteTablePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteTablePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteTablePolicy", + {{ 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( + [&]()-> DeleteTablePolicyOutcome { + 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, DeleteTablePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/policy"); + return DeleteTablePolicyOutcome(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()}}); +} + +GetNamespaceOutcome S3TablesClient::GetNamespace(const GetNamespaceRequest& request) const +{ + AWS_OPERATION_GUARD(GetNamespace); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetNamespace", "Required field: TableBucketARN, is not set"); + return GetNamespaceOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetNamespace", "Required field: Namespace, is not set"); + return GetNamespaceOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetNamespace, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetNamespace, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetNamespace", + {{ 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( + [&]()-> GetNamespaceOutcome { + 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, GetNamespace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/namespaces/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + return GetNamespaceOutcome(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()}}); +} + +GetTableOutcome S3TablesClient::GetTable(const GetTableRequest& request) const +{ + AWS_OPERATION_GUARD(GetTable); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTable, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTable", "Required field: TableBucketARN, is not set"); + return GetTableOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTable", "Required field: Namespace, is not set"); + return GetTableOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTable", "Required field: Name, is not set"); + return GetTableOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTable, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetTable, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTable", + {{ 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( + [&]()-> GetTableOutcome { + 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, GetTable, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); + return GetTableOutcome(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()}}); +} + +GetTableBucketOutcome S3TablesClient::GetTableBucket(const GetTableBucketRequest& request) const +{ + AWS_OPERATION_GUARD(GetTableBucket); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTableBucket, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTableBucket", "Required field: TableBucketARN, is not set"); + return GetTableBucketOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTableBucket, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetTableBucket, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTableBucket", + {{ 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( + [&]()-> GetTableBucketOutcome { + 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, GetTableBucket, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/buckets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + return GetTableBucketOutcome(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()}}); +} + +GetTableBucketMaintenanceConfigurationOutcome S3TablesClient::GetTableBucketMaintenanceConfiguration(const GetTableBucketMaintenanceConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(GetTableBucketMaintenanceConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTableBucketMaintenanceConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTableBucketMaintenanceConfiguration", "Required field: TableBucketARN, is not set"); + return GetTableBucketMaintenanceConfigurationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTableBucketMaintenanceConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetTableBucketMaintenanceConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTableBucketMaintenanceConfiguration", + {{ 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( + [&]()-> GetTableBucketMaintenanceConfigurationOutcome { + 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, GetTableBucketMaintenanceConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/buckets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegments("/maintenance"); + return GetTableBucketMaintenanceConfigurationOutcome(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()}}); +} + +GetTableBucketPolicyOutcome S3TablesClient::GetTableBucketPolicy(const GetTableBucketPolicyRequest& request) const +{ + AWS_OPERATION_GUARD(GetTableBucketPolicy); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTableBucketPolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTableBucketPolicy", "Required field: TableBucketARN, is not set"); + return GetTableBucketPolicyOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTableBucketPolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetTableBucketPolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTableBucketPolicy", + {{ 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( + [&]()-> GetTableBucketPolicyOutcome { + 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, GetTableBucketPolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/buckets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegments("/policy"); + return GetTableBucketPolicyOutcome(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()}}); +} + +GetTableMaintenanceConfigurationOutcome S3TablesClient::GetTableMaintenanceConfiguration(const GetTableMaintenanceConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(GetTableMaintenanceConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTableMaintenanceConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTableMaintenanceConfiguration", "Required field: TableBucketARN, is not set"); + return GetTableMaintenanceConfigurationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTableMaintenanceConfiguration", "Required field: Namespace, is not set"); + return GetTableMaintenanceConfigurationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTableMaintenanceConfiguration", "Required field: Name, is not set"); + return GetTableMaintenanceConfigurationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTableMaintenanceConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetTableMaintenanceConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTableMaintenanceConfiguration", + {{ 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( + [&]()-> GetTableMaintenanceConfigurationOutcome { + 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, GetTableMaintenanceConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/maintenance"); + return GetTableMaintenanceConfigurationOutcome(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()}}); +} + +GetTableMaintenanceJobStatusOutcome S3TablesClient::GetTableMaintenanceJobStatus(const GetTableMaintenanceJobStatusRequest& request) const +{ + AWS_OPERATION_GUARD(GetTableMaintenanceJobStatus); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTableMaintenanceJobStatus, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTableMaintenanceJobStatus", "Required field: TableBucketARN, is not set"); + return GetTableMaintenanceJobStatusOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTableMaintenanceJobStatus", "Required field: Namespace, is not set"); + return GetTableMaintenanceJobStatusOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTableMaintenanceJobStatus", "Required field: Name, is not set"); + return GetTableMaintenanceJobStatusOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTableMaintenanceJobStatus, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetTableMaintenanceJobStatus, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTableMaintenanceJobStatus", + {{ 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( + [&]()-> GetTableMaintenanceJobStatusOutcome { + 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, GetTableMaintenanceJobStatus, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/maintenance-job-status"); + return GetTableMaintenanceJobStatusOutcome(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()}}); +} + +GetTableMetadataLocationOutcome S3TablesClient::GetTableMetadataLocation(const GetTableMetadataLocationRequest& request) const +{ + AWS_OPERATION_GUARD(GetTableMetadataLocation); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTableMetadataLocation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTableMetadataLocation", "Required field: TableBucketARN, is not set"); + return GetTableMetadataLocationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTableMetadataLocation", "Required field: Namespace, is not set"); + return GetTableMetadataLocationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTableMetadataLocation", "Required field: Name, is not set"); + return GetTableMetadataLocationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTableMetadataLocation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetTableMetadataLocation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTableMetadataLocation", + {{ 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( + [&]()-> GetTableMetadataLocationOutcome { + 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, GetTableMetadataLocation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/metadata-location"); + return GetTableMetadataLocationOutcome(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()}}); +} + +GetTablePolicyOutcome S3TablesClient::GetTablePolicy(const GetTablePolicyRequest& request) const +{ + AWS_OPERATION_GUARD(GetTablePolicy); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTablePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTablePolicy", "Required field: TableBucketARN, is not set"); + return GetTablePolicyOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTablePolicy", "Required field: Namespace, is not set"); + return GetTablePolicyOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTablePolicy", "Required field: Name, is not set"); + return GetTablePolicyOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTablePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetTablePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTablePolicy", + {{ 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( + [&]()-> GetTablePolicyOutcome { + 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, GetTablePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/policy"); + return GetTablePolicyOutcome(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()}}); +} + +ListNamespacesOutcome S3TablesClient::ListNamespaces(const ListNamespacesRequest& request) const +{ + AWS_OPERATION_GUARD(ListNamespaces); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListNamespaces, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListNamespaces", "Required field: TableBucketARN, is not set"); + return ListNamespacesOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListNamespaces, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListNamespaces, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListNamespaces", + {{ 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( + [&]()-> ListNamespacesOutcome { + 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, ListNamespaces, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/namespaces/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + return ListNamespacesOutcome(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()}}); +} + +ListTableBucketsOutcome S3TablesClient::ListTableBuckets(const ListTableBucketsRequest& request) const +{ + AWS_OPERATION_GUARD(ListTableBuckets); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTableBuckets, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTableBuckets, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListTableBuckets, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTableBuckets", + {{ 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( + [&]()-> ListTableBucketsOutcome { + 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, ListTableBuckets, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/buckets"); + return ListTableBucketsOutcome(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()}}); +} + +ListTablesOutcome S3TablesClient::ListTables(const ListTablesRequest& request) const +{ + AWS_OPERATION_GUARD(ListTables); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTables, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListTables", "Required field: TableBucketARN, is not set"); + return ListTablesOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTables, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListTables, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTables", + {{ 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( + [&]()-> ListTablesOutcome { + 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, ListTables, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + return ListTablesOutcome(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()}}); +} + +PutTableBucketMaintenanceConfigurationOutcome S3TablesClient::PutTableBucketMaintenanceConfiguration(const PutTableBucketMaintenanceConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(PutTableBucketMaintenanceConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, PutTableBucketMaintenanceConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutTableBucketMaintenanceConfiguration", "Required field: TableBucketARN, is not set"); + return PutTableBucketMaintenanceConfigurationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.TypeHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutTableBucketMaintenanceConfiguration", "Required field: Type, is not set"); + return PutTableBucketMaintenanceConfigurationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Type]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, PutTableBucketMaintenanceConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, PutTableBucketMaintenanceConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".PutTableBucketMaintenanceConfiguration", + {{ 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( + [&]()-> PutTableBucketMaintenanceConfigurationOutcome { + 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, PutTableBucketMaintenanceConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/buckets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegments("/maintenance/"); + endpointResolutionOutcome.GetResult().AddPathSegment(TableBucketMaintenanceTypeMapper::GetNameForTableBucketMaintenanceType(request.GetType())); + return PutTableBucketMaintenanceConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +PutTableBucketPolicyOutcome S3TablesClient::PutTableBucketPolicy(const PutTableBucketPolicyRequest& request) const +{ + AWS_OPERATION_GUARD(PutTableBucketPolicy); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, PutTableBucketPolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutTableBucketPolicy", "Required field: TableBucketARN, is not set"); + return PutTableBucketPolicyOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, PutTableBucketPolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, PutTableBucketPolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".PutTableBucketPolicy", + {{ 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( + [&]()-> PutTableBucketPolicyOutcome { + 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, PutTableBucketPolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/buckets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegments("/policy"); + return PutTableBucketPolicyOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +PutTableMaintenanceConfigurationOutcome S3TablesClient::PutTableMaintenanceConfiguration(const PutTableMaintenanceConfigurationRequest& request) const +{ + AWS_OPERATION_GUARD(PutTableMaintenanceConfiguration); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, PutTableMaintenanceConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutTableMaintenanceConfiguration", "Required field: TableBucketARN, is not set"); + return PutTableMaintenanceConfigurationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutTableMaintenanceConfiguration", "Required field: Namespace, is not set"); + return PutTableMaintenanceConfigurationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutTableMaintenanceConfiguration", "Required field: Name, is not set"); + return PutTableMaintenanceConfigurationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } + if (!request.TypeHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutTableMaintenanceConfiguration", "Required field: Type, is not set"); + return PutTableMaintenanceConfigurationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Type]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, PutTableMaintenanceConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, PutTableMaintenanceConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".PutTableMaintenanceConfiguration", + {{ 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( + [&]()-> PutTableMaintenanceConfigurationOutcome { + 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, PutTableMaintenanceConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/maintenance/"); + endpointResolutionOutcome.GetResult().AddPathSegment(TableMaintenanceTypeMapper::GetNameForTableMaintenanceType(request.GetType())); + return PutTableMaintenanceConfigurationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +PutTablePolicyOutcome S3TablesClient::PutTablePolicy(const PutTablePolicyRequest& request) const +{ + AWS_OPERATION_GUARD(PutTablePolicy); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, PutTablePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutTablePolicy", "Required field: TableBucketARN, is not set"); + return PutTablePolicyOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutTablePolicy", "Required field: Namespace, is not set"); + return PutTablePolicyOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutTablePolicy", "Required field: Name, is not set"); + return PutTablePolicyOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, PutTablePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, PutTablePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".PutTablePolicy", + {{ 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( + [&]()-> PutTablePolicyOutcome { + 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, PutTablePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/policy"); + return PutTablePolicyOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +RenameTableOutcome S3TablesClient::RenameTable(const RenameTableRequest& request) const +{ + AWS_OPERATION_GUARD(RenameTable); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, RenameTable, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("RenameTable", "Required field: TableBucketARN, is not set"); + return RenameTableOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("RenameTable", "Required field: Namespace, is not set"); + return RenameTableOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("RenameTable", "Required field: Name, is not set"); + return RenameTableOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RenameTable, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, RenameTable, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".RenameTable", + {{ 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( + [&]()-> RenameTableOutcome { + 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, RenameTable, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/rename"); + return RenameTableOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateTableMetadataLocationOutcome S3TablesClient::UpdateTableMetadataLocation(const UpdateTableMetadataLocationRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateTableMetadataLocation); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTableMetadataLocation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TableBucketARNHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTableMetadataLocation", "Required field: TableBucketARN, is not set"); + return UpdateTableMetadataLocationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TableBucketARN]", false)); + } + if (!request.NamespaceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTableMetadataLocation", "Required field: Namespace, is not set"); + return UpdateTableMetadataLocationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Namespace]", false)); + } + if (!request.NameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTableMetadataLocation", "Required field: Name, is not set"); + return UpdateTableMetadataLocationOutcome(Aws::Client::AWSError(S3TablesErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTableMetadataLocation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateTableMetadataLocation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTableMetadataLocation", + {{ 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( + [&]()-> UpdateTableMetadataLocationOutcome { + 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, UpdateTableMetadataLocation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tables/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTableBucketARN()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetNamespace()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/metadata-location"); + return UpdateTableMetadataLocationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/S3TablesEndpointProvider.cpp b/generated/src/aws-cpp-sdk-s3tables/source/S3TablesEndpointProvider.cpp new file mode 100644 index 00000000000..ca30430770d --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/S3TablesEndpointProvider.cpp @@ -0,0 +1,16 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include + +namespace Aws +{ +namespace S3Tables +{ +namespace Endpoint +{ +} // namespace Endpoint +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/S3TablesEndpointRules.cpp b/generated/src/aws-cpp-sdk-s3tables/source/S3TablesEndpointRules.cpp new file mode 100644 index 00000000000..37f1a67ad4f --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/S3TablesEndpointRules.cpp @@ -0,0 +1,176 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +namespace Aws +{ +namespace S3Tables +{ +const size_t S3TablesEndpointRules::RulesBlobStrLen = 3732; +const size_t S3TablesEndpointRules::RulesBlobSize = 3733; + +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',':','/','/','s','3','t','a','b','l','e','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','"','}',']',',','"','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',':','/','/','s','3','t','a','b','l', +'e','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','"','}',']',',','"','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',':','/','/','s','3','t','a','b','l','e','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','"',':','"','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',':','/','/','s','3','t','a','b','l','e','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','"','}',']',',','"','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* S3TablesEndpointRules::GetRulesBlob() +{ + return RulesBlob.data(); +} + +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/S3TablesErrorMarshaller.cpp b/generated/src/aws-cpp-sdk-s3tables/source/S3TablesErrorMarshaller.cpp new file mode 100644 index 00000000000..2e9983ada2a --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/S3TablesErrorMarshaller.cpp @@ -0,0 +1,22 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +using namespace Aws::Client; +using namespace Aws::S3Tables; + +AWSError S3TablesErrorMarshaller::FindErrorByName(const char* errorName) const +{ + AWSError error = S3TablesErrorMapper::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-s3tables/source/S3TablesErrors.cpp b/generated/src/aws-cpp-sdk-s3tables/source/S3TablesErrors.cpp new file mode 100644 index 00000000000..4bf2e682483 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/S3TablesErrors.cpp @@ -0,0 +1,62 @@ +/** + * 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::S3Tables; + +namespace Aws +{ +namespace S3Tables +{ +namespace S3TablesErrorMapper +{ + +static const int CONFLICT_HASH = HashingUtils::HashString("ConflictException"); +static const int NOT_FOUND_HASH = HashingUtils::HashString("NotFoundException"); +static const int FORBIDDEN_HASH = HashingUtils::HashString("ForbiddenException"); +static const int TOO_MANY_REQUESTS_HASH = HashingUtils::HashString("TooManyRequestsException"); +static const int INTERNAL_SERVER_ERROR_HASH = HashingUtils::HashString("InternalServerErrorException"); +static const int BAD_REQUEST_HASH = HashingUtils::HashString("BadRequestException"); + + +AWSError GetErrorForName(const char* errorName) +{ + int hashCode = HashingUtils::HashString(errorName); + + if (hashCode == CONFLICT_HASH) + { + return AWSError(static_cast(S3TablesErrors::CONFLICT), RetryableType::NOT_RETRYABLE); + } + else if (hashCode == NOT_FOUND_HASH) + { + return AWSError(static_cast(S3TablesErrors::NOT_FOUND), RetryableType::NOT_RETRYABLE); + } + else if (hashCode == FORBIDDEN_HASH) + { + return AWSError(static_cast(S3TablesErrors::FORBIDDEN), RetryableType::NOT_RETRYABLE); + } + else if (hashCode == TOO_MANY_REQUESTS_HASH) + { + return AWSError(static_cast(S3TablesErrors::TOO_MANY_REQUESTS), RetryableType::RETRYABLE); + } + else if (hashCode == INTERNAL_SERVER_ERROR_HASH) + { + return AWSError(static_cast(S3TablesErrors::INTERNAL_SERVER_ERROR), RetryableType::NOT_RETRYABLE); + } + else if (hashCode == BAD_REQUEST_HASH) + { + return AWSError(static_cast(S3TablesErrors::BAD_REQUEST), RetryableType::NOT_RETRYABLE); + } + return AWSError(CoreErrors::UNKNOWN, false); +} + +} // namespace S3TablesErrorMapper +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/S3TablesRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/S3TablesRequest.cpp new file mode 100644 index 00000000000..ab48df1e11a --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/S3TablesRequest.cpp @@ -0,0 +1,14 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + + +#include + +namespace Aws +{ +namespace S3Tables +{ +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/CreateNamespaceRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/CreateNamespaceRequest.cpp new file mode 100644 index 00000000000..f61e4f9d445 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/CreateNamespaceRequest.cpp @@ -0,0 +1,41 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateNamespaceRequest::CreateNamespaceRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false) +{ +} + +Aws::String CreateNamespaceRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_namespaceHasBeenSet) + { + Aws::Utils::Array namespaceJsonList(m_namespace.size()); + for(unsigned namespaceIndex = 0; namespaceIndex < namespaceJsonList.GetLength(); ++namespaceIndex) + { + namespaceJsonList[namespaceIndex].AsString(m_namespace[namespaceIndex]); + } + payload.WithArray("namespace", std::move(namespaceJsonList)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/CreateNamespaceResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/CreateNamespaceResult.cpp new file mode 100644 index 00000000000..e9fe1da9fba --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/CreateNamespaceResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateNamespaceResult::CreateNamespaceResult() +{ +} + +CreateNamespaceResult::CreateNamespaceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateNamespaceResult& CreateNamespaceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("tableBucketARN")) + { + m_tableBucketARN = jsonValue.GetString("tableBucketARN"); + + } + + if(jsonValue.ValueExists("namespace")) + { + Aws::Utils::Array namespaceJsonList = jsonValue.GetArray("namespace"); + for(unsigned namespaceIndex = 0; namespaceIndex < namespaceJsonList.GetLength(); ++namespaceIndex) + { + m_namespace.push_back(namespaceJsonList[namespaceIndex].AsString()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableBucketRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableBucketRequest.cpp new file mode 100644 index 00000000000..0d98f841924 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableBucketRequest.cpp @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateTableBucketRequest::CreateTableBucketRequest() : + m_nameHasBeenSet(false) +{ +} + +Aws::String CreateTableBucketRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableBucketResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableBucketResult.cpp new file mode 100644 index 00000000000..dc761a150bd --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableBucketResult.cpp @@ -0,0 +1,48 @@ +/** + * 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::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateTableBucketResult::CreateTableBucketResult() +{ +} + +CreateTableBucketResult::CreateTableBucketResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateTableBucketResult& CreateTableBucketResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("arn")) + { + m_arn = jsonValue.GetString("arn"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableRequest.cpp new file mode 100644 index 00000000000..af9a6103efe --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableRequest.cpp @@ -0,0 +1,44 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateTableRequest::CreateTableRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false), + m_format(OpenTableFormat::NOT_SET), + m_formatHasBeenSet(false) +{ +} + +Aws::String CreateTableRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_formatHasBeenSet) + { + payload.WithString("format", OpenTableFormatMapper::GetNameForOpenTableFormat(m_format)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableResult.cpp new file mode 100644 index 00000000000..68cd15143ed --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/CreateTableResult.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateTableResult::CreateTableResult() +{ +} + +CreateTableResult::CreateTableResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateTableResult& CreateTableResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("tableARN")) + { + m_tableARN = jsonValue.GetString("tableARN"); + + } + + if(jsonValue.ValueExists("versionToken")) + { + m_versionToken = jsonValue.GetString("versionToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteNamespaceRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteNamespaceRequest.cpp new file mode 100644 index 00000000000..64303d68674 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteNamespaceRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteNamespaceRequest::DeleteNamespaceRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false) +{ +} + +Aws::String DeleteNamespaceRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTableBucketPolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTableBucketPolicyRequest.cpp new file mode 100644 index 00000000000..1a3c5475500 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTableBucketPolicyRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteTableBucketPolicyRequest::DeleteTableBucketPolicyRequest() : + m_tableBucketARNHasBeenSet(false) +{ +} + +Aws::String DeleteTableBucketPolicyRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTableBucketRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTableBucketRequest.cpp new file mode 100644 index 00000000000..624086d2ee8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTableBucketRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteTableBucketRequest::DeleteTableBucketRequest() : + m_tableBucketARNHasBeenSet(false) +{ +} + +Aws::String DeleteTableBucketRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTablePolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTablePolicyRequest.cpp new file mode 100644 index 00000000000..66d56e3955f --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTablePolicyRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteTablePolicyRequest::DeleteTablePolicyRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false) +{ +} + +Aws::String DeleteTablePolicyRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTableRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTableRequest.cpp new file mode 100644 index 00000000000..aa40d8d7924 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/DeleteTableRequest.cpp @@ -0,0 +1,44 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +DeleteTableRequest::DeleteTableRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false), + m_versionTokenHasBeenSet(false) +{ +} + +Aws::String DeleteTableRequest::SerializePayload() const +{ + return {}; +} + +void DeleteTableRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_versionTokenHasBeenSet) + { + ss << m_versionToken; + uri.AddQueryStringParameter("versionToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetNamespaceRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetNamespaceRequest.cpp new file mode 100644 index 00000000000..6702f735337 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetNamespaceRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetNamespaceRequest::GetNamespaceRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false) +{ +} + +Aws::String GetNamespaceRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetNamespaceResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetNamespaceResult.cpp new file mode 100644 index 00000000000..166ae315df8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetNamespaceResult.cpp @@ -0,0 +1,69 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetNamespaceResult::GetNamespaceResult() +{ +} + +GetNamespaceResult::GetNamespaceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetNamespaceResult& GetNamespaceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("namespace")) + { + Aws::Utils::Array namespaceJsonList = jsonValue.GetArray("namespace"); + for(unsigned namespaceIndex = 0; namespaceIndex < namespaceJsonList.GetLength(); ++namespaceIndex) + { + m_namespace.push_back(namespaceJsonList[namespaceIndex].AsString()); + } + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("ownerAccountId")) + { + m_ownerAccountId = jsonValue.GetString("ownerAccountId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketMaintenanceConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketMaintenanceConfigurationRequest.cpp new file mode 100644 index 00000000000..2b10f5b1fd1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketMaintenanceConfigurationRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetTableBucketMaintenanceConfigurationRequest::GetTableBucketMaintenanceConfigurationRequest() : + m_tableBucketARNHasBeenSet(false) +{ +} + +Aws::String GetTableBucketMaintenanceConfigurationRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketMaintenanceConfigurationResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketMaintenanceConfigurationResult.cpp new file mode 100644 index 00000000000..cd981c328c1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketMaintenanceConfigurationResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetTableBucketMaintenanceConfigurationResult::GetTableBucketMaintenanceConfigurationResult() +{ +} + +GetTableBucketMaintenanceConfigurationResult::GetTableBucketMaintenanceConfigurationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetTableBucketMaintenanceConfigurationResult& GetTableBucketMaintenanceConfigurationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("tableBucketARN")) + { + m_tableBucketARN = jsonValue.GetString("tableBucketARN"); + + } + + if(jsonValue.ValueExists("configuration")) + { + Aws::Map configurationJsonMap = jsonValue.GetObject("configuration").GetAllObjects(); + for(auto& configurationItem : configurationJsonMap) + { + m_configuration[TableBucketMaintenanceTypeMapper::GetTableBucketMaintenanceTypeForName(configurationItem.first)] = configurationItem.second.AsObject(); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketPolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketPolicyRequest.cpp new file mode 100644 index 00000000000..abe322bfbab --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketPolicyRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetTableBucketPolicyRequest::GetTableBucketPolicyRequest() : + m_tableBucketARNHasBeenSet(false) +{ +} + +Aws::String GetTableBucketPolicyRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketPolicyResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketPolicyResult.cpp new file mode 100644 index 00000000000..e9b9e788009 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketPolicyResult.cpp @@ -0,0 +1,48 @@ +/** + * 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::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetTableBucketPolicyResult::GetTableBucketPolicyResult() +{ +} + +GetTableBucketPolicyResult::GetTableBucketPolicyResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetTableBucketPolicyResult& GetTableBucketPolicyResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("resourcePolicy")) + { + m_resourcePolicy = jsonValue.GetString("resourcePolicy"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketRequest.cpp new file mode 100644 index 00000000000..e85d95b0054 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetTableBucketRequest::GetTableBucketRequest() : + m_tableBucketARNHasBeenSet(false) +{ +} + +Aws::String GetTableBucketRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketResult.cpp new file mode 100644 index 00000000000..6950e6b29cb --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableBucketResult.cpp @@ -0,0 +1,66 @@ +/** + * 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::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetTableBucketResult::GetTableBucketResult() +{ +} + +GetTableBucketResult::GetTableBucketResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetTableBucketResult& GetTableBucketResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("arn")) + { + m_arn = jsonValue.GetString("arn"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("ownerAccountId")) + { + m_ownerAccountId = jsonValue.GetString("ownerAccountId"); + + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceConfigurationRequest.cpp new file mode 100644 index 00000000000..76ec0ed8bc3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceConfigurationRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetTableMaintenanceConfigurationRequest::GetTableMaintenanceConfigurationRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false) +{ +} + +Aws::String GetTableMaintenanceConfigurationRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceConfigurationResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceConfigurationResult.cpp new file mode 100644 index 00000000000..f3f7c6e5c9b --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceConfigurationResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetTableMaintenanceConfigurationResult::GetTableMaintenanceConfigurationResult() +{ +} + +GetTableMaintenanceConfigurationResult::GetTableMaintenanceConfigurationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetTableMaintenanceConfigurationResult& GetTableMaintenanceConfigurationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("tableARN")) + { + m_tableARN = jsonValue.GetString("tableARN"); + + } + + if(jsonValue.ValueExists("configuration")) + { + Aws::Map configurationJsonMap = jsonValue.GetObject("configuration").GetAllObjects(); + for(auto& configurationItem : configurationJsonMap) + { + m_configuration[TableMaintenanceTypeMapper::GetTableMaintenanceTypeForName(configurationItem.first)] = configurationItem.second.AsObject(); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceJobStatusRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceJobStatusRequest.cpp new file mode 100644 index 00000000000..7fee548ac49 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceJobStatusRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetTableMaintenanceJobStatusRequest::GetTableMaintenanceJobStatusRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false) +{ +} + +Aws::String GetTableMaintenanceJobStatusRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceJobStatusResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceJobStatusResult.cpp new file mode 100644 index 00000000000..bf681e96e7b --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMaintenanceJobStatusResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetTableMaintenanceJobStatusResult::GetTableMaintenanceJobStatusResult() +{ +} + +GetTableMaintenanceJobStatusResult::GetTableMaintenanceJobStatusResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetTableMaintenanceJobStatusResult& GetTableMaintenanceJobStatusResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("tableARN")) + { + m_tableARN = jsonValue.GetString("tableARN"); + + } + + if(jsonValue.ValueExists("status")) + { + Aws::Map statusJsonMap = jsonValue.GetObject("status").GetAllObjects(); + for(auto& statusItem : statusJsonMap) + { + m_status[TableMaintenanceJobTypeMapper::GetTableMaintenanceJobTypeForName(statusItem.first)] = statusItem.second.AsObject(); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMetadataLocationRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMetadataLocationRequest.cpp new file mode 100644 index 00000000000..24d4e17c242 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMetadataLocationRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetTableMetadataLocationRequest::GetTableMetadataLocationRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false) +{ +} + +Aws::String GetTableMetadataLocationRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMetadataLocationResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMetadataLocationResult.cpp new file mode 100644 index 00000000000..15ffde0c1e9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableMetadataLocationResult.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetTableMetadataLocationResult::GetTableMetadataLocationResult() +{ +} + +GetTableMetadataLocationResult::GetTableMetadataLocationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetTableMetadataLocationResult& GetTableMetadataLocationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("versionToken")) + { + m_versionToken = jsonValue.GetString("versionToken"); + + } + + if(jsonValue.ValueExists("metadataLocation")) + { + m_metadataLocation = jsonValue.GetString("metadataLocation"); + + } + + if(jsonValue.ValueExists("warehouseLocation")) + { + m_warehouseLocation = jsonValue.GetString("warehouseLocation"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTablePolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTablePolicyRequest.cpp new file mode 100644 index 00000000000..7feea710008 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTablePolicyRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetTablePolicyRequest::GetTablePolicyRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false) +{ +} + +Aws::String GetTablePolicyRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTablePolicyResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTablePolicyResult.cpp new file mode 100644 index 00000000000..62147cd3663 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTablePolicyResult.cpp @@ -0,0 +1,48 @@ +/** + * 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::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetTablePolicyResult::GetTablePolicyResult() +{ +} + +GetTablePolicyResult::GetTablePolicyResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetTablePolicyResult& GetTablePolicyResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("resourcePolicy")) + { + m_resourcePolicy = jsonValue.GetString("resourcePolicy"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableRequest.cpp new file mode 100644 index 00000000000..8bfb6decb42 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetTableRequest::GetTableRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false) +{ +} + +Aws::String GetTableRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableResult.cpp new file mode 100644 index 00000000000..374ebc06eb9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/GetTableResult.cpp @@ -0,0 +1,132 @@ +/** + * 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::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetTableResult::GetTableResult() : + m_type(TableType::NOT_SET), + m_format(OpenTableFormat::NOT_SET) +{ +} + +GetTableResult::GetTableResult(const Aws::AmazonWebServiceResult& result) + : GetTableResult() +{ + *this = result; +} + +GetTableResult& GetTableResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("type")) + { + m_type = TableTypeMapper::GetTableTypeForName(jsonValue.GetString("type")); + + } + + if(jsonValue.ValueExists("tableARN")) + { + m_tableARN = jsonValue.GetString("tableARN"); + + } + + if(jsonValue.ValueExists("namespace")) + { + Aws::Utils::Array namespaceJsonList = jsonValue.GetArray("namespace"); + for(unsigned namespaceIndex = 0; namespaceIndex < namespaceJsonList.GetLength(); ++namespaceIndex) + { + m_namespace.push_back(namespaceJsonList[namespaceIndex].AsString()); + } + } + + if(jsonValue.ValueExists("versionToken")) + { + m_versionToken = jsonValue.GetString("versionToken"); + + } + + if(jsonValue.ValueExists("metadataLocation")) + { + m_metadataLocation = jsonValue.GetString("metadataLocation"); + + } + + if(jsonValue.ValueExists("warehouseLocation")) + { + m_warehouseLocation = jsonValue.GetString("warehouseLocation"); + + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("managedByService")) + { + m_managedByService = jsonValue.GetString("managedByService"); + + } + + if(jsonValue.ValueExists("modifiedAt")) + { + m_modifiedAt = jsonValue.GetString("modifiedAt"); + + } + + if(jsonValue.ValueExists("modifiedBy")) + { + m_modifiedBy = jsonValue.GetString("modifiedBy"); + + } + + if(jsonValue.ValueExists("ownerAccountId")) + { + m_ownerAccountId = jsonValue.GetString("ownerAccountId"); + + } + + if(jsonValue.ValueExists("format")) + { + m_format = OpenTableFormatMapper::GetOpenTableFormatForName(jsonValue.GetString("format")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/IcebergCompactionSettings.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/IcebergCompactionSettings.cpp new file mode 100644 index 00000000000..86b77e0897d --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/IcebergCompactionSettings.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + +IcebergCompactionSettings::IcebergCompactionSettings() : + m_targetFileSizeMB(0), + m_targetFileSizeMBHasBeenSet(false) +{ +} + +IcebergCompactionSettings::IcebergCompactionSettings(JsonView jsonValue) + : IcebergCompactionSettings() +{ + *this = jsonValue; +} + +IcebergCompactionSettings& IcebergCompactionSettings::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("targetFileSizeMB")) + { + m_targetFileSizeMB = jsonValue.GetInteger("targetFileSizeMB"); + + m_targetFileSizeMBHasBeenSet = true; + } + + return *this; +} + +JsonValue IcebergCompactionSettings::Jsonize() const +{ + JsonValue payload; + + if(m_targetFileSizeMBHasBeenSet) + { + payload.WithInteger("targetFileSizeMB", m_targetFileSizeMB); + + } + + return payload; +} + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/IcebergSnapshotManagementSettings.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/IcebergSnapshotManagementSettings.cpp new file mode 100644 index 00000000000..e495bbadfc5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/IcebergSnapshotManagementSettings.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + +IcebergSnapshotManagementSettings::IcebergSnapshotManagementSettings() : + m_minSnapshotsToKeep(0), + m_minSnapshotsToKeepHasBeenSet(false), + m_maxSnapshotAgeHours(0), + m_maxSnapshotAgeHoursHasBeenSet(false) +{ +} + +IcebergSnapshotManagementSettings::IcebergSnapshotManagementSettings(JsonView jsonValue) + : IcebergSnapshotManagementSettings() +{ + *this = jsonValue; +} + +IcebergSnapshotManagementSettings& IcebergSnapshotManagementSettings::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("minSnapshotsToKeep")) + { + m_minSnapshotsToKeep = jsonValue.GetInteger("minSnapshotsToKeep"); + + m_minSnapshotsToKeepHasBeenSet = true; + } + + if(jsonValue.ValueExists("maxSnapshotAgeHours")) + { + m_maxSnapshotAgeHours = jsonValue.GetInteger("maxSnapshotAgeHours"); + + m_maxSnapshotAgeHoursHasBeenSet = true; + } + + return *this; +} + +JsonValue IcebergSnapshotManagementSettings::Jsonize() const +{ + JsonValue payload; + + if(m_minSnapshotsToKeepHasBeenSet) + { + payload.WithInteger("minSnapshotsToKeep", m_minSnapshotsToKeep); + + } + + if(m_maxSnapshotAgeHoursHasBeenSet) + { + payload.WithInteger("maxSnapshotAgeHours", m_maxSnapshotAgeHours); + + } + + return payload; +} + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/IcebergUnreferencedFileRemovalSettings.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/IcebergUnreferencedFileRemovalSettings.cpp new file mode 100644 index 00000000000..f9a75c37a4f --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/IcebergUnreferencedFileRemovalSettings.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + +IcebergUnreferencedFileRemovalSettings::IcebergUnreferencedFileRemovalSettings() : + m_unreferencedDays(0), + m_unreferencedDaysHasBeenSet(false), + m_nonCurrentDays(0), + m_nonCurrentDaysHasBeenSet(false) +{ +} + +IcebergUnreferencedFileRemovalSettings::IcebergUnreferencedFileRemovalSettings(JsonView jsonValue) + : IcebergUnreferencedFileRemovalSettings() +{ + *this = jsonValue; +} + +IcebergUnreferencedFileRemovalSettings& IcebergUnreferencedFileRemovalSettings::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("unreferencedDays")) + { + m_unreferencedDays = jsonValue.GetInteger("unreferencedDays"); + + m_unreferencedDaysHasBeenSet = true; + } + + if(jsonValue.ValueExists("nonCurrentDays")) + { + m_nonCurrentDays = jsonValue.GetInteger("nonCurrentDays"); + + m_nonCurrentDaysHasBeenSet = true; + } + + return *this; +} + +JsonValue IcebergUnreferencedFileRemovalSettings::Jsonize() const +{ + JsonValue payload; + + if(m_unreferencedDaysHasBeenSet) + { + payload.WithInteger("unreferencedDays", m_unreferencedDays); + + } + + if(m_nonCurrentDaysHasBeenSet) + { + payload.WithInteger("nonCurrentDays", m_nonCurrentDays); + + } + + return payload; +} + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/JobStatus.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/JobStatus.cpp new file mode 100644 index 00000000000..fe50311e8d6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/JobStatus.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace S3Tables + { + namespace Model + { + namespace JobStatusMapper + { + + static const int Not_Yet_Run_HASH = HashingUtils::HashString("Not_Yet_Run"); + static const int Successful_HASH = HashingUtils::HashString("Successful"); + static const int Failed_HASH = HashingUtils::HashString("Failed"); + static const int Disabled_HASH = HashingUtils::HashString("Disabled"); + + + JobStatus GetJobStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == Not_Yet_Run_HASH) + { + return JobStatus::Not_Yet_Run; + } + else if (hashCode == Successful_HASH) + { + return JobStatus::Successful; + } + else if (hashCode == Failed_HASH) + { + return JobStatus::Failed; + } + else if (hashCode == Disabled_HASH) + { + return JobStatus::Disabled; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return JobStatus::NOT_SET; + } + + Aws::String GetNameForJobStatus(JobStatus enumValue) + { + switch(enumValue) + { + case JobStatus::NOT_SET: + return {}; + case JobStatus::Not_Yet_Run: + return "Not_Yet_Run"; + case JobStatus::Successful: + return "Successful"; + case JobStatus::Failed: + return "Failed"; + case JobStatus::Disabled: + return "Disabled"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace JobStatusMapper + } // namespace Model + } // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/ListNamespacesRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/ListNamespacesRequest.cpp new file mode 100644 index 00000000000..9c3aa95a18e --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/ListNamespacesRequest.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListNamespacesRequest::ListNamespacesRequest() : + m_tableBucketARNHasBeenSet(false), + m_prefixHasBeenSet(false), + m_continuationTokenHasBeenSet(false), + m_maxNamespaces(0), + m_maxNamespacesHasBeenSet(false) +{ +} + +Aws::String ListNamespacesRequest::SerializePayload() const +{ + return {}; +} + +void ListNamespacesRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_prefixHasBeenSet) + { + ss << m_prefix; + uri.AddQueryStringParameter("prefix", ss.str()); + ss.str(""); + } + + if(m_continuationTokenHasBeenSet) + { + ss << m_continuationToken; + uri.AddQueryStringParameter("continuationToken", ss.str()); + ss.str(""); + } + + if(m_maxNamespacesHasBeenSet) + { + ss << m_maxNamespaces; + uri.AddQueryStringParameter("maxNamespaces", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/ListNamespacesResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/ListNamespacesResult.cpp new file mode 100644 index 00000000000..c657c44bd1e --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/ListNamespacesResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListNamespacesResult::ListNamespacesResult() +{ +} + +ListNamespacesResult::ListNamespacesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListNamespacesResult& ListNamespacesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("namespaces")) + { + Aws::Utils::Array namespacesJsonList = jsonValue.GetArray("namespaces"); + for(unsigned namespacesIndex = 0; namespacesIndex < namespacesJsonList.GetLength(); ++namespacesIndex) + { + m_namespaces.push_back(namespacesJsonList[namespacesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("continuationToken")) + { + m_continuationToken = jsonValue.GetString("continuationToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/ListTableBucketsRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/ListTableBucketsRequest.cpp new file mode 100644 index 00000000000..5c9eaa80018 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/ListTableBucketsRequest.cpp @@ -0,0 +1,58 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListTableBucketsRequest::ListTableBucketsRequest() : + m_prefixHasBeenSet(false), + m_continuationTokenHasBeenSet(false), + m_maxBuckets(0), + m_maxBucketsHasBeenSet(false) +{ +} + +Aws::String ListTableBucketsRequest::SerializePayload() const +{ + return {}; +} + +void ListTableBucketsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_prefixHasBeenSet) + { + ss << m_prefix; + uri.AddQueryStringParameter("prefix", ss.str()); + ss.str(""); + } + + if(m_continuationTokenHasBeenSet) + { + ss << m_continuationToken; + uri.AddQueryStringParameter("continuationToken", ss.str()); + ss.str(""); + } + + if(m_maxBucketsHasBeenSet) + { + ss << m_maxBuckets; + uri.AddQueryStringParameter("maxBuckets", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/ListTableBucketsResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/ListTableBucketsResult.cpp new file mode 100644 index 00000000000..b79a05416a3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/ListTableBucketsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListTableBucketsResult::ListTableBucketsResult() +{ +} + +ListTableBucketsResult::ListTableBucketsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListTableBucketsResult& ListTableBucketsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("tableBuckets")) + { + Aws::Utils::Array tableBucketsJsonList = jsonValue.GetArray("tableBuckets"); + for(unsigned tableBucketsIndex = 0; tableBucketsIndex < tableBucketsJsonList.GetLength(); ++tableBucketsIndex) + { + m_tableBuckets.push_back(tableBucketsJsonList[tableBucketsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("continuationToken")) + { + m_continuationToken = jsonValue.GetString("continuationToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/ListTablesRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/ListTablesRequest.cpp new file mode 100644 index 00000000000..a0a8ba371dd --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/ListTablesRequest.cpp @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListTablesRequest::ListTablesRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_prefixHasBeenSet(false), + m_continuationTokenHasBeenSet(false), + m_maxTables(0), + m_maxTablesHasBeenSet(false) +{ +} + +Aws::String ListTablesRequest::SerializePayload() const +{ + return {}; +} + +void ListTablesRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_namespaceHasBeenSet) + { + ss << m_namespace; + uri.AddQueryStringParameter("namespace", ss.str()); + ss.str(""); + } + + if(m_prefixHasBeenSet) + { + ss << m_prefix; + uri.AddQueryStringParameter("prefix", ss.str()); + ss.str(""); + } + + if(m_continuationTokenHasBeenSet) + { + ss << m_continuationToken; + uri.AddQueryStringParameter("continuationToken", ss.str()); + ss.str(""); + } + + if(m_maxTablesHasBeenSet) + { + ss << m_maxTables; + uri.AddQueryStringParameter("maxTables", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/ListTablesResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/ListTablesResult.cpp new file mode 100644 index 00000000000..8f275bb8be5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/ListTablesResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListTablesResult::ListTablesResult() +{ +} + +ListTablesResult::ListTablesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListTablesResult& ListTablesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("tables")) + { + Aws::Utils::Array tablesJsonList = jsonValue.GetArray("tables"); + for(unsigned tablesIndex = 0; tablesIndex < tablesJsonList.GetLength(); ++tablesIndex) + { + m_tables.push_back(tablesJsonList[tablesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("continuationToken")) + { + m_continuationToken = jsonValue.GetString("continuationToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/MaintenanceStatus.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/MaintenanceStatus.cpp new file mode 100644 index 00000000000..11e1f615d02 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/MaintenanceStatus.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace S3Tables + { + namespace Model + { + namespace MaintenanceStatusMapper + { + + static const int enabled_HASH = HashingUtils::HashString("enabled"); + static const int disabled_HASH = HashingUtils::HashString("disabled"); + + + MaintenanceStatus GetMaintenanceStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == enabled_HASH) + { + return MaintenanceStatus::enabled; + } + else if (hashCode == disabled_HASH) + { + return MaintenanceStatus::disabled; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return MaintenanceStatus::NOT_SET; + } + + Aws::String GetNameForMaintenanceStatus(MaintenanceStatus enumValue) + { + switch(enumValue) + { + case MaintenanceStatus::NOT_SET: + return {}; + case MaintenanceStatus::enabled: + return "enabled"; + case MaintenanceStatus::disabled: + return "disabled"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace MaintenanceStatusMapper + } // namespace Model + } // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/NamespaceSummary.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/NamespaceSummary.cpp new file mode 100644 index 00000000000..e080b2fb167 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/NamespaceSummary.cpp @@ -0,0 +1,108 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + +NamespaceSummary::NamespaceSummary() : + m_namespaceHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_ownerAccountIdHasBeenSet(false) +{ +} + +NamespaceSummary::NamespaceSummary(JsonView jsonValue) + : NamespaceSummary() +{ + *this = jsonValue; +} + +NamespaceSummary& NamespaceSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("namespace")) + { + Aws::Utils::Array namespaceJsonList = jsonValue.GetArray("namespace"); + for(unsigned namespaceIndex = 0; namespaceIndex < namespaceJsonList.GetLength(); ++namespaceIndex) + { + m_namespace.push_back(namespaceJsonList[namespaceIndex].AsString()); + } + m_namespaceHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("ownerAccountId")) + { + m_ownerAccountId = jsonValue.GetString("ownerAccountId"); + + m_ownerAccountIdHasBeenSet = true; + } + + return *this; +} + +JsonValue NamespaceSummary::Jsonize() const +{ + JsonValue payload; + + if(m_namespaceHasBeenSet) + { + Aws::Utils::Array namespaceJsonList(m_namespace.size()); + for(unsigned namespaceIndex = 0; namespaceIndex < namespaceJsonList.GetLength(); ++namespaceIndex) + { + namespaceJsonList[namespaceIndex].AsString(m_namespace[namespaceIndex]); + } + payload.WithArray("namespace", std::move(namespaceJsonList)); + + } + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_ownerAccountIdHasBeenSet) + { + payload.WithString("ownerAccountId", m_ownerAccountId); + + } + + return payload; +} + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/OpenTableFormat.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/OpenTableFormat.cpp new file mode 100644 index 00000000000..20fedb6dadb --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/OpenTableFormat.cpp @@ -0,0 +1,65 @@ +/** + * 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 S3Tables + { + namespace Model + { + namespace OpenTableFormatMapper + { + + static const int ICEBERG_HASH = HashingUtils::HashString("ICEBERG"); + + + OpenTableFormat GetOpenTableFormatForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ICEBERG_HASH) + { + return OpenTableFormat::ICEBERG; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return OpenTableFormat::NOT_SET; + } + + Aws::String GetNameForOpenTableFormat(OpenTableFormat enumValue) + { + switch(enumValue) + { + case OpenTableFormat::NOT_SET: + return {}; + case OpenTableFormat::ICEBERG: + return "ICEBERG"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace OpenTableFormatMapper + } // namespace Model + } // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/PutTableBucketMaintenanceConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/PutTableBucketMaintenanceConfigurationRequest.cpp new file mode 100644 index 00000000000..483d8f1b0a4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/PutTableBucketMaintenanceConfigurationRequest.cpp @@ -0,0 +1,38 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +PutTableBucketMaintenanceConfigurationRequest::PutTableBucketMaintenanceConfigurationRequest() : + m_tableBucketARNHasBeenSet(false), + m_type(TableBucketMaintenanceType::NOT_SET), + m_typeHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +Aws::String PutTableBucketMaintenanceConfigurationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_valueHasBeenSet) + { + payload.WithObject("value", m_value.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/PutTableBucketPolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/PutTableBucketPolicyRequest.cpp new file mode 100644 index 00000000000..efa29289bcf --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/PutTableBucketPolicyRequest.cpp @@ -0,0 +1,36 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +PutTableBucketPolicyRequest::PutTableBucketPolicyRequest() : + m_tableBucketARNHasBeenSet(false), + m_resourcePolicyHasBeenSet(false) +{ +} + +Aws::String PutTableBucketPolicyRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourcePolicyHasBeenSet) + { + payload.WithString("resourcePolicy", m_resourcePolicy); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/PutTableMaintenanceConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/PutTableMaintenanceConfigurationRequest.cpp new file mode 100644 index 00000000000..94ee3fa3420 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/PutTableMaintenanceConfigurationRequest.cpp @@ -0,0 +1,40 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +PutTableMaintenanceConfigurationRequest::PutTableMaintenanceConfigurationRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false), + m_type(TableMaintenanceType::NOT_SET), + m_typeHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +Aws::String PutTableMaintenanceConfigurationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_valueHasBeenSet) + { + payload.WithObject("value", m_value.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/PutTablePolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/PutTablePolicyRequest.cpp new file mode 100644 index 00000000000..43c8aa0e604 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/PutTablePolicyRequest.cpp @@ -0,0 +1,38 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +PutTablePolicyRequest::PutTablePolicyRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false), + m_resourcePolicyHasBeenSet(false) +{ +} + +Aws::String PutTablePolicyRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_resourcePolicyHasBeenSet) + { + payload.WithString("resourcePolicy", m_resourcePolicy); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/RenameTableRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/RenameTableRequest.cpp new file mode 100644 index 00000000000..18e3d902d55 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/RenameTableRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +RenameTableRequest::RenameTableRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false), + m_newNamespaceNameHasBeenSet(false), + m_newNameHasBeenSet(false), + m_versionTokenHasBeenSet(false) +{ +} + +Aws::String RenameTableRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_newNamespaceNameHasBeenSet) + { + payload.WithString("newNamespaceName", m_newNamespaceName); + + } + + if(m_newNameHasBeenSet) + { + payload.WithString("newName", m_newName); + + } + + if(m_versionTokenHasBeenSet) + { + payload.WithString("versionToken", m_versionToken); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketMaintenanceConfigurationValue.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketMaintenanceConfigurationValue.cpp new file mode 100644 index 00000000000..5f41272140b --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketMaintenanceConfigurationValue.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + +TableBucketMaintenanceConfigurationValue::TableBucketMaintenanceConfigurationValue() : + m_status(MaintenanceStatus::NOT_SET), + m_statusHasBeenSet(false), + m_settingsHasBeenSet(false) +{ +} + +TableBucketMaintenanceConfigurationValue::TableBucketMaintenanceConfigurationValue(JsonView jsonValue) + : TableBucketMaintenanceConfigurationValue() +{ + *this = jsonValue; +} + +TableBucketMaintenanceConfigurationValue& TableBucketMaintenanceConfigurationValue::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("status")) + { + m_status = MaintenanceStatusMapper::GetMaintenanceStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("settings")) + { + m_settings = jsonValue.GetObject("settings"); + + m_settingsHasBeenSet = true; + } + + return *this; +} + +JsonValue TableBucketMaintenanceConfigurationValue::Jsonize() const +{ + JsonValue payload; + + if(m_statusHasBeenSet) + { + payload.WithString("status", MaintenanceStatusMapper::GetNameForMaintenanceStatus(m_status)); + } + + if(m_settingsHasBeenSet) + { + payload.WithObject("settings", m_settings.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketMaintenanceSettings.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketMaintenanceSettings.cpp new file mode 100644 index 00000000000..ec85e34c48b --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketMaintenanceSettings.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + +TableBucketMaintenanceSettings::TableBucketMaintenanceSettings() : + m_icebergUnreferencedFileRemovalHasBeenSet(false) +{ +} + +TableBucketMaintenanceSettings::TableBucketMaintenanceSettings(JsonView jsonValue) + : TableBucketMaintenanceSettings() +{ + *this = jsonValue; +} + +TableBucketMaintenanceSettings& TableBucketMaintenanceSettings::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("icebergUnreferencedFileRemoval")) + { + m_icebergUnreferencedFileRemoval = jsonValue.GetObject("icebergUnreferencedFileRemoval"); + + m_icebergUnreferencedFileRemovalHasBeenSet = true; + } + + return *this; +} + +JsonValue TableBucketMaintenanceSettings::Jsonize() const +{ + JsonValue payload; + + if(m_icebergUnreferencedFileRemovalHasBeenSet) + { + payload.WithObject("icebergUnreferencedFileRemoval", m_icebergUnreferencedFileRemoval.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketMaintenanceType.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketMaintenanceType.cpp new file mode 100644 index 00000000000..246bc6441e9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketMaintenanceType.cpp @@ -0,0 +1,65 @@ +/** + * 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 S3Tables + { + namespace Model + { + namespace TableBucketMaintenanceTypeMapper + { + + static const int icebergUnreferencedFileRemoval_HASH = HashingUtils::HashString("icebergUnreferencedFileRemoval"); + + + TableBucketMaintenanceType GetTableBucketMaintenanceTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == icebergUnreferencedFileRemoval_HASH) + { + return TableBucketMaintenanceType::icebergUnreferencedFileRemoval; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TableBucketMaintenanceType::NOT_SET; + } + + Aws::String GetNameForTableBucketMaintenanceType(TableBucketMaintenanceType enumValue) + { + switch(enumValue) + { + case TableBucketMaintenanceType::NOT_SET: + return {}; + case TableBucketMaintenanceType::icebergUnreferencedFileRemoval: + return "icebergUnreferencedFileRemoval"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TableBucketMaintenanceTypeMapper + } // namespace Model + } // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketSummary.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketSummary.cpp new file mode 100644 index 00000000000..5718b546385 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/TableBucketSummary.cpp @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + +TableBucketSummary::TableBucketSummary() : + m_arnHasBeenSet(false), + m_nameHasBeenSet(false), + m_ownerAccountIdHasBeenSet(false), + m_createdAtHasBeenSet(false) +{ +} + +TableBucketSummary::TableBucketSummary(JsonView jsonValue) + : TableBucketSummary() +{ + *this = jsonValue; +} + +TableBucketSummary& TableBucketSummary::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("ownerAccountId")) + { + m_ownerAccountId = jsonValue.GetString("ownerAccountId"); + + m_ownerAccountIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + return *this; +} + +JsonValue TableBucketSummary::Jsonize() const +{ + JsonValue payload; + + if(m_arnHasBeenSet) + { + payload.WithString("arn", m_arn); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_ownerAccountIdHasBeenSet) + { + payload.WithString("ownerAccountId", m_ownerAccountId); + + } + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + return payload; +} + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceConfigurationValue.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceConfigurationValue.cpp new file mode 100644 index 00000000000..5e814c85cf5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceConfigurationValue.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + +TableMaintenanceConfigurationValue::TableMaintenanceConfigurationValue() : + m_status(MaintenanceStatus::NOT_SET), + m_statusHasBeenSet(false), + m_settingsHasBeenSet(false) +{ +} + +TableMaintenanceConfigurationValue::TableMaintenanceConfigurationValue(JsonView jsonValue) + : TableMaintenanceConfigurationValue() +{ + *this = jsonValue; +} + +TableMaintenanceConfigurationValue& TableMaintenanceConfigurationValue::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("status")) + { + m_status = MaintenanceStatusMapper::GetMaintenanceStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("settings")) + { + m_settings = jsonValue.GetObject("settings"); + + m_settingsHasBeenSet = true; + } + + return *this; +} + +JsonValue TableMaintenanceConfigurationValue::Jsonize() const +{ + JsonValue payload; + + if(m_statusHasBeenSet) + { + payload.WithString("status", MaintenanceStatusMapper::GetNameForMaintenanceStatus(m_status)); + } + + if(m_settingsHasBeenSet) + { + payload.WithObject("settings", m_settings.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceJobStatusValue.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceJobStatusValue.cpp new file mode 100644 index 00000000000..a39753a5540 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceJobStatusValue.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + +TableMaintenanceJobStatusValue::TableMaintenanceJobStatusValue() : + m_status(JobStatus::NOT_SET), + m_statusHasBeenSet(false), + m_lastRunTimestampHasBeenSet(false), + m_failureMessageHasBeenSet(false) +{ +} + +TableMaintenanceJobStatusValue::TableMaintenanceJobStatusValue(JsonView jsonValue) + : TableMaintenanceJobStatusValue() +{ + *this = jsonValue; +} + +TableMaintenanceJobStatusValue& TableMaintenanceJobStatusValue::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("status")) + { + m_status = JobStatusMapper::GetJobStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("lastRunTimestamp")) + { + m_lastRunTimestamp = jsonValue.GetString("lastRunTimestamp"); + + m_lastRunTimestampHasBeenSet = true; + } + + if(jsonValue.ValueExists("failureMessage")) + { + m_failureMessage = jsonValue.GetString("failureMessage"); + + m_failureMessageHasBeenSet = true; + } + + return *this; +} + +JsonValue TableMaintenanceJobStatusValue::Jsonize() const +{ + JsonValue payload; + + if(m_statusHasBeenSet) + { + payload.WithString("status", JobStatusMapper::GetNameForJobStatus(m_status)); + } + + if(m_lastRunTimestampHasBeenSet) + { + payload.WithString("lastRunTimestamp", m_lastRunTimestamp.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_failureMessageHasBeenSet) + { + payload.WithString("failureMessage", m_failureMessage); + + } + + return payload; +} + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceJobType.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceJobType.cpp new file mode 100644 index 00000000000..92a6f81d996 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceJobType.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace S3Tables + { + namespace Model + { + namespace TableMaintenanceJobTypeMapper + { + + static const int icebergCompaction_HASH = HashingUtils::HashString("icebergCompaction"); + static const int icebergSnapshotManagement_HASH = HashingUtils::HashString("icebergSnapshotManagement"); + static const int icebergUnreferencedFileRemoval_HASH = HashingUtils::HashString("icebergUnreferencedFileRemoval"); + + + TableMaintenanceJobType GetTableMaintenanceJobTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == icebergCompaction_HASH) + { + return TableMaintenanceJobType::icebergCompaction; + } + else if (hashCode == icebergSnapshotManagement_HASH) + { + return TableMaintenanceJobType::icebergSnapshotManagement; + } + else if (hashCode == icebergUnreferencedFileRemoval_HASH) + { + return TableMaintenanceJobType::icebergUnreferencedFileRemoval; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TableMaintenanceJobType::NOT_SET; + } + + Aws::String GetNameForTableMaintenanceJobType(TableMaintenanceJobType enumValue) + { + switch(enumValue) + { + case TableMaintenanceJobType::NOT_SET: + return {}; + case TableMaintenanceJobType::icebergCompaction: + return "icebergCompaction"; + case TableMaintenanceJobType::icebergSnapshotManagement: + return "icebergSnapshotManagement"; + case TableMaintenanceJobType::icebergUnreferencedFileRemoval: + return "icebergUnreferencedFileRemoval"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TableMaintenanceJobTypeMapper + } // namespace Model + } // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceSettings.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceSettings.cpp new file mode 100644 index 00000000000..5b410632597 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceSettings.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + +TableMaintenanceSettings::TableMaintenanceSettings() : + m_icebergCompactionHasBeenSet(false), + m_icebergSnapshotManagementHasBeenSet(false) +{ +} + +TableMaintenanceSettings::TableMaintenanceSettings(JsonView jsonValue) + : TableMaintenanceSettings() +{ + *this = jsonValue; +} + +TableMaintenanceSettings& TableMaintenanceSettings::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("icebergCompaction")) + { + m_icebergCompaction = jsonValue.GetObject("icebergCompaction"); + + m_icebergCompactionHasBeenSet = true; + } + + if(jsonValue.ValueExists("icebergSnapshotManagement")) + { + m_icebergSnapshotManagement = jsonValue.GetObject("icebergSnapshotManagement"); + + m_icebergSnapshotManagementHasBeenSet = true; + } + + return *this; +} + +JsonValue TableMaintenanceSettings::Jsonize() const +{ + JsonValue payload; + + if(m_icebergCompactionHasBeenSet) + { + payload.WithObject("icebergCompaction", m_icebergCompaction.Jsonize()); + + } + + if(m_icebergSnapshotManagementHasBeenSet) + { + payload.WithObject("icebergSnapshotManagement", m_icebergSnapshotManagement.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceType.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceType.cpp new file mode 100644 index 00000000000..a82a9953f2a --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/TableMaintenanceType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace S3Tables + { + namespace Model + { + namespace TableMaintenanceTypeMapper + { + + static const int icebergCompaction_HASH = HashingUtils::HashString("icebergCompaction"); + static const int icebergSnapshotManagement_HASH = HashingUtils::HashString("icebergSnapshotManagement"); + + + TableMaintenanceType GetTableMaintenanceTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == icebergCompaction_HASH) + { + return TableMaintenanceType::icebergCompaction; + } + else if (hashCode == icebergSnapshotManagement_HASH) + { + return TableMaintenanceType::icebergSnapshotManagement; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TableMaintenanceType::NOT_SET; + } + + Aws::String GetNameForTableMaintenanceType(TableMaintenanceType enumValue) + { + switch(enumValue) + { + case TableMaintenanceType::NOT_SET: + return {}; + case TableMaintenanceType::icebergCompaction: + return "icebergCompaction"; + case TableMaintenanceType::icebergSnapshotManagement: + return "icebergSnapshotManagement"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TableMaintenanceTypeMapper + } // namespace Model + } // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/TableSummary.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/TableSummary.cpp new file mode 100644 index 00000000000..98cf6dcbb98 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/TableSummary.cpp @@ -0,0 +1,135 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3Tables +{ +namespace Model +{ + +TableSummary::TableSummary() : + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false), + m_type(TableType::NOT_SET), + m_typeHasBeenSet(false), + m_tableARNHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_modifiedAtHasBeenSet(false) +{ +} + +TableSummary::TableSummary(JsonView jsonValue) + : TableSummary() +{ + *this = jsonValue; +} + +TableSummary& TableSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("namespace")) + { + Aws::Utils::Array namespaceJsonList = jsonValue.GetArray("namespace"); + for(unsigned namespaceIndex = 0; namespaceIndex < namespaceJsonList.GetLength(); ++namespaceIndex) + { + m_namespace.push_back(namespaceJsonList[namespaceIndex].AsString()); + } + m_namespaceHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = TableTypeMapper::GetTableTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + if(jsonValue.ValueExists("tableARN")) + { + m_tableARN = jsonValue.GetString("tableARN"); + + m_tableARNHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("modifiedAt")) + { + m_modifiedAt = jsonValue.GetString("modifiedAt"); + + m_modifiedAtHasBeenSet = true; + } + + return *this; +} + +JsonValue TableSummary::Jsonize() const +{ + JsonValue payload; + + if(m_namespaceHasBeenSet) + { + Aws::Utils::Array namespaceJsonList(m_namespace.size()); + for(unsigned namespaceIndex = 0; namespaceIndex < namespaceJsonList.GetLength(); ++namespaceIndex) + { + namespaceJsonList[namespaceIndex].AsString(m_namespace[namespaceIndex]); + } + payload.WithArray("namespace", std::move(namespaceJsonList)); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", TableTypeMapper::GetNameForTableType(m_type)); + } + + if(m_tableARNHasBeenSet) + { + payload.WithString("tableARN", m_tableARN); + + } + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_modifiedAtHasBeenSet) + { + payload.WithString("modifiedAt", m_modifiedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + return payload; +} + +} // namespace Model +} // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/TableType.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/TableType.cpp new file mode 100644 index 00000000000..c8c6bcac3e8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/TableType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace S3Tables + { + namespace Model + { + namespace TableTypeMapper + { + + static const int customer_HASH = HashingUtils::HashString("customer"); + static const int aws_HASH = HashingUtils::HashString("aws"); + + + TableType GetTableTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == customer_HASH) + { + return TableType::customer; + } + else if (hashCode == aws_HASH) + { + return TableType::aws; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TableType::NOT_SET; + } + + Aws::String GetNameForTableType(TableType enumValue) + { + switch(enumValue) + { + case TableType::NOT_SET: + return {}; + case TableType::customer: + return "customer"; + case TableType::aws: + return "aws"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TableTypeMapper + } // namespace Model + } // namespace S3Tables +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/UpdateTableMetadataLocationRequest.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/UpdateTableMetadataLocationRequest.cpp new file mode 100644 index 00000000000..f56ddcbb65d --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/UpdateTableMetadataLocationRequest.cpp @@ -0,0 +1,45 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateTableMetadataLocationRequest::UpdateTableMetadataLocationRequest() : + m_tableBucketARNHasBeenSet(false), + m_namespaceHasBeenSet(false), + m_nameHasBeenSet(false), + m_versionTokenHasBeenSet(false), + m_metadataLocationHasBeenSet(false) +{ +} + +Aws::String UpdateTableMetadataLocationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_versionTokenHasBeenSet) + { + payload.WithString("versionToken", m_versionToken); + + } + + if(m_metadataLocationHasBeenSet) + { + payload.WithString("metadataLocation", m_metadataLocation); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-s3tables/source/model/UpdateTableMetadataLocationResult.cpp b/generated/src/aws-cpp-sdk-s3tables/source/model/UpdateTableMetadataLocationResult.cpp new file mode 100644 index 00000000000..b92b83b439a --- /dev/null +++ b/generated/src/aws-cpp-sdk-s3tables/source/model/UpdateTableMetadataLocationResult.cpp @@ -0,0 +1,75 @@ +/** + * 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::S3Tables::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateTableMetadataLocationResult::UpdateTableMetadataLocationResult() +{ +} + +UpdateTableMetadataLocationResult::UpdateTableMetadataLocationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateTableMetadataLocationResult& UpdateTableMetadataLocationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("tableARN")) + { + m_tableARN = jsonValue.GetString("tableARN"); + + } + + if(jsonValue.ValueExists("namespace")) + { + Aws::Utils::Array namespaceJsonList = jsonValue.GetArray("namespace"); + for(unsigned namespaceIndex = 0; namespaceIndex < namespaceJsonList.GetLength(); ++namespaceIndex) + { + m_namespace.push_back(namespaceJsonList[namespaceIndex].AsString()); + } + } + + if(jsonValue.ValueExists("versionToken")) + { + m_versionToken = jsonValue.GetString("versionToken"); + + } + + if(jsonValue.ValueExists("metadataLocation")) + { + m_metadataLocation = jsonValue.GetString("metadataLocation"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/tests/dsql-gen-tests/DSQLEndpointProviderTests.cpp b/generated/tests/dsql-gen-tests/DSQLEndpointProviderTests.cpp index 4a620f20681..0388e60fd91 100644 --- a/generated/tests/dsql-gen-tests/DSQLEndpointProviderTests.cpp +++ b/generated/tests/dsql-gen-tests/DSQLEndpointProviderTests.cpp @@ -74,210 +74,153 @@ class DSQLEndpointProviderTests : public ::testing::TestWithParam }; Aws::UniquePtrSafeDeleted> DSQLEndpointProviderTests::TEST_CASES; -const size_t DSQLEndpointProviderTests::TEST_CASES_SZ = 25; +const size_t DSQLEndpointProviderTests::TEST_CASES_SZ = 17; Aws::Vector DSQLEndpointProviderTests::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 + {"For custom endpoint with region not set and fips disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com")}, // params {}, // tags - {{/*epUrl*/"https://dsql-fips.us-east-1.api.aws", + {{/*epUrl*/"https://example.com", {/*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 + {"For custom endpoint with fips enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Endpoint", "https://example.com")}, // params {}, // tags - {{/*epUrl*/"https://dsql-fips.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect + {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // 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 + {"For region us-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-east-1")}, // params {}, // tags - {{/*epUrl*/"https://dsql.us-east-1.api.aws", + {{/*epUrl*/"https://dsql-fips.us-east-1.api.aws", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 3*/ - {"For region us-east-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params + {"For region us-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-east-1")}, // params {}, // tags - {{/*epUrl*/"https://dsql.us-east-1.amazonaws.com", + {{/*epUrl*/"https://dsql.us-east-1.api.aws", {/*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 + {"For region cn-northwest-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "cn-northwest-1")}, // params {}, // tags - {{/*epUrl*/"https://dsql-fips.cn-north-1.api.amazonwebservices.com.cn", + {{/*epUrl*/"https://dsql-fips.cn-northwest-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 + {"For region cn-northwest-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "cn-northwest-1")}, // params {}, // tags - {{/*epUrl*/"https://dsql-fips.cn-north-1.amazonaws.com.cn", + {{/*epUrl*/"https://dsql.cn-northwest-1.api.amazonwebservices.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 + {"For region us-gov-west-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-gov-west-1")}, // params {}, // tags - {{/*epUrl*/"https://dsql.cn-north-1.api.amazonwebservices.com.cn", + {{/*epUrl*/"https://dsql-fips.us-gov-west-1.api.aws", {/*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 + {"For region us-gov-west-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-gov-west-1")}, // params {}, // tags - {{/*epUrl*/"https://dsql.cn-north-1.amazonaws.com.cn", + {{/*epUrl*/"https://dsql.us-gov-west-1.api.aws", {/*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 + {"For region us-iso-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1")}, // params {}, // tags - {{/*epUrl*/"https://dsql-fips.us-gov-east-1.api.aws", + {{/*epUrl*/"https://dsql-fips.us-iso-east-1.c2s.ic.gov", {/*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 + {"For region us-iso-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1")}, // params {}, // tags - {{/*epUrl*/"https://dsql-fips.us-gov-east-1.amazonaws.com", + {{/*epUrl*/"https://dsql.us-iso-east-1.c2s.ic.gov", {/*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 + {"For region us-isob-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1")}, // params {}, // tags - {{/*epUrl*/"https://dsql.us-gov-east-1.api.aws", + {{/*epUrl*/"https://dsql-fips.us-isob-east-1.sc2s.sgov.gov", {/*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 + {"For region us-isob-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1")}, // params {}, // tags - {{/*epUrl*/"https://dsql.us-gov-east-1.amazonaws.com", + {{/*epUrl*/"https://dsql.us-isob-east-1.sc2s.sgov.gov", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 12*/ - {"For region us-iso-east-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect - }, - /*TEST CASE 13*/ - {"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://dsql-fips.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 14*/ - {"For region us-iso-east-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect - }, - /*TEST CASE 15*/ - {"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://dsql.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 16*/ - {"For region us-isob-east-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect - }, - /*TEST CASE 17*/ - {"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 + {"For region eu-isoe-west-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "eu-isoe-west-1")}, // params {}, // tags - {{/*epUrl*/"https://dsql-fips.us-isob-east-1.sc2s.sgov.gov", + {{/*epUrl*/"https://dsql-fips.eu-isoe-west-1.cloud.adc-e.uk", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 18*/ - {"For region us-isob-east-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect - }, - /*TEST CASE 19*/ - {"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 + /*TEST CASE 13*/ + {"For region eu-isoe-west-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-isoe-west-1")}, // params {}, // tags - {{/*epUrl*/"https://dsql.us-isob-east-1.sc2s.sgov.gov", + {{/*epUrl*/"https://dsql.eu-isoe-west-1.cloud.adc-e.uk", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 20*/ - {"For custom endpoint with region set and fips disabled and dualstack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params + /*TEST CASE 14*/ + {"For region us-isof-south-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isof-south-1")}, // params {}, // tags - {{/*epUrl*/"https://example.com", + {{/*epUrl*/"https://dsql-fips.us-isof-south-1.csp.hci.ic.gov", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 21*/ - {"For custom endpoint with region not set and fips disabled and dualstack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("UseDualStack", false)}, // params + /*TEST CASE 15*/ + {"For region us-isof-south-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isof-south-1")}, // params {}, // tags - {{/*epUrl*/"https://example.com", + {{/*epUrl*/"https://dsql.us-isof-south-1.csp.hci.ic.gov", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 22*/ - {"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 23*/ - {"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 24*/ + /*TEST CASE 16*/ {"Missing region", // documentation {}, // params {}, // tags diff --git a/generated/tests/s3tables-gen-tests/CMakeLists.txt b/generated/tests/s3tables-gen-tests/CMakeLists.txt new file mode 100644 index 00000000000..e1af791bf0e --- /dev/null +++ b/generated/tests/s3tables-gen-tests/CMakeLists.txt @@ -0,0 +1,42 @@ +add_project(s3tables-gen-tests + "Tests for the AWS S3TABLES C++ SDK" + testing-resources + aws-cpp-sdk-s3tables + aws-cpp-sdk-core) + +file(GLOB AWS_S3TABLES_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_S3TABLES_GENERATED_TEST_SRC}") +else() + add_executable(${PROJECT_NAME} "${AWS_S3TABLES_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/s3tables-gen-tests/RunTests.cpp b/generated/tests/s3tables-gen-tests/RunTests.cpp new file mode 100644 index 00000000000..f2f10a7c789 --- /dev/null +++ b/generated/tests/s3tables-gen-tests/RunTests.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include + +int main(int argc, char** argv) +{ + Aws::SDKOptions options; + options.loggingOptions.logLevel = Aws::Utils::Logging::LogLevel::Trace; + + AWS_BEGIN_MEMORY_TEST_EX(options, 1024, 128); + Aws::Testing::InitPlatformTest(options); + Aws::Testing::ParseArgs(argc, argv); + + Aws::InitAPI(options); + ::testing::InitGoogleTest(&argc, argv); + int exitCode = RUN_ALL_TESTS(); + Aws::ShutdownAPI(options); + + AWS_END_MEMORY_TEST_EX; + Aws::Testing::ShutdownPlatformTest(options); + return exitCode; +} diff --git a/generated/tests/s3tables-gen-tests/S3TablesEndpointProviderTests.cpp b/generated/tests/s3tables-gen-tests/S3TablesEndpointProviderTests.cpp new file mode 100644 index 00000000000..9eeb60ca4d9 --- /dev/null +++ b/generated/tests/s3tables-gen-tests/S3TablesEndpointProviderTests.cpp @@ -0,0 +1,428 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + + +static const char* ALLOCATION_TAG = "AWSS3TablesEndpointProviderTests"; +using S3TablesEndpointProvider = Aws::S3Tables::Endpoint::S3TablesEndpointProvider; +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 S3TablesEndpointProviderEndpointTestCase +{ + 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 S3TablesEndpointProviderTests : 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> S3TablesEndpointProviderTests::TEST_CASES; +const size_t S3TablesEndpointProviderTests::TEST_CASES_SZ = 25; + +Aws::Vector S3TablesEndpointProviderTests::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://s3tables-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://s3tables-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://s3tables.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://s3tables.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://s3tables-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://s3tables-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://s3tables.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://s3tables.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://s3tables-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://s3tables-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://s3tables.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://s3tables.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 enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect + }, + /*TEST CASE 13*/ + {"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://s3tables-fips.us-iso-east-1.c2s.ic.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 14*/ + {"For region us-iso-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect + }, + /*TEST CASE 15*/ + {"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://s3tables.us-iso-east-1.c2s.ic.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 16*/ + {"For region us-isob-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect + }, + /*TEST CASE 17*/ + {"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://s3tables-fips.us-isob-east-1.sc2s.sgov.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 18*/ + {"For region us-isob-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect + }, + /*TEST CASE 19*/ + {"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://s3tables.us-isob-east-1.sc2s.sgov.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 20*/ + {"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 21*/ + {"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 22*/ + {"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 23*/ + {"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 24*/ + {"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 S3TablesEndpointProviderEndpointTestCase::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(S3TablesEndpointProviderTests, 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 S3TablesEndpointProviderEndpointTestCase& 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/S3TablesEndpointProviderTests.EndpointProviderTest/") + Aws::Utils::StringUtils::to_string(TEST_CASE_IDX)); + + std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG); + ASSERT_TRUE(endpointProvider) << "Failed to allocate/initialize S3TablesEndpointProvider"; + + 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, + S3TablesEndpointProviderTests, + ::testing::Range((size_t) 0u, S3TablesEndpointProviderTests::TEST_CASES_SZ)); diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index 3637b3076e7..8dd6831ad17 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.459" +#define AWS_SDK_VERSION_STRING "1.11.460" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 459 +#define AWS_SDK_VERSION_PATCH 460 diff --git a/tools/code-generation/api-descriptions/athena-2017-05-18.normal.json b/tools/code-generation/api-descriptions/athena-2017-05-18.normal.json index fed4374aa3d..f0391c9e048 100644 --- a/tools/code-generation/api-descriptions/athena-2017-05-18.normal.json +++ b/tools/code-generation/api-descriptions/athena-2017-05-18.normal.json @@ -98,7 +98,7 @@ {"shape":"InternalServerException"}, {"shape":"InvalidRequestException"} ], - "documentation":"

    Creates (registers) a data catalog with the specified name and properties. Catalogs created are visible to all users of the same Amazon Web Services account.

    " + "documentation":"

    Creates (registers) a data catalog with the specified name and properties. Catalogs created are visible to all users of the same Amazon Web Services account.

    This API operation creates the following resources.

    • CFN Stack Name with a maximum length of 128 characters and prefix athenafederatedcatalog-CATALOG_NAME_SANITIZED with length 23 characters.

    • Lambda Function Name with a maximum length of 64 characters and prefix athenafederatedcatalog_CATALOG_NAME_SANITIZED with length 23 characters.

    • Glue Connection Name with a maximum length of 255 characters and a prefix athenafederatedcatalog_CATALOG_NAME_SANITIZED with length 23 characters.

    " }, "CreateNamedQuery":{ "name":"CreateNamedQuery", @@ -1538,6 +1538,31 @@ "min":0, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*" }, + "ConnectionType":{ + "type":"string", + "enum":[ + "DYNAMODB", + "MYSQL", + "POSTGRESQL", + "REDSHIFT", + "ORACLE", + "SYNAPSE", + "SQLSERVER", + "DB2", + "OPENSEARCH", + "BIGQUERY", + "GOOGLECLOUDSTORAGE", + "HBASE", + "DOCUMENTDB", + "CMDB", + "TPCDS", + "TIMESTREAM", + "SAPHANA", + "SNOWFLAKE", + "DATALAKEGEN2", + "DB2AS400" + ] + }, "CoordinatorDpuSize":{ "type":"integer", "box":true, @@ -1579,11 +1604,11 @@ "members":{ "Name":{ "shape":"CatalogNameString", - "documentation":"

    The name of the data catalog to create. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.

    " + "documentation":"

    The name of the data catalog to create. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.

    For FEDERATED type the catalog name has following considerations and limits:

    • The catalog name allows special characters such as _ , @ , \\ , - . These characters are replaced with a hyphen (-) when creating the CFN Stack Name and with an underscore (_) when creating the Lambda Function and Glue Connection Name.

    • The catalog name has a theoretical limit of 128 characters. However, since we use it to create other resources that allow less characters and we prepend a prefix to it, the actual catalog name limit for FEDERATED catalog is 64 - 23 = 41 characters.

    " }, "Type":{ "shape":"DataCatalogType", - "documentation":"

    The type of data catalog to create: LAMBDA for a federated catalog, HIVE for an external hive metastore, or GLUE for an Glue Data Catalog.

    " + "documentation":"

    The type of data catalog to create: LAMBDA for a federated catalog, GLUE for an Glue Data Catalog, and HIVE for an external Apache Hive metastore. FEDERATED is a federated catalog for which Athena creates the connection and the Lambda function for you based on the parameters that you pass.

    " }, "Description":{ "shape":"DescriptionString", @@ -1591,17 +1616,18 @@ }, "Parameters":{ "shape":"ParametersMap", - "documentation":"

    Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type.

    • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

      metadata-function=lambda_arn, sdk-version=version_number

    • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

      • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

        metadata-function=lambda_arn, record-function=lambda_arn

      • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

        function=lambda_arn

    • The GLUE type takes a catalog ID parameter and is required. The catalog_id is the account ID of the Amazon Web Services account to which the Glue Data Catalog belongs.

      catalog-id=catalog_id

      • The GLUE data catalog type also applies to the default AwsDataCatalog that already exists in your account, of which you can have only one and cannot modify.

    " + "documentation":"

    Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type.

    • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

      metadata-function=lambda_arn, sdk-version=version_number

    • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

      • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

        metadata-function=lambda_arn, record-function=lambda_arn

      • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

        function=lambda_arn

    • The GLUE type takes a catalog ID parameter and is required. The catalog_id is the account ID of the Amazon Web Services account to which the Glue Data Catalog belongs.

      catalog-id=catalog_id

      • The GLUE data catalog type also applies to the default AwsDataCatalog that already exists in your account, of which you can have only one and cannot modify.

    • The FEDERATED data catalog type uses one of the following parameters, but not both. Use connection-arn for an existing Glue connection. Use connection-type and connection-properties to specify the configuration setting for a new connection.

      • connection-arn:<glue_connection_arn_to_reuse>

      • lambda-role-arn (optional): The execution role to use for the Lambda function. If not provided, one is created.

      • connection-type:MYSQL|REDSHIFT|...., connection-properties:\"<json_string>\"

        For <json_string> , use escaped JSON text, as in the following example.

        \"{\\\"spill_bucket\\\":\\\"my_spill\\\",\\\"spill_prefix\\\":\\\"athena-spill\\\",\\\"host\\\":\\\"abc12345.snowflakecomputing.com\\\",\\\"port\\\":\\\"1234\\\",\\\"warehouse\\\":\\\"DEV_WH\\\",\\\"database\\\":\\\"TEST\\\",\\\"schema\\\":\\\"PUBLIC\\\",\\\"SecretArn\\\":\\\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\\\"}\"

    " }, "Tags":{ "shape":"TagList", - "documentation":"

    A list of comma separated tags to add to the data catalog that is created.

    " + "documentation":"

    A list of comma separated tags to add to the data catalog that is created. All the resources that are created by the CreateDataCatalog API operation with FEDERATED type will have the tag federated_athena_datacatalog=\"true\". This includes the CFN Stack, Glue Connection, Athena DataCatalog, and all the resources created as part of the CFN Stack (Lambda Function, IAM policies/roles).

    " } } }, "CreateDataCatalogOutput":{ "type":"structure", "members":{ + "DataCatalog":{"shape":"DataCatalog"} } }, "CreateNamedQueryInput":{ @@ -1796,15 +1822,41 @@ }, "Type":{ "shape":"DataCatalogType", - "documentation":"

    The type of data catalog to create: LAMBDA for a federated catalog, HIVE for an external hive metastore, or GLUE for an Glue Data Catalog.

    " + "documentation":"

    The type of data catalog to create: LAMBDA for a federated catalog, GLUE for an Glue Data Catalog, and HIVE for an external Apache Hive metastore. FEDERATED is a federated catalog for which Athena creates the connection and the Lambda function for you based on the parameters that you pass.

    " }, "Parameters":{ "shape":"ParametersMap", - "documentation":"

    Specifies the Lambda function or functions to use for the data catalog. This is a mapping whose values depend on the catalog type.

    • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

      metadata-function=lambda_arn, sdk-version=version_number

    • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

      • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

        metadata-function=lambda_arn, record-function=lambda_arn

      • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

        function=lambda_arn

    • The GLUE type takes a catalog ID parameter and is required. The catalog_id is the account ID of the Amazon Web Services account to which the Glue catalog belongs.

      catalog-id=catalog_id

      • The GLUE data catalog type also applies to the default AwsDataCatalog that already exists in your account, of which you can have only one and cannot modify.

    " + "documentation":"

    Specifies the Lambda function or functions to use for the data catalog. This is a mapping whose values depend on the catalog type.

    • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

      metadata-function=lambda_arn, sdk-version=version_number

    • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

      • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

        metadata-function=lambda_arn, record-function=lambda_arn

      • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

        function=lambda_arn

    • The GLUE type takes a catalog ID parameter and is required. The catalog_id is the account ID of the Amazon Web Services account to which the Glue catalog belongs.

      catalog-id=catalog_id

      • The GLUE data catalog type also applies to the default AwsDataCatalog that already exists in your account, of which you can have only one and cannot modify.

    • The FEDERATED data catalog type uses one of the following parameters, but not both. Use connection-arn for an existing Glue connection. Use connection-type and connection-properties to specify the configuration setting for a new connection.

      • connection-arn:<glue_connection_arn_to_reuse>

      • connection-type:MYSQL|REDSHIFT|...., connection-properties:\"<json_string>\"

        For <json_string> , use escaped JSON text, as in the following example.

        \"{\\\"spill_bucket\\\":\\\"my_spill\\\",\\\"spill_prefix\\\":\\\"athena-spill\\\",\\\"host\\\":\\\"abc12345.snowflakecomputing.com\\\",\\\"port\\\":\\\"1234\\\",\\\"warehouse\\\":\\\"DEV_WH\\\",\\\"database\\\":\\\"TEST\\\",\\\"schema\\\":\\\"PUBLIC\\\",\\\"SecretArn\\\":\\\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\\\"}\"

    " + }, + "Status":{ + "shape":"DataCatalogStatus", + "documentation":"

    The status of the creation or deletion of the data catalog.

    • The LAMBDA, GLUE, and HIVE data catalog types are created synchronously. Their status is either CREATE_COMPLETE or CREATE_FAILED.

    • The FEDERATED data catalog type is created asynchronously.

    Data catalog creation status:

    • CREATE_IN_PROGRESS: Federated data catalog creation in progress.

    • CREATE_COMPLETE: Data catalog creation complete.

    • CREATE_FAILED: Data catalog could not be created.

    • CREATE_FAILED_CLEANUP_IN_PROGRESS: Federated data catalog creation failed and is being removed.

    • CREATE_FAILED_CLEANUP_COMPLETE: Federated data catalog creation failed and was removed.

    • CREATE_FAILED_CLEANUP_FAILED: Federated data catalog creation failed but could not be removed.

    Data catalog deletion status:

    • DELETE_IN_PROGRESS: Federated data catalog deletion in progress.

    • DELETE_COMPLETE: Federated data catalog deleted.

    • DELETE_FAILED: Federated data catalog could not be deleted.

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

    The type of connection for a FEDERATED data catalog (for example, REDSHIFT, MYSQL, or SQLSERVER). For information about individual connectors, see Available data source connectors.

    " + }, + "Error":{ + "shape":"ErrorMessage", + "documentation":"

    Text of the error that occurred during data catalog creation or deletion.

    " } }, "documentation":"

    Contains information about a data catalog in an Amazon Web Services account.

    In the Athena console, data catalogs are listed as \"data sources\" on the Data sources page under the Data source name column.

    " }, + "DataCatalogStatus":{ + "type":"string", + "enum":[ + "CREATE_IN_PROGRESS", + "CREATE_COMPLETE", + "CREATE_FAILED", + "CREATE_FAILED_CLEANUP_IN_PROGRESS", + "CREATE_FAILED_CLEANUP_COMPLETE", + "CREATE_FAILED_CLEANUP_FAILED", + "DELETE_IN_PROGRESS", + "DELETE_COMPLETE", + "DELETE_FAILED" + ] + }, "DataCatalogSummary":{ "type":"structure", "members":{ @@ -1815,6 +1867,18 @@ "Type":{ "shape":"DataCatalogType", "documentation":"

    The data catalog type.

    " + }, + "Status":{ + "shape":"DataCatalogStatus", + "documentation":"

    The status of the creation or deletion of the data catalog.

    • The LAMBDA, GLUE, and HIVE data catalog types are created synchronously. Their status is either CREATE_COMPLETE or CREATE_FAILED.

    • The FEDERATED data catalog type is created asynchronously.

    Data catalog creation status:

    • CREATE_IN_PROGRESS: Federated data catalog creation in progress.

    • CREATE_COMPLETE: Data catalog creation complete.

    • CREATE_FAILED: Data catalog could not be created.

    • CREATE_FAILED_CLEANUP_IN_PROGRESS: Federated data catalog creation failed and is being removed.

    • CREATE_FAILED_CLEANUP_COMPLETE: Federated data catalog creation failed and was removed.

    • CREATE_FAILED_CLEANUP_FAILED: Federated data catalog creation failed but could not be removed.

    Data catalog deletion status:

    • DELETE_IN_PROGRESS: Federated data catalog deletion in progress.

    • DELETE_COMPLETE: Federated data catalog deleted.

    • DELETE_FAILED: Federated data catalog could not be deleted.

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

    The type of connection for a FEDERATED data catalog (for example, REDSHIFT, MYSQL, or SQLSERVER). For information about individual connectors, see Available data source connectors.

    " + }, + "Error":{ + "shape":"ErrorMessage", + "documentation":"

    Text of the error that occurred during data catalog creation or deletion.

    " } }, "documentation":"

    The summary information for the data catalog, which includes its name and type.

    " @@ -1828,7 +1892,8 @@ "enum":[ "LAMBDA", "GLUE", - "HIVE" + "HIVE", + "FEDERATED" ] }, "Database":{ @@ -1898,12 +1963,17 @@ "Name":{ "shape":"CatalogNameString", "documentation":"

    The name of the data catalog to delete.

    " + }, + "DeleteCatalogOnly":{ + "shape":"Boolean", + "documentation":"

    Deletes the Athena Data Catalog. You can only use this with the FEDERATED catalogs. You usually perform this before registering the connector with Glue Data Catalog. After deletion, you will have to manage the Glue Connection and Lambda function.

    " } } }, "DeleteDataCatalogOutput":{ "type":"structure", "members":{ + "DataCatalog":{"shape":"DataCatalog"} } }, "DeleteNamedQueryInput":{ diff --git a/tools/code-generation/api-descriptions/bedrock-2023-04-20.normal.json b/tools/code-generation/api-descriptions/bedrock-2023-04-20.normal.json index ff967634642..b4996d4117c 100644 --- a/tools/code-generation/api-descriptions/bedrock-2023-04-20.normal.json +++ b/tools/code-generation/api-descriptions/bedrock-2023-04-20.normal.json @@ -72,7 +72,7 @@ {"shape":"ServiceQuotaExceededException"}, {"shape":"ThrottlingException"} ], - "documentation":"

    Creates a guardrail to block topics and to implement safeguards for your generative AI applications.

    You can configure the following policies in a guardrail to avoid undesirable and harmful content, filter out denied topics and words, and remove sensitive information for privacy protection.

    • Content filters - Adjust filter strengths to block input prompts or model responses containing harmful content.

    • Denied topics - Define a set of topics that are undesirable in the context of your application. These topics will be blocked if detected in user queries or model responses.

    • Word filters - Configure filters to block undesirable words, phrases, and profanity. Such words can include offensive terms, competitor names etc.

    • Sensitive information filters - Block or mask sensitive information such as personally identifiable information (PII) or custom regex in user inputs and model responses.

    In addition to the above policies, you can also configure the messages to be returned to the user if a user input or model response is in violation of the policies defined in the guardrail.

    For more information, see Guardrails for Amazon Bedrock in the Amazon Bedrock User Guide.

    " + "documentation":"

    Creates a guardrail to block topics and to implement safeguards for your generative AI applications.

    You can configure the following policies in a guardrail to avoid undesirable and harmful content, filter out denied topics and words, and remove sensitive information for privacy protection.

    • Content filters - Adjust filter strengths to block input prompts or model responses containing harmful content.

    • Denied topics - Define a set of topics that are undesirable in the context of your application. These topics will be blocked if detected in user queries or model responses.

    • Word filters - Configure filters to block undesirable words, phrases, and profanity. Such words can include offensive terms, competitor names etc.

    • Sensitive information filters - Block or mask sensitive information such as personally identifiable information (PII) or custom regex in user inputs and model responses.

    In addition to the above policies, you can also configure the messages to be returned to the user if a user input or model response is in violation of the policies defined in the guardrail.

    For more information, see Amazon Bedrock Guardrails in the Amazon Bedrock User Guide.

    " }, "CreateGuardrailVersion":{ "name":"CreateGuardrailVersion", @@ -515,7 +515,7 @@ {"shape":"InternalServerException"}, {"shape":"ThrottlingException"} ], - "documentation":"

    Gets details about a batch inference job. For more information, see View details about a batch inference job

    " + "documentation":"

    Gets details about a batch inference job. For more information, see Monitor batch inference jobs

    " }, "GetModelInvocationLoggingConfiguration":{ "name":"GetModelInvocationLoggingConfiguration", @@ -721,7 +721,7 @@ {"shape":"InternalServerException"}, {"shape":"ThrottlingException"} ], - "documentation":"

    Lists all batch inference jobs in the account. For more information, see View details about a batch inference job.

    " + "documentation":"

    Lists all batch inference jobs in the account. For more information, see View details about a batch inference job.

    " }, "ListProvisionedModelThroughputs":{ "name":"ListProvisionedModelThroughputs", @@ -832,7 +832,7 @@ {"shape":"InternalServerException"}, {"shape":"ThrottlingException"} ], - "documentation":"

    Stops a batch inference job. You're only charged for tokens that were already processed. For more information, see Stop a batch inference job.

    " + "documentation":"

    Stops a batch inference job. You're only charged for tokens that were already processed. For more information, see Stop a batch inference job.

    " }, "TagResource":{ "name":"TagResource", @@ -1447,8 +1447,7 @@ "roleArn", "baseModelIdentifier", "trainingDataConfig", - "outputDataConfig", - "hyperParameters" + "outputDataConfig" ], "members":{ "jobName":{ @@ -1507,6 +1506,10 @@ "vpcConfig":{ "shape":"VpcConfig", "documentation":"

    The configuration of the Virtual Private Cloud (VPC) that contains the resources that you're using for this job. For more information, see Protect your model customization jobs using a VPC.

    " + }, + "customizationConfig":{ + "shape":"CustomizationConfig", + "documentation":"

    The customization configuration for the model customization job.

    " } } }, @@ -1614,7 +1617,7 @@ }, "vpcConfig":{ "shape":"VpcConfig", - "documentation":"

    The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.

    " + "documentation":"

    The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.

    " }, "timeoutDurationInHours":{ "shape":"ModelInvocationJobTimeoutDurationInHours", @@ -1738,11 +1741,23 @@ "type":"list", "member":{"shape":"CustomModelSummary"} }, + "CustomizationConfig":{ + "type":"structure", + "members":{ + "distillationConfig":{ + "shape":"DistillationConfig", + "documentation":"

    The distillation configuration for the custom model.

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

    A model customization configuration

    ", + "union":true + }, "CustomizationType":{ "type":"string", "enum":[ "FINE_TUNING", - "CONTINUED_PRE_TRAINING" + "CONTINUED_PRE_TRAINING", + "DISTILLATION" ] }, "DeleteCustomModelRequest":{ @@ -1846,6 +1861,17 @@ "members":{ } }, + "DistillationConfig":{ + "type":"structure", + "required":["teacherModelConfig"], + "members":{ + "teacherModelConfig":{ + "shape":"TeacherModelConfig", + "documentation":"

    The teacher model configuration.

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

    Settings for distilling a foundation model into a smaller and more efficient model.

    " + }, "ErrorMessage":{ "type":"string", "max":2048, @@ -2530,6 +2556,10 @@ "creationTime":{ "shape":"Timestamp", "documentation":"

    Creation time of the model.

    " + }, + "customizationConfig":{ + "shape":"CustomizationConfig", + "documentation":"

    The customization configuration for the custom model.

    " } } }, @@ -2948,7 +2978,6 @@ "roleArn", "creationTime", "baseModelArn", - "hyperParameters", "trainingDataConfig", "validationDataConfig", "outputDataConfig" @@ -3037,6 +3066,10 @@ "vpcConfig":{ "shape":"VpcConfig", "documentation":"

    VPC configuration for the custom model job.

    " + }, + "customizationConfig":{ + "shape":"CustomizationConfig", + "documentation":"

    The customization configuration for the model customization job.

    " } } }, @@ -3154,7 +3187,7 @@ }, "status":{ "shape":"ModelInvocationJobStatus", - "documentation":"

    The status of the batch inference job.

    " + "documentation":"

    The status of the batch inference job.

    The following statuses are possible:

    • Submitted – This job has been submitted to a queue for validation.

    • Validating – This job is being validated for the requirements described in Format and upload your batch inference data. The criteria include the following:

      • Your IAM service role has access to the Amazon S3 buckets containing your files.

      • Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the modelInput value matches the request body for the model.

      • Your files fulfill the requirements for file size and number of records. For more information, see Quotas for Amazon Bedrock.

    • Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.

    • Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request.

    • InProgress – This job has begun. You can start viewing the results in the output S3 location.

    • Completed – This job has successfully completed. View the output files in the output S3 location.

    • PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.

    • Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the Amazon Web Services Support Center.

    • Stopped – This job was stopped by a user.

    • Stopping – This job is being stopped by a user.

    " }, "message":{ "shape":"Message", @@ -3182,7 +3215,7 @@ }, "vpcConfig":{ "shape":"VpcConfig", - "documentation":"

    The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.

    " + "documentation":"

    The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.

    " }, "timeoutDurationInHours":{ "shape":"ModelInvocationJobTimeoutDurationInHours", @@ -4353,6 +4386,10 @@ "type":"boolean", "box":true }, + "Integer":{ + "type":"integer", + "box":true + }, "InternalServerException":{ "type":"structure", "members":{ @@ -4363,6 +4400,36 @@ "exception":true, "fault":true }, + "InvocationLogSource":{ + "type":"structure", + "members":{ + "s3Uri":{ + "shape":"S3Uri", + "documentation":"

    The URI of an invocation log in a bucket.

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

    A storage location for invocation logs.

    ", + "union":true + }, + "InvocationLogsConfig":{ + "type":"structure", + "required":["invocationLogSource"], + "members":{ + "usePromptResponse":{ + "shape":"UsePromptResponse", + "documentation":"

    Whether to use the model's response for training, or just the prompt. The default value is False.

    " + }, + "invocationLogSource":{ + "shape":"InvocationLogSource", + "documentation":"

    The source of the invocation logs.

    " + }, + "requestMetadataFilters":{ + "shape":"RequestMetadataFilters", + "documentation":"

    Rules for filtering invocation logs based on request metadata.

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

    Settings for using invocation logs to customize a model.

    " + }, "JobName":{ "type":"string", "max":63, @@ -5030,7 +5097,7 @@ }, "statusEquals":{ "shape":"ModelInvocationJobStatus", - "documentation":"

    Specify a status to filter for batch inference jobs whose statuses match the string you specify.

    ", + "documentation":"

    Specify a status to filter for batch inference jobs whose statuses match the string you specify.

    The following statuses are possible:

    • Submitted – This job has been submitted to a queue for validation.

    • Validating – This job is being validated for the requirements described in Format and upload your batch inference data. The criteria include the following:

      • Your IAM service role has access to the Amazon S3 buckets containing your files.

      • Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the modelInput value matches the request body for the model.

      • Your files fulfill the requirements for file size and number of records. For more information, see Quotas for Amazon Bedrock.

    • Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.

    • Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request.

    • InProgress – This job has begun. You can start viewing the results in the output S3 location.

    • Completed – This job has successfully completed. View the output files in the output S3 location.

    • PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.

    • Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the Amazon Web Services Support Center.

    • Stopped – This job was stopped by a user.

    • Stopping – This job is being stopped by a user.

    ", "location":"querystring", "locationName":"statusEquals" }, @@ -5197,6 +5264,10 @@ "embeddingDataDeliveryEnabled":{ "shape":"Boolean", "documentation":"

    Set to include embeddings data in the log delivery.

    " + }, + "videoDataDeliveryEnabled":{ + "shape":"Boolean", + "documentation":"

    Set to include video data in the log delivery.

    " } }, "documentation":"

    Configuration fields for invocation logging.

    " @@ -5310,7 +5381,8 @@ "type":"string", "enum":[ "FINE_TUNING", - "CONTINUED_PRE_TRAINING" + "CONTINUED_PRE_TRAINING", + "DISTILLATION" ] }, "ModelCustomizationHyperParameters":{ @@ -5629,7 +5701,7 @@ }, "status":{ "shape":"ModelInvocationJobStatus", - "documentation":"

    The status of the batch inference job.

    " + "documentation":"

    The status of the batch inference job.

    The following statuses are possible:

    • Submitted – This job has been submitted to a queue for validation.

    • Validating – This job is being validated for the requirements described in Format and upload your batch inference data. The criteria include the following:

      • Your IAM service role has access to the Amazon S3 buckets containing your files.

      • Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the modelInput value matches the request body for the model.

      • Your files fulfill the requirements for file size and number of records. For more information, see Quotas for Amazon Bedrock.

    • Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.

    • Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request.

    • InProgress – This job has begun. You can start viewing the results in the output S3 location.

    • Completed – This job has successfully completed. View the output files in the output S3 location.

    • PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.

    • Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the Amazon Web Services Support Center.

    • Stopped – This job was stopped by a user.

    • Stopping – This job is being stopped by a user.

    " }, "message":{ "shape":"Message", @@ -5657,7 +5729,7 @@ }, "vpcConfig":{ "shape":"VpcConfig", - "documentation":"

    The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.

    " + "documentation":"

    The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.

    " }, "timeoutDurationInHours":{ "shape":"ModelInvocationJobTimeoutDurationInHours", @@ -5902,6 +5974,69 @@ "max":1, "min":1 }, + "RequestMetadataBaseFilters":{ + "type":"structure", + "members":{ + "equals":{ + "shape":"RequestMetadataMap", + "documentation":"

    Include results where the key equals the value.

    " + }, + "notEquals":{ + "shape":"RequestMetadataMap", + "documentation":"

    Include results where the key does not equal the value.

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

    A mapping of a metadata key to a value that it should or should not equal.

    " + }, + "RequestMetadataFilters":{ + "type":"structure", + "members":{ + "equals":{ + "shape":"RequestMetadataMap", + "documentation":"

    Include results where the key equals the value.

    " + }, + "notEquals":{ + "shape":"RequestMetadataMap", + "documentation":"

    Include results where the key does not equal the value.

    " + }, + "andAll":{ + "shape":"RequestMetadataFiltersList", + "documentation":"

    Include results where all of the based filters match.

    " + }, + "orAll":{ + "shape":"RequestMetadataFiltersList", + "documentation":"

    Include results where any of the base filters match.

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

    Rules for filtering invocation logs. A filter can be a mapping of a metadata key to a value that it should or should not equal (a base filter), or a list of base filters that are all applied with AND or OR logical operators

    ", + "union":true + }, + "RequestMetadataFiltersList":{ + "type":"list", + "member":{"shape":"RequestMetadataBaseFilters"}, + "max":16, + "min":1 + }, + "RequestMetadataMap":{ + "type":"map", + "key":{"shape":"RequestMetadataMapKeyString"}, + "value":{"shape":"RequestMetadataMapValueString"}, + "max":1, + "min":1, + "sensitive":true + }, + "RequestMetadataMapKeyString":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[a-zA-Z0-9\\s._:/=+$@-]{1,256}" + }, + "RequestMetadataMapValueString":{ + "type":"string", + "max":256, + "min":0, + "pattern":"[a-zA-Z0-9\\s._:/=+$@-]{0,256}" + }, "ResourceNotFoundException":{ "type":"structure", "members":{ @@ -6265,7 +6400,26 @@ "type":"string", "max":1011, "min":20, - "pattern":".*(^[a-zA-Z0-9][a-zA-Z0-9\\-]*$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:([0-9]{12}|)((:(fine-tuning-job|model-customization-job|custom-model)/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12})$)|(:guardrail/[a-z0-9]+$)|(:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+$)|(:(provisioned-model|model-invocation-job|model-evaluation-job|evaluation-job|model-import-job|imported-model)/[a-z0-9]{12}$))).*" + "pattern":".*(^[a-zA-Z0-9][a-zA-Z0-9\\-]*$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:([0-9]{12}|)((:(fine-tuning-job|model-customization-job|custom-model)/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12})$)|(:guardrail/[a-z0-9]+$)|(:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+$)|(:(provisioned-model|model-invocation-job|model-evaluation-job|evaluation-job|model-import-job|imported-model|async-invoke)/[a-z0-9]{12}$))).*" + }, + "TeacherModelConfig":{ + "type":"structure", + "required":["teacherModelIdentifier"], + "members":{ + "teacherModelIdentifier":{ + "shape":"TeacherModelIdentifier", + "documentation":"

    The identifier of the teacher model.

    " + }, + "maxResponseLengthForInference":{ + "shape":"Integer", + "documentation":"

    The maximum number of tokens requested when the customization job invokes the teacher model.

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

    Details about a teacher model used for model customization.

    " + }, + "TeacherModelIdentifier":{ + "type":"string", + "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)" }, "Temperature":{ "type":"float", @@ -6341,11 +6495,14 @@ }, "TrainingDataConfig":{ "type":"structure", - "required":["s3Uri"], "members":{ "s3Uri":{ "shape":"S3Uri", "documentation":"

    The S3 URI where the training data is stored.

    " + }, + "invocationLogsConfig":{ + "shape":"InvocationLogsConfig", + "documentation":"

    Settings for using invocation logs to customize a model.

    " } }, "documentation":"

    S3 Location of the training data.

    " @@ -6491,6 +6648,7 @@ "members":{ } }, + "UsePromptResponse":{"type":"boolean"}, "ValidationDataConfig":{ "type":"structure", "required":["validators"], diff --git a/tools/code-generation/api-descriptions/bedrock-agent-2023-06-05.normal.json b/tools/code-generation/api-descriptions/bedrock-agent-2023-06-05.normal.json index a4d165a1866..32fa7c7b131 100644 --- a/tools/code-generation/api-descriptions/bedrock-agent-2023-06-05.normal.json +++ b/tools/code-generation/api-descriptions/bedrock-agent-2023-06-05.normal.json @@ -14,6 +14,27 @@ "auth":["aws.auth#sigv4"] }, "operations":{ + "AssociateAgentCollaborator":{ + "name":"AssociateAgentCollaborator", + "http":{ + "method":"PUT", + "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/", + "responseCode":200 + }, + "input":{"shape":"AssociateAgentCollaboratorRequest"}, + "output":{"shape":"AssociateAgentCollaboratorResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Makes an agent a collaborator for another agent.

    ", + "idempotent":true + }, "AssociateAgentKnowledgeBase":{ "name":"AssociateAgentKnowledgeBase", "http":{ @@ -460,6 +481,26 @@ "documentation":"

    Deletes a prompt or a version of it, depending on whether you include the promptVersion field or not. For more information, see Delete prompts from the Prompt management tool and Delete a version of a prompt from the Prompt management tool in the Amazon Bedrock User Guide.

    ", "idempotent":true }, + "DisassociateAgentCollaborator":{ + "name":"DisassociateAgentCollaborator", + "http":{ + "method":"DELETE", + "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", + "responseCode":204 + }, + "input":{"shape":"DisassociateAgentCollaboratorRequest"}, + "output":{"shape":"DisassociateAgentCollaboratorResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"} + ], + "documentation":"

    Disassociates an agent collaborator.

    ", + "idempotent":true + }, "DisassociateAgentKnowledgeBase":{ "name":"DisassociateAgentKnowledgeBase", "http":{ @@ -534,6 +575,24 @@ ], "documentation":"

    Gets information about an alias of an agent.

    " }, + "GetAgentCollaborator":{ + "name":"GetAgentCollaborator", + "http":{ + "method":"GET", + "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", + "responseCode":200 + }, + "input":{"shape":"GetAgentCollaboratorRequest"}, + "output":{"shape":"GetAgentCollaboratorResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

    Retrieves information about an agent's collaborator.

    " + }, "GetAgentKnowledgeBase":{ "name":"GetAgentKnowledgeBase", "http":{ @@ -771,6 +830,24 @@ ], "documentation":"

    Lists the aliases of an agent and information about each one.

    " }, + "ListAgentCollaborators":{ + "name":"ListAgentCollaborators", + "http":{ + "method":"POST", + "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/", + "responseCode":200 + }, + "input":{"shape":"ListAgentCollaboratorsRequest"}, + "output":{"shape":"ListAgentCollaboratorsResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

    Retrieve a list of an agent's collaborators.

    " + }, "ListAgentKnowledgeBases":{ "name":"ListAgentKnowledgeBases", "http":{ @@ -1167,6 +1244,27 @@ "documentation":"

    Updates configurations for an alias of an agent.

    ", "idempotent":true }, + "UpdateAgentCollaborator":{ + "name":"UpdateAgentCollaborator", + "http":{ + "method":"PUT", + "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", + "responseCode":200 + }, + "input":{"shape":"UpdateAgentCollaboratorRequest"}, + "output":{"shape":"UpdateAgentCollaboratorResponse"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Updates an agent's collaborator.

    ", + "idempotent":true + }, "UpdateAgentKnowledgeBase":{ "name":"UpdateAgentKnowledgeBase", "http":{ @@ -1421,6 +1519,10 @@ "shape":"AgentArn", "documentation":"

    The Amazon Resource Name (ARN) of the agent.

    " }, + "agentCollaboration":{ + "shape":"AgentCollaboration", + "documentation":"

    The agent's collaboration settings.

    " + }, "agentId":{ "shape":"Id", "documentation":"

    The unique identifier of the agent.

    " @@ -1758,6 +1860,139 @@ "min":0, "pattern":"^arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent/[0-9a-zA-Z]{10}$" }, + "AgentCollaboration":{ + "type":"string", + "enum":[ + "SUPERVISOR", + "SUPERVISOR_ROUTER", + "DISABLED" + ] + }, + "AgentCollaborator":{ + "type":"structure", + "required":[ + "agentDescriptor", + "agentId", + "agentVersion", + "collaborationInstruction", + "collaboratorId", + "collaboratorName", + "createdAt", + "lastUpdatedAt" + ], + "members":{ + "agentDescriptor":{ + "shape":"AgentDescriptor", + "documentation":"

    The collaborator's agent descriptor.

    " + }, + "agentId":{ + "shape":"Id", + "documentation":"

    The collaborator's agent ID.

    " + }, + "agentVersion":{ + "shape":"Version", + "documentation":"

    The collaborator's agent version.

    " + }, + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The collaborator's client token.

    " + }, + "collaborationInstruction":{ + "shape":"CollaborationInstruction", + "documentation":"

    The collaborator's instructions.

    " + }, + "collaboratorId":{ + "shape":"Id", + "documentation":"

    The collaborator's collaborator ID.

    " + }, + "collaboratorName":{ + "shape":"Name", + "documentation":"

    The collaborator's collaborator name.

    " + }, + "createdAt":{ + "shape":"DateTimestamp", + "documentation":"

    When the collaborator was created.

    " + }, + "lastUpdatedAt":{ + "shape":"DateTimestamp", + "documentation":"

    When the collaborator was updated.

    " + }, + "relayConversationHistory":{ + "shape":"RelayConversationHistory", + "documentation":"

    The collaborator's relay conversation history.

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

    An agent collaborator.

    " + }, + "AgentCollaboratorSummaries":{ + "type":"list", + "member":{"shape":"AgentCollaboratorSummary"}, + "max":10, + "min":0 + }, + "AgentCollaboratorSummary":{ + "type":"structure", + "required":[ + "agentDescriptor", + "agentId", + "agentVersion", + "collaborationInstruction", + "collaboratorId", + "collaboratorName", + "createdAt", + "lastUpdatedAt", + "relayConversationHistory" + ], + "members":{ + "agentDescriptor":{ + "shape":"AgentDescriptor", + "documentation":"

    The collaborator's agent descriptor.

    " + }, + "agentId":{ + "shape":"Id", + "documentation":"

    The collaborator's agent ID.

    " + }, + "agentVersion":{ + "shape":"Version", + "documentation":"

    The collaborator's agent version.

    " + }, + "collaborationInstruction":{ + "shape":"CollaborationInstruction", + "documentation":"

    The collaborator's collaboration instruction.

    " + }, + "collaboratorId":{ + "shape":"Id", + "documentation":"

    The collaborator's ID.

    " + }, + "collaboratorName":{ + "shape":"Name", + "documentation":"

    The collaborator's name.

    " + }, + "createdAt":{ + "shape":"DateTimestamp", + "documentation":"

    When the collaborator was created.

    " + }, + "lastUpdatedAt":{ + "shape":"DateTimestamp", + "documentation":"

    When the collaborator was last updated.

    " + }, + "relayConversationHistory":{ + "shape":"RelayConversationHistory", + "documentation":"

    The collaborator's relay conversation history.

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

    An agent collaborator summary.

    " + }, + "AgentDescriptor":{ + "type":"structure", + "members":{ + "aliasArn":{ + "shape":"AgentAliasArn", + "documentation":"

    The agent's alias ARN.

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

    An agent descriptor.

    " + }, "AgentFlowNodeConfiguration":{ "type":"structure", "required":["agentAliasArn"], @@ -1928,6 +2163,10 @@ "shape":"AgentArn", "documentation":"

    The Amazon Resource Name (ARN) of the agent that the version belongs to.

    " }, + "agentCollaboration":{ + "shape":"AgentCollaboration", + "documentation":"

    The agent's collaboration settings.

    " + }, "agentId":{ "shape":"Id", "documentation":"

    The unique identifier of the agent that the version belongs to.

    " @@ -2052,6 +2291,61 @@ }, "documentation":"

    Defines tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response. For more information, see Use a tool to complete an Amazon Bedrock model response.

    " }, + "AssociateAgentCollaboratorRequest":{ + "type":"structure", + "required":[ + "agentDescriptor", + "agentId", + "agentVersion", + "collaborationInstruction", + "collaboratorName" + ], + "members":{ + "agentDescriptor":{ + "shape":"AgentDescriptor", + "documentation":"

    The alias of the collaborator agent.

    " + }, + "agentId":{ + "shape":"Id", + "documentation":"

    The agent's ID.

    ", + "location":"uri", + "locationName":"agentId" + }, + "agentVersion":{ + "shape":"DraftVersion", + "documentation":"

    An agent version.

    ", + "location":"uri", + "locationName":"agentVersion" + }, + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    A client token.

    ", + "idempotencyToken":true + }, + "collaborationInstruction":{ + "shape":"CollaborationInstruction", + "documentation":"

    Instruction for the collaborator.

    " + }, + "collaboratorName":{ + "shape":"Name", + "documentation":"

    A name for the collaborator.

    " + }, + "relayConversationHistory":{ + "shape":"RelayConversationHistory", + "documentation":"

    A relay conversation history for the collaborator.

    " + } + } + }, + "AssociateAgentCollaboratorResponse":{ + "type":"structure", + "required":["agentCollaborator"], + "members":{ + "agentCollaborator":{ + "shape":"AgentCollaborator", + "documentation":"

    Details about the collaborator.

    " + } + } + }, "AssociateAgentKnowledgeBaseRequest":{ "type":"structure", "required":[ @@ -2250,6 +2544,12 @@ "min":33, "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,256}$" }, + "CollaborationInstruction":{ + "type":"string", + "max":4000, + "min":1, + "sensitive":true + }, "CollectorFlowNodeConfiguration":{ "type":"structure", "members":{ @@ -2513,6 +2813,10 @@ "type":"structure", "required":["agentName"], "members":{ + "agentCollaboration":{ + "shape":"AgentCollaboration", + "documentation":"

    The agent's collaboration role.

    " + }, "agentName":{ "shape":"Name", "documentation":"

    A name for the agent that you create.

    " @@ -3824,6 +4128,39 @@ "max":4096, "min":0 }, + "DisassociateAgentCollaboratorRequest":{ + "type":"structure", + "required":[ + "agentId", + "agentVersion", + "collaboratorId" + ], + "members":{ + "agentId":{ + "shape":"Id", + "documentation":"

    An agent ID.

    ", + "location":"uri", + "locationName":"agentId" + }, + "agentVersion":{ + "shape":"DraftVersion", + "documentation":"

    The agent's version.

    ", + "location":"uri", + "locationName":"agentVersion" + }, + "collaboratorId":{ + "shape":"Id", + "documentation":"

    The collaborator's ID.

    ", + "location":"uri", + "locationName":"collaboratorId" + } + } + }, + "DisassociateAgentCollaboratorResponse":{ + "type":"structure", + "members":{ + } + }, "DisassociateAgentKnowledgeBaseRequest":{ "type":"structure", "required":[ @@ -3993,6 +4330,7 @@ }, "EmbeddingDataType":{ "type":"string", + "documentation":"

    Bedrock models embedding data type. Can be either float32 or binary.

    ", "enum":[ "FLOAT32", "BINARY" @@ -4909,6 +5247,44 @@ } } }, + "GetAgentCollaboratorRequest":{ + "type":"structure", + "required":[ + "agentId", + "agentVersion", + "collaboratorId" + ], + "members":{ + "agentId":{ + "shape":"Id", + "documentation":"

    The agent's ID.

    ", + "location":"uri", + "locationName":"agentId" + }, + "agentVersion":{ + "shape":"Version", + "documentation":"

    The agent's version.

    ", + "location":"uri", + "locationName":"agentVersion" + }, + "collaboratorId":{ + "shape":"Id", + "documentation":"

    The collaborator's ID.

    ", + "location":"uri", + "locationName":"collaboratorId" + } + } + }, + "GetAgentCollaboratorResponse":{ + "type":"structure", + "required":["agentCollaborator"], + "members":{ + "agentCollaborator":{ + "shape":"AgentCollaborator", + "documentation":"

    Details about the collaborator.

    " + } + } + }, "GetAgentKnowledgeBaseRequest":{ "type":"structure", "required":[ @@ -6236,6 +6612,49 @@ } } }, + "ListAgentCollaboratorsRequest":{ + "type":"structure", + "required":[ + "agentId", + "agentVersion" + ], + "members":{ + "agentId":{ + "shape":"Id", + "documentation":"

    The agent's ID.

    ", + "location":"uri", + "locationName":"agentId" + }, + "agentVersion":{ + "shape":"Version", + "documentation":"

    The agent's version.

    ", + "location":"uri", + "locationName":"agentVersion" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of agent collaborators to return in one page of results.

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

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

    " + } + } + }, + "ListAgentCollaboratorsResponse":{ + "type":"structure", + "required":["agentCollaboratorSummaries"], + "members":{ + "agentCollaboratorSummaries":{ + "shape":"AgentCollaboratorSummaries", + "documentation":"

    A list of collaborator summaries.

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

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

    " + } + } + }, "ListAgentKnowledgeBasesRequest":{ "type":"structure", "required":[ @@ -7441,6 +7860,10 @@ "shape":"BasePromptTemplate", "documentation":"

    Defines the prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see Prompt template placeholder variables. For more information, see Configure the prompt templates.

    " }, + "foundationModel":{ + "shape":"ModelIdentifier", + "documentation":"

    The agent's foundation model.

    " + }, "inferenceConfiguration":{ "shape":"InferenceConfiguration", "documentation":"

    Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the promptType. For more information, see Inference parameters for foundation models.

    " @@ -7985,9 +8408,16 @@ "min":0, "pattern":"^.*$" }, + "RelayConversationHistory":{ + "type":"string", + "enum":[ + "TO_COLLABORATOR", + "DISABLED" + ] + }, "RequireConfirmation":{ "type":"string", - "documentation":"

    ENUM to check if action requires user confirmation

    ", + "documentation":"

    Whether the action requires user confirmation.

    ", "enum":[ "ENABLED", "DISABLED" @@ -9056,6 +9486,63 @@ } } }, + "UpdateAgentCollaboratorRequest":{ + "type":"structure", + "required":[ + "agentDescriptor", + "agentId", + "agentVersion", + "collaborationInstruction", + "collaboratorId", + "collaboratorName" + ], + "members":{ + "agentDescriptor":{ + "shape":"AgentDescriptor", + "documentation":"

    An agent descriptor for the agent collaborator.

    " + }, + "agentId":{ + "shape":"Id", + "documentation":"

    The agent's ID.

    ", + "location":"uri", + "locationName":"agentId" + }, + "agentVersion":{ + "shape":"DraftVersion", + "documentation":"

    The agent's version.

    ", + "location":"uri", + "locationName":"agentVersion" + }, + "collaborationInstruction":{ + "shape":"CollaborationInstruction", + "documentation":"

    Instruction for the collaborator.

    " + }, + "collaboratorId":{ + "shape":"Id", + "documentation":"

    The collaborator's ID.

    ", + "location":"uri", + "locationName":"collaboratorId" + }, + "collaboratorName":{ + "shape":"Name", + "documentation":"

    The collaborator's name.

    " + }, + "relayConversationHistory":{ + "shape":"RelayConversationHistory", + "documentation":"

    A relay conversation history for the collaborator.

    " + } + } + }, + "UpdateAgentCollaboratorResponse":{ + "type":"structure", + "required":["agentCollaborator"], + "members":{ + "agentCollaborator":{ + "shape":"AgentCollaborator", + "documentation":"

    Details about the collaborator.

    " + } + } + }, "UpdateAgentKnowledgeBaseRequest":{ "type":"structure", "required":[ @@ -9111,6 +9598,10 @@ "foundationModel" ], "members":{ + "agentCollaboration":{ + "shape":"AgentCollaboration", + "documentation":"

    The agent's collaboration role.

    " + }, "agentId":{ "shape":"Id", "documentation":"

    The unique identifier of the agent.

    ", diff --git a/tools/code-generation/api-descriptions/bedrock-agent-runtime-2023-07-26.normal.json b/tools/code-generation/api-descriptions/bedrock-agent-runtime-2023-07-26.normal.json index aa4106dffc0..3c26257353d 100644 --- a/tools/code-generation/api-descriptions/bedrock-agent-runtime-2023-07-26.normal.json +++ b/tools/code-generation/api-descriptions/bedrock-agent-runtime-2023-07-26.normal.json @@ -249,6 +249,12 @@ "documentation":"

    Contains details about the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas. You can either include the schema directly in the payload field or you can upload it to an S3 bucket and specify the S3 bucket location in the s3 field.

    ", "union":true }, + "AWSResourceARN":{ + "type":"string", + "max":2048, + "min":0, + "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent/[0-9a-zA-Z]{10}$" + }, "AccessDeniedException":{ "type":"structure", "members":{ @@ -398,12 +404,94 @@ "type":"list", "member":{"shape":"AgentActionGroup"} }, + "AgentAliasArn":{ + "type":"string", + "max":2048, + "min":0, + "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$" + }, "AgentAliasId":{ "type":"string", "max":10, "min":0, "pattern":"^[0-9a-zA-Z]+$" }, + "AgentCollaboratorInputPayload":{ + "type":"structure", + "members":{ + "returnControlResults":{ + "shape":"ReturnControlResults", + "documentation":"

    An action invocation result.

    " + }, + "text":{ + "shape":"AgentCollaboratorPayloadString", + "documentation":"

    Input text.

    " + }, + "type":{ + "shape":"PayloadType", + "documentation":"

    The input type.

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

    Input for an agent collaborator. The input can be text or an action invocation result.

    " + }, + "AgentCollaboratorInvocationInput":{ + "type":"structure", + "members":{ + "agentCollaboratorAliasArn":{ + "shape":"AgentAliasArn", + "documentation":"

    The collaborator's alias ARN.

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

    The collaborator's name.

    " + }, + "input":{ + "shape":"AgentCollaboratorInputPayload", + "documentation":"

    Text or action invocation result input for the collaborator.

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

    An agent collaborator invocation input.

    " + }, + "AgentCollaboratorInvocationOutput":{ + "type":"structure", + "members":{ + "agentCollaboratorAliasArn":{ + "shape":"AgentAliasArn", + "documentation":"

    The output's agent collaborator alias ARN.

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

    The output's agent collaborator name.

    " + }, + "output":{ + "shape":"AgentCollaboratorOutputPayload", + "documentation":"

    The output's output.

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

    Output from an agent collaborator.

    " + }, + "AgentCollaboratorOutputPayload":{ + "type":"structure", + "members":{ + "returnControlPayload":{ + "shape":"ReturnControlPayload", + "documentation":"

    An action invocation result.

    " + }, + "text":{ + "shape":"AgentCollaboratorPayloadString", + "documentation":"

    Text output.

    " + }, + "type":{ + "shape":"PayloadType", + "documentation":"

    The type of output.

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

    Output from an agent collaborator. The output can be text or an action invocation result.

    " + }, + "AgentCollaboratorPayloadString":{ + "type":"string", + "sensitive":true + }, "AgentId":{ "type":"string", "max":10, @@ -445,10 +533,18 @@ "shape":"ActionInvocationType", "documentation":"

    Contains information about the API operation to invoke.

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

    The agent's ID.

    " + }, "apiPath":{ "shape":"ApiPath", "documentation":"

    The path to the API operation.

    " }, + "collaboratorName":{ + "shape":"Name", + "documentation":"

    The agent collaborator's name.

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

    The HTTP method of the API operation.

    " @@ -508,6 +604,10 @@ "shape":"String", "documentation":"

    The action group that the API operation belongs to.

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

    The agent's ID.

    " + }, "apiPath":{ "shape":"ApiPath", "documentation":"

    The path to the API operation.

    " @@ -673,6 +773,21 @@ }, "documentation":"

    The property contains the file to chat with, along with its attributes.

    " }, + "Caller":{ + "type":"structure", + "members":{ + "agentAliasArn":{ + "shape":"AgentAliasArn", + "documentation":"

    The caller's agent alias ARN.

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

    Details about a caller.

    ", + "union":true + }, + "CallerChain":{ + "type":"list", + "member":{"shape":"Caller"} + }, "Citation":{ "type":"structure", "members":{ @@ -757,6 +872,22 @@ }, "exception":true }, + "ContentBlock":{ + "type":"structure", + "members":{ + "text":{ + "shape":"String", + "documentation":"

    The block's text.

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

    A content block.

    ", + "sensitive":true, + "union":true + }, + "ContentBlocks":{ + "type":"list", + "member":{"shape":"ContentBlock"} + }, "ContentBody":{ "type":"structure", "members":{ @@ -776,6 +907,23 @@ "type":"string", "pattern":"[a-z]{1,20}/.{1,20}" }, + "ConversationHistory":{ + "type":"structure", + "members":{ + "messages":{ + "shape":"Messages", + "documentation":"

    The conversation's messages.

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

    A conversation history.

    " + }, + "ConversationRole":{ + "type":"string", + "enum":[ + "user", + "assistant" + ] + }, "CreationMode":{ "type":"string", "enum":[ @@ -1502,6 +1650,14 @@ "shape":"ActionInvocationType", "documentation":"

    Contains information about the function to invoke,

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

    The agent's ID.

    " + }, + "collaboratorName":{ + "shape":"Name", + "documentation":"

    The collaborator's name.

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

    The name of the function.

    " @@ -1543,6 +1699,10 @@ "shape":"String", "documentation":"

    The action group that the function belongs to.

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

    The agent's ID.

    " + }, "confirmationState":{ "shape":"ConfirmationState", "documentation":"

    Contains the user confirmation information about the function that was called.

    " @@ -2357,6 +2517,10 @@ "shape":"ActionGroupInvocationInput", "documentation":"

    Contains information about the action group to be invoked.

    " }, + "agentCollaboratorInvocationInput":{ + "shape":"AgentCollaboratorInvocationInput", + "documentation":"

    The collaborator's invocation input.

    " + }, "codeInterpreterInvocationInput":{ "shape":"CodeInterpreterInvocationInput", "documentation":"

    Contains information about the code interpreter to be invoked.

    " @@ -2419,7 +2583,8 @@ "ACTION_GROUP", "KNOWLEDGE_BASE", "FINISH", - "ACTION_GROUP_CODE_INTERPRETER" + "ACTION_GROUP_CODE_INTERPRETER", + "AGENT_COLLABORATOR" ] }, "InvokeAgentRequest":{ @@ -2468,6 +2633,12 @@ "shape":"SessionState", "documentation":"

    Contains parameters that specify various attributes of the session. For more information, see Control session context.

    If you include returnControlInvocationResults in the sessionState field, the inputText field will be ignored.

    " }, + "sourceArn":{ + "shape":"AWSResourceARN", + "documentation":"

    The ARN of the resource making the request.

    ", + "location":"header", + "locationName":"x-amz-source-arn" + }, "streamingConfigurations":{ "shape":"StreamingConfigurations", "documentation":"

    Specifies the configurations for streaming.

    " @@ -2924,6 +3095,28 @@ "type":"string", "enum":["SESSION_SUMMARY"] }, + "Message":{ + "type":"structure", + "required":[ + "content", + "role" + ], + "members":{ + "content":{ + "shape":"ContentBlocks", + "documentation":"

    The message's content.

    " + }, + "role":{ + "shape":"ConversationRole", + "documentation":"

    The message's role.

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

    Details about a message.

    " + }, + "Messages":{ + "type":"list", + "member":{"shape":"Message"} + }, "Metadata":{ "type":"structure", "members":{ @@ -3002,6 +3195,10 @@ "ModelInvocationInput":{ "type":"structure", "members":{ + "foundationModel":{ + "shape":"ModelIdentifier", + "documentation":"

    The identifier of a foundation model.

    " + }, "inferenceConfiguration":{ "shape":"InferenceConfiguration", "documentation":"

    Specifications about the inference parameters that were provided alongside the prompt. These are specified in the PromptOverrideConfiguration object that was set when the agent was created or updated. For more information, see Inference parameters for foundation models.

    " @@ -3034,6 +3231,11 @@ "documentation":"

    The input for the pre-processing step.

    • The type matches the agent step.

    • The text contains the prompt.

    • The inferenceConfiguration, parserMode, and overrideLambda values are set in the PromptOverrideConfiguration object that was set when the agent was created or updated.

    ", "sensitive":true }, + "Name":{ + "type":"string", + "pattern":"^([0-9a-zA-Z][_-]?){1,100}$", + "sensitive":true + }, "NextToken":{ "type":"string", "max":2048, @@ -3075,6 +3277,10 @@ "shape":"ActionGroupInvocationOutput", "documentation":"

    Contains the JSON-formatted string returned by the API invoked by the action group.

    " }, + "agentCollaboratorInvocationOutput":{ + "shape":"AgentCollaboratorInvocationOutput", + "documentation":"

    A collaborator's invocation output.

    " + }, "codeInterpreterInvocationOutput":{ "shape":"CodeInterpreterInvocationOutput", "documentation":"

    Contains the JSON-formatted string returned by the API invoked by the code interpreter.

    " @@ -3392,6 +3598,13 @@ "event":true, "sensitive":true }, + "PayloadType":{ + "type":"string", + "enum":[ + "TEXT", + "RETURN_CONTROL" + ] + }, "PostProcessingModelInvocationOutput":{ "type":"structure", "members":{ @@ -4514,6 +4727,63 @@ "event":true, "sensitive":true }, + "ReturnControlResults":{ + "type":"structure", + "members":{ + "invocationId":{ + "shape":"String", + "documentation":"

    The action's invocation ID.

    " + }, + "returnControlInvocationResults":{ + "shape":"ReturnControlInvocationResults", + "documentation":"

    The action invocation result.

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

    An action invocation result.

    " + }, + "RoutingClassifierModelInvocationOutput":{ + "type":"structure", + "members":{ + "metadata":{ + "shape":"Metadata", + "documentation":"

    The invocation's metadata.

    " + }, + "rawResponse":{ + "shape":"RawResponse", + "documentation":"

    The invocation's raw response.

    " + }, + "traceId":{ + "shape":"TraceId", + "documentation":"

    The invocation's trace ID.

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

    Invocation output from a routing classifier model.

    ", + "sensitive":true + }, + "RoutingClassifierTrace":{ + "type":"structure", + "members":{ + "invocationInput":{ + "shape":"InvocationInput", + "documentation":"

    The classifier's invocation input.

    " + }, + "modelInvocationInput":{ + "shape":"ModelInvocationInput", + "documentation":"

    The classifier's model invocation input.

    " + }, + "modelInvocationOutput":{ + "shape":"RoutingClassifierModelInvocationOutput", + "documentation":"

    The classifier's model invocation output.

    " + }, + "observation":{ + "shape":"Observation", + "documentation":"

    The classifier's observation.

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

    A trace for a routing classifier.

    ", + "sensitive":true, + "union":true + }, "S3BucketName":{ "type":"string", "max":63, @@ -4601,6 +4871,10 @@ "SessionState":{ "type":"structure", "members":{ + "conversationHistory":{ + "shape":"ConversationHistory", + "documentation":"

    The state's conversation history.

    " + }, "files":{ "shape":"InputFiles", "documentation":"

    Contains information about the files used by code interpreter.

    " @@ -4814,6 +5088,10 @@ "preProcessingTrace":{ "shape":"PreProcessingTrace", "documentation":"

    Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.

    " + }, + "routingClassifierTrace":{ + "shape":"RoutingClassifierTrace", + "documentation":"

    A routing classifier's trace.

    " } }, "documentation":"

    Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.

    ", @@ -4844,6 +5122,14 @@ "shape":"AgentVersion", "documentation":"

    The version of the agent.

    " }, + "callerChain":{ + "shape":"CallerChain", + "documentation":"

    The part's caller chain.

    " + }, + "collaboratorName":{ + "shape":"Name", + "documentation":"

    The part's collaborator name.

    " + }, "sessionId":{ "shape":"SessionId", "documentation":"

    The unique identifier of the session with the agent.

    " @@ -4861,6 +5147,7 @@ "type":"string", "enum":[ "ACTION_GROUP", + "AGENT_COLLABORATOR", "KNOWLEDGE_BASE", "FINISH", "ASK_USER", diff --git a/tools/code-generation/api-descriptions/bedrock-runtime-2023-09-30.normal.json b/tools/code-generation/api-descriptions/bedrock-runtime-2023-09-30.normal.json index 5ef0e9202e1..a3f4d932c8a 100644 --- a/tools/code-generation/api-descriptions/bedrock-runtime-2023-09-30.normal.json +++ b/tools/code-generation/api-descriptions/bedrock-runtime-2023-09-30.normal.json @@ -30,7 +30,7 @@ {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"} ], - "documentation":"

    The action to apply a guardrail.

    " + "documentation":"

    The action to apply a guardrail.

    For troubleshooting some of the common errors you might encounter when using the ApplyGuardrail API, see Troubleshooting Amazon Bedrock API Error Codes in the Amazon Bedrock User Guide

    " }, "Converse":{ "name":"Converse", @@ -76,6 +76,23 @@ ], "documentation":"

    Sends messages to the specified Amazon Bedrock model and returns the response in a stream. ConverseStream provides a consistent API that works with all Amazon Bedrock models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model.

    To find out if a model supports streaming, call GetFoundationModel and check the responseStreamingSupported field in the response.

    The CLI doesn't support streaming operations in Amazon Bedrock, including ConverseStream.

    Amazon Bedrock doesn't store any text, images, or documents that you provide as content. The data is only used to generate the response.

    You can submit a prompt by including it in the messages field, specifying the modelId of a foundation model or inference profile to run inference on it, and including any other fields that are relevant to your use case.

    You can also submit a prompt from Prompt management by specifying the ARN of the prompt version and including a map of variables to values in the promptVariables field. You can append more messages to the prompt by using the messages field. If you use a prompt from Prompt management, you can't include the following fields in the request: additionalModelRequestFields, inferenceConfig, system, or toolConfig. Instead, these fields must be defined through Prompt management. For more information, see Use a prompt from Prompt management.

    For information about the Converse API, see Use the Converse API in the Amazon Bedrock User Guide. To use a guardrail, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. To use a tool with a model, see Tool use (Function calling) in the Amazon Bedrock User Guide

    For example code, see Conversation streaming example in the Amazon Bedrock User Guide.

    This operation requires permission for the bedrock:InvokeModelWithResponseStream action.

    To deny all inference access to resources that you specify in the modelId field, you need to deny access to the bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream actions. Doing this also denies access to the resource through the base inference actions (InvokeModel and InvokeModelWithResponseStream). For more information see Deny access for inference on specific models.

    For troubleshooting some of the common errors you might encounter when using the ConverseStream API, see Troubleshooting Amazon Bedrock API Error Codes in the Amazon Bedrock User Guide

    " }, + "GetAsyncInvoke":{ + "name":"GetAsyncInvoke", + "http":{ + "method":"GET", + "requestUri":"/async-invoke/{invocationArn}", + "responseCode":200 + }, + "input":{"shape":"GetAsyncInvokeRequest"}, + "output":{"shape":"GetAsyncInvokeResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Retrieve information about an asynchronous invocation.

    " + }, "InvokeModel":{ "name":"InvokeModel", "http":{ @@ -122,6 +139,45 @@ {"shape":"ModelErrorException"} ], "documentation":"

    Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream.

    To see if a model supports streaming, call GetFoundationModel and check the responseStreamingSupported field in the response.

    The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeModelWithResponseStream.

    For example code, see Invoke model with streaming code example in the Amazon Bedrock User Guide.

    This operation requires permissions to perform the bedrock:InvokeModelWithResponseStream action.

    To deny all inference access to resources that you specify in the modelId field, you need to deny access to the bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream actions. Doing this also denies access to the resource through the Converse API actions (Converse and ConverseStream). For more information see Deny access for inference on specific models.

    For troubleshooting some of the common errors you might encounter when using the InvokeModelWithResponseStream API, see Troubleshooting Amazon Bedrock API Error Codes in the Amazon Bedrock User Guide

    " + }, + "ListAsyncInvokes":{ + "name":"ListAsyncInvokes", + "http":{ + "method":"GET", + "requestUri":"/async-invoke", + "responseCode":200 + }, + "input":{"shape":"ListAsyncInvokesRequest"}, + "output":{"shape":"ListAsyncInvokesResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists asynchronous invocations.

    " + }, + "StartAsyncInvoke":{ + "name":"StartAsyncInvoke", + "http":{ + "method":"POST", + "requestUri":"/async-invoke", + "responseCode":200 + }, + "input":{"shape":"StartAsyncInvokeRequest"}, + "output":{"shape":"StartAsyncInvokeResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"} + ], + "documentation":"

    Starts an asynchronous invocation.

    This operation requires permission for the bedrock:InvokeModel action.

    To deny all inference access to resources that you specify in the modelId field, you need to deny access to the bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream actions. Doing this also denies access to the resource through the Converse API actions (Converse and ConverseStream). For more information see Deny access for inference on specific models.

    ", + "idempotent":true } }, "shapes":{ @@ -137,6 +193,10 @@ }, "exception":true }, + "AccountId":{ + "type":"string", + "pattern":"[0-9]{12}" + }, "AnyToolChoice":{ "type":"structure", "members":{ @@ -205,6 +265,120 @@ } } }, + "AsyncInvokeArn":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"arn:[a-z0-9\\-]+:bedrock:[a-z0-9\\-]*:[0-9]*:(provisioned-model|foundation-model)/.+" + }, + "AsyncInvokeIdempotencyToken":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[!-~]*" + }, + "AsyncInvokeIdentifier":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[a-zA-Z_\\.\\-/0-9:]+" + }, + "AsyncInvokeMessage":{ + "type":"string", + "max":2048, + "min":0, + "sensitive":true + }, + "AsyncInvokeOutputDataConfig":{ + "type":"structure", + "members":{ + "s3OutputDataConfig":{ + "shape":"AsyncInvokeS3OutputDataConfig", + "documentation":"

    A storage location for the output data in an S3 bucket

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

    Asynchronous invocation output data settings.

    ", + "union":true + }, + "AsyncInvokeS3OutputDataConfig":{ + "type":"structure", + "required":["s3Uri"], + "members":{ + "s3Uri":{ + "shape":"S3Uri", + "documentation":"

    An object URI starting with s3://.

    " + }, + "kmsKeyId":{ + "shape":"KmsKeyId", + "documentation":"

    A KMS encryption key ID.

    " + }, + "bucketOwner":{ + "shape":"AccountId", + "documentation":"

    If the bucket belongs to another AWS account, specify that account's ID.

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

    Asynchronous invocation output data settings.

    " + }, + "AsyncInvokeStatus":{ + "type":"string", + "enum":[ + "InProgress", + "Completed", + "Failed" + ] + }, + "AsyncInvokeSummaries":{ + "type":"list", + "member":{"shape":"AsyncInvokeSummary"} + }, + "AsyncInvokeSummary":{ + "type":"structure", + "required":[ + "invocationArn", + "modelArn", + "submitTime", + "outputDataConfig" + ], + "members":{ + "invocationArn":{ + "shape":"InvocationArn", + "documentation":"

    The invocation's ARN.

    " + }, + "modelArn":{ + "shape":"AsyncInvokeArn", + "documentation":"

    The invoked model's ARN.

    " + }, + "clientRequestToken":{ + "shape":"AsyncInvokeIdempotencyToken", + "documentation":"

    The invocation's idempotency token.

    " + }, + "status":{ + "shape":"AsyncInvokeStatus", + "documentation":"

    The invocation's status.

    " + }, + "failureMessage":{ + "shape":"AsyncInvokeMessage", + "documentation":"

    An error message.

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

    When the invocation was submitted.

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

    When the invocation was last modified.

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

    When the invocation ended.

    " + }, + "outputDataConfig":{ + "shape":"AsyncInvokeOutputDataConfig", + "documentation":"

    The invocation's output data settings.

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

    A summary of an asynchronous invocation.

    " + }, "AutoToolChoice":{ "type":"structure", "members":{ @@ -217,6 +391,18 @@ "min":0, "sensitive":true }, + "ConflictException":{ + "type":"structure", + "members":{ + "message":{"shape":"NonBlankString"} + }, + "documentation":"

    Error occurred because of a conflict while performing an operation.

    ", + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, "ContentBlock":{ "type":"structure", "members":{ @@ -232,6 +418,10 @@ "shape":"DocumentBlock", "documentation":"

    A document to include in the message.

    " }, + "video":{ + "shape":"VideoBlock", + "documentation":"

    Video to include in the message.

    " + }, "toolUse":{ "shape":"ToolUseBlock", "documentation":"

    Information about a tool use request from a model.

    " @@ -387,7 +577,7 @@ }, "toolConfig":{ "shape":"ToolConfiguration", - "documentation":"

    Configuration information for the tools that the model can use when generating a response.

    This field is only supported by Anthropic Claude 3, Cohere Command R, Cohere Command R+, and Mistral Large models.

    " + "documentation":"

    Configuration information for the tools that the model can use when generating a response.

    For information about models that support tool use, see Supported models and model features.

    " }, "guardrailConfig":{ "shape":"GuardrailConfiguration", @@ -405,6 +595,10 @@ "shape":"ConverseRequestAdditionalModelResponseFieldPathsList", "documentation":"

    Additional model parameters field paths to return in the response. Converse and ConverseStream return the requested fields as a JSON Pointer object in the additionalModelResponseFields field. The following is example JSON for additionalModelResponseFieldPaths.

    [ \"/stop_sequence\" ]

    For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation.

    Converse and ConverseStream reject an empty JSON Pointer or incorrectly structured JSON Pointer with a 400 error code. if the JSON Pointer is valid, but the requested field is not in the model response, it is ignored by Converse.

    " }, + "requestMetadata":{ + "shape":"RequestMetadata", + "documentation":"

    Key-value pairs that you can use to filter invocation logs.

    " + }, "performanceConfig":{ "shape":"PerformanceConfiguration", "documentation":"

    Model performance settings for the request.

    " @@ -536,11 +730,11 @@ }, "validationException":{ "shape":"ValidationException", - "documentation":"

    Input validation failed. Check your request parameters and retry the request.

    " + "documentation":"

    The input fails to satisfy the constraints specified by Amazon Bedrock. For troubleshooting this error, see ValidationError in the Amazon Bedrock User Guide

    " }, "throttlingException":{ "shape":"ThrottlingException", - "documentation":"

    The number of requests exceeds the limit. Resubmit your request later.

    " + "documentation":"

    Your request was denied due to exceeding the account quotas for Amazon Bedrock. For troubleshooting this error, see ThrottlingException in the Amazon Bedrock User Guide

    " }, "serviceUnavailableException":{ "shape":"ServiceUnavailableException", @@ -574,7 +768,7 @@ }, "toolConfig":{ "shape":"ToolConfiguration", - "documentation":"

    Configuration information for the tools that the model can use when generating a response.

    This field is only supported by Anthropic Claude 3 models.

    " + "documentation":"

    Configuration information for the tools that the model can use when generating a response.

    For information about models that support streaming tool use, see Supported models and model features.

    " }, "guardrailConfig":{ "shape":"GuardrailStreamConfiguration", @@ -592,6 +786,10 @@ "shape":"ConverseStreamRequestAdditionalModelResponseFieldPathsList", "documentation":"

    Additional model parameters field paths to return in the response. Converse and ConverseStream return the requested fields as a JSON Pointer object in the additionalModelResponseFields field. The following is example JSON for additionalModelResponseFieldPaths.

    [ \"/stop_sequence\" ]

    For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation.

    Converse and ConverseStream reject an empty JSON Pointer or incorrectly structured JSON Pointer with a 400 error code. if the JSON Pointer is valid, but the requested field is not in the model response, it is ignored by Converse.

    " }, + "requestMetadata":{ + "shape":"RequestMetadata", + "documentation":"

    Key-value pairs that you can use to filter invocation logs.

    " + }, "performanceConfig":{ "shape":"PerformanceConfiguration", "documentation":"

    Model performance settings for the request.

    " @@ -702,6 +900,66 @@ "type":"blob", "min":1 }, + "GetAsyncInvokeRequest":{ + "type":"structure", + "required":["invocationArn"], + "members":{ + "invocationArn":{ + "shape":"InvocationArn", + "documentation":"

    The invocation's ARN.

    ", + "location":"uri", + "locationName":"invocationArn" + } + } + }, + "GetAsyncInvokeResponse":{ + "type":"structure", + "required":[ + "invocationArn", + "modelArn", + "status", + "submitTime", + "outputDataConfig" + ], + "members":{ + "invocationArn":{ + "shape":"InvocationArn", + "documentation":"

    The invocation's ARN.

    " + }, + "modelArn":{ + "shape":"AsyncInvokeArn", + "documentation":"

    The invocation's model ARN.

    " + }, + "clientRequestToken":{ + "shape":"AsyncInvokeIdempotencyToken", + "documentation":"

    The invocation's idempotency token.

    " + }, + "status":{ + "shape":"AsyncInvokeStatus", + "documentation":"

    The invocation's status.

    " + }, + "failureMessage":{ + "shape":"AsyncInvokeMessage", + "documentation":"

    An error message.

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

    When the invocation request was submitted.

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

    The invocation's last modified time.

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

    When the invocation ended.

    " + }, + "outputDataConfig":{ + "shape":"AsyncInvokeOutputDataConfig", + "documentation":"

    Output data settings.

    " + } + } + }, "GuardrailAction":{ "type":"string", "enum":[ @@ -1529,6 +1787,12 @@ "exception":true, "fault":true }, + "InvocationArn":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:async-invoke/[a-z0-9]{12}" + }, "InvokeModelIdentifier":{ "type":"string", "max":2048, @@ -1693,10 +1957,82 @@ }, "payload":"body" }, + "KmsKeyId":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"arn:aws(-[^:]+)?:kms:[a-zA-Z0-9-]*:[0-9]{12}:((key/[a-zA-Z0-9-]{36})|(alias/[a-zA-Z0-9-_/]+))" + }, + "ListAsyncInvokesRequest":{ + "type":"structure", + "members":{ + "submitTimeAfter":{ + "shape":"Timestamp", + "documentation":"

    Include invocations submitted after this time.

    ", + "location":"querystring", + "locationName":"submitTimeAfter" + }, + "submitTimeBefore":{ + "shape":"Timestamp", + "documentation":"

    Include invocations submitted before this time.

    ", + "location":"querystring", + "locationName":"submitTimeBefore" + }, + "statusEquals":{ + "shape":"AsyncInvokeStatus", + "documentation":"

    Filter invocations by status.

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

    The maximum number of invocations to return in one page of results.

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

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

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

    How to sort the response.

    ", + "location":"querystring", + "locationName":"sortBy" + }, + "sortOrder":{ + "shape":"SortOrder", + "documentation":"

    The sorting order for the response.

    ", + "location":"querystring", + "locationName":"sortOrder" + } + } + }, + "ListAsyncInvokesResponse":{ + "type":"structure", + "members":{ + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

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

    " + }, + "asyncInvokeSummaries":{ + "shape":"AsyncInvokeSummaries", + "documentation":"

    A list of invocation summaries.

    " + } + } + }, "Long":{ "type":"long", "box":true }, + "MaxResults":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, "Message":{ "type":"structure", "required":[ @@ -1768,6 +2104,13 @@ }, "exception":true }, + "ModelInputPayload":{ + "type":"structure", + "members":{ + }, + "document":true, + "sensitive":true + }, "ModelNotReadyException":{ "type":"structure", "members":{ @@ -1830,6 +2173,12 @@ "box":true, "min":0 }, + "PaginationToken":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"\\S*" + }, "PartBody":{ "type":"blob", "max":1000000, @@ -1882,6 +2231,26 @@ "documentation":"

    Contains a map of variables in a prompt from Prompt management to an object containing the values to fill in for them when running model invocation. For more information, see How Prompt management works.

    ", "union":true }, + "RequestMetadata":{ + "type":"map", + "key":{"shape":"RequestMetadataKeyString"}, + "value":{"shape":"RequestMetadataValueString"}, + "max":16, + "min":1, + "sensitive":true + }, + "RequestMetadataKeyString":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[a-zA-Z0-9\\s:_@$#=/+,-.]{1,256}" + }, + "RequestMetadataValueString":{ + "type":"string", + "max":256, + "min":0, + "pattern":"[a-zA-Z0-9\\s:_@$#=/+,-.]{0,256}" + }, "ResourceNotFoundException":{ "type":"structure", "members":{ @@ -1929,6 +2298,27 @@ "documentation":"

    Definition of content in the response stream.

    ", "eventstream":true }, + "S3Location":{ + "type":"structure", + "required":["uri"], + "members":{ + "uri":{ + "shape":"S3Uri", + "documentation":"

    An object URI starting with s3://.

    " + }, + "bucketOwner":{ + "shape":"AccountId", + "documentation":"

    If the bucket belongs to another AWS account, specify that account's ID.

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

    A storage location in an S3 bucket.

    " + }, + "S3Uri":{ + "type":"string", + "max":1024, + "min":1, + "pattern":"s3://[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9](/.*)?" + }, "ServiceQuotaExceededException":{ "type":"structure", "members":{ @@ -1951,6 +2341,17 @@ "exception":true, "fault":true }, + "SortAsyncInvocationBy":{ + "type":"string", + "enum":["SubmissionTime"] + }, + "SortOrder":{ + "type":"string", + "enum":[ + "Ascending", + "Descending" + ] + }, "SpecificToolChoice":{ "type":"structure", "required":["name"], @@ -1962,6 +2363,47 @@ }, "documentation":"

    The model must request a specific tool. For example, {\"tool\" : {\"name\" : \"Your tool name\"}}.

    This field is only supported by Anthropic Claude 3 models.

    " }, + "StartAsyncInvokeRequest":{ + "type":"structure", + "required":[ + "modelId", + "modelInput", + "outputDataConfig" + ], + "members":{ + "clientRequestToken":{ + "shape":"AsyncInvokeIdempotencyToken", + "documentation":"

    Specify idempotency token to ensure that requests are not duplicated.

    ", + "idempotencyToken":true + }, + "modelId":{ + "shape":"AsyncInvokeIdentifier", + "documentation":"

    The model to invoke.

    " + }, + "modelInput":{ + "shape":"ModelInputPayload", + "documentation":"

    Input to send to the model.

    " + }, + "outputDataConfig":{ + "shape":"AsyncInvokeOutputDataConfig", + "documentation":"

    Where to store the output.

    " + }, + "tags":{ + "shape":"TagList", + "documentation":"

    Tags to apply to the invocation.

    " + } + } + }, + "StartAsyncInvokeResponse":{ + "type":"structure", + "required":["invocationArn"], + "members":{ + "invocationArn":{ + "shape":"InvocationArn", + "documentation":"

    The ARN of the invocation.

    " + } + } + }, "StatusCode":{ "type":"integer", "box":true, @@ -1999,6 +2441,42 @@ "type":"list", "member":{"shape":"SystemContentBlock"} }, + "Tag":{ + "type":"structure", + "required":[ + "key", + "value" + ], + "members":{ + "key":{ + "shape":"TagKey", + "documentation":"

    The tag's key.

    " + }, + "value":{ + "shape":"TagValue", + "documentation":"

    The tag's value.

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

    A tag.

    " + }, + "TagKey":{ + "type":"string", + "max":128, + "min":1, + "pattern":"[a-zA-Z0-9\\s._:/=+@-]*" + }, + "TagList":{ + "type":"list", + "member":{"shape":"Tag"}, + "max":200, + "min":0 + }, + "TagValue":{ + "type":"string", + "max":256, + "min":0, + "pattern":"[a-zA-Z0-9\\s._:/=+@-]*" + }, "TextCharactersGuarded":{ "type":"integer", "box":true @@ -2019,6 +2497,10 @@ }, "exception":true }, + "Timestamp":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, "TokenUsage":{ "type":"structure", "required":[ @@ -2100,7 +2582,7 @@ "documentation":"

    If supported by model, forces the model to request a tool.

    " } }, - "documentation":"

    Configuration information for the tools that you pass to a model. For more information, see Tool use (function calling) in the Amazon Bedrock User Guide.

    This field is only supported by Anthropic Claude 3, Cohere Command R, Cohere Command R+, and Mistral Large models.

    " + "documentation":"

    Configuration information for the tools that you pass to a model. For more information, see Tool use (function calling) in the Amazon Bedrock User Guide.

    " }, "ToolConfigurationToolsList":{ "type":"list", @@ -2164,6 +2646,10 @@ "document":{ "shape":"DocumentBlock", "documentation":"

    A tool result that is a document.

    " + }, + "video":{ + "shape":"VideoBlock", + "documentation":"

    A tool result that is video.

    " } }, "documentation":"

    The tool result content block.

    ", @@ -2278,6 +2764,57 @@ "senderFault":true }, "exception":true + }, + "VideoBlock":{ + "type":"structure", + "required":[ + "format", + "source" + ], + "members":{ + "format":{ + "shape":"VideoFormat", + "documentation":"

    The block's format.

    " + }, + "source":{ + "shape":"VideoSource", + "documentation":"

    The block's source.

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

    A video block.

    " + }, + "VideoFormat":{ + "type":"string", + "enum":[ + "mkv", + "mov", + "mp4", + "webm", + "flv", + "mpeg", + "mpg", + "wmv", + "three_gp" + ] + }, + "VideoSource":{ + "type":"structure", + "members":{ + "bytes":{ + "shape":"VideoSourceBytesBlob", + "documentation":"

    Video content encoded in base64.

    " + }, + "s3Location":{ + "shape":"S3Location", + "documentation":"

    The location of a video object in an S3 bucket.

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

    A video source. You can upload a smaller video as a base64-encoded string as long as the encoded file is less than 25MB. You can also transfer videos up to 1GB in size from an S3 bucket.

    ", + "union":true + }, + "VideoSourceBytesBlob":{ + "type":"blob", + "min":1 } }, "documentation":"

    Describes the API operations for running inference using Amazon Bedrock models.

    " diff --git a/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json b/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json index 461a935b903..19585b79aad 100644 --- a/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json +++ b/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json @@ -243,6 +243,28 @@ ], "documentation":"

    Creates a custom asset type.

    " }, + "CreateConnection":{ + "name":"CreateConnection", + "http":{ + "method":"POST", + "requestUri":"/v2/domains/{domainIdentifier}/connections", + "responseCode":201 + }, + "input":{"shape":"CreateConnectionInput"}, + "output":{"shape":"CreateConnectionOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Creates a new connection. In Amazon DataZone, a connection enables you to connect your resources (domains, projects, and environments) to external resources and services.

    ", + "idempotent":true + }, "CreateDataProduct":{ "name":"CreateDataProduct", "http":{ @@ -556,6 +578,27 @@ ], "documentation":"

    Creates a project membership in Amazon DataZone.

    " }, + "CreateProjectProfile":{ + "name":"CreateProjectProfile", + "http":{ + "method":"POST", + "requestUri":"/v2/domains/{domainIdentifier}/project-profiles", + "responseCode":201 + }, + "input":{"shape":"CreateProjectProfileInput"}, + "output":{"shape":"CreateProjectProfileOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Creates a project profile.

    " + }, "CreateRule":{ "name":"CreateRule", "http":{ @@ -719,6 +762,26 @@ ], "documentation":"

    Deletes an asset type in Amazon DataZone.

    " }, + "DeleteConnection":{ + "name":"DeleteConnection", + "http":{ + "method":"DELETE", + "requestUri":"/v2/domains/{domainIdentifier}/connections/{identifier}", + "responseCode":202 + }, + "input":{"shape":"DeleteConnectionInput"}, + "output":{"shape":"DeleteConnectionOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Deletes and connection. In Amazon DataZone, a connection enables you to connect your resources (domains, projects, and environments) to external resources and services.

    ", + "idempotent":true + }, "DeleteDataProduct":{ "name":"DeleteDataProduct", "http":{ @@ -1005,6 +1068,26 @@ "documentation":"

    Deletes project membership in Amazon DataZone.

    ", "idempotent":true }, + "DeleteProjectProfile":{ + "name":"DeleteProjectProfile", + "http":{ + "method":"DELETE", + "requestUri":"/v2/domains/{domainIdentifier}/project-profiles/{identifier}", + "responseCode":204 + }, + "input":{"shape":"DeleteProjectProfileInput"}, + "output":{"shape":"DeleteProjectProfileOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Deletes a project profile.

    ", + "idempotent":true + }, "DeleteRule":{ "name":"DeleteRule", "http":{ @@ -1181,6 +1264,25 @@ ], "documentation":"

    Gets an Amazon DataZone asset type.

    " }, + "GetConnection":{ + "name":"GetConnection", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/connections/{identifier}", + "responseCode":200 + }, + "input":{"shape":"GetConnectionInput"}, + "output":{"shape":"GetConnectionOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Gets a connection. In Amazon DataZone, a connection enables you to connect your resources (domains, projects, and environments) to external resources and services.

    " + }, "GetDataProduct":{ "name":"GetDataProduct", "http":{ @@ -1491,6 +1593,44 @@ ], "documentation":"

    Gets the data portal URL for the specified Amazon DataZone domain.

    " }, + "GetJobRun":{ + "name":"GetJobRun", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/jobRuns/{identifier}", + "responseCode":200 + }, + "input":{"shape":"GetJobRunInput"}, + "output":{"shape":"GetJobRunOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    The details of the job run.

    " + }, + "GetLineageEvent":{ + "name":"GetLineageEvent", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/lineage/events/{identifier}", + "responseCode":200 + }, + "input":{"shape":"GetLineageEventInput"}, + "output":{"shape":"GetLineageEventOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Describes the lineage event.

    " + }, "GetLineageNode":{ "name":"GetLineageNode", "http":{ @@ -1567,6 +1707,25 @@ ], "documentation":"

    Gets a project in Amazon DataZone.

    " }, + "GetProjectProfile":{ + "name":"GetProjectProfile", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/project-profiles/{identifier}", + "responseCode":200 + }, + "input":{"shape":"GetProjectProfileInput"}, + "output":{"shape":"GetProjectProfileOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    The details of the project profile.

    " + }, "GetRule":{ "name":"GetRule", "http":{ @@ -1738,6 +1897,24 @@ ], "documentation":"

    Lists the revisions for the asset.

    " }, + "ListConnections":{ + "name":"ListConnections", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/connections", + "responseCode":200 + }, + "input":{"shape":"ListConnectionsInput"}, + "output":{"shape":"ListConnectionsOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Lists connections. In Amazon DataZone, a connection enables you to connect your resources (domains, projects, and environments) to external resources and services.

    " + }, "ListDataProductRevisions":{ "name":"ListDataProductRevisions", "http":{ @@ -1969,6 +2146,43 @@ ], "documentation":"

    Lists Amazon DataZone environments.

    " }, + "ListJobRuns":{ + "name":"ListJobRuns", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/jobs/{jobIdentifier}/runs", + "responseCode":200 + }, + "input":{"shape":"ListJobRunsInput"}, + "output":{"shape":"ListJobRunsOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Lists job runs.

    " + }, + "ListLineageEvents":{ + "name":"ListLineageEvents", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/lineage/events", + "responseCode":200 + }, + "input":{"shape":"ListLineageEventsInput"}, + "output":{"shape":"ListLineageEventsOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Lists lineage events.

    " + }, "ListLineageNodeHistory":{ "name":"ListLineageNodeHistory", "http":{ @@ -2063,6 +2277,24 @@ ], "documentation":"

    Lists all members of the specified project.

    " }, + "ListProjectProfiles":{ + "name":"ListProjectProfiles", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/project-profiles", + "responseCode":200 + }, + "input":{"shape":"ListProjectProfilesInput"}, + "output":{"shape":"ListProjectProfilesOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Lists project profiles.

    " + }, "ListProjects":{ "name":"ListProjects", "http":{ @@ -2576,6 +2808,28 @@ "documentation":"

    Updates an asset filter.

    ", "idempotent":true }, + "UpdateConnection":{ + "name":"UpdateConnection", + "http":{ + "method":"PATCH", + "requestUri":"/v2/domains/{domainIdentifier}/connections/{identifier}", + "responseCode":200 + }, + "input":{"shape":"UpdateConnectionInput"}, + "output":{"shape":"UpdateConnectionOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Updates a connection. In Amazon DataZone, a connection enables you to connect your resources (domains, projects, and environments) to external resources and services.

    ", + "idempotent":true + }, "UpdateDataSource":{ "name":"UpdateDataSource", "http":{ @@ -2785,6 +3039,28 @@ "documentation":"

    Updates the specified project in Amazon DataZone.

    ", "idempotent":true }, + "UpdateProjectProfile":{ + "name":"UpdateProjectProfile", + "http":{ + "method":"PATCH", + "requestUri":"/v2/domains/{domainIdentifier}/project-profiles/{identifier}", + "responseCode":200 + }, + "input":{"shape":"UpdateProjectProfileInput"}, + "output":{"shape":"UpdateProjectProfileOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Updates a project profile.

    ", + "idempotent":true + }, "UpdateRule":{ "name":"UpdateRule", "http":{ @@ -3803,6 +4079,51 @@ "members":{ } }, + "AthenaPropertiesInput":{ + "type":"structure", + "members":{ + "workgroupName":{ + "shape":"AthenaPropertiesInputWorkgroupNameString", + "documentation":"

    The Amazon Athena workgroup name of a connection.

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

    The Amazon Athena properties of a connection.

    " + }, + "AthenaPropertiesInputWorkgroupNameString":{ + "type":"string", + "max":64, + "min":0 + }, + "AthenaPropertiesOutput":{ + "type":"structure", + "members":{ + "workgroupName":{ + "shape":"AthenaPropertiesOutputWorkgroupNameString", + "documentation":"

    The Amazon Athena workgroup name of a connection.

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

    The Amazon Athena properties of a connection.

    " + }, + "AthenaPropertiesOutputWorkgroupNameString":{ + "type":"string", + "max":64, + "min":0 + }, + "AthenaPropertiesPatch":{ + "type":"structure", + "members":{ + "workgroupName":{ + "shape":"AthenaPropertiesPatchWorkgroupNameString", + "documentation":"

    The Amazon Athena workgroup name of a connection.

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

    The Amazon Athena properties patch of a connection.

    " + }, + "AthenaPropertiesPatchWorkgroupNameString":{ + "type":"string", + "max":64, + "min":0 + }, "Attribute":{ "type":"string", "max":128, @@ -3815,34 +4136,212 @@ "DISABLED" ] }, - "AuthorizedPrincipalIdentifier":{ - "type":"string", - "pattern":"^[a-zA-Z0-9:/._-]*$" + "AuthenticationConfiguration":{ + "type":"structure", + "members":{ + "authenticationType":{ + "shape":"AuthenticationType", + "documentation":"

    The authentication type of a connection.

    " + }, + "oAuth2Properties":{ + "shape":"OAuth2Properties", + "documentation":"

    The oAuth2 properties of a connection.

    " + }, + "secretArn":{ + "shape":"AuthenticationConfigurationSecretArnString", + "documentation":"

    The secret ARN of a connection.

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

    The authentication configuration of a connection.

    " }, - "AuthorizedPrincipalIdentifiers":{ - "type":"list", - "member":{"shape":"AuthorizedPrincipalIdentifier"}, - "max":10, - "min":1 + "AuthenticationConfigurationInput":{ + "type":"structure", + "members":{ + "authenticationType":{ + "shape":"AuthenticationType", + "documentation":"

    The authentication type of a connection.

    " + }, + "basicAuthenticationCredentials":{ + "shape":"BasicAuthenticationCredentials", + "documentation":"

    The basic authentication credentials of a connection.

    " + }, + "customAuthenticationCredentials":{ + "shape":"CredentialMap", + "documentation":"

    The custom authentication credentials of a connection.

    " + }, + "kmsKeyArn":{ + "shape":"AuthenticationConfigurationInputKmsKeyArnString", + "documentation":"

    The KMS key ARN of a connection.

    " + }, + "oAuth2Properties":{ + "shape":"OAuth2Properties", + "documentation":"

    The oAuth2 properties of a connection.

    " + }, + "secretArn":{ + "shape":"AuthenticationConfigurationInputSecretArnString", + "documentation":"

    The secret ARN of a connection.

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

    The authentication configuration of a connection.

    " }, - "AwsAccountId":{ + "AuthenticationConfigurationInputKmsKeyArnString":{ "type":"string", - "pattern":"^\\d{12}$" + "pattern":"^$|arn:aws[a-z0-9-]*:kms:.*$" }, - "AwsConsoleLinkParameters":{ + "AuthenticationConfigurationInputSecretArnString":{ + "type":"string", + "pattern":"^arn:aws(-(cn|us-gov|iso(-[bef])?))?:secretsmanager:.*$" + }, + "AuthenticationConfigurationPatch":{ "type":"structure", "members":{ - "uri":{ - "shape":"String", - "documentation":"

    The URI of the console link specified as part of the environment action.

    " + "basicAuthenticationCredentials":{ + "shape":"BasicAuthenticationCredentials", + "documentation":"

    The basic authentication credentials of a connection.

    " + }, + "secretArn":{ + "shape":"AuthenticationConfigurationPatchSecretArnString", + "documentation":"

    The secret ARN of a connection.

    " } }, - "documentation":"

    The parameters of the console link specified as part of the environment action.

    " + "documentation":"

    The authentication configuration patch of a connection.

    " + }, + "AuthenticationConfigurationPatchSecretArnString":{ + "type":"string", + "pattern":"^arn:aws(-(cn|us-gov|iso(-[bef])?))?:secretsmanager:.*$" + }, + "AuthenticationConfigurationSecretArnString":{ + "type":"string", + "pattern":"^arn:aws(-(cn|us-gov|iso(-[bef])?))?:secretsmanager:.*$" + }, + "AuthenticationType":{ + "type":"string", + "enum":[ + "BASIC", + "OAUTH2", + "CUSTOM" + ] + }, + "AuthorizationCodeProperties":{ + "type":"structure", + "members":{ + "authorizationCode":{ + "shape":"AuthorizationCodePropertiesAuthorizationCodeString", + "documentation":"

    The authorization code of a connection.

    " + }, + "redirectUri":{ + "shape":"AuthorizationCodePropertiesRedirectUriString", + "documentation":"

    The redirect URI of a connection.

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

    The authorization code properties of a connection.

    " + }, + "AuthorizationCodePropertiesAuthorizationCodeString":{ + "type":"string", + "max":4096, + "min":1 + }, + "AuthorizationCodePropertiesRedirectUriString":{ + "type":"string", + "max":512, + "min":0 + }, + "AuthorizedPrincipalIdentifier":{ + "type":"string", + "pattern":"^[a-zA-Z0-9:/._-]*$" + }, + "AuthorizedPrincipalIdentifiers":{ + "type":"list", + "member":{"shape":"AuthorizedPrincipalIdentifier"}, + "max":10, + "min":1 + }, + "AwsAccount":{ + "type":"structure", + "members":{ + "awsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

    The account ID of a project.

    " + }, + "awsAccountIdPath":{ + "shape":"ParameterStorePath", + "documentation":"

    The account ID path of a project.

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

    The account ID of a project.

    ", + "union":true + }, + "AwsAccountId":{ + "type":"string", + "pattern":"^\\d{12}$" + }, + "AwsConsoleLinkParameters":{ + "type":"structure", + "members":{ + "uri":{ + "shape":"String", + "documentation":"

    The URI of the console link specified as part of the environment action.

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

    The parameters of the console link specified as part of the environment action.

    " + }, + "AwsLocation":{ + "type":"structure", + "members":{ + "accessRole":{ + "shape":"AwsLocationAccessRoleString", + "documentation":"

    The access role of a connection.

    " + }, + "awsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

    The account ID of a connection.

    " + }, + "awsRegion":{ + "shape":"AwsRegion", + "documentation":"

    The Region of a connection.

    " + }, + "iamConnectionId":{ + "shape":"ConnectionId", + "documentation":"

    The IAM connection ID of a connection.

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

    The location of a project.

    " + }, + "AwsLocationAccessRoleString":{ + "type":"string", + "pattern":"^arn:aws[^:]*:iam::\\d{12}:(role|role/service-role)/[\\w+=,.@-]*$" }, "AwsRegion":{ "type":"string", "pattern":"^[a-z]{2}-[a-z]{4,10}-\\d$" }, + "BasicAuthenticationCredentials":{ + "type":"structure", + "members":{ + "password":{ + "shape":"BasicAuthenticationCredentialsPasswordString", + "documentation":"

    The password for a connection.

    " + }, + "userName":{ + "shape":"BasicAuthenticationCredentialsUserNameString", + "documentation":"

    The user name for the connecion.

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

    The basic authentication credentials of a connection.

    ", + "sensitive":true + }, + "BasicAuthenticationCredentialsPasswordString":{ + "type":"string", + "max":512, + "min":0, + "pattern":"^.*$" + }, + "BasicAuthenticationCredentialsUserNameString":{ + "type":"string", + "max":512, + "min":0, + "pattern":"^\\S+$" + }, "Boolean":{ "type":"boolean", "box":true @@ -4001,6 +4500,20 @@ "type":"list", "member":{"shape":"String"} }, + "ComputeEnvironments":{ + "type":"string", + "enum":[ + "SPARK", + "ATHENA", + "PYTHON" + ] + }, + "ComputeEnvironmentsList":{ + "type":"list", + "member":{"shape":"ComputeEnvironments"}, + "max":50, + "min":1 + }, "ConfigurableActionParameter":{ "type":"structure", "members":{ @@ -4061,6 +4574,237 @@ }, "exception":true }, + "ConnectionCredentials":{ + "type":"structure", + "members":{ + "accessKeyId":{ + "shape":"String", + "documentation":"

    The access key ID of a connection.

    " + }, + "expiration":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The expiration of the connection credentials.

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

    The secret access key of a connection.

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

    The session token of a connection credentials.

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

    The credentials of a connection.

    ", + "sensitive":true + }, + "ConnectionId":{ + "type":"string", + "max":128, + "min":0 + }, + "ConnectionName":{ + "type":"string", + "max":64, + "min":0 + }, + "ConnectionProperties":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"ConnectionPropertiesValueString"} + }, + "ConnectionPropertiesInput":{ + "type":"structure", + "members":{ + "athenaProperties":{ + "shape":"AthenaPropertiesInput", + "documentation":"

    The Amazon Athena properties of a connection.

    " + }, + "glueProperties":{ + "shape":"GluePropertiesInput", + "documentation":"

    The Amazon Web Services Glue properties of a connection.

    " + }, + "hyperPodProperties":{ + "shape":"HyperPodPropertiesInput", + "documentation":"

    The hyper pod properties of a connection.

    " + }, + "iamProperties":{ + "shape":"IamPropertiesInput", + "documentation":"

    The IAM properties of a connection.

    " + }, + "redshiftProperties":{ + "shape":"RedshiftPropertiesInput", + "documentation":"

    The Amazon Redshift properties of a connection.

    " + }, + "sparkEmrProperties":{ + "shape":"SparkEmrPropertiesInput", + "documentation":"

    The Spark EMR properties of a connection.

    " + }, + "sparkGlueProperties":{ + "shape":"SparkGluePropertiesInput", + "documentation":"

    The Spark Amazon Web Services Glue properties of a connection.

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

    The properties of a connection.

    ", + "union":true + }, + "ConnectionPropertiesOutput":{ + "type":"structure", + "members":{ + "athenaProperties":{ + "shape":"AthenaPropertiesOutput", + "documentation":"

    The Amazon Athena properties of a connection.

    " + }, + "glueProperties":{ + "shape":"GluePropertiesOutput", + "documentation":"

    The Amazon Web Services Glue properties of a connection.

    " + }, + "hyperPodProperties":{ + "shape":"HyperPodPropertiesOutput", + "documentation":"

    The hyper pod properties of a connection.

    " + }, + "iamProperties":{ + "shape":"IamPropertiesOutput", + "documentation":"

    The IAM properties of a connection.

    " + }, + "redshiftProperties":{ + "shape":"RedshiftPropertiesOutput", + "documentation":"

    The Amazon Redshift properties of a connection.

    " + }, + "sparkEmrProperties":{ + "shape":"SparkEmrPropertiesOutput", + "documentation":"

    The Spark EMR properties of a connection.

    " + }, + "sparkGlueProperties":{ + "shape":"SparkGluePropertiesOutput", + "documentation":"

    The Spark Amazon Web Services Glue properties of a connection.

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

    The properties of a connection.

    ", + "union":true + }, + "ConnectionPropertiesPatch":{ + "type":"structure", + "members":{ + "athenaProperties":{ + "shape":"AthenaPropertiesPatch", + "documentation":"

    The Amazon Athena properties of a connection properties patch.

    " + }, + "glueProperties":{ + "shape":"GluePropertiesPatch", + "documentation":"

    The Amazon Web Services Glue properties of a connection properties patch.

    " + }, + "iamProperties":{ + "shape":"IamPropertiesPatch", + "documentation":"

    The IAM properties of a connection properties patch.

    " + }, + "redshiftProperties":{ + "shape":"RedshiftPropertiesPatch", + "documentation":"

    The Amazon Redshift properties of a connection properties patch.

    " + }, + "sparkEmrProperties":{ + "shape":"SparkEmrPropertiesPatch", + "documentation":"

    The Spark EMR properties of a connection properties patch.

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

    The connection properties patch.

    ", + "union":true + }, + "ConnectionPropertiesValueString":{ + "type":"string", + "max":2048, + "min":1 + }, + "ConnectionStatus":{ + "type":"string", + "enum":[ + "CREATING", + "CREATE_FAILED", + "DELETING", + "DELETE_FAILED", + "READY", + "UPDATING", + "UPDATE_FAILED", + "DELETED" + ] + }, + "ConnectionSummaries":{ + "type":"list", + "member":{"shape":"ConnectionSummary"} + }, + "ConnectionSummary":{ + "type":"structure", + "required":[ + "connectionId", + "domainId", + "domainUnitId", + "name", + "physicalEndpoints", + "type" + ], + "members":{ + "connectionId":{ + "shape":"ConnectionId", + "documentation":"

    The ID of a connection.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The domain ID of a connection.

    " + }, + "domainUnitId":{ + "shape":"DomainUnitId", + "documentation":"

    The domain unit ID of a connection.

    " + }, + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The environment ID of a connection.

    " + }, + "name":{ + "shape":"ConnectionName", + "documentation":"

    The connection name.

    " + }, + "physicalEndpoints":{ + "shape":"PhysicalEndpoints", + "documentation":"

    The connection physical endpoints.

    " + }, + "projectId":{ + "shape":"ProjectId", + "documentation":"

    The connection project ID.

    " + }, + "props":{ + "shape":"ConnectionPropertiesOutput", + "documentation":"

    The connection props.

    " + }, + "type":{ + "shape":"ConnectionType", + "documentation":"

    The connection type.

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

    The summary of a connection.

    " + }, + "ConnectionType":{ + "type":"string", + "enum":[ + "ATHENA", + "BIGQUERY", + "DATABRICKS", + "DOCUMENTDB", + "DYNAMODB", + "HYPERPOD", + "IAM", + "MYSQL", + "OPENSEARCH", + "ORACLE", + "POSTGRESQL", + "REDSHIFT", + "SAPHANA", + "SNOWFLAKE", + "SPARK", + "SQLSERVER", + "TERADATA", + "VERTICA", + "WORKFLOWS_MWAA" + ] + }, "CreateAssetFilterInput":{ "type":"structure", "required":[ @@ -4550,81 +5294,181 @@ }, "documentation":"

    The details of the policy grant.

    " }, - "CreateDataProductInput":{ + "CreateConnectionInput":{ "type":"structure", "required":[ "domainIdentifier", - "name", - "owningProjectIdentifier" + "environmentIdentifier", + "name" ], "members":{ + "awsLocation":{ + "shape":"AwsLocation", + "documentation":"

    The location where the connection is created.

    " + }, "clientToken":{ - "shape":"ClientToken", + "shape":"String", "documentation":"

    A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

    ", "idempotencyToken":true }, "description":{ - "shape":"DataProductDescription", - "documentation":"

    The description of the data product.

    " + "shape":"CreateConnectionInputDescriptionString", + "documentation":"

    A connection description.

    " }, "domainIdentifier":{ "shape":"DomainId", - "documentation":"

    The ID of the domain where the data product is created.

    ", + "documentation":"

    The ID of the domain where the connection is created.

    ", "location":"uri", "locationName":"domainIdentifier" }, - "formsInput":{ - "shape":"FormInputList", - "documentation":"

    The metadata forms of the data product.

    " - }, - "glossaryTerms":{ - "shape":"GlossaryTerms", - "documentation":"

    The glossary terms of the data product.

    " - }, - "items":{ - "shape":"DataProductItems", - "documentation":"

    The data assets of the data product.

    " + "environmentIdentifier":{ + "shape":"EnvironmentId", + "documentation":"

    The ID of the environment where the connection is created.

    " }, "name":{ - "shape":"DataProductName", - "documentation":"

    The name of the data product.

    " + "shape":"ConnectionName", + "documentation":"

    The connection name.

    " }, - "owningProjectIdentifier":{ - "shape":"ProjectId", - "documentation":"

    The ID of the owning project of the data product.

    " + "props":{ + "shape":"ConnectionPropertiesInput", + "documentation":"

    The connection props.

    " } } }, - "CreateDataProductOutput":{ + "CreateConnectionInputDescriptionString":{ + "type":"string", + "max":128, + "min":0, + "sensitive":true + }, + "CreateConnectionOutput":{ "type":"structure", "required":[ + "connectionId", "domainId", - "id", + "domainUnitId", "name", - "owningProjectId", - "revision", - "status" + "physicalEndpoints", + "type" ], "members":{ - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

    The timestamp at which the data product was created.

    " - }, - "createdBy":{ - "shape":"CreatedBy", - "documentation":"

    The user who created the data product.

    " + "connectionId":{ + "shape":"ConnectionId", + "documentation":"

    The ID of the connection.

    " }, "description":{ - "shape":"DataProductDescription", - "documentation":"

    The description of the data product.

    " + "shape":"Description", + "documentation":"

    The connection description.

    " }, "domainId":{ "shape":"DomainId", - "documentation":"

    The ID of the domain where the data product lives.

    " - }, - "firstRevisionCreatedAt":{ - "shape":"CreatedAt", - "documentation":"

    The timestamp at which the first revision of the data product was created.

    " + "documentation":"

    The ID of the domain where the connection is created.

    " + }, + "domainUnitId":{ + "shape":"DomainUnitId", + "documentation":"

    The ID of the domain unit where the connection is created.

    " + }, + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The ID of the environment where the connection is created.

    " + }, + "name":{ + "shape":"ConnectionName", + "documentation":"

    The connection name.

    " + }, + "physicalEndpoints":{ + "shape":"PhysicalEndpoints", + "documentation":"

    The physical endpoints of the connection.

    " + }, + "projectId":{ + "shape":"ProjectId", + "documentation":"

    The ID of the project where the connection is created.

    " + }, + "props":{ + "shape":"ConnectionPropertiesOutput", + "documentation":"

    The connection props.

    " + }, + "type":{ + "shape":"ConnectionType", + "documentation":"

    The connection type.

    " + } + } + }, + "CreateDataProductInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "name", + "owningProjectIdentifier" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

    ", + "idempotencyToken":true + }, + "description":{ + "shape":"DataProductDescription", + "documentation":"

    The description of the data product.

    " + }, + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where the data product is created.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "formsInput":{ + "shape":"FormInputList", + "documentation":"

    The metadata forms of the data product.

    " + }, + "glossaryTerms":{ + "shape":"GlossaryTerms", + "documentation":"

    The glossary terms of the data product.

    " + }, + "items":{ + "shape":"DataProductItems", + "documentation":"

    The data assets of the data product.

    " + }, + "name":{ + "shape":"DataProductName", + "documentation":"

    The name of the data product.

    " + }, + "owningProjectIdentifier":{ + "shape":"ProjectId", + "documentation":"

    The ID of the owning project of the data product.

    " + } + } + }, + "CreateDataProductOutput":{ + "type":"structure", + "required":[ + "domainId", + "id", + "name", + "owningProjectId", + "revision", + "status" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The timestamp at which the data product was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user who created the data product.

    " + }, + "description":{ + "shape":"DataProductDescription", + "documentation":"

    The description of the data product.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where the data product lives.

    " + }, + "firstRevisionCreatedAt":{ + "shape":"CreatedAt", + "documentation":"

    The timestamp at which the first revision of the data product was created.

    " }, "firstRevisionCreatedBy":{ "shape":"CreatedBy", @@ -4784,7 +5628,6 @@ "type":"structure", "required":[ "domainIdentifier", - "environmentIdentifier", "name", "projectIdentifier", "type" @@ -4803,6 +5646,10 @@ "shape":"DataSourceConfigurationInput", "documentation":"

    Specifies the configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration.

    " }, + "connectionIdentifier":{ + "shape":"CreateDataSourceInputConnectionIdentifierString", + "documentation":"

    The ID of the connection.

    " + }, "description":{ "shape":"Description", "documentation":"

    The description of the data source.

    " @@ -4818,7 +5665,7 @@ "documentation":"

    Specifies whether the data source is enabled.

    " }, "environmentIdentifier":{ - "shape":"String", + "shape":"CreateDataSourceInputEnvironmentIdentifierString", "documentation":"

    The unique identifier of the Amazon DataZone environment to which the data source publishes assets.

    " }, "name":{ @@ -4826,7 +5673,7 @@ "documentation":"

    The name of the data source.

    " }, "projectIdentifier":{ - "shape":"String", + "shape":"CreateDataSourceInputProjectIdentifierString", "documentation":"

    The identifier of the Amazon DataZone project in which you want to add this data source.

    " }, "publishOnImport":{ @@ -4847,11 +5694,22 @@ } } }, + "CreateDataSourceInputConnectionIdentifierString":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_-]{1,36}$" + }, + "CreateDataSourceInputEnvironmentIdentifierString":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_-]{1,36}$" + }, + "CreateDataSourceInputProjectIdentifierString":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_-]{1,36}$" + }, "CreateDataSourceOutput":{ "type":"structure", "required":[ "domainId", - "environmentId", "id", "name", "projectId" @@ -4865,6 +5723,10 @@ "shape":"DataSourceConfigurationOutput", "documentation":"

    Specifies the configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration.

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

    The ID of the connection.

    " + }, "createdAt":{ "shape":"DateTime", "documentation":"

    The timestamp of when the data source was created.

    " @@ -4959,6 +5821,10 @@ "shape":"RoleArn", "documentation":"

    The domain execution role that is created when an Amazon DataZone domain is created. The domain execution role is created in the Amazon Web Services account that houses the Amazon DataZone domain.

    " }, + "domainVersion":{ + "shape":"DomainVersion", + "documentation":"

    The version of the domain that is created.

    " + }, "kmsKeyIdentifier":{ "shape":"KmsKeyArn", "documentation":"

    The identifier of the Amazon Web Services Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data.

    " @@ -4967,6 +5833,10 @@ "shape":"String", "documentation":"

    The name of the Amazon DataZone domain.

    " }, + "serviceRole":{ + "shape":"RoleArn", + "documentation":"

    The service role of the domain that is created.

    " + }, "singleSignOn":{ "shape":"SingleSignOn", "documentation":"

    The single-sign on configuration of the Amazon DataZone domain.

    " @@ -4993,6 +5863,10 @@ "shape":"RoleArn", "documentation":"

    The domain execution role that is created when an Amazon DataZone domain is created. The domain execution role is created in the Amazon Web Services account that houses the Amazon DataZone domain.

    " }, + "domainVersion":{ + "shape":"DomainVersion", + "documentation":"

    The version of the domain that is created.

    " + }, "id":{ "shape":"DomainId", "documentation":"

    The identifier of the Amazon DataZone domain.

    " @@ -5013,6 +5887,10 @@ "shape":"DomainUnitId", "documentation":"

    The ID of the root domain unit.

    " }, + "serviceRole":{ + "shape":"RoleArn", + "documentation":"

    Te service role of the domain that is created.

    " + }, "singleSignOn":{ "shape":"SingleSignOn", "documentation":"

    The single-sign on configuration of the Amazon DataZone domain.

    " @@ -5198,6 +6076,10 @@ "projectIdentifier" ], "members":{ + "deploymentOrder":{ + "shape":"Integer", + "documentation":"

    The deployment order of the environment.

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

    The description of the Amazon DataZone environment.

    " @@ -5220,6 +6102,10 @@ "shape":"String", "documentation":"

    The ID of the blueprint with which the environment is being created.

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

    The configuration ID of the environment.

    " + }, "environmentProfileIdentifier":{ "shape":"EnvironmentProfileId", "documentation":"

    The identifier of the environment profile that is used to create this Amazon DataZone environment.

    " @@ -5814,6 +6700,20 @@ } } }, + "CreateProjectFromProjectProfilePolicyGrantDetail":{ + "type":"structure", + "members":{ + "includeChildDomainUnits":{ + "shape":"Boolean", + "documentation":"

    Specifies whether to include child domain units when creating a project from project profile policy grant details

    " + }, + "projectProfiles":{ + "shape":"ProjectProfileList", + "documentation":"

    Specifies project profiles when creating a project from project profile policy grant details

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

    Specifies whether to create a project from project profile policy grant details.

    " + }, "CreateProjectInput":{ "type":"structure", "required":[ @@ -5842,6 +6742,14 @@ "name":{ "shape":"ProjectName", "documentation":"

    The name of the Amazon DataZone project.

    " + }, + "projectProfileId":{ + "shape":"ProjectProfileId", + "documentation":"

    The ID of the project profile.

    " + }, + "userParameters":{ + "shape":"EnvironmentConfigurationUserParametersList", + "documentation":"

    The user parameters of the project.

    " } } }, @@ -5910,6 +6818,10 @@ "shape":"DomainUnitId", "documentation":"

    The ID of the domain unit.

    " }, + "environmentDeploymentDetails":{ + "shape":"EnvironmentDeploymentDetails", + "documentation":"

    The environment deployment details.

    " + }, "failureReasons":{ "shape":"FailureReasons", "documentation":"

    Specifies the error message that is returned if the operation cannot be successfully completed.

    " @@ -5930,9 +6842,17 @@ "shape":"ProjectName", "documentation":"

    The name of the project.

    " }, + "projectProfileId":{ + "shape":"ProjectProfileId", + "documentation":"

    The project profile ID.

    " + }, "projectStatus":{ "shape":"ProjectStatus", "documentation":"

    The status of the Amazon DataZone project that was created.

    " + }, + "userParameters":{ + "shape":"EnvironmentConfigurationUserParametersList", + "documentation":"

    The user parameters of the project.

    " } } }, @@ -5946,6 +6866,92 @@ }, "documentation":"

    The details of the policy grant.

    " }, + "CreateProjectProfileInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "name" + ], + "members":{ + "description":{ + "shape":"Description", + "documentation":"

    A description of a project profile.

    " + }, + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    A domain ID of the project profile.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "domainUnitIdentifier":{ + "shape":"DomainUnitId", + "documentation":"

    A domain unit ID of the project profile.

    " + }, + "environmentConfigurations":{ + "shape":"EnvironmentConfigurationsList", + "documentation":"

    Environment configurations of the project profile.

    " + }, + "name":{ + "shape":"ProjectProfileName", + "documentation":"

    Project profile name.

    " + }, + "status":{ + "shape":"Status", + "documentation":"

    Project profile status.

    " + } + } + }, + "CreateProjectProfileOutput":{ + "type":"structure", + "required":[ + "createdBy", + "domainId", + "id", + "name" + ], + "members":{ + "createdAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    A timestamp at which a project profile is created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    A user who created a project profile.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    A project profile description.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where a project profile is created.

    " + }, + "domainUnitId":{ + "shape":"DomainUnitId", + "documentation":"

    The ID of the domain unit where a project profile is created.

    " + }, + "environmentConfigurations":{ + "shape":"EnvironmentConfigurationsList", + "documentation":"

    Environment configurations of a project profile.

    " + }, + "id":{ + "shape":"ProjectProfileId", + "documentation":"

    Project profile ID.

    " + }, + "lastUpdatedAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    A timestamp when a project profile was last updated.

    " + }, + "name":{ + "shape":"ProjectProfileName", + "documentation":"

    Project profile name.

    " + }, + "status":{ + "shape":"Status", + "documentation":"

    Project profile status.

    " + } + } + }, "CreateRuleInput":{ "type":"structure", "required":[ @@ -6059,8 +7065,7 @@ "required":[ "domainIdentifier", "environmentIdentifier", - "grantedEntity", - "subscriptionTargetIdentifier" + "grantedEntity" ], "members":{ "assetTargetNames":{ @@ -6314,7 +7319,7 @@ "locationName":"environmentIdentifier" }, "manageAccessRole":{ - "shape":"String", + "shape":"IamRoleArn", "documentation":"

    The manage access role that is used to create the subscription target.

    " }, "name":{ @@ -6345,7 +7350,6 @@ "domainId", "environmentId", "id", - "manageAccessRole", "name", "projectId", "provider", @@ -6382,7 +7386,7 @@ "documentation":"

    The ID of the subscription target.

    " }, "manageAccessRole":{ - "shape":"String", + "shape":"IamRoleArn", "documentation":"

    The manage access role with which the subscription target was created.

    " }, "name":{ @@ -6467,11 +7471,27 @@ }, "CreatedAt":{"type":"timestamp"}, "CreatedBy":{"type":"string"}, + "CredentialMap":{ + "type":"map", + "key":{"shape":"CredentialMapKeyString"}, + "value":{"shape":"CredentialMapValueString"}, + "sensitive":true + }, + "CredentialMapKeyString":{ + "type":"string", + "max":128, + "min":1 + }, + "CredentialMapValueString":{ + "type":"string", + "max":2048, + "min":1 + }, "CronString":{ "type":"string", "max":256, "min":1, - "pattern":"cron\\((\\b[0-5]?[0-9]\\b) (\\b2[0-3]\\b|\\b[0-1]?[0-9]\\b) (.*){1,5} (.*){1,5} (.*){1,5} (.*){1,5}\\)" + "pattern":"cron\\((\\b[0-5]?[0-9]\\b) (\\b2[0-3]\\b|\\b[0-1]?[0-9]\\b) ([-?*,/\\dLW]){1,83} ([-*,/\\d]|[a-zA-Z]{3}){1,23} ([-?#*,/\\dL]|[a-zA-Z]{3}){1,13} ([^\\)]+)\\)" }, "CustomParameter":{ "type":"structure", @@ -6785,6 +7805,10 @@ "redshiftRunConfiguration":{ "shape":"RedshiftRunConfigurationInput", "documentation":"

    The configuration of the Amazon Redshift data source.

    " + }, + "sageMakerRunConfiguration":{ + "shape":"SageMakerRunConfigurationInput", + "documentation":"

    The Amazon SageMaker run configuration.

    " } }, "documentation":"

    The configuration of the data source.

    ", @@ -6800,6 +7824,10 @@ "redshiftRunConfiguration":{ "shape":"RedshiftRunConfigurationOutput", "documentation":"

    The configuration of the Amazon Redshift data source.

    " + }, + "sageMakerRunConfiguration":{ + "shape":"SageMakerRunConfigurationOutput", + "documentation":"

    The Amazon SageMaker run configuration.

    " } }, "documentation":"

    The configuration of the data source.

    ", @@ -6873,6 +7901,10 @@ "documentation":"

    The database included in the data source run activity.

    " }, "errorMessage":{"shape":"DataSourceErrorMessage"}, + "lineageSummary":{ + "shape":"LineageInfo", + "documentation":"

    The data lineage summary.

    " + }, "projectId":{ "shape":"ProjectId", "documentation":"

    The project ID included in the data source run activity.

    " @@ -6896,6 +7928,16 @@ "type":"string", "pattern":"^[a-zA-Z0-9_-]{1,36}$" }, + "DataSourceRunLineageSummary":{ + "type":"structure", + "members":{ + "importStatus":{ + "shape":"LineageImportStatus", + "documentation":"

    The import status that's part of the run lineage summary of a data source.

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

    The run lineage summary of a data source.

    " + }, "DataSourceRunStatus":{ "type":"string", "enum":[ @@ -6935,6 +7977,10 @@ "shape":"DataSourceRunId", "documentation":"

    The identifier of the data source run.

    " }, + "lineageSummary":{ + "shape":"DataSourceRunLineageSummary", + "documentation":"

    The run lineage summary of a data source.

    " + }, "projectId":{ "shape":"ProjectId", "documentation":"

    The project ID of the data source run.

    " @@ -6992,12 +8038,15 @@ "required":[ "dataSourceId", "domainId", - "environmentId", "name", "status", "type" ], "members":{ + "connectionId":{ + "shape":"String", + "documentation":"

    The connection ID that's part of the data source summary.

    " + }, "createdAt":{ "shape":"DateTime", "documentation":"

    The timestamp of when the data source was created.

    " @@ -7006,6 +8055,10 @@ "shape":"DataSourceId", "documentation":"

    The ID of the data source.

    " }, + "description":{ + "shape":"Description", + "documentation":"

    The data source description.

    " + }, "domainId":{ "shape":"DomainId", "documentation":"

    The ID of the Amazon DataZone domain in which the data source exists.

    " @@ -7015,7 +8068,7 @@ "documentation":"

    Specifies whether the data source is enabled.

    " }, "environmentId":{ - "shape":"EnvironmentId", + "shape":"String", "documentation":"

    The ID of the environment in which the data source exists.

    " }, "lastRunAssetCount":{ @@ -7150,6 +8203,36 @@ "members":{ } }, + "DeleteConnectionInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where the connection is deleted.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"ConnectionId", + "documentation":"

    The ID of the connection that is deleted.

    ", + "location":"uri", + "locationName":"identifier" + } + } + }, + "DeleteConnectionOutput":{ + "type":"structure", + "members":{ + "status":{ + "shape":"String", + "documentation":"

    The status of the action.

    " + } + } + }, "DeleteDataProductInput":{ "type":"structure", "required":[ @@ -7186,6 +8269,8 @@ "clientToken":{ "shape":"String", "documentation":"

    A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

    ", + "deprecated":true, + "deprecatedMessage":"This field is no longer required for idempotency.", "idempotencyToken":true, "location":"querystring", "locationName":"clientToken" @@ -7214,7 +8299,6 @@ "type":"structure", "required":[ "domainId", - "environmentId", "id", "name", "projectId" @@ -7228,6 +8312,10 @@ "shape":"DataSourceConfigurationOutput", "documentation":"

    The configuration of the data source that is deleted.

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

    The ID of the connection that is deleted.

    " + }, "createdAt":{ "shape":"DateTime", "documentation":"

    The timestamp of when this data source was created.

    " @@ -7630,7 +8718,7 @@ "members":{ } }, - "DeleteRuleInput":{ + "DeleteProjectProfileInput":{ "type":"structure", "required":[ "domainIdentifier", @@ -7639,12 +8727,38 @@ "members":{ "domainIdentifier":{ "shape":"DomainId", - "documentation":"

    The ID of the domain that where the rule is to be deleted.

    ", + "documentation":"

    The ID of the domain where a project profile is deleted.

    ", "location":"uri", "locationName":"domainIdentifier" }, "identifier":{ - "shape":"RuleId", + "shape":"ProjectProfileId", + "documentation":"

    The ID of the project profile that is deleted.

    ", + "location":"uri", + "locationName":"identifier" + } + } + }, + "DeleteProjectProfileOutput":{ + "type":"structure", + "members":{ + } + }, + "DeleteRuleInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain that where the rule is to be deleted.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"RuleId", "documentation":"

    The ID of the rule that is to be deleted.

    ", "location":"uri", "locationName":"identifier" @@ -7869,6 +8983,19 @@ "type":"list", "member":{"shape":"DeploymentMessage"} }, + "DeploymentMode":{ + "type":"string", + "enum":[ + "ON_CREATE", + "ON_DEMAND" + ] + }, + "DeploymentOrder":{ + "type":"integer", + "box":true, + "max":16, + "min":0 + }, "DeploymentProperties":{ "type":"structure", "members":{ @@ -8019,6 +9146,10 @@ "shape":"DomainDescription", "documentation":"

    A description of an Amazon DataZone domain.

    " }, + "domainVersion":{ + "shape":"DomainVersion", + "documentation":"

    The domain version.

    " + }, "id":{ "shape":"DomainId", "documentation":"

    The ID of the Amazon DataZone domain.

    " @@ -8197,6 +9328,13 @@ }, "documentation":"

    The properties of the domain unit user.

    " }, + "DomainVersion":{ + "type":"string", + "enum":[ + "V1", + "V2" + ] + }, "EdgeDirection":{ "type":"string", "enum":[ @@ -8309,6 +9447,10 @@ "shape":"EnvironmentBlueprintId", "documentation":"

    The identifier of the environment blueprint.

    " }, + "environmentRolePermissionBoundary":{ + "shape":"PolicyArn", + "documentation":"

    The environment role permission boundary.

    " + }, "manageAccessRoleArn":{ "shape":"RoleArn", "documentation":"

    The ARN of the manage access role specified in the environment blueprint configuration.

    " @@ -8390,6 +9532,146 @@ }, "documentation":"

    The details of an environment blueprint summary.

    " }, + "EnvironmentConfiguration":{ + "type":"structure", + "required":[ + "awsAccount", + "awsRegion", + "environmentBlueprintId", + "name" + ], + "members":{ + "awsAccount":{ + "shape":"AwsAccount", + "documentation":"

    The Amazon Web Services account of the environment.

    " + }, + "awsRegion":{ + "shape":"Region", + "documentation":"

    The Amazon Web Services Region of the environment.

    " + }, + "configurationParameters":{ + "shape":"EnvironmentConfigurationParametersDetails", + "documentation":"

    The configuration parameters of the environment.

    " + }, + "deploymentMode":{ + "shape":"DeploymentMode", + "documentation":"

    The deployment mode of the environment.

    " + }, + "deploymentOrder":{ + "shape":"DeploymentOrder", + "documentation":"

    The deployment order of the environment.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The environment description.

    " + }, + "environmentBlueprintId":{ + "shape":"EnvironmentBlueprintId", + "documentation":"

    The environment blueprint ID.

    " + }, + "id":{ + "shape":"EnvironmentConfigurationId", + "documentation":"

    The environment ID.

    " + }, + "name":{ + "shape":"EnvironmentConfigurationName", + "documentation":"

    The environment name.

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

    The configuration of an environment.

    " + }, + "EnvironmentConfigurationId":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_-]{1,36}$", + "sensitive":true + }, + "EnvironmentConfigurationName":{ + "type":"string", + "max":64, + "min":1, + "pattern":"^[\\w -]+$", + "sensitive":true + }, + "EnvironmentConfigurationParameter":{ + "type":"structure", + "members":{ + "isEditable":{ + "shape":"Boolean", + "documentation":"

    Specifies whether the environment parameter is editable.

    " + }, + "name":{ + "shape":"EnvironmentConfigurationParameterName", + "documentation":"

    The name of the environment configuration parameter.

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

    The value of the environment configuration parameter.

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

    The environment configuration parameter.

    " + }, + "EnvironmentConfigurationParameterName":{ + "type":"string", + "pattern":"^[a-zA-Z_][a-zA-Z0-9_]*$" + }, + "EnvironmentConfigurationParametersDetails":{ + "type":"structure", + "members":{ + "parameterOverrides":{ + "shape":"EnvironmentConfigurationParametersList", + "documentation":"

    The parameter overrides.

    " + }, + "resolvedParameters":{ + "shape":"EnvironmentConfigurationParametersList", + "documentation":"

    The resolved environment configuration parameters.

    " + }, + "ssmPath":{ + "shape":"ParameterStorePath", + "documentation":"

    Ssm path environment configuration parameters.

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

    The details of the environment configuration parameter.

    " + }, + "EnvironmentConfigurationParametersList":{ + "type":"list", + "member":{"shape":"EnvironmentConfigurationParameter"} + }, + "EnvironmentConfigurationUserParameter":{ + "type":"structure", + "members":{ + "environmentConfigurationName":{ + "shape":"EnvironmentConfigurationName", + "documentation":"

    The environment configuration name.

    " + }, + "environmentParameters":{ + "shape":"EnvironmentParametersList", + "documentation":"

    The environment parameters.

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

    The environment configuration user parameters.

    " + }, + "EnvironmentConfigurationUserParametersList":{ + "type":"list", + "member":{"shape":"EnvironmentConfigurationUserParameter"} + }, + "EnvironmentConfigurationsList":{ + "type":"list", + "member":{"shape":"EnvironmentConfiguration"} + }, + "EnvironmentDeploymentDetails":{ + "type":"structure", + "members":{ + "environmentFailureReasons":{ + "shape":"EnvironmentFailureReasons", + "documentation":"

    Environment failure reasons.

    " + }, + "overallDeploymentStatus":{ + "shape":"OverallDeploymentStatus", + "documentation":"

    The overall deployment status of the environment.

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

    The environment deployment details.

    " + }, "EnvironmentError":{ "type":"structure", "required":["message"], @@ -8405,6 +9687,15 @@ }, "documentation":"

    The failure reasons for the environment deployment.

    " }, + "EnvironmentFailureReasons":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"EnvironmentFailureReasonsList"} + }, + "EnvironmentFailureReasonsList":{ + "type":"list", + "member":{"shape":"EnvironmentError"} + }, "EnvironmentId":{ "type":"string", "pattern":"^[a-zA-Z0-9_-]{1,36}$" @@ -8612,11 +9903,27 @@ "documentation":"

    Specifies whether the value is equal to an expression.

    " }, "ErrorMessage":{"type":"string"}, + "EventSummary":{ + "type":"structure", + "members":{ + "openLineageRunEventSummary":{ + "shape":"OpenLineageRunEventSummary", + "documentation":"

    The open lineage run event summary.

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

    The event summary.

    ", + "union":true + }, "ExternalIdentifier":{ "type":"string", - "max":256, - "min":1, - "sensitive":true + "max":600, + "min":1 + }, + "FailedQueryProcessingErrorMessages":{ + "type":"list", + "member":{"shape":"String"}, + "max":10, + "min":0 }, "FailureCause":{ "type":"structure", @@ -9238,6 +10545,94 @@ } } }, + "GetConnectionInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where we get the connection.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"ConnectionId", + "documentation":"

    The connection ID.

    ", + "location":"uri", + "locationName":"identifier" + }, + "withSecret":{ + "shape":"Boolean", + "documentation":"

    Specifies whether a connection has a secret.

    ", + "location":"querystring", + "locationName":"withSecret" + } + } + }, + "GetConnectionOutput":{ + "type":"structure", + "required":[ + "connectionId", + "domainId", + "domainUnitId", + "name", + "physicalEndpoints", + "type" + ], + "members":{ + "connectionCredentials":{ + "shape":"ConnectionCredentials", + "documentation":"

    Connection credentials.

    " + }, + "connectionId":{ + "shape":"ConnectionId", + "documentation":"

    The ID of the connection.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    Connection description.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The domain ID of the connection.

    " + }, + "domainUnitId":{ + "shape":"DomainUnitId", + "documentation":"

    The domain unit ID of the connection.

    " + }, + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The ID of the environment.

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

    The environment user role.

    " + }, + "name":{ + "shape":"ConnectionName", + "documentation":"

    The name of the connection.

    " + }, + "physicalEndpoints":{ + "shape":"PhysicalEndpoints", + "documentation":"

    The physical endpoints of the connection.

    " + }, + "projectId":{ + "shape":"ProjectId", + "documentation":"

    The ID of the project.

    " + }, + "props":{ + "shape":"ConnectionPropertiesOutput", + "documentation":"

    Connection props.

    " + }, + "type":{ + "shape":"ConnectionType", + "documentation":"

    The type of the connection.

    " + } + } + }, "GetDataProductInput":{ "type":"structure", "required":[ @@ -9359,7 +10754,6 @@ "type":"structure", "required":[ "domainId", - "environmentId", "id", "name", "projectId" @@ -9373,6 +10767,10 @@ "shape":"DataSourceConfigurationOutput", "documentation":"

    The configuration of the data source.

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

    The ID of the connection.

    " + }, "createdAt":{ "shape":"DateTime", "documentation":"

    The timestamp of when the data source was created.

    " @@ -9513,6 +10911,10 @@ "shape":"DataSourceRunId", "documentation":"

    The ID of the data source run.

    " }, + "lineageSummary":{ + "shape":"DataSourceRunLineageSummary", + "documentation":"

    The summary of the data lineage.

    " + }, "projectId":{ "shape":"ProjectId", "documentation":"

    The ID of the project in which this data source run occured.

    " @@ -9579,6 +10981,10 @@ "shape":"RoleArn", "documentation":"

    The domain execution role with which the Amazon DataZone domain is created.

    " }, + "domainVersion":{ + "shape":"DomainVersion", + "documentation":"

    The version of the domain.

    " + }, "id":{ "shape":"DomainId", "documentation":"

    The identifier of the specified Amazon DataZone domain.

    " @@ -9603,6 +11009,10 @@ "shape":"DomainUnitId", "documentation":"

    The ID of the root domain in Amazon Datazone.

    " }, + "serviceRole":{ + "shape":"RoleArn", + "documentation":"

    The service role of the domain.

    " + }, "singleSignOn":{ "shape":"SingleSignOn", "documentation":"

    The single sing-on option of the specified Amazon DataZone domain.

    " @@ -9797,6 +11207,10 @@ "shape":"EnvironmentBlueprintId", "documentation":"

    The ID of the blueprint.

    " }, + "environmentRolePermissionBoundary":{ + "shape":"PolicyArn", + "documentation":"

    The environment role permissions boundary.

    " + }, "manageAccessRoleArn":{ "shape":"RoleArn", "documentation":"

    The ARN of the manage access role with which this blueprint is created.

    " @@ -10440,7 +11854,7 @@ } } }, - "GetLineageNodeInput":{ + "GetJobRunInput":{ "type":"structure", "required":[ "domainIdentifier", @@ -10449,95 +11863,236 @@ "members":{ "domainIdentifier":{ "shape":"DomainId", - "documentation":"

    The ID of the domain in which you want to get the data lineage node.

    ", + "documentation":"

    The ID of the domain.

    ", "location":"uri", "locationName":"domainIdentifier" }, - "eventTimestamp":{ - "shape":"Timestamp", - "documentation":"

    The event time stamp for which you want to get the data lineage node.

    ", - "location":"querystring", - "locationName":"timestamp" - }, "identifier":{ - "shape":"LineageNodeIdentifier", - "documentation":"

    The ID of the data lineage node that you want to get.

    Both, a lineage node identifier generated by Amazon DataZone and a sourceIdentifier of the lineage node are supported. If sourceIdentifier is greater than 1800 characters, you can use lineage node identifier generated by Amazon DataZone to get the node details.

    ", + "shape":"RunIdentifier", + "documentation":"

    The ID of the job run.

    ", "location":"uri", "locationName":"identifier" } } }, - "GetLineageNodeOutput":{ + "GetJobRunOutput":{ "type":"structure", - "required":[ - "domainId", - "id", - "typeName" - ], "members":{ "createdAt":{ - "shape":"CreatedAt", - "documentation":"

    The timestamp at which the data lineage node was created.

    " + "shape":"Timestamp", + "documentation":"

    The timestamp of when the job run was created.

    " }, "createdBy":{ - "shape":"CreatedBy", - "documentation":"

    The user who created the data lineage node.

    " - }, - "description":{ "shape":"String", - "documentation":"

    The description of the data lineage node.

    " + "documentation":"

    The user who created the job run.

    " + }, + "details":{ + "shape":"JobRunDetails", + "documentation":"

    The details of the job run.

    " }, "domainId":{ "shape":"DomainId", - "documentation":"

    The ID of the domain where you're getting the data lineage node.

    " - }, - "downstreamNodes":{ - "shape":"LineageNodeReferenceList", - "documentation":"

    The downsteam nodes of the specified data lineage node.

    " + "documentation":"

    The ID of the domain.

    " }, - "eventTimestamp":{ + "endTime":{ "shape":"Timestamp", - "documentation":"

    The timestamp of the event described in the data lineage node.

    " + "documentation":"

    The timestamp of when the job run ended.

    " }, - "formsOutput":{ - "shape":"FormOutputList", - "documentation":"

    The metadata of the specified data lineage node.

    " + "error":{ + "shape":"JobRunError", + "documentation":"

    The error generated if the action is not completed successfully.

    " }, "id":{ - "shape":"LineageNodeId", - "documentation":"

    The ID of the data lineage node.

    " - }, - "name":{ - "shape":"String", - "documentation":"

    The name of the data lineage node.

    " - }, - "sourceIdentifier":{ "shape":"String", - "documentation":"

    The source identifier of the data lineage node.

    " + "documentation":"

    The ID of the job run.

    " }, - "typeName":{ + "jobId":{ "shape":"String", - "documentation":"

    The name of the type of the specified data lineage node.

    " + "documentation":"

    The ID of the job run.

    " }, - "typeRevision":{ - "shape":"Revision", - "documentation":"

    The revision type of the specified data lineage node.

    " + "jobType":{ + "shape":"JobType", + "documentation":"

    The type of the job run.

    " }, - "updatedAt":{ - "shape":"UpdatedAt", - "documentation":"

    The timestamp at which the data lineage node was updated.

    " + "runMode":{ + "shape":"JobRunMode", + "documentation":"

    The mode of the job run.

    " }, - "updatedBy":{ - "shape":"UpdatedBy", - "documentation":"

    The user who updated the data lineage node.

    " + "startTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp of when the job run started.

    " }, - "upstreamNodes":{ - "shape":"LineageNodeReferenceList", - "documentation":"

    The upstream nodes of the specified data lineage node.

    " + "status":{ + "shape":"JobRunStatus", + "documentation":"

    The status of the job run.

    " } } }, - "GetListingInput":{ + "GetLineageEventInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"LineageEventIdentifier", + "documentation":"

    The ID of the lineage event.

    ", + "location":"uri", + "locationName":"identifier" + } + } + }, + "GetLineageEventOutput":{ + "type":"structure", + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The timestamp of when the lineage event was created.

    ", + "location":"header", + "locationName":"Created-At" + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user who created the lineage event.

    ", + "location":"header", + "locationName":"Created-By" + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain.

    ", + "location":"header", + "locationName":"Domain-Id" + }, + "event":{ + "shape":"LineageEvent", + "documentation":"

    The lineage event details.

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

    The time of the lineage event.

    ", + "location":"header", + "locationName":"Event-Time" + }, + "id":{ + "shape":"LineageEventIdentifier", + "documentation":"

    The ID of the lineage event.

    ", + "location":"header", + "locationName":"Id" + }, + "processingStatus":{ + "shape":"LineageEventProcessingStatus", + "documentation":"

    The progressing status of the lineage event.

    ", + "location":"header", + "locationName":"Processing-Status" + } + }, + "payload":"event" + }, + "GetLineageNodeInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain in which you want to get the data lineage node.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "eventTimestamp":{ + "shape":"Timestamp", + "documentation":"

    The event time stamp for which you want to get the data lineage node.

    ", + "location":"querystring", + "locationName":"timestamp" + }, + "identifier":{ + "shape":"LineageNodeIdentifier", + "documentation":"

    The ID of the data lineage node that you want to get.

    Both, a lineage node identifier generated by Amazon DataZone and a sourceIdentifier of the lineage node are supported. If sourceIdentifier is greater than 1800 characters, you can use lineage node identifier generated by Amazon DataZone to get the node details.

    ", + "location":"uri", + "locationName":"identifier" + } + } + }, + "GetLineageNodeOutput":{ + "type":"structure", + "required":[ + "domainId", + "id", + "typeName" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The timestamp at which the data lineage node was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user who created the data lineage node.

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

    The description of the data lineage node.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where you're getting the data lineage node.

    " + }, + "downstreamNodes":{ + "shape":"LineageNodeReferenceList", + "documentation":"

    The downsteam nodes of the specified data lineage node.

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

    The timestamp of the event described in the data lineage node.

    " + }, + "formsOutput":{ + "shape":"FormOutputList", + "documentation":"

    The metadata of the specified data lineage node.

    " + }, + "id":{ + "shape":"LineageNodeId", + "documentation":"

    The ID of the data lineage node.

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

    The name of the data lineage node.

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

    The source identifier of the data lineage node.

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

    The name of the type of the specified data lineage node.

    " + }, + "typeRevision":{ + "shape":"Revision", + "documentation":"

    The revision type of the specified data lineage node.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The timestamp at which the data lineage node was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user who updated the data lineage node.

    " + }, + "upstreamNodes":{ + "shape":"LineageNodeReferenceList", + "documentation":"

    The upstream nodes of the specified data lineage node.

    " + } + } + }, + "GetListingInput":{ "type":"structure", "required":[ "domainIdentifier", @@ -10731,6 +12286,10 @@ "shape":"DomainUnitId", "documentation":"

    The ID of the domain unit.

    " }, + "environmentDeploymentDetails":{ + "shape":"EnvironmentDeploymentDetails", + "documentation":"

    The environment deployment status of a project.

    " + }, "failureReasons":{ "shape":"FailureReasons", "documentation":"

    Specifies the error message that is returned if the operation cannot be successfully completed.

    " @@ -10751,9 +12310,89 @@ "shape":"ProjectName", "documentation":"

    The name of the project.

    " }, + "projectProfileId":{ + "shape":"ProjectProfileId", + "documentation":"

    The ID of the project profile of a project.

    " + }, "projectStatus":{ "shape":"ProjectStatus", "documentation":"

    The status of the project.

    " + }, + "userParameters":{ + "shape":"EnvironmentConfigurationUserParametersList", + "documentation":"

    The user parameters of a project.

    " + } + } + }, + "GetProjectProfileInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"ProjectProfileId", + "documentation":"

    The ID of the project profile.

    ", + "location":"uri", + "locationName":"identifier" + } + } + }, + "GetProjectProfileOutput":{ + "type":"structure", + "required":[ + "createdBy", + "domainId", + "id", + "name" + ], + "members":{ + "createdAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The timestamp of when the project profile was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user who created the project profile.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the project profile.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain of the project profile.

    " + }, + "domainUnitId":{ + "shape":"DomainUnitId", + "documentation":"

    The ID of the domain unit of the project profile.

    " + }, + "environmentConfigurations":{ + "shape":"EnvironmentConfigurationsList", + "documentation":"

    The environment configurations of the project profile.

    " + }, + "id":{ + "shape":"ProjectProfileId", + "documentation":"

    The ID of the project profile.

    " + }, + "lastUpdatedAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The timestamp of when project profile was last updated.

    " + }, + "name":{ + "shape":"ProjectProfileName", + "documentation":"

    The name of the project profile.

    " + }, + "status":{ + "shape":"Status", + "documentation":"

    The status of the project profile.

    " } } }, @@ -11164,7 +12803,6 @@ "domainId", "environmentId", "id", - "manageAccessRole", "name", "projectId", "provider", @@ -11201,7 +12839,7 @@ "documentation":"

    The ID of the subscription target.

    " }, "manageAccessRole":{ - "shape":"String", + "shape":"IamRoleArn", "documentation":"

    The manage access role with which the subscription target was created.

    " }, "name":{ @@ -11510,51 +13148,339 @@ "max":20, "min":1 }, - "GlueRunConfigurationInput":{ + "GlueConnection":{ "type":"structure", - "required":["relationalFilterConfigurations"], "members":{ - "autoImportDataQualityResult":{ - "shape":"Boolean", - "documentation":"

    Specifies whether to automatically import data quality metrics as part of the data source run.

    " + "athenaProperties":{ + "shape":"PropertyMap", + "documentation":"

    The Amazon Athena properties of the Amazon Web Services Glue connection.

    " }, - "dataAccessRole":{ - "shape":"GlueRunConfigurationInputDataAccessRoleString", - "documentation":"

    The data access role included in the configuration details of the Amazon Web Services Glue data source.

    " + "authenticationConfiguration":{ + "shape":"AuthenticationConfiguration", + "documentation":"

    The authentication configuration of the Amazon Web Services Glue connection.

    " }, - "relationalFilterConfigurations":{ - "shape":"RelationalFilterConfigurations", - "documentation":"

    The relational filter configurations included in the configuration details of the Amazon Web Services Glue data source.

    " + "compatibleComputeEnvironments":{ + "shape":"ComputeEnvironmentsList", + "documentation":"

    The compatible compute environments of the Amazon Web Services Glue connection.

    " + }, + "connectionProperties":{ + "shape":"ConnectionProperties", + "documentation":"

    The properties of the Amazon Web Services Glue connection.

    " + }, + "connectionSchemaVersion":{ + "shape":"GlueConnectionConnectionSchemaVersionInteger", + "documentation":"

    The connection schema version of the Amazon Web Services Glue connection.

    " + }, + "connectionType":{ + "shape":"ConnectionType", + "documentation":"

    The type of the Amazon Web Services Glue connection.

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

    The creation time of the Amazon Web Services Glue connection.

    " + }, + "description":{ + "shape":"GlueConnectionDescriptionString", + "documentation":"

    The description of the Amazon Web Services Glue connection.

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

    The last validation time of the Amazon Web Services Glue connection.

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

    The user who last updated the Amazon Web Services Glue connection.

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

    The timestamp at which the Amazon Web Services Glue connection was last updated.

    " + }, + "matchCriteria":{ + "shape":"MatchCriteria", + "documentation":"

    The match criteria of the Amazon Web Services Glue connection.

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

    The name of the Amazon Web Services Glue connection.

    " + }, + "physicalConnectionRequirements":{ + "shape":"PhysicalConnectionRequirements", + "documentation":"

    The physical connection requirements of the Amazon Web Services Glue connection.

    " + }, + "pythonProperties":{ + "shape":"PropertyMap", + "documentation":"

    The Python properties of the Amazon Web Services Glue connection.

    " + }, + "sparkProperties":{ + "shape":"PropertyMap", + "documentation":"

    The Spark properties of the Amazon Web Services Glue connection.

    " + }, + "status":{ + "shape":"ConnectionStatus", + "documentation":"

    The status of the Amazon Web Services Glue connection.

    " + }, + "statusReason":{ + "shape":"GlueConnectionStatusReasonString", + "documentation":"

    The status reason of the Amazon Web Services Glue connection.

    " } }, - "documentation":"

    The configuration details of the Amazon Web Services Glue data source.

    " + "documentation":"

    The Amazon Web Services Glue connection.

    " }, - "GlueRunConfigurationInputDataAccessRoleString":{ + "GlueConnectionConnectionSchemaVersionInteger":{ + "type":"integer", + "box":true, + "max":2, + "min":1 + }, + "GlueConnectionDescriptionString":{ "type":"string", - "pattern":"^arn:aws[^:]*:iam::\\d{12}:(role|role/service-role)/[\\w+=,.@-]{1,128}$" + "max":2048, + "min":0 }, - "GlueRunConfigurationOutput":{ + "GlueConnectionInput":{ "type":"structure", - "required":["relationalFilterConfigurations"], "members":{ - "accountId":{ - "shape":"GlueRunConfigurationOutputAccountIdString", - "documentation":"

    The Amazon Web Services account ID included in the configuration details of the Amazon Web Services Glue data source.

    " + "athenaProperties":{ + "shape":"PropertyMap", + "documentation":"

    The Amazon Athena properties of the Amazon Web Services Glue connection.

    " }, - "autoImportDataQualityResult":{ - "shape":"Boolean", - "documentation":"

    Specifies whether to automatically import data quality metrics as part of the data source run.

    " + "authenticationConfiguration":{ + "shape":"AuthenticationConfigurationInput", + "documentation":"

    The authentication configuration of the Amazon Web Services Glue connection.

    " }, - "dataAccessRole":{ - "shape":"GlueRunConfigurationOutputDataAccessRoleString", - "documentation":"

    The data access role included in the configuration details of the Amazon Web Services Glue data source.

    " + "connectionProperties":{ + "shape":"ConnectionProperties", + "documentation":"

    The connection properties of the Amazon Web Services Glue connection.

    " }, - "region":{ - "shape":"GlueRunConfigurationOutputRegionString", - "documentation":"

    The Amazon Web Services region included in the configuration details of the Amazon Web Services Glue data source.

    " + "connectionType":{ + "shape":"GlueConnectionType", + "documentation":"

    The connection type of the Amazon Web Services Glue connection.

    " }, - "relationalFilterConfigurations":{ - "shape":"RelationalFilterConfigurations", + "description":{ + "shape":"String", + "documentation":"

    The description of the Amazon Web Services Glue connection.

    " + }, + "matchCriteria":{ + "shape":"GlueConnectionInputMatchCriteriaString", + "documentation":"

    The match criteria of the Amazon Web Services Glue connection.

    " + }, + "name":{ + "shape":"GlueConnectionInputNameString", + "documentation":"

    The name of the Amazon Web Services Glue connection.

    " + }, + "physicalConnectionRequirements":{ + "shape":"PhysicalConnectionRequirements", + "documentation":"

    The physical connection requirements for the Amazon Web Services Glue connection.

    " + }, + "pythonProperties":{ + "shape":"PropertyMap", + "documentation":"

    The Python properties of the Amazon Web Services Glue connection.

    " + }, + "sparkProperties":{ + "shape":"PropertyMap", + "documentation":"

    The Spark properties of the Amazon Web Services Glue connection.

    " + }, + "validateCredentials":{ + "shape":"Boolean", + "documentation":"

    Speciefies whether to validate credentials of the Amazon Web Services Glue connection.

    " + }, + "validateForComputeEnvironments":{ + "shape":"ComputeEnvironmentsList", + "documentation":"

    Speciefies whether to validate for compute environments of the Amazon Web Services Glue connection.

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

    The Amazon Web Services Glue connecton input.

    " + }, + "GlueConnectionInputMatchCriteriaString":{ + "type":"string", + "max":10, + "min":0 + }, + "GlueConnectionInputNameString":{ + "type":"string", + "max":255, + "min":1 + }, + "GlueConnectionPatch":{ + "type":"structure", + "members":{ + "authenticationConfiguration":{ + "shape":"AuthenticationConfigurationPatch", + "documentation":"

    The authentication configuration of the Amazon Web Services Glue connection patch.

    " + }, + "connectionProperties":{ + "shape":"ConnectionProperties", + "documentation":"

    The properties of the Amazon Web Services Glue connection patch.

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

    The description of the Amazon Web Services Glue connection patch.

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

    The Amazon Web Services Glue connection patch.

    " + }, + "GlueConnectionStatusReasonString":{ + "type":"string", + "max":16384, + "min":1 + }, + "GlueConnectionType":{ + "type":"string", + "enum":[ + "SNOWFLAKE", + "BIGQUERY", + "DOCUMENTDB", + "DYNAMODB", + "MYSQL", + "OPENSEARCH", + "ORACLE", + "POSTGRESQL", + "REDSHIFT", + "SAPHANA", + "SQLSERVER", + "TERADATA", + "VERTICA" + ] + }, + "GlueOAuth2Credentials":{ + "type":"structure", + "members":{ + "accessToken":{ + "shape":"GlueOAuth2CredentialsAccessTokenString", + "documentation":"

    The access token of a connection.

    " + }, + "jwtToken":{ + "shape":"GlueOAuth2CredentialsJwtTokenString", + "documentation":"

    The jwt token of the connection.

    " + }, + "refreshToken":{ + "shape":"GlueOAuth2CredentialsRefreshTokenString", + "documentation":"

    The refresh token of the connection.

    " + }, + "userManagedClientApplicationClientSecret":{ + "shape":"GlueOAuth2CredentialsUserManagedClientApplicationClientSecretString", + "documentation":"

    The user managed client application client secret of the connection.

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

    The GlueOAuth2 credentials of a connection.

    ", + "sensitive":true + }, + "GlueOAuth2CredentialsAccessTokenString":{ + "type":"string", + "max":4096, + "min":0, + "pattern":"^[\\x20-\\x7E]*$" + }, + "GlueOAuth2CredentialsJwtTokenString":{ + "type":"string", + "max":8000, + "min":0, + "pattern":"^([a-zA-Z0-9_=]+)\\.([a-zA-Z0-9_=]+)\\.([a-zA-Z0-9_\\-\\+\\/=]*)$" + }, + "GlueOAuth2CredentialsRefreshTokenString":{ + "type":"string", + "max":4096, + "min":0, + "pattern":"^[\\x20-\\x7E]*$" + }, + "GlueOAuth2CredentialsUserManagedClientApplicationClientSecretString":{ + "type":"string", + "max":512, + "min":0, + "pattern":"^[\\x20-\\x7E]*$" + }, + "GluePropertiesInput":{ + "type":"structure", + "members":{ + "glueConnectionInput":{ + "shape":"GlueConnectionInput", + "documentation":"

    The Amazon Web Services Glue connection.

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

    The Amazon Web Services Glue properties of a connection.

    " + }, + "GluePropertiesOutput":{ + "type":"structure", + "members":{ + "errorMessage":{ + "shape":"String", + "documentation":"

    The error message generated if the action is not completed successfully.

    " + }, + "status":{ + "shape":"ConnectionStatus", + "documentation":"

    The status of a connection.

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

    The properties of the Amazon Web Services Glue connection.

    " + }, + "GluePropertiesPatch":{ + "type":"structure", + "members":{ + "glueConnectionInput":{ + "shape":"GlueConnectionPatch", + "documentation":"

    The Amazon Web Services Glue properties patch of a connection.

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

    The Amazon Web Services Glue properties patch of a connection.

    " + }, + "GlueRunConfigurationInput":{ + "type":"structure", + "required":["relationalFilterConfigurations"], + "members":{ + "autoImportDataQualityResult":{ + "shape":"Boolean", + "documentation":"

    Specifies whether to automatically import data quality metrics as part of the data source run.

    " + }, + "catalogName":{ + "shape":"GlueRunConfigurationInputCatalogNameString", + "documentation":"

    The catalog name in the Amazon Web Services Glue run configuration.

    " + }, + "dataAccessRole":{ + "shape":"GlueRunConfigurationInputDataAccessRoleString", + "documentation":"

    The data access role included in the configuration details of the Amazon Web Services Glue data source.

    " + }, + "relationalFilterConfigurations":{ + "shape":"RelationalFilterConfigurations", + "documentation":"

    The relational filter configurations included in the configuration details of the Amazon Web Services Glue data source.

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

    The configuration details of the Amazon Web Services Glue data source.

    " + }, + "GlueRunConfigurationInputCatalogNameString":{ + "type":"string", + "max":128, + "min":1 + }, + "GlueRunConfigurationInputDataAccessRoleString":{ + "type":"string", + "pattern":"^arn:aws[^:]*:iam::\\d{12}:(role|role/service-role)/[\\w+=,.@-]{1,128}$" + }, + "GlueRunConfigurationOutput":{ + "type":"structure", + "required":["relationalFilterConfigurations"], + "members":{ + "accountId":{ + "shape":"GlueRunConfigurationOutputAccountIdString", + "documentation":"

    The Amazon Web Services account ID included in the configuration details of the Amazon Web Services Glue data source.

    " + }, + "autoImportDataQualityResult":{ + "shape":"Boolean", + "documentation":"

    Specifies whether to automatically import data quality metrics as part of the data source run.

    " + }, + "catalogName":{ + "shape":"GlueRunConfigurationOutputCatalogNameString", + "documentation":"

    The catalog name in the Amazon Web Services Glue run configuration.

    " + }, + "dataAccessRole":{ + "shape":"GlueRunConfigurationOutputDataAccessRoleString", + "documentation":"

    The data access role included in the configuration details of the Amazon Web Services Glue data source.

    " + }, + "region":{ + "shape":"GlueRunConfigurationOutputRegionString", + "documentation":"

    The Amazon Web Services region included in the configuration details of the Amazon Web Services Glue data source.

    " + }, + "relationalFilterConfigurations":{ + "shape":"RelationalFilterConfigurations", "documentation":"

    The relational filter configurations included in the configuration details of the Amazon Web Services Glue data source.

    " } }, @@ -11566,6 +13492,11 @@ "min":12, "pattern":"^\\d{12}$" }, + "GlueRunConfigurationOutputCatalogNameString":{ + "type":"string", + "max":128, + "min":1 + }, "GlueRunConfigurationOutputDataAccessRoleString":{ "type":"string", "pattern":"^arn:aws[^:]*:iam::\\d{12}:(role|role/service-role)/[\\w+=,.@-]{1,128}$" @@ -11587,6 +13518,13 @@ }, "documentation":"

    The details of the self granting status.

    " }, + "GovernanceType":{ + "type":"string", + "enum":[ + "AWS_MANAGED", + "USER_MANAGED" + ] + }, "GrantedEntity":{ "type":"structure", "members":{ @@ -11728,6 +13666,86 @@ "DATAZONE_SSO_GROUP" ] }, + "HyperPodOrchestrator":{ + "type":"string", + "enum":[ + "EKS", + "SLURM" + ] + }, + "HyperPodPropertiesInput":{ + "type":"structure", + "required":["clusterName"], + "members":{ + "clusterName":{ + "shape":"HyperPodPropertiesInputClusterNameString", + "documentation":"

    The cluster name the hyper pod properties.

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

    The hyper pod properties of a Amazon Web Services Glue properties patch.

    " + }, + "HyperPodPropertiesInputClusterNameString":{ + "type":"string", + "max":256, + "min":0 + }, + "HyperPodPropertiesOutput":{ + "type":"structure", + "required":["clusterName"], + "members":{ + "clusterArn":{ + "shape":"String", + "documentation":"

    The cluster ARN of the hyper pod properties.

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

    The cluster name the hyper pod properties.

    " + }, + "orchestrator":{ + "shape":"HyperPodOrchestrator", + "documentation":"

    The orchestrator of the hyper pod properties.

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

    The hyper pod properties of a Amazon Web Services Glue properties patch.

    " + }, + "IamPropertiesInput":{ + "type":"structure", + "members":{ + "glueLineageSyncEnabled":{ + "shape":"Boolean", + "documentation":"

    Specifies whether Amazon Web Services Glue lineage sync is enabled for a connection.

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

    The IAM properties of a connection.

    " + }, + "IamPropertiesOutput":{ + "type":"structure", + "members":{ + "environmentId":{ + "shape":"String", + "documentation":"

    The environment ID of the connection.

    " + }, + "glueLineageSyncEnabled":{ + "shape":"Boolean", + "documentation":"

    Specifies whether Amazon Web Services Glue lineage sync is enabled for a connection.

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

    The IAM properties of a connection.

    " + }, + "IamPropertiesPatch":{ + "type":"structure", + "members":{ + "glueLineageSyncEnabled":{ + "shape":"Boolean", + "documentation":"

    Specifies whether Amazon Web Services Glue lineage sync is enabled for a connection.

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

    The IAM properties patch of a connection.

    " + }, + "IamRoleArn":{ + "type":"string", + "pattern":"^arn:aws(|-cn|-us-gov):iam::\\d{12}:(role|role/service-role)/[\\w+=,.@-]*$" + }, "IamUserProfileDetails":{ "type":"structure", "members":{ @@ -11833,6 +13851,106 @@ "max":2, "min":1 }, + "JobRunDetails":{ + "type":"structure", + "members":{ + "lineageRunDetails":{ + "shape":"LineageRunDetails", + "documentation":"

    The data lineage details of a job run.

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

    The details of a job run.

    ", + "union":true + }, + "JobRunError":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{ + "shape":"String", + "documentation":"

    The job run error message.

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

    The job run error.

    " + }, + "JobRunMode":{ + "type":"string", + "enum":[ + "SCHEDULED", + "ON_DEMAND" + ] + }, + "JobRunStatus":{ + "type":"string", + "enum":[ + "SCHEDULED", + "IN_PROGRESS", + "SUCCESS", + "PARTIALLY_SUCCEEDED", + "FAILED", + "ABORTED", + "TIMED_OUT", + "CANCELED" + ] + }, + "JobRunSummaries":{ + "type":"list", + "member":{"shape":"JobRunSummary"} + }, + "JobRunSummary":{ + "type":"structure", + "members":{ + "createdAt":{ + "shape":"Timestamp", + "documentation":"

    The timestamp at which job run was created.

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

    The user who created the job run.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The domain ID of the job run.

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

    The end time of a job run.

    " + }, + "error":{ + "shape":"JobRunError", + "documentation":"

    The error of a job run.

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

    The job ID of a job run.

    " + }, + "jobType":{ + "shape":"JobType", + "documentation":"

    The job type of a job run.

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

    The run ID of a job run.

    " + }, + "runMode":{ + "shape":"JobRunMode", + "documentation":"

    The run mode of a job run.

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

    The start time of a job run.

    " + }, + "status":{ + "shape":"JobRunStatus", + "documentation":"

    The status of a job run.

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

    The job run summary.

    " + }, + "JobType":{ + "type":"string", + "enum":["LINEAGE"] + }, "KmsKeyArn":{ "type":"string", "max":1024, @@ -11917,6 +14035,85 @@ "min":0, "sensitive":true }, + "LineageEventErrorMessage":{"type":"string"}, + "LineageEventIdentifier":{ + "type":"string", + "pattern":"^[a-z0-9]{14}$" + }, + "LineageEventProcessingStatus":{ + "type":"string", + "enum":[ + "REQUESTED", + "PROCESSING", + "SUCCESS", + "FAILED" + ] + }, + "LineageEventSummaries":{ + "type":"list", + "member":{"shape":"LineageEventSummary"} + }, + "LineageEventSummary":{ + "type":"structure", + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The timestamp at which data lineage event was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user who created the data lineage event.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The domain ID of the lineage event.

    " + }, + "eventSummary":{ + "shape":"EventSummary", + "documentation":"

    The summary of the data lineate event.

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

    The time of the data lineage event.

    " + }, + "id":{ + "shape":"LineageEventIdentifier", + "documentation":"

    The ID of the data lineage event.

    " + }, + "processingStatus":{ + "shape":"LineageEventProcessingStatus", + "documentation":"

    The processing status of the data lineage event.

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

    The data lineage event summary.

    " + }, + "LineageImportStatus":{ + "type":"string", + "enum":[ + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIALLY_SUCCEEDED" + ] + }, + "LineageInfo":{ + "type":"structure", + "members":{ + "errorMessage":{ + "shape":"LineageEventErrorMessage", + "documentation":"

    The data lineage error message.

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

    The data lineage event ID.

    " + }, + "eventStatus":{ + "shape":"LineageEventProcessingStatus", + "documentation":"

    The data lineage event status.

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

    The data lineage information.

    " + }, "LineageNodeId":{ "type":"string", "pattern":"^[a-zA-Z0-9_-]{1,36}$" @@ -12056,6 +14253,56 @@ }, "documentation":"

    The details of a data lineage node type.

    " }, + "LineageRunDetails":{ + "type":"structure", + "members":{ + "sqlQueryRunDetails":{ + "shape":"LineageSqlQueryRunDetails", + "documentation":"

    The SQL query run details of a data lineage run.

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

    The data lineage run details.

    " + }, + "LineageSqlQueryRunDetails":{ + "type":"structure", + "members":{ + "errorMessages":{ + "shape":"FailedQueryProcessingErrorMessages", + "documentation":"

    The error message of the SQL query run details of a data lineage run.

    " + }, + "numQueriesFailed":{ + "shape":"Integer", + "documentation":"

    The number of queries that failed in the SQL query run details of a data lineage run.

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

    The query end time in the SQL query run details of a data lineage run.

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

    The query start time in the SQL query run details of a data lineage run.

    " + }, + "totalQueriesProcessed":{ + "shape":"Integer", + "documentation":"

    The total queries processed in the SQL query run details of a data lineage run.

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

    The SQL query run details of a data lineage run.

    " + }, + "LineageSyncSchedule":{ + "type":"structure", + "members":{ + "schedule":{ + "shape":"LineageSyncScheduleScheduleString", + "documentation":"

    The lineage sync schedule.

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

    The lineage sync schedule.

    " + }, + "LineageSyncScheduleScheduleString":{ + "type":"string", + "pattern":"^cron\\((\\b[0-5]?[0-9]\\b) (\\b2[0-3]\\b|\\b[0-1]?[0-9]\\b) ([-?*,/\\dLW]){1,83} ([-*,/\\d]|[a-zA-Z]{3}){1,23} ([-?#*,/\\dL]|[a-zA-Z]{3}){1,13} ([^\\)]+)\\)$" + }, "ListAssetFiltersInput":{ "type":"structure", "required":[ @@ -12130,28 +14377,105 @@ }, "maxResults":{ "shape":"MaxResults", - "documentation":"

    The maximum number of revisions to return in a single call to ListAssetRevisions. When the number of revisions to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListAssetRevisions to list the next set of revisions.

    ", + "documentation":"

    The maximum number of revisions to return in a single call to ListAssetRevisions. When the number of revisions to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListAssetRevisions to list the next set of revisions.

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

    When the number of revisions is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of revisions, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAssetRevisions to list the next set of revisions.

    ", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListAssetRevisionsOutput":{ + "type":"structure", + "members":{ + "items":{ + "shape":"AssetRevisions", + "documentation":"

    The results of the ListAssetRevisions action.

    " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

    When the number of revisions is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of revisions, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAssetRevisions to list the next set of revisions.

    " + } + } + }, + "ListConnectionsInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "projectIdentifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where you want to list connections.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "environmentIdentifier":{ + "shape":"EnvironmentId", + "documentation":"

    The ID of the environment where you want to list connections.

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

    The maximum number of connections to return in a single call to ListConnections. When the number of connections to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListConnections to list the next set of connections.

    ", "location":"querystring", "locationName":"maxResults" }, + "name":{ + "shape":"ConnectionName", + "documentation":"

    The name of the connection.

    ", + "location":"querystring", + "locationName":"name" + }, "nextToken":{ "shape":"PaginationToken", - "documentation":"

    When the number of revisions is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of revisions, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAssetRevisions to list the next set of revisions.

    ", + "documentation":"

    When the number of connections is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of connections, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListConnections to list the next set of connections.

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

    The ID of the project where you want to list connections.

    ", + "location":"querystring", + "locationName":"projectIdentifier" + }, + "sortBy":{ + "shape":"SortFieldConnection", + "documentation":"

    Specifies how you want to sort the listed connections.

    ", + "location":"querystring", + "locationName":"sortBy" + }, + "sortOrder":{ + "shape":"SortOrder", + "documentation":"

    Specifies the sort order for the listed connections.

    ", + "location":"querystring", + "locationName":"sortOrder" + }, + "type":{ + "shape":"ConnectionType", + "documentation":"

    The type of connection.

    ", + "location":"querystring", + "locationName":"type" } } }, - "ListAssetRevisionsOutput":{ + "ListConnectionsOutput":{ "type":"structure", + "required":["items"], "members":{ "items":{ - "shape":"AssetRevisions", - "documentation":"

    The results of the ListAssetRevisions action.

    " + "shape":"ConnectionSummaries", + "documentation":"

    The results of the ListConnections action.

    " }, "nextToken":{ "shape":"PaginationToken", - "documentation":"

    When the number of revisions is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of revisions, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAssetRevisions to list the next set of revisions.

    " + "documentation":"

    When the number of connections is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of connections, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListConnections to list the next set of connections.

    " } } }, @@ -12315,6 +14639,12 @@ "projectIdentifier" ], "members":{ + "connectionIdentifier":{ + "shape":"String", + "documentation":"

    The ID of the connection.

    ", + "location":"querystring", + "locationName":"connectionIdentifier" + }, "domainIdentifier":{ "shape":"DomainId", "documentation":"

    The identifier of the Amazon DataZone domain in which to list the data sources.

    ", @@ -12811,6 +15141,129 @@ } } }, + "ListJobRunsInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "jobIdentifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where you want to list job runs.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "jobIdentifier":{ + "shape":"ListJobRunsInputJobIdentifierString", + "documentation":"

    The ID of the job run.

    ", + "location":"uri", + "locationName":"jobIdentifier" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of job runs to return in a single call to ListJobRuns. When the number of job runs to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListJobRuns to list the next set of job runs.

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

    When the number of job runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of job runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListJobRuns to list the next set of job runs.

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

    Specifies the order in which job runs are to be sorted.

    ", + "location":"querystring", + "locationName":"sortOrder" + }, + "status":{ + "shape":"JobRunStatus", + "documentation":"

    The status of a job run.

    ", + "location":"querystring", + "locationName":"status" + } + } + }, + "ListJobRunsInputJobIdentifierString":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_-]{1,36}$" + }, + "ListJobRunsOutput":{ + "type":"structure", + "members":{ + "items":{ + "shape":"JobRunSummaries", + "documentation":"

    The results of the ListJobRuns action.

    " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

    When the number of job runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of job runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListJobRuns to list the next set of job runs.

    " + } + } + }, + "ListLineageEventsInput":{ + "type":"structure", + "required":["domainIdentifier"], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where you want to list lineage events.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of lineage events to return in a single call to ListLineageEvents. When the number of lineage events to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListLineageEvents to list the next set of lineage events.

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

    When the number of lineage events is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of lineage events, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListLineageEvents to list the next set of lineage events.

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

    The processing status of a lineage event.

    ", + "location":"querystring", + "locationName":"processingStatus" + }, + "sortOrder":{ + "shape":"SortOrder", + "documentation":"

    The sort order of the lineage events.

    ", + "location":"querystring", + "locationName":"sortOrder" + }, + "timestampAfter":{ + "shape":"Timestamp", + "documentation":"

    The after timestamp of a lineage event.

    ", + "location":"querystring", + "locationName":"timestampAfter" + }, + "timestampBefore":{ + "shape":"Timestamp", + "documentation":"

    The before timestamp of a lineage event.

    ", + "location":"querystring", + "locationName":"timestampBefore" + } + } + }, + "ListLineageEventsOutput":{ + "type":"structure", + "members":{ + "items":{ + "shape":"LineageEventSummaries", + "documentation":"

    The results of the ListLineageEvents action.

    " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

    When the number of lineage events is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of lineage events, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListLineageEvents to list the next set of lineage events.

    " + } + } + }, "ListLineageNodeHistoryInput":{ "type":"structure", "required":[ @@ -13120,6 +15573,61 @@ } } }, + "ListProjectProfilesInput":{ + "type":"structure", + "required":["domainIdentifier"], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where you want to list project profiles.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of project profiles to return in a single call to ListProjectProfiles. When the number of project profiles to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListProjectProfiles to list the next set of project profiles.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "name":{ + "shape":"ProjectProfileName", + "documentation":"

    The name of a project profile.

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

    When the number of project profiles is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of project profiles, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListProjectProfiles to list the next set of project profiles.

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

    Specifies by what to sort project profiles.

    ", + "location":"querystring", + "locationName":"sortBy" + }, + "sortOrder":{ + "shape":"SortOrder", + "documentation":"

    Specifies the sort order of the project profiles.

    ", + "location":"querystring", + "locationName":"sortOrder" + } + } + }, + "ListProjectProfilesOutput":{ + "type":"structure", + "members":{ + "items":{ + "shape":"ProjectProfileSummaries", + "documentation":"

    The results of the ListProjectProfiles action.

    " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

    When the number of project profiles is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of project profiles, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListProjectProfiles to list the next set of project profiles.

    " + } + } + }, "ListProjectsInput":{ "type":"structure", "required":["domainIdentifier"], @@ -13788,9 +16296,17 @@ "CREATE_PROJECT", "CREATE_ENVIRONMENT_PROFILE", "DELEGATE_CREATE_ENVIRONMENT_PROFILE", - "CREATE_ENVIRONMENT" + "CREATE_ENVIRONMENT", + "CREATE_ENVIRONMENT_FROM_BLUEPRINT", + "CREATE_PROJECT_FROM_PROJECT_PROFILE" ] }, + "MatchCriteria":{ + "type":"list", + "member":{"shape":"String"}, + "max":10, + "min":0 + }, "MaxResults":{ "type":"integer", "box":true, @@ -14015,6 +16531,24 @@ "min":1, "sensitive":true }, + "NameIdentifier":{ + "type":"structure", + "members":{ + "name":{ + "shape":"String", + "documentation":"

    The name in the name identifier.

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

    The namespace in the name identifier.

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

    The name identifier.

    " + }, + "NameIdentifiers":{ + "type":"list", + "member":{"shape":"NameIdentifier"} + }, "NotEqualToExpression":{ "type":"structure", "required":[ @@ -14128,59 +16662,176 @@ "documentation":"

    The type of the notification.

    " } }, - "documentation":"

    The details of a notification generated in Amazon DataZone.

    " + "documentation":"

    The details of a notification generated in Amazon DataZone.

    " + }, + "NotificationResource":{ + "type":"structure", + "required":[ + "id", + "type" + ], + "members":{ + "id":{ + "shape":"String", + "documentation":"

    The ID of the resource mentioned in a notification.

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

    The name of the resource mentioned in a notification.

    " + }, + "type":{ + "shape":"NotificationResourceType", + "documentation":"

    The type of the resource mentioned in a notification.

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

    The details of the resource mentioned in a notification.

    " + }, + "NotificationResourceType":{ + "type":"string", + "enum":["PROJECT"] + }, + "NotificationRole":{ + "type":"string", + "enum":[ + "PROJECT_OWNER", + "PROJECT_CONTRIBUTOR", + "PROJECT_VIEWER", + "DOMAIN_OWNER", + "PROJECT_SUBSCRIBER" + ] + }, + "NotificationSubjects":{ + "type":"list", + "member":{"shape":"String"} + }, + "NotificationType":{ + "type":"string", + "enum":[ + "TASK", + "EVENT" + ] + }, + "NotificationsList":{ + "type":"list", + "member":{"shape":"NotificationOutput"} + }, + "OAuth2ClientApplication":{ + "type":"structure", + "members":{ + "aWSManagedClientApplicationReference":{ + "shape":"OAuth2ClientApplicationAWSManagedClientApplicationReferenceString", + "documentation":"

    The Amazon Web Services managed client application reference in the OAuth2Client application.

    " + }, + "userManagedClientApplicationClientId":{ + "shape":"OAuth2ClientApplicationUserManagedClientApplicationClientIdString", + "documentation":"

    The user managed client application client ID in the OAuth2Client application.

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

    The OAuth2Client application.

    " + }, + "OAuth2ClientApplicationAWSManagedClientApplicationReferenceString":{ + "type":"string", + "max":2048, + "min":0, + "pattern":"^\\S+$" + }, + "OAuth2ClientApplicationUserManagedClientApplicationClientIdString":{ + "type":"string", + "max":2048, + "min":0, + "pattern":"^\\S+$" + }, + "OAuth2GrantType":{ + "type":"string", + "enum":[ + "AUTHORIZATION_CODE", + "CLIENT_CREDENTIALS", + "JWT_BEARER" + ] + }, + "OAuth2Properties":{ + "type":"structure", + "members":{ + "authorizationCodeProperties":{ + "shape":"AuthorizationCodeProperties", + "documentation":"

    The authorization code properties of the OAuth2 properties.

    " + }, + "oAuth2ClientApplication":{ + "shape":"OAuth2ClientApplication", + "documentation":"

    The OAuth2 client application of the OAuth2 properties.

    " + }, + "oAuth2Credentials":{ + "shape":"GlueOAuth2Credentials", + "documentation":"

    The OAuth2 credentials of the OAuth2 properties.

    " + }, + "oAuth2GrantType":{ + "shape":"OAuth2GrantType", + "documentation":"

    The OAuth2 grant type of the OAuth2 properties.

    " + }, + "tokenUrl":{ + "shape":"OAuth2PropertiesTokenUrlString", + "documentation":"

    The OAuth2 token URL of the OAuth2 properties.

    " + }, + "tokenUrlParametersMap":{ + "shape":"TokenUrlParametersMap", + "documentation":"

    The OAuth2 token URL parameter map of the OAuth2 properties.

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

    The OAuth2 properties.

    " }, - "NotificationResource":{ + "OAuth2PropertiesTokenUrlString":{ + "type":"string", + "max":256, + "min":0, + "pattern":"^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]$" + }, + "OpenLineageRunEventSummary":{ "type":"structure", - "required":[ - "id", - "type" - ], "members":{ - "id":{ - "shape":"String", - "documentation":"

    The ID of the resource mentioned in a notification.

    " + "eventType":{ + "shape":"OpenLineageRunState", + "documentation":"

    The event type of the open lineage run event summary.

    " }, - "name":{ - "shape":"String", - "documentation":"

    The name of the resource mentioned in a notification.

    " + "inputs":{ + "shape":"NameIdentifiers", + "documentation":"

    The inputs of the open lineage run event summary.

    " }, - "type":{ - "shape":"NotificationResourceType", - "documentation":"

    The type of the resource mentioned in a notification.

    " + "job":{ + "shape":"NameIdentifier", + "documentation":"

    The job of the open lineage run event summary.

    " + }, + "outputs":{ + "shape":"NameIdentifiers", + "documentation":"

    The outputs of the open lineage run event summary.

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

    The runID of the open lineage run event summary.

    " } }, - "documentation":"

    The details of the resource mentioned in a notification.

    " - }, - "NotificationResourceType":{ - "type":"string", - "enum":["PROJECT"] + "documentation":"

    The open lineage run event summary.

    " }, - "NotificationRole":{ + "OpenLineageRunState":{ "type":"string", "enum":[ - "PROJECT_OWNER", - "PROJECT_CONTRIBUTOR", - "PROJECT_VIEWER", - "DOMAIN_OWNER", - "PROJECT_SUBSCRIBER" + "START", + "RUNNING", + "COMPLETE", + "ABORT", + "FAIL", + "OTHER" ] }, - "NotificationSubjects":{ - "type":"list", - "member":{"shape":"String"} - }, - "NotificationType":{ + "OverallDeploymentStatus":{ "type":"string", "enum":[ - "TASK", - "EVENT" + "PENDING_DEPLOYMENT", + "IN_PROGRESS", + "SUCCESSFUL", + "FAILED_VALIDATION", + "FAILED_DEPLOYMENT" ] }, - "NotificationsList":{ - "type":"list", - "member":{"shape":"NotificationOutput"} - }, "OverrideDomainUnitOwnersPolicyGrantDetail":{ "type":"structure", "members":{ @@ -14278,6 +16929,86 @@ "max":8192, "min":1 }, + "ParameterStorePath":{ + "type":"string", + "max":2048, + "min":1 + }, + "Password":{ + "type":"string", + "max":64, + "min":0, + "sensitive":true + }, + "PhysicalConnectionRequirements":{ + "type":"structure", + "members":{ + "availabilityZone":{ + "shape":"PhysicalConnectionRequirementsAvailabilityZoneString", + "documentation":"

    The availability zone of the physical connection requirements of a connection.

    " + }, + "securityGroupIdList":{ + "shape":"SecurityGroupIdList", + "documentation":"

    The group ID list of the physical connection requirements of a connection.

    " + }, + "subnetId":{ + "shape":"SubnetId", + "documentation":"

    The subnet ID of the physical connection requirements of a connection.

    " + }, + "subnetIdList":{ + "shape":"SubnetIdList", + "documentation":"

    The subnet ID list of the physical connection requirements of a connection.

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

    Physical connection requirements of a connection.

    " + }, + "PhysicalConnectionRequirementsAvailabilityZoneString":{ + "type":"string", + "max":255, + "min":1 + }, + "PhysicalEndpoint":{ + "type":"structure", + "members":{ + "awsLocation":{ + "shape":"AwsLocation", + "documentation":"

    The location of a connection.

    " + }, + "glueConnection":{ + "shape":"GlueConnection", + "documentation":"

    The Amazon Web Services Glue connection.

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

    The Amazon Web Services Glue connection name.

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

    The host in the physical endpoints of a connection.

    " + }, + "port":{ + "shape":"Integer", + "documentation":"

    The port in the physical endpoints of a connection.

    " + }, + "protocol":{ + "shape":"Protocol", + "documentation":"

    The protocol in the physical endpoints of a connection.

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

    The stage in the physical endpoints of a connection.

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

    The physical endpoints of a connection.

    " + }, + "PhysicalEndpoints":{ + "type":"list", + "member":{"shape":"PhysicalEndpoint"} + }, + "PolicyArn":{ + "type":"string", + "pattern":"^arn:aws[^:]*:iam::(aws|\\d{12}):policy/[\\w+=,.@-]*$" + }, "PolicyGrantDetail":{ "type":"structure", "members":{ @@ -14297,6 +17028,7 @@ "shape":"Unit", "documentation":"

    Specifies that this is a create environment policy.

    " }, + "createEnvironmentFromBlueprint":{"shape":"Unit"}, "createEnvironmentProfile":{ "shape":"CreateEnvironmentProfilePolicyGrantDetail", "documentation":"

    Specifies that this is a create environment profile policy.

    " @@ -14313,6 +17045,10 @@ "shape":"CreateProjectPolicyGrantDetail", "documentation":"

    Specifies that this is a create project policy.

    " }, + "createProjectFromProjectProfile":{ + "shape":"CreateProjectFromProjectProfilePolicyGrantDetail", + "documentation":"

    Specifies whether to create a project from project profile.

    " + }, "delegateCreateEnvironmentProfile":{ "shape":"Unit", "documentation":"

    Specifies that this is the delegation of the create environment profile policy.

    " @@ -14389,8 +17125,8 @@ "shape":"ClientToken", "documentation":"

    A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

    ", "idempotencyToken":true, - "location":"querystring", - "locationName":"clientToken" + "location":"header", + "locationName":"Client-Token" }, "domainIdentifier":{ "shape":"DomainId", @@ -14408,6 +17144,14 @@ "PostLineageEventOutput":{ "type":"structure", "members":{ + "domainId":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain.

    " + }, + "id":{ + "shape":"LineageEventIdentifier", + "documentation":"

    The ID of the lineage event.

    " + } } }, "PostTimeSeriesDataPointsInput":{ @@ -14572,6 +17316,73 @@ }, "documentation":"

    The project policy grant principal.

    " }, + "ProjectProfileId":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_-]{1,36}$" + }, + "ProjectProfileList":{ + "type":"list", + "member":{"shape":"String"} + }, + "ProjectProfileName":{ + "type":"string", + "max":64, + "min":1, + "pattern":"^[\\w -]+$", + "sensitive":true + }, + "ProjectProfileSummaries":{ + "type":"list", + "member":{"shape":"ProjectProfileSummary"} + }, + "ProjectProfileSummary":{ + "type":"structure", + "required":[ + "createdBy", + "domainId", + "id", + "name" + ], + "members":{ + "createdAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The timestamp of when the project profile was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user who created the project profile.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the project profile.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The domain ID of the project profile.

    " + }, + "domainUnitId":{ + "shape":"DomainUnitId", + "documentation":"

    The domain unit ID of the project profile.

    " + }, + "id":{ + "shape":"ProjectProfileId", + "documentation":"

    The ID of the project profile.

    " + }, + "lastUpdatedAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The timestamp at which a project profile was last updated.

    " + }, + "name":{ + "shape":"ProjectProfileName", + "documentation":"

    The name of a project profile.

    " + }, + "status":{ + "shape":"Status", + "documentation":"

    The status of a project profile.

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

    The summary of a project profile.

    " + }, "ProjectStatus":{ "type":"string", "enum":[ @@ -14651,6 +17462,33 @@ }, "documentation":"

    Specifies projects in which the rule is created.

    " }, + "PropertyMap":{ + "type":"map", + "key":{"shape":"PropertyMapKeyString"}, + "value":{"shape":"PropertyMapValueString"} + }, + "PropertyMapKeyString":{ + "type":"string", + "max":128, + "min":1 + }, + "PropertyMapValueString":{ + "type":"string", + "max":2048, + "min":1 + }, + "Protocol":{ + "type":"string", + "enum":[ + "ATHENA", + "GLUE_INTERACTIVE_SESSION", + "HTTPS", + "JDBC", + "LIVY", + "ODBC", + "PRISM" + ] + }, "ProvisioningConfiguration":{ "type":"structure", "members":{ @@ -14701,6 +17539,10 @@ "location":"uri", "locationName":"environmentBlueprintIdentifier" }, + "environmentRolePermissionBoundary":{ + "shape":"PolicyArn", + "documentation":"

    The environment role permissions boundary.

    " + }, "manageAccessRoleArn":{ "shape":"RoleArn", "documentation":"

    The ARN of the manage access role.

    " @@ -14742,6 +17584,10 @@ "shape":"EnvironmentBlueprintId", "documentation":"

    The identifier of the environment blueprint.

    " }, + "environmentRolePermissionBoundary":{ + "shape":"PolicyArn", + "documentation":"

    The environment role permissions boundary.

    " + }, "manageAccessRoleArn":{ "shape":"RoleArn", "documentation":"

    The ARN of the manage access role.

    " @@ -14769,52 +17615,222 @@ "members":{ "enableBusinessNameGeneration":{ "shape":"Boolean", - "documentation":"

    Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.

    " + "documentation":"

    Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.

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

    The recommendation to be updated as part of the UpdateDataSource action.

    " + }, + "RedshiftClusterStorage":{ + "type":"structure", + "required":["clusterName"], + "members":{ + "clusterName":{ + "shape":"RedshiftClusterStorageClusterNameString", + "documentation":"

    The name of an Amazon Redshift cluster.

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

    The details of the Amazon Redshift cluster storage.

    " + }, + "RedshiftClusterStorageClusterNameString":{ + "type":"string", + "max":63, + "min":1, + "pattern":"^[0-9a-z].[a-z0-9\\-]*$" + }, + "RedshiftCredentialConfiguration":{ + "type":"structure", + "required":["secretManagerArn"], + "members":{ + "secretManagerArn":{ + "shape":"RedshiftCredentialConfigurationSecretManagerArnString", + "documentation":"

    The ARN of a secret manager for an Amazon Redshift cluster.

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

    The details of the credentials required to access an Amazon Redshift cluster.

    " + }, + "RedshiftCredentialConfigurationSecretManagerArnString":{ + "type":"string", + "max":256, + "min":0, + "pattern":"^arn:aws[^:]*:secretsmanager:[a-z]{2}-?(iso|gov)?-{1}[a-z]*-{1}[0-9]:\\d{12}:secret:.*$" + }, + "RedshiftCredentials":{ + "type":"structure", + "members":{ + "secretArn":{ + "shape":"RedshiftCredentialsSecretArnString", + "documentation":"

    The secret ARN of the Amazon Redshift credentials of a connection.

    " + }, + "usernamePassword":{ + "shape":"UsernamePassword", + "documentation":"

    The username and password of the Amazon Redshift credentials of a connection.

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

    Amazon Redshift credentials of a connection.

    ", + "sensitive":true, + "union":true + }, + "RedshiftCredentialsSecretArnString":{ + "type":"string", + "pattern":"^arn:aws[^:]*:secretsmanager:[a-z]{2}-?(iso|gov)?-{1}[a-z]*-{1}[0-9]:\\d{12}:secret:.*$" + }, + "RedshiftLineageSyncConfigurationInput":{ + "type":"structure", + "members":{ + "enabled":{ + "shape":"Boolean", + "documentation":"

    Specifies whether the Amaon Redshift lineage sync configuration is enabled.

    " + }, + "schedule":{ + "shape":"LineageSyncSchedule", + "documentation":"

    The schedule of the Amaon Redshift lineage sync configuration.

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

    The Amaon Redshift lineage sync configuration.

    " + }, + "RedshiftLineageSyncConfigurationOutput":{ + "type":"structure", + "members":{ + "enabled":{ + "shape":"Boolean", + "documentation":"

    Specifies whether the Amaon Redshift lineage sync configuration is enabled.

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

    The lineage job ID of the Amaon Redshift lineage sync configuration.

    " + }, + "schedule":{ + "shape":"LineageSyncSchedule", + "documentation":"

    The schedule of teh Amaon Redshift lineage sync configuration.

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

    The Amaon Redshift lineage sync configuration.

    " + }, + "RedshiftPropertiesInput":{ + "type":"structure", + "members":{ + "credentials":{ + "shape":"RedshiftCredentials", + "documentation":"

    The Amaon Redshift credentials.

    " + }, + "databaseName":{ + "shape":"RedshiftPropertiesInputDatabaseNameString", + "documentation":"

    The Amazon Redshift database name.

    " + }, + "host":{ + "shape":"RedshiftPropertiesInputHostString", + "documentation":"

    The Amazon Redshift host.

    " + }, + "lineageSync":{ + "shape":"RedshiftLineageSyncConfigurationInput", + "documentation":"

    The lineage sync of the Amazon Redshift.

    " + }, + "port":{ + "shape":"Integer", + "documentation":"

    The Amaon Redshift port.

    " + }, + "storage":{ + "shape":"RedshiftStorageProperties", + "documentation":"

    The Amazon Redshift storage.

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

    The Amazon Redshift properties.

    " + }, + "RedshiftPropertiesInputDatabaseNameString":{ + "type":"string", + "max":256, + "min":0 + }, + "RedshiftPropertiesInputHostString":{ + "type":"string", + "max":256, + "min":0 + }, + "RedshiftPropertiesOutput":{ + "type":"structure", + "members":{ + "credentials":{ + "shape":"RedshiftCredentials", + "documentation":"

    The Amazon Redshift credentials.

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

    The Amazon Redshift database name.

    " + }, + "isProvisionedSecret":{ + "shape":"Boolean", + "documentation":"

    Specifies whether Amaon Redshift properties has a provisioned secret.

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

    The jdbcIam URL of the Amazon Redshift properties.

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

    The jdbcURL of the Amazon Redshift properties.

    " + }, + "lineageSync":{ + "shape":"RedshiftLineageSyncConfigurationOutput", + "documentation":"

    The lineage syn of the Amazon Redshift properties.

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

    The redshiftTempDir of the Amazon Redshift properties.

    " + }, + "status":{ + "shape":"ConnectionStatus", + "documentation":"

    The status in the Amazon Redshift properties.

    " + }, + "storage":{ + "shape":"RedshiftStorageProperties", + "documentation":"

    The storage in the Amazon Redshift properties.

    " } }, - "documentation":"

    The recommendation to be updated as part of the UpdateDataSource action.

    " + "documentation":"

    The Amazon Redshift properties.

    " }, - "RedshiftClusterStorage":{ + "RedshiftPropertiesPatch":{ "type":"structure", - "required":["clusterName"], "members":{ - "clusterName":{ - "shape":"RedshiftClusterStorageClusterNameString", - "documentation":"

    The name of an Amazon Redshift cluster.

    " + "credentials":{ + "shape":"RedshiftCredentials", + "documentation":"

    The credentials in the Amazon Redshift properties patch.

    " + }, + "databaseName":{ + "shape":"RedshiftPropertiesPatchDatabaseNameString", + "documentation":"

    The name in the Amazon Redshift properties patch.

    " + }, + "host":{ + "shape":"RedshiftPropertiesPatchHostString", + "documentation":"

    The host in the Amazon Redshift properties patch.

    " + }, + "lineageSync":{ + "shape":"RedshiftLineageSyncConfigurationInput", + "documentation":"

    The lineage sync in the Amazon Redshift properties patch.

    " + }, + "port":{ + "shape":"Integer", + "documentation":"

    The port in the Amazon Redshift properties patch.

    " + }, + "storage":{ + "shape":"RedshiftStorageProperties", + "documentation":"

    The storage in the Amazon Redshift properties patch.

    " } }, - "documentation":"

    The details of the Amazon Redshift cluster storage.

    " + "documentation":"

    Amazon Redshift properties patch.

    " }, - "RedshiftClusterStorageClusterNameString":{ + "RedshiftPropertiesPatchDatabaseNameString":{ "type":"string", - "max":63, - "min":1, - "pattern":"^[0-9a-z].[a-z0-9\\-]*$" - }, - "RedshiftCredentialConfiguration":{ - "type":"structure", - "required":["secretManagerArn"], - "members":{ - "secretManagerArn":{ - "shape":"RedshiftCredentialConfigurationSecretManagerArnString", - "documentation":"

    The ARN of a secret manager for an Amazon Redshift cluster.

    " - } - }, - "documentation":"

    The details of the credentials required to access an Amazon Redshift cluster.

    " + "max":256, + "min":0 }, - "RedshiftCredentialConfigurationSecretManagerArnString":{ + "RedshiftPropertiesPatchHostString":{ "type":"string", "max":256, - "min":0, - "pattern":"^arn:aws[^:]*:secretsmanager:[a-z]{2}-?(iso|gov)?-{1}[a-z]*-{1}[0-9]:\\d{12}:secret:.*$" + "min":0 }, "RedshiftRunConfigurationInput":{ "type":"structure", - "required":[ - "redshiftCredentialConfiguration", - "redshiftStorage", - "relationalFilterConfigurations" - ], + "required":["relationalFilterConfigurations"], "members":{ "dataAccessRole":{ "shape":"RedshiftRunConfigurationInputDataAccessRoleString", @@ -14836,7 +17852,6 @@ "RedshiftRunConfigurationOutput":{ "type":"structure", "required":[ - "redshiftCredentialConfiguration", "redshiftStorage", "relationalFilterConfigurations" ], @@ -14921,6 +17936,46 @@ "documentation":"

    The details of the Amazon Redshift storage as part of the configuration of an Amazon Redshift data source run.

    ", "union":true }, + "RedshiftStorageProperties":{ + "type":"structure", + "members":{ + "clusterName":{ + "shape":"RedshiftStoragePropertiesClusterNameString", + "documentation":"

    The cluster name in the Amazon Redshift storage properties.

    " + }, + "workgroupName":{ + "shape":"RedshiftStoragePropertiesWorkgroupNameString", + "documentation":"

    The workgroup name in the Amazon Redshift storage properties.

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

    The Amazon Redshift storage properties.

    ", + "union":true + }, + "RedshiftStoragePropertiesClusterNameString":{ + "type":"string", + "max":256, + "min":0 + }, + "RedshiftStoragePropertiesWorkgroupNameString":{ + "type":"string", + "max":256, + "min":0 + }, + "Region":{ + "type":"structure", + "members":{ + "regionName":{ + "shape":"RegionName", + "documentation":"

    The Amazon Web Services Region name.

    " + }, + "regionNamePath":{ + "shape":"ParameterStorePath", + "documentation":"

    The region name path.

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

    The Amazon Web Services Region.

    ", + "union":true + }, "RegionName":{ "type":"string", "max":16, @@ -15649,6 +18704,10 @@ "type":"string", "enum":["METADATA_FORM_ENFORCEMENT"] }, + "RunIdentifier":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_-]{1,36}$" + }, "RunStatisticsForAssets":{ "type":"structure", "members":{ @@ -15687,6 +18746,57 @@ "max":20, "min":0 }, + "SageMakerAssetType":{ + "type":"string", + "max":64, + "min":1 + }, + "SageMakerResourceArn":{ + "type":"string", + "pattern":"^arn:aws[^:]*:sagemaker:[a-z]{2}-?(iso|gov)?-{1}[a-z]*-{1}[0-9]:\\d{12}:[\\w+=,.@-]{1,128}/[\\w+=,.@-]{1,256}$" + }, + "SageMakerRunConfigurationInput":{ + "type":"structure", + "required":["trackingAssets"], + "members":{ + "trackingAssets":{ + "shape":"TrackingAssets", + "documentation":"

    The tracking assets of the Amazon SageMaker run.

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

    The Amazon SageMaker run configuration.

    " + }, + "SageMakerRunConfigurationOutput":{ + "type":"structure", + "required":["trackingAssets"], + "members":{ + "accountId":{ + "shape":"SageMakerRunConfigurationOutputAccountIdString", + "documentation":"

    The Amazon SageMaker account ID.

    " + }, + "region":{ + "shape":"SageMakerRunConfigurationOutputRegionString", + "documentation":"

    The Amazon SageMaker Region.

    " + }, + "trackingAssets":{ + "shape":"TrackingAssets", + "documentation":"

    The tracking assets of the Amazon SageMaker.

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

    The Amazon SageMaker run configuration.

    " + }, + "SageMakerRunConfigurationOutputAccountIdString":{ + "type":"string", + "max":12, + "min":12, + "pattern":"^\\d{12}$" + }, + "SageMakerRunConfigurationOutputRegionString":{ + "type":"string", + "max":16, + "min":4, + "pattern":"[a-z]{2}-?(iso|gov)?-{1}[a-z]*-{1}[0-9]" + }, "ScheduleConfiguration":{ "type":"structure", "members":{ @@ -16097,6 +19207,17 @@ } } }, + "SecurityGroupIdList":{ + "type":"list", + "member":{"shape":"SecurityGroupIdListMemberString"}, + "max":50, + "min":0 + }, + "SecurityGroupIdListMemberString":{ + "type":"string", + "max":255, + "min":1 + }, "SelfGrantStatus":{ "type":"string", "enum":[ @@ -16177,48 +19298,349 @@ }, "exception":true }, - "ShortDescription":{ + "ShortDescription":{ + "type":"string", + "max":1024, + "min":0, + "sensitive":true + }, + "SingleSignOn":{ + "type":"structure", + "members":{ + "type":{ + "shape":"AuthType", + "documentation":"

    The type of single sign-on in Amazon DataZone.

    " + }, + "userAssignment":{ + "shape":"UserAssignment", + "documentation":"

    The single sign-on user assignment in Amazon DataZone.

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

    The single sign-on details in Amazon DataZone.

    " + }, + "Smithy":{ + "type":"string", + "max":100000, + "min":1 + }, + "SortFieldConnection":{ + "type":"string", + "enum":["NAME"] + }, + "SortFieldProject":{ + "type":"string", + "enum":["NAME"] + }, + "SortKey":{ + "type":"string", + "enum":[ + "CREATED_AT", + "UPDATED_AT" + ] + }, + "SortOrder":{ + "type":"string", + "enum":[ + "ASCENDING", + "DESCENDING" + ] + }, + "SparkEmrPropertiesInput":{ + "type":"structure", + "members":{ + "computeArn":{ + "shape":"SparkEmrPropertiesInputComputeArnString", + "documentation":"

    The compute ARN of Spark EMR.

    " + }, + "instanceProfileArn":{ + "shape":"SparkEmrPropertiesInputInstanceProfileArnString", + "documentation":"

    The instance profile ARN of Spark EMR.

    " + }, + "javaVirtualEnv":{ + "shape":"SparkEmrPropertiesInputJavaVirtualEnvString", + "documentation":"

    The java virtual env of the Spark EMR.

    " + }, + "logUri":{ + "shape":"SparkEmrPropertiesInputLogUriString", + "documentation":"

    The log URI of the Spark EMR.

    " + }, + "pythonVirtualEnv":{ + "shape":"SparkEmrPropertiesInputPythonVirtualEnvString", + "documentation":"

    The Python virtual env of the Spark EMR.

    " + }, + "runtimeRole":{ + "shape":"SparkEmrPropertiesInputRuntimeRoleString", + "documentation":"

    The runtime role of the Spark EMR.

    " + }, + "trustedCertificatesS3Uri":{ + "shape":"SparkEmrPropertiesInputTrustedCertificatesS3UriString", + "documentation":"

    The certificates S3 URI of the Spark EMR.

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

    The Spark EMR properties.

    " + }, + "SparkEmrPropertiesInputComputeArnString":{ + "type":"string", + "max":256, + "min":0 + }, + "SparkEmrPropertiesInputInstanceProfileArnString":{ + "type":"string", + "max":256, + "min":0 + }, + "SparkEmrPropertiesInputJavaVirtualEnvString":{ + "type":"string", + "max":256, + "min":0 + }, + "SparkEmrPropertiesInputLogUriString":{ + "type":"string", + "max":256, + "min":0 + }, + "SparkEmrPropertiesInputPythonVirtualEnvString":{ + "type":"string", + "max":256, + "min":0 + }, + "SparkEmrPropertiesInputRuntimeRoleString":{ + "type":"string", + "pattern":"^arn:aws[^:]*:iam::\\d{12}:(role|role/service-role)/[\\w+=,.@-]*$" + }, + "SparkEmrPropertiesInputTrustedCertificatesS3UriString":{ + "type":"string", + "max":256, + "min":0 + }, + "SparkEmrPropertiesOutput":{ + "type":"structure", + "members":{ + "computeArn":{ + "shape":"String", + "documentation":"

    The compute ARN of the Spark EMR.

    " + }, + "credentials":{ + "shape":"UsernamePassword", + "documentation":"

    The credentials of the Spark EMR.

    " + }, + "credentialsExpiration":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The credential expiration of the Spark EMR.

    " + }, + "governanceType":{ + "shape":"GovernanceType", + "documentation":"

    The governance type of the Spark EMR.

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

    The instance profile ARN of the Spark EMR.

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

    The Java virtual env of the Spark EMR.

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

    The livy endpoint of the Spark EMR.

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

    The log URI of the Spark EMR.

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

    The Python virtual env of the Spark EMR.

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

    The runtime role of the Spark EMR.

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

    The trusted certificate S3 URL of the Spark EMR.

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

    The Spark EMR properties.

    " + }, + "SparkEmrPropertiesPatch":{ + "type":"structure", + "members":{ + "computeArn":{ + "shape":"SparkEmrPropertiesPatchComputeArnString", + "documentation":"

    The compute ARN in the Spark EMR properties patch.

    " + }, + "instanceProfileArn":{ + "shape":"SparkEmrPropertiesPatchInstanceProfileArnString", + "documentation":"

    The instance profile ARN in the Spark EMR properties patch.

    " + }, + "javaVirtualEnv":{ + "shape":"SparkEmrPropertiesPatchJavaVirtualEnvString", + "documentation":"

    The Java virtual evn in the Spark EMR properties patch.

    " + }, + "logUri":{ + "shape":"SparkEmrPropertiesPatchLogUriString", + "documentation":"

    The log URI in the Spark EMR properties patch.

    " + }, + "pythonVirtualEnv":{ + "shape":"SparkEmrPropertiesPatchPythonVirtualEnvString", + "documentation":"

    The Python virtual env in the Spark EMR properties patch.

    " + }, + "runtimeRole":{ + "shape":"SparkEmrPropertiesPatchRuntimeRoleString", + "documentation":"

    The runtime role in the Spark EMR properties patch.

    " + }, + "trustedCertificatesS3Uri":{ + "shape":"SparkEmrPropertiesPatchTrustedCertificatesS3UriString", + "documentation":"

    The trusted certificates S3 URI in the Spark EMR properties patch.

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

    The Spark EMR properties patch.

    " + }, + "SparkEmrPropertiesPatchComputeArnString":{ + "type":"string", + "max":256, + "min":0 + }, + "SparkEmrPropertiesPatchInstanceProfileArnString":{ + "type":"string", + "max":256, + "min":0 + }, + "SparkEmrPropertiesPatchJavaVirtualEnvString":{ + "type":"string", + "max":256, + "min":0 + }, + "SparkEmrPropertiesPatchLogUriString":{ + "type":"string", + "max":256, + "min":0 + }, + "SparkEmrPropertiesPatchPythonVirtualEnvString":{ + "type":"string", + "max":256, + "min":0 + }, + "SparkEmrPropertiesPatchRuntimeRoleString":{ + "type":"string", + "pattern":"^arn:aws[^:]*:iam::\\d{12}:(role|role/service-role)/[\\w+=,.@-]*$" + }, + "SparkEmrPropertiesPatchTrustedCertificatesS3UriString":{ "type":"string", - "max":1024, - "min":0, - "sensitive":true + "max":256, + "min":0 }, - "SingleSignOn":{ + "SparkGlueArgs":{ "type":"structure", "members":{ - "type":{ - "shape":"AuthType", - "documentation":"

    The type of single sign-on in Amazon DataZone.

    " + "connection":{ + "shape":"String", + "documentation":"

    The connection in the Spark Amazon Web Services Glue args.

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

    The Spark Amazon Web Services Glue args.

    " + }, + "SparkGluePropertiesInput":{ + "type":"structure", + "members":{ + "additionalArgs":{ + "shape":"SparkGlueArgs", + "documentation":"

    The additional args in the Spark Amazon Web Services Glue properties.

    " }, - "userAssignment":{ - "shape":"UserAssignment", - "documentation":"

    The single sign-on user assignment in Amazon DataZone.

    " + "glueConnectionName":{ + "shape":"SparkGluePropertiesInputGlueConnectionNameString", + "documentation":"

    The Amazon Web Services Glue connection name in the Spark Amazon Web Services Glue properties.

    " + }, + "glueVersion":{ + "shape":"SparkGluePropertiesInputGlueVersionString", + "documentation":"

    The Amazon Web Services Glue version in the Spark Amazon Web Services Glue properties.

    " + }, + "idleTimeout":{ + "shape":"Integer", + "documentation":"

    The idle timeout in the Spark Amazon Web Services Glue properties.

    " + }, + "javaVirtualEnv":{ + "shape":"SparkGluePropertiesInputJavaVirtualEnvString", + "documentation":"

    The Java virtual env in the Spark Amazon Web Services Glue properties.

    " + }, + "numberOfWorkers":{ + "shape":"Integer", + "documentation":"

    The number of workers in the Spark Amazon Web Services Glue properties.

    " + }, + "pythonVirtualEnv":{ + "shape":"SparkGluePropertiesInputPythonVirtualEnvString", + "documentation":"

    The Python virtual env in the Spark Amazon Web Services Glue properties.

    " + }, + "workerType":{ + "shape":"SparkGluePropertiesInputWorkerTypeString", + "documentation":"

    The worker type in the Spark Amazon Web Services Glue properties.

    " } }, - "documentation":"

    The single sign-on details in Amazon DataZone.

    " + "documentation":"

    The Spark Amazon Web Services Glue properties.

    " }, - "Smithy":{ + "SparkGluePropertiesInputGlueConnectionNameString":{ "type":"string", - "max":100000, - "min":1 + "max":256, + "min":0 }, - "SortFieldProject":{ + "SparkGluePropertiesInputGlueVersionString":{ "type":"string", - "enum":["NAME"] + "max":256, + "min":0 }, - "SortKey":{ + "SparkGluePropertiesInputJavaVirtualEnvString":{ "type":"string", - "enum":[ - "CREATED_AT", - "UPDATED_AT" - ] + "max":256, + "min":0 }, - "SortOrder":{ + "SparkGluePropertiesInputPythonVirtualEnvString":{ "type":"string", - "enum":[ - "ASCENDING", - "DESCENDING" - ] + "max":256, + "min":0 + }, + "SparkGluePropertiesInputWorkerTypeString":{ + "type":"string", + "max":256, + "min":0 + }, + "SparkGluePropertiesOutput":{ + "type":"structure", + "members":{ + "additionalArgs":{ + "shape":"SparkGlueArgs", + "documentation":"

    The additional args in the Spark Amazon Web Services Glue properties.

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

    The Amazon Web Services Glue connection name in the Spark Amazon Web Services Glue properties.

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

    The Amazon Web Services Glue version in the Spark Amazon Web Services Glue properties.

    " + }, + "idleTimeout":{ + "shape":"Integer", + "documentation":"

    The idle timeout in the Spark Amazon Web Services Glue properties.

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

    The Java virtual env in the Spark Amazon Web Services Glue properties.

    " + }, + "numberOfWorkers":{ + "shape":"Integer", + "documentation":"

    The number of workers in the Spark Amazon Web Services Glue properties.

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

    The Python virtual env in the Spark Amazon Web Services Glue properties.

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

    The worker type in the Spark Amazon Web Services Glue properties.

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

    The Spark Amazon Web Services Glue properties.

    " }, "SsoUserProfileDetails":{ "type":"structure", @@ -16402,11 +19824,30 @@ } } }, + "Status":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "String":{"type":"string"}, "StringList":{ "type":"list", "member":{"shape":"String"} }, + "SubnetId":{ + "type":"string", + "max":32, + "min":0, + "pattern":"^subnet-[a-z0-9]+$" + }, + "SubnetIdList":{ + "type":"list", + "member":{"shape":"SubnetId"}, + "max":50, + "min":1 + }, "SubscribedAsset":{ "type":"structure", "required":[ @@ -16949,7 +20390,6 @@ "domainId", "environmentId", "id", - "manageAccessRole", "name", "projectId", "provider", @@ -16986,7 +20426,7 @@ "documentation":"

    The identifier of the subscription target.

    " }, "manageAccessRole":{ - "shape":"String", + "shape":"IamRoleArn", "documentation":"

    The manage access role specified in the subscription target.

    " }, "name":{ @@ -17356,6 +20796,21 @@ "min":0, "sensitive":true }, + "TokenUrlParametersMap":{ + "type":"map", + "key":{"shape":"TokenUrlParametersMapKeyString"}, + "value":{"shape":"TokenUrlParametersMapValueString"} + }, + "TokenUrlParametersMapKeyString":{ + "type":"string", + "max":128, + "min":1 + }, + "TokenUrlParametersMapValueString":{ + "type":"string", + "max":512, + "min":1 + }, "Topic":{ "type":"structure", "required":[ @@ -17376,6 +20831,19 @@ }, "documentation":"

    The topic of the notification.

    " }, + "TrackingAssetArns":{ + "type":"list", + "member":{"shape":"SageMakerResourceArn"}, + "max":500, + "min":0 + }, + "TrackingAssets":{ + "type":"map", + "key":{"shape":"SageMakerAssetType"}, + "value":{"shape":"TrackingAssetArns"}, + "max":1, + "min":1 + }, "TypeName":{ "type":"string", "max":256, @@ -17531,6 +20999,98 @@ } } }, + "UpdateConnectionInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "awsLocation":{ + "shape":"AwsLocation", + "documentation":"

    The location where a connection is to be updated.

    " + }, + "description":{ + "shape":"UpdateConnectionInputDescriptionString", + "documentation":"

    The description of a connection.

    " + }, + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where a connection is to be updated.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"ConnectionId", + "documentation":"

    The ID of the connection to be updated.

    ", + "location":"uri", + "locationName":"identifier" + }, + "props":{ + "shape":"ConnectionPropertiesPatch", + "documentation":"

    The connection props.

    " + } + } + }, + "UpdateConnectionInputDescriptionString":{ + "type":"string", + "max":128, + "min":1, + "sensitive":true + }, + "UpdateConnectionOutput":{ + "type":"structure", + "required":[ + "connectionId", + "domainId", + "domainUnitId", + "name", + "physicalEndpoints", + "type" + ], + "members":{ + "connectionId":{ + "shape":"ConnectionId", + "documentation":"

    The ID of the connection.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The connection description.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where a connection is to be updated.

    " + }, + "domainUnitId":{ + "shape":"DomainUnitId", + "documentation":"

    The ID of the domain unit where a connection is to be updated.

    " + }, + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The ID of the environment where a connection is to be updated.

    " + }, + "name":{ + "shape":"ConnectionName", + "documentation":"

    The name of the connection.

    " + }, + "physicalEndpoints":{ + "shape":"PhysicalEndpoints", + "documentation":"

    The physical endpoints of the connection.

    " + }, + "projectId":{ + "shape":"ProjectId", + "documentation":"

    The project ID of the connection.

    " + }, + "props":{ + "shape":"ConnectionPropertiesOutput", + "documentation":"

    The connection props.

    " + }, + "type":{ + "shape":"ConnectionType", + "documentation":"

    The connection type.

    " + } + } + }, "UpdateDataSourceInput":{ "type":"structure", "required":[ @@ -17592,7 +21152,6 @@ "type":"structure", "required":[ "domainId", - "environmentId", "id", "name", "projectId" @@ -17606,6 +21165,10 @@ "shape":"DataSourceConfigurationOutput", "documentation":"

    The configuration to be updated as part of the UpdateDataSource action.

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

    The connection ID.

    " + }, "createdAt":{ "shape":"DateTime", "documentation":"

    The timestamp of when the data source was updated.

    " @@ -17717,6 +21280,10 @@ "shape":"String", "documentation":"

    The name to be updated as part of the UpdateDomain action.

    " }, + "serviceRole":{ + "shape":"RoleArn", + "documentation":"

    The service role of the domain.

    " + }, "singleSignOn":{ "shape":"SingleSignOn", "documentation":"

    The single sign-on option to be updated as part of the UpdateDomain action.

    " @@ -17751,6 +21318,10 @@ "shape":"DomainUnitId", "documentation":"

    The ID of the root domain unit.

    " }, + "serviceRole":{ + "shape":"RoleArn", + "documentation":"

    The service role of the domain.

    " + }, "singleSignOn":{ "shape":"SingleSignOn", "documentation":"

    The single sign-on option of the Amazon DataZone domain.

    " @@ -18369,6 +21940,10 @@ "location":"uri", "locationName":"domainIdentifier" }, + "environmentDeploymentDetails":{ + "shape":"EnvironmentDeploymentDetails", + "documentation":"

    The environment deployment details of the project.

    " + }, "glossaryTerms":{ "shape":"GlossaryTerms", "documentation":"

    The glossary terms to be updated as part of the UpdateProject action.

    " @@ -18414,6 +21989,10 @@ "shape":"DomainUnitId", "documentation":"

    The ID of the domain unit.

    " }, + "environmentDeploymentDetails":{ + "shape":"EnvironmentDeploymentDetails", + "documentation":"

    The environment deployment details of the project.

    " + }, "failureReasons":{ "shape":"FailureReasons", "documentation":"

    Specifies the error message that is returned if the operation cannot be successfully completed.

    " @@ -18434,9 +22013,109 @@ "shape":"ProjectName", "documentation":"

    The name of the project that is to be updated.

    " }, + "projectProfileId":{ + "shape":"ProjectProfileId", + "documentation":"

    The ID of the project profile.

    " + }, "projectStatus":{ "shape":"ProjectStatus", "documentation":"

    The status of the project.

    " + }, + "userParameters":{ + "shape":"EnvironmentConfigurationUserParametersList", + "documentation":"

    The user parameters of the project.

    " + } + } + }, + "UpdateProjectProfileInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "description":{ + "shape":"Description", + "documentation":"

    The description of a project profile.

    " + }, + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where a project profile is to be updated.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "domainUnitIdentifier":{ + "shape":"DomainUnitId", + "documentation":"

    The ID of the domain unit where a project profile is to be updated.

    " + }, + "environmentConfigurations":{ + "shape":"EnvironmentConfigurationsList", + "documentation":"

    The environment configurations of a project profile.

    " + }, + "identifier":{ + "shape":"ProjectProfileId", + "documentation":"

    The ID of a project profile that is to be updated.

    ", + "location":"uri", + "locationName":"identifier" + }, + "name":{ + "shape":"ProjectProfileName", + "documentation":"

    The name of a project profile.

    " + }, + "status":{ + "shape":"Status", + "documentation":"

    The status of a project profile.

    " + } + } + }, + "UpdateProjectProfileOutput":{ + "type":"structure", + "required":[ + "createdBy", + "domainId", + "id", + "name" + ], + "members":{ + "createdAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The timestamp at which a project profile is created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user who created a project profile.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of a project profile.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The ID of the domain where project profile is to be updated.

    " + }, + "domainUnitId":{ + "shape":"DomainUnitId", + "documentation":"

    The domain unit ID of the project profile to be updated.

    " + }, + "environmentConfigurations":{ + "shape":"EnvironmentConfigurationsList", + "documentation":"

    The environment configurations of a project profile.

    " + }, + "id":{ + "shape":"ProjectProfileId", + "documentation":"

    The ID of the project profile.

    " + }, + "lastUpdatedAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The timestamp at which a project profile was last updated.

    " + }, + "name":{ + "shape":"ProjectProfileName", + "documentation":"

    The name of the project profile.

    " + }, + "status":{ + "shape":"Status", + "documentation":"

    The status of the project profile.

    " } } }, @@ -18799,7 +22478,7 @@ "locationName":"identifier" }, "manageAccessRole":{ - "shape":"String", + "shape":"IamRoleArn", "documentation":"

    The manage access role to be updated as part of the UpdateSubscriptionTarget action.

    " }, "name":{ @@ -18826,7 +22505,6 @@ "domainId", "environmentId", "id", - "manageAccessRole", "name", "projectId", "provider", @@ -18863,7 +22541,7 @@ "documentation":"

    Identifier of the subscription target that is to be updated.

    " }, "manageAccessRole":{ - "shape":"String", + "shape":"IamRoleArn", "documentation":"

    The manage access role to be updated as part of the UpdateSubscriptionTarget action.

    " }, "name":{ @@ -19092,6 +22770,30 @@ "SSO_USER" ] }, + "Username":{ + "type":"string", + "max":64, + "min":0 + }, + "UsernamePassword":{ + "type":"structure", + "required":[ + "password", + "username" + ], + "members":{ + "password":{ + "shape":"Password", + "documentation":"

    The password of a connection.

    " + }, + "username":{ + "shape":"Username", + "documentation":"

    The username of a connection.

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

    The username and password of a connection.

    ", + "sensitive":true + }, "ValidationException":{ "type":"structure", "required":["message"], diff --git a/tools/code-generation/api-descriptions/dsql-2018-05-10.normal.json b/tools/code-generation/api-descriptions/dsql-2018-05-10.normal.json index 958073e1b21..c8a102cb0ce 100644 --- a/tools/code-generation/api-descriptions/dsql-2018-05-10.normal.json +++ b/tools/code-generation/api-descriptions/dsql-2018-05-10.normal.json @@ -23,14 +23,14 @@ "input":{"shape":"CreateClusterInput"}, "output":{"shape":"CreateClusterOutput"}, "errors":[ - {"shape":"ConflictException"}, - {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, - {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"} + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ConflictException"} ], - "documentation":"

    Create a cluster

    " + "documentation":"

    Creates a cluster in Amazon Aurora DSQL.

    " }, "CreateMultiRegionClusters":{ "name":"CreateMultiRegionClusters", @@ -42,14 +42,14 @@ "input":{"shape":"CreateMultiRegionClustersInput"}, "output":{"shape":"CreateMultiRegionClustersOutput"}, "errors":[ - {"shape":"ConflictException"}, - {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, - {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"} + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ConflictException"} ], - "documentation":"

    Create clusters in multiple regions

    " + "documentation":"

    Creates multi-Region clusters in Amazon Aurora DSQL. Multi-Region clusters require a linked Region list, which is an array of the Regions in which you want to create linked clusters. Multi-Region clusters require a witness Region, which participates in quorum in failure scenarios.

    " }, "DeleteCluster":{ "name":"DeleteCluster", @@ -61,14 +61,14 @@ "input":{"shape":"DeleteClusterInput"}, "output":{"shape":"DeleteClusterOutput"}, "errors":[ - {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ConflictException"} ], - "documentation":"

    Delete a cluster

    ", + "documentation":"

    Deletes a cluster in Amazon Aurora DSQL.

    ", "idempotent":true }, "DeleteMultiRegionClusters":{ @@ -80,14 +80,14 @@ }, "input":{"shape":"DeleteMultiRegionClustersInput"}, "errors":[ - {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ConflictException"} ], - "documentation":"

    Delete clusters in multiple regions

    ", + "documentation":"

    Deletes a multi-Region cluster in Amazon Aurora DSQL.

    ", "idempotent":true }, "GetCluster":{ @@ -100,13 +100,13 @@ "input":{"shape":"GetClusterInput"}, "output":{"shape":"GetClusterOutput"}, "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ResourceNotFoundException"} ], - "documentation":"

    Get a cluster

    " + "documentation":"

    Retrieves information about a cluster.

    " }, "ListClusters":{ "name":"ListClusters", @@ -118,13 +118,13 @@ "input":{"shape":"ListClustersInput"}, "output":{"shape":"ListClustersOutput"}, "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ResourceNotFoundException"} ], - "documentation":"

    List clusters

    " + "documentation":"

    Retrieves information about a list of clusters.

    " }, "ListTagsForResource":{ "name":"ListTagsForResource", @@ -136,13 +136,13 @@ "input":{"shape":"ListTagsForResourceInput"}, "output":{"shape":"ListTagsForResourceOutput"}, "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ResourceNotFoundException"} ], - "documentation":"

    List all Tags on an ARN

    " + "documentation":"

    Lists all of the tags for a resource.

    " }, "TagResource":{ "name":"TagResource", @@ -153,14 +153,14 @@ }, "input":{"shape":"TagResourceInput"}, "errors":[ - {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, - {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"} ], - "documentation":"

    Add Tags to an ARN

    ", + "documentation":"

    Tags a resource with a map of key and value pairs.

    ", "idempotent":true }, "UntagResource":{ @@ -172,13 +172,13 @@ }, "input":{"shape":"UntagResourceInput"}, "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ResourceNotFoundException"} ], - "documentation":"

    Remove Tags from an ARN

    ", + "documentation":"

    Removes a tag from a resource.

    ", "idempotent":true }, "UpdateCluster":{ @@ -191,14 +191,14 @@ "input":{"shape":"UpdateClusterInput"}, "output":{"shape":"UpdateClusterOutput"}, "errors":[ - {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} + {"shape":"ConflictException"} ], - "documentation":"

    Update a cluster

    " + "documentation":"

    Updates a cluster.

    " } }, "shapes":{ @@ -208,7 +208,7 @@ "members":{ "message":{"shape":"String"} }, - "documentation":"

    User does not have sufficient access to perform this action

    ", + "documentation":"

    You do not have sufficient access to perform this action.

    ", "error":{ "httpStatusCode":403, "senderFault":true @@ -244,7 +244,7 @@ }, "ClusterId":{ "type":"string", - "documentation":"

    Cluster ID

    " + "documentation":"

    The ID of the cluster

    " }, "ClusterList":{ "type":"list", @@ -276,29 +276,32 @@ "arn" ], "members":{ - "identifier":{"shape":"ClusterId"}, - "arn":{"shape":"ClusterArn"} + "identifier":{ + "shape":"ClusterId", + "documentation":"

    The ID of the cluster.

    " + }, + "arn":{ + "shape":"ClusterArn", + "documentation":"

    The ARN of the cluster.

    " + } }, - "documentation":"

    Cluster Summary

    " + "documentation":"

    A summary of the properties of a cluster.

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

    Description of the error

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

    Identifier of the resource affected

    " + "documentation":"

    Resource Id

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

    Type of the resource affected

    " + "documentation":"

    Resource Type

    " } }, - "documentation":"

    Updating or deleting a resource can cause an inconsistent state

    ", + "documentation":"

    The submitted action has conflicts.

    ", "error":{ "httpStatusCode":409, "senderFault":true @@ -308,10 +311,17 @@ "CreateClusterInput":{ "type":"structure", "members":{ - "deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"}, - "tags":{"shape":"TagMap"}, + "deletionProtectionEnabled":{ + "shape":"DeletionProtectionEnabled", + "documentation":"

    If enabled, you can't delete your cluster. You must first disable this property before you can delete your cluster.

    " + }, + "tags":{ + "shape":"TagMap", + "documentation":"

    A map of key and value pairs to use to tag your cluster.

    " + }, "clientToken":{ "shape":"ClientToken", + "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.

    If you don't specify a client token, the Amazon Web Services SDK automatically generates one.

    ", "idempotencyToken":true } } @@ -326,11 +336,26 @@ "deletionProtectionEnabled" ], "members":{ - "identifier":{"shape":"ClusterId"}, - "arn":{"shape":"ClusterArn"}, - "status":{"shape":"ClusterStatus"}, - "creationTime":{"shape":"ClusterCreationTime"}, - "deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"} + "identifier":{ + "shape":"ClusterId", + "documentation":"

    The ID of the created cluster.

    " + }, + "arn":{ + "shape":"ClusterArn", + "documentation":"

    The ARN of the created cluster.

    " + }, + "status":{ + "shape":"ClusterStatus", + "documentation":"

    The status of the created cluster.

    " + }, + "creationTime":{ + "shape":"ClusterCreationTime", + "documentation":"

    The time of when created the cluster.

    " + }, + "deletionProtectionEnabled":{ + "shape":"DeletionProtectionEnabled", + "documentation":"

    Whether deletion protection is enabled on this cluster.

    " + } }, "documentation":"

    Output Mixin

    " }, @@ -341,11 +366,21 @@ "witnessRegion" ], "members":{ - "linkedRegionList":{"shape":"RegionList"}, - "clusterProperties":{"shape":"ClusterPropertyMap"}, - "witnessRegion":{"shape":"Region"}, + "linkedRegionList":{ + "shape":"RegionList", + "documentation":"

    An array of the Regions in which you want to create additional clusters.

    " + }, + "clusterProperties":{ + "shape":"ClusterPropertyMap", + "documentation":"

    A mapping of properties to use when creating linked clusters.

    " + }, + "witnessRegion":{ + "shape":"Region", + "documentation":"

    The witness Region of multi-Region clusters.

    " + }, "clientToken":{ "shape":"ClientToken", + "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully. The subsequent retries with the same client token return the result from the original successful request and they have no additional effect.

    If you don't specify a client token, the Amazon Web Services SDK automatically generates one.

    ", "idempotencyToken":true } } @@ -354,7 +389,10 @@ "type":"structure", "required":["linkedClusterArns"], "members":{ - "linkedClusterArns":{"shape":"ClusterArnList"} + "linkedClusterArns":{ + "shape":"ClusterArnList", + "documentation":"

    An array that contains the ARNs of all linked clusters.

    " + } } }, "DeleteClusterInput":{ @@ -363,11 +401,13 @@ "members":{ "identifier":{ "shape":"ClusterId", + "documentation":"

    The ID of the cluster to delete.

    ", "location":"uri", "locationName":"identifier" }, "clientToken":{ "shape":"ClientToken", + "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully. The subsequent retries with the same client token return the result from the original successful request and they have no additional effect.

    If you don't specify a client token, the Amazon Web Services SDK automatically generates one.

    ", "idempotencyToken":true, "location":"querystring", "locationName":"client-token" @@ -384,11 +424,26 @@ "deletionProtectionEnabled" ], "members":{ - "identifier":{"shape":"ClusterId"}, - "arn":{"shape":"ClusterArn"}, - "status":{"shape":"ClusterStatus"}, - "creationTime":{"shape":"ClusterCreationTime"}, - "deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"} + "identifier":{ + "shape":"ClusterId", + "documentation":"

    The ID of the deleted cluster.

    " + }, + "arn":{ + "shape":"ClusterArn", + "documentation":"

    The ARN of the deleted cluster.

    " + }, + "status":{ + "shape":"ClusterStatus", + "documentation":"

    The status of the cluster.

    " + }, + "creationTime":{ + "shape":"ClusterCreationTime", + "documentation":"

    The time of when the cluster was created.

    " + }, + "deletionProtectionEnabled":{ + "shape":"DeletionProtectionEnabled", + "documentation":"

    Specifies whether deletion protection was enabled on the cluster.

    " + } }, "documentation":"

    Output Mixin

    " }, @@ -398,11 +453,13 @@ "members":{ "linkedClusterArns":{ "shape":"ClusterArnList", + "documentation":"

    The ARNs of the clusters linked to the cluster you want to delete. also deletes these clusters as part of the operation.

    ", "location":"querystring", "locationName":"linked-cluster-arns" }, "clientToken":{ "shape":"ClientToken", + "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully. The subsequent retries with the same client token return the result from the original successful request and they have no additional effect.

    If you don't specify a client token, the Amazon Web Services SDK automatically generates one.

    ", "idempotencyToken":true, "location":"querystring", "locationName":"client-token" @@ -420,6 +477,7 @@ "members":{ "identifier":{ "shape":"ClusterId", + "documentation":"

    The ID of the cluster to retrieve.

    ", "location":"uri", "locationName":"identifier" } @@ -435,13 +493,34 @@ "deletionProtectionEnabled" ], "members":{ - "identifier":{"shape":"ClusterId"}, - "arn":{"shape":"ClusterArn"}, - "status":{"shape":"ClusterStatus"}, - "creationTime":{"shape":"ClusterCreationTime"}, - "deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"}, - "witnessRegion":{"shape":"Region"}, - "linkedClusterArns":{"shape":"ClusterArnList"} + "identifier":{ + "shape":"ClusterId", + "documentation":"

    The ID of the retrieved cluster.

    " + }, + "arn":{ + "shape":"ClusterArn", + "documentation":"

    The ARN of the retrieved cluster.

    " + }, + "status":{ + "shape":"ClusterStatus", + "documentation":"

    The status of the retrieved cluster.

    " + }, + "creationTime":{ + "shape":"ClusterCreationTime", + "documentation":"

    The time of when the cluster was created.

    " + }, + "deletionProtectionEnabled":{ + "shape":"DeletionProtectionEnabled", + "documentation":"

    Whether deletion protection is enabled in this cluster.

    " + }, + "witnessRegion":{ + "shape":"Region", + "documentation":"

    The witness Region of the cluster. Applicable only for multi-Region clusters.

    " + }, + "linkedClusterArns":{ + "shape":"ClusterArnList", + "documentation":"

    The ARNs of the clusters linked to the retrieved cluster.

    " + } }, "documentation":"

    Output Mixin

    " }, @@ -453,18 +532,15 @@ "type":"structure", "required":["message"], "members":{ - "message":{ - "shape":"String", - "documentation":"

    Description of the error

    " - }, + "message":{"shape":"String"}, "retryAfterSeconds":{ "shape":"Integer", - "documentation":"

    Advice to clients on when the call can be safely retried

    ", + "documentation":"

    Retry after seconds.

    ", "location":"header", "locationName":"Retry-After" } }, - "documentation":"

    Unexpected error during processing of request

    ", + "documentation":"

    The request processing has failed because of an unknown error, exception or failure.

    ", "error":{"httpStatusCode":500}, "exception":true, "fault":true, @@ -473,21 +549,29 @@ "LinkedClusterProperties":{ "type":"structure", "members":{ - "deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"}, - "tags":{"shape":"TagMap"} + "deletionProtectionEnabled":{ + "shape":"DeletionProtectionEnabled", + "documentation":"

    Whether deletion protection is enabled.

    " + }, + "tags":{ + "shape":"TagMap", + "documentation":"

    A map of key and value pairs the linked cluster is tagged with.

    " + } }, - "documentation":"

    Linked Cluster Properties

    " + "documentation":"

    Properties of linked clusters.

    " }, "ListClustersInput":{ "type":"structure", "members":{ "maxResults":{ "shape":"MaxResults", + "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    ", "location":"querystring", "locationName":"max-results" }, "nextToken":{ "shape":"NextToken", + "documentation":"

    If your initial ListClusters operation returns a nextToken, you can include the returned nextToken in following ListClusters operations, which returns results in the next page.

    ", "location":"querystring", "locationName":"next-token" } @@ -497,8 +581,14 @@ "type":"structure", "required":["clusters"], "members":{ - "nextToken":{"shape":"NextToken"}, - "clusters":{"shape":"ClusterList"} + "nextToken":{ + "shape":"NextToken", + "documentation":"

    If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.

    " + }, + "clusters":{ + "shape":"ClusterList", + "documentation":"

    An array of the returned clusters.

    " + } } }, "ListTagsForResourceInput":{ @@ -507,6 +597,7 @@ "members":{ "resourceArn":{ "shape":"Arn", + "documentation":"

    The ARN of the resource for which you want to list the tags.

    ", "location":"uri", "locationName":"resourceArn" } @@ -515,7 +606,10 @@ "ListTagsForResourceOutput":{ "type":"structure", "members":{ - "tags":{"shape":"TagMap"} + "tags":{ + "shape":"TagMap", + "documentation":"

    A map of key and value pairs that you used to tag your resource.

    " + } } }, "MaxResults":{ @@ -558,7 +652,7 @@ "documentation":"

    Hypothetical type of the resource which does not exist

    " } }, - "documentation":"

    Request references a resource which does not exist

    ", + "documentation":"

    The resource could not be found.

    ", "error":{ "httpStatusCode":404, "senderFault":true @@ -596,7 +690,7 @@ "documentation":"

    Service Quotas requirement to identify originating quota

    " } }, - "documentation":"

    Request would cause a service quota to be exceeded

    ", + "documentation":"

    The service limit was exceeded.

    ", "error":{ "httpStatusCode":402, "senderFault":true @@ -606,7 +700,7 @@ "String":{"type":"string"}, "TagKey":{ "type":"string", - "documentation":"

    Tag Key

    ", + "documentation":"

    Unique tag key, maximum 128 Unicode characters in UTF-8

    ", "max":128, "min":1, "pattern":"[a-zA-Z0-9_.:/=+\\-@ ]*" @@ -635,15 +729,19 @@ "members":{ "resourceArn":{ "shape":"Arn", + "documentation":"

    The ARN of the resource that you want to tag.

    ", "location":"uri", "locationName":"resourceArn" }, - "tags":{"shape":"TagMap"} + "tags":{ + "shape":"TagMap", + "documentation":"

    A map of key and value pairs to use to tag your resource.

    " + } } }, "TagValue":{ "type":"string", - "documentation":"

    Tag Value

    ", + "documentation":"

    Tag value, maximum 256 Unicode characters in UTF-8

    ", "max":256, "min":0, "pattern":"[a-zA-Z0-9_.:/=+\\-@ ]*" @@ -671,7 +769,7 @@ "locationName":"Retry-After" } }, - "documentation":"

    Request was denied due to request throttling

    ", + "documentation":"

    The request was denied due to request throttling.

    ", "error":{ "httpStatusCode":429, "senderFault":true @@ -688,11 +786,13 @@ "members":{ "resourceArn":{ "shape":"Arn", + "documentation":"

    The ARN of the resource from which to remove tags.

    ", "location":"uri", "locationName":"resourceArn" }, "tagKeys":{ "shape":"TagKeyList", + "documentation":"

    The array of keys of the tags that you want to remove.

    ", "location":"querystring", "locationName":"tagKeys" } @@ -704,12 +804,17 @@ "members":{ "identifier":{ "shape":"ClusterId", + "documentation":"

    The ID of the cluster you want to update.

    ", "location":"uri", "locationName":"identifier" }, - "deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"}, + "deletionProtectionEnabled":{ + "shape":"DeletionProtectionEnabled", + "documentation":"

    Specifies whether to enable deletion protection in your cluster.

    " + }, "clientToken":{ "shape":"ClientToken", + "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully. The subsequent retries with the same client token return the result from the original successful request and they have no additional effect.

    If you don't specify a client token, the Amazon Web Services SDK automatically generates one.

    ", "idempotencyToken":true } } @@ -724,13 +829,34 @@ "deletionProtectionEnabled" ], "members":{ - "identifier":{"shape":"ClusterId"}, - "arn":{"shape":"ClusterArn"}, - "status":{"shape":"ClusterStatus"}, - "creationTime":{"shape":"ClusterCreationTime"}, - "deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"}, - "witnessRegion":{"shape":"Region"}, - "linkedClusterArns":{"shape":"ClusterArnList"} + "identifier":{ + "shape":"ClusterId", + "documentation":"

    The ID of the cluster to update.

    " + }, + "arn":{ + "shape":"ClusterArn", + "documentation":"

    The ARN of the updated cluster.

    " + }, + "status":{ + "shape":"ClusterStatus", + "documentation":"

    The status of the updated cluster.

    " + }, + "creationTime":{ + "shape":"ClusterCreationTime", + "documentation":"

    The time of when the cluster was created.

    " + }, + "deletionProtectionEnabled":{ + "shape":"DeletionProtectionEnabled", + "documentation":"

    Whether deletion protection is enabled for the updated cluster.

    " + }, + "witnessRegion":{ + "shape":"Region", + "documentation":"

    The Region that receives all data you write to linked clusters.

    " + }, + "linkedClusterArns":{ + "shape":"ClusterArnList", + "documentation":"

    The ARNs of the clusters linked to the updated cluster. Applicable only for multi-Region clusters.

    " + } }, "documentation":"

    Output Mixin

    " }, @@ -745,7 +871,7 @@ "reason":{"shape":"ValidationExceptionReason"}, "fieldList":{"shape":"ValidationExceptionFieldList"} }, - "documentation":"

    The input fails to satisfy the constraints specified by an AWS service

    ", + "documentation":"

    The input failed to satisfy the constraints specified by an Amazon Web Services service.

    ", "error":{ "httpStatusCode":400, "senderFault":true @@ -761,14 +887,14 @@ "members":{ "name":{ "shape":"String", - "documentation":"

    The field name

    " + "documentation":"

    The name of the field.

    " }, "message":{ "shape":"String", - "documentation":"

    Message describing why the field failed validation

    " + "documentation":"

    A message describing why this field failed validation.

    " } }, - "documentation":"

    A field that caused the error

    " + "documentation":"

    Stores information about a field passed inside a request that resulted in an validation error.

    " }, "ValidationExceptionFieldList":{ "type":"list", @@ -787,5 +913,5 @@ ] } }, - "documentation":"

    Amazon Aurora DSQL is a serverless, distributed SQL database suitable for workloads of any size. Aurora DSQL provides you with a familiar relational database experience based on PostgreSQL that lets you get started quickly. Aurora DSQL offers reliable multi-AZ database clusters in single and multi-Region configurations. Aurora DSQL supports active-active read and write to endpoints, so Aurora DSQL is always available even if an Availability Zone or if an AWS Region is unavailable. With Aurora DSQL, you don't have to manage, patch, or scale any servers to manage, patch, or scale. There are no maintenance windows or planned downtime.

    " + "documentation":"

    This is an interface reference for Amazon Aurora DSQL. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Aurora DSQL.

    Amazon Aurora DSQL is a serverless, distributed SQL database suitable for workloads of any size. Aurora DSQL is available in both single-Region and multi-Region configurations, so your clusters and databases are always available even if an Availability Zone or an Amazon Web Services Region are unavailable. Aurora DSQL lets you focus on using your data to acquire new insights for your business and customers.

    " } diff --git a/tools/code-generation/api-descriptions/dynamodb-2012-08-10.normal.json b/tools/code-generation/api-descriptions/dynamodb-2012-08-10.normal.json index a203f64e48c..227778c73a2 100644 --- a/tools/code-generation/api-descriptions/dynamodb-2012-08-10.normal.json +++ b/tools/code-generation/api-descriptions/dynamodb-2012-08-10.normal.json @@ -154,7 +154,8 @@ {"shape":"ItemCollectionSizeLimitExceededException"}, {"shape":"TransactionConflictException"}, {"shape":"RequestLimitExceeded"}, - {"shape":"InternalServerError"} + {"shape":"InternalServerError"}, + {"shape":"ReplicatedWriteConflictException"} ], "documentation":"

    Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value.

    In addition to deleting an item, you can also return the item's attribute values in the same operation, using the ReturnValues parameter.

    Unless you specify conditions, the DeleteItem is an idempotent operation; running it multiple times on the same item or attribute does not result in an error response.

    Conditional deletes are useful for deleting items only if specific conditions are met. If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not deleted.

    ", "endpointdiscovery":{ @@ -651,7 +652,8 @@ {"shape":"ItemCollectionSizeLimitExceededException"}, {"shape":"TransactionConflictException"}, {"shape":"RequestLimitExceeded"}, - {"shape":"InternalServerError"} + {"shape":"InternalServerError"}, + {"shape":"ReplicatedWriteConflictException"} ], "documentation":"

    Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the ReturnValues parameter.

    When you add an item, the primary key attributes are the only required attributes.

    Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index. Set type attributes cannot be empty.

    Invalid Requests with empty values will be rejected with a ValidationException exception.

    To prevent a new item from replacing an existing item, use a conditional expression that contains the attribute_not_exists function with the name of the attribute being used as the partition key for the table. Since every record must contain that attribute, the attribute_not_exists function will only succeed if no matching item exists.

    For more information about PutItem, see Working with Items in the Amazon DynamoDB Developer Guide.

    ", "endpointdiscovery":{ @@ -912,7 +914,8 @@ {"shape":"ItemCollectionSizeLimitExceededException"}, {"shape":"TransactionConflictException"}, {"shape":"RequestLimitExceeded"}, - {"shape":"InternalServerError"} + {"shape":"InternalServerError"}, + {"shape":"ReplicatedWriteConflictException"} ], "documentation":"

    Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).

    You can also return the item's attribute values in the same UpdateItem operation using the ReturnValues parameter.

    ", "endpointdiscovery":{ @@ -4343,6 +4346,13 @@ "key":{"shape":"AttributeName"}, "value":{"shape":"AttributeValue"} }, + "MultiRegionConsistency":{ + "type":"string", + "enum":[ + "EVENTUAL", + "STRONG" + ] + }, "NextTokenString":{"type":"string"}, "NonKeyAttributeName":{ "type":"string", @@ -5228,6 +5238,14 @@ "type":"list", "member":{"shape":"ReplicaUpdate"} }, + "ReplicatedWriteConflictException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

    The request was rejected because one or more items in the request are being modified by a request in another Region.

    ", + "exception":true + }, "ReplicationGroupUpdate":{ "type":"structure", "members":{ @@ -5979,6 +5997,10 @@ "WarmThroughput":{ "shape":"TableWarmThroughputDescription", "documentation":"

    Describes the warm throughput value of the base table.

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

    Indicates one of the following consistency modes for a global table:

    • EVENTUAL: Indicates that the global table is configured for multi-Region eventual consistency.

    • STRONG: Indicates that the global table is configured for multi-Region strong consistency (preview).

      Multi-Region strong consistency (MRSC) is a new DynamoDB global tables capability currently available in preview mode. For more information, see Global tables multi-Region strong consistency.

    If you don't specify this field, the global table consistency mode defaults to EVENTUAL.

    " } }, "documentation":"

    Represents the properties of a table.

    " @@ -6695,6 +6717,10 @@ "shape":"DeletionProtectionEnabled", "documentation":"

    Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.

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

    Specifies the consistency mode for a new global table. This parameter is only valid when you create a global table by specifying one or more Create actions in the ReplicaUpdates action list.

    You can specify one of the following consistency modes:

    • EVENTUAL: Configures a new global table for multi-Region eventual consistency. This is the default consistency mode for global tables.

    • STRONG: Configures a new global table for multi-Region strong consistency (preview).

      Multi-Region strong consistency (MRSC) is a new DynamoDB global tables capability currently available in preview mode. For more information, see Global tables multi-Region strong consistency.

    If you don't specify this parameter, the global table consistency mode defaults to EVENTUAL.

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

    Updates the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

    " diff --git a/tools/code-generation/api-descriptions/glue-2017-03-31.normal.json b/tools/code-generation/api-descriptions/glue-2017-03-31.normal.json index 00520d3c762..57c7879bd57 100644 --- a/tools/code-generation/api-descriptions/glue-2017-03-31.normal.json +++ b/tools/code-generation/api-descriptions/glue-2017-03-31.normal.json @@ -400,6 +400,29 @@ ], "documentation":"

    Registers a blueprint with Glue.

    " }, + "CreateCatalog":{ + "name":"CreateCatalog", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateCatalogRequest"}, + "output":{"shape":"CreateCatalogResponse"}, + "errors":[ + {"shape":"InvalidInputException"}, + {"shape":"AlreadyExistsException"}, + {"shape":"ResourceNumberLimitExceededException"}, + {"shape":"InternalServiceException"}, + {"shape":"OperationTimeoutException"}, + {"shape":"GlueEncryptionException"}, + {"shape":"ConcurrentModificationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"FederatedResourceAlreadyExistsException"}, + {"shape":"FederationSourceException"} + ], + "documentation":"

    Creates a new catalog in the Glue Data Catalog.

    " + }, "CreateClassifier":{ "name":"CreateClassifier", "http":{ @@ -520,7 +543,9 @@ {"shape":"OperationTimeoutException"}, {"shape":"GlueEncryptionException"}, {"shape":"ConcurrentModificationException"}, - {"shape":"FederatedResourceAlreadyExistsException"} + {"shape":"FederatedResourceAlreadyExistsException"}, + {"shape":"FederationSourceException"}, + {"shape":"FederationSourceRetryableException"} ], "documentation":"

    Creates a new database in a Data Catalog.

    " }, @@ -544,6 +569,69 @@ ], "documentation":"

    Creates a new development endpoint.

    " }, + "CreateIntegration":{ + "name":"CreateIntegration", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateIntegrationRequest"}, + "output":{"shape":"CreateIntegrationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"IntegrationConflictOperationFault"}, + {"shape":"IntegrationQuotaExceededFault"}, + {"shape":"KMSKeyNotAccessibleFault"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNumberLimitExceededException"}, + {"shape":"InvalidInputException"} + ], + "documentation":"

    Creates a Zero-ETL integration in the caller's account between two resources with Amazon Resource Names (ARNs): the SourceArn and TargetArn.

    " + }, + "CreateIntegrationResourceProperty":{ + "name":"CreateIntegrationResourceProperty", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateIntegrationResourcePropertyRequest"}, + "output":{"shape":"CreateIntegrationResourcePropertyResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidInputException"} + ], + "documentation":"

    This API can be used for setting up the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target). These properties can include the role to access the connection or database. To set both source and target properties the same API needs to be invoked with the Glue connection ARN as ResourceArn with SourceProcessingProperties and the Glue database ARN as ResourceArn with TargetProcessingProperties respectively.

    " + }, + "CreateIntegrationTableProperties":{ + "name":"CreateIntegrationTableProperties", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateIntegrationTablePropertiesRequest"}, + "output":{"shape":"CreateIntegrationTablePropertiesResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidInputException"} + ], + "documentation":"

    This API is used to provide optional override properties for the the tables that need to be replicated. These properties can include properties for filtering and partitioning for the source and target tables. To set both source and target properties the same API need to be invoked with the Glue connection ARN as ResourceArn with SourceTableConfig, and the Glue database ARN as ResourceArn with TargetTableConfig respectively.

    " + }, "CreateJob":{ "name":"CreateJob", "http":{ @@ -726,7 +814,9 @@ {"shape":"OperationTimeoutException"}, {"shape":"GlueEncryptionException"}, {"shape":"ConcurrentModificationException"}, - {"shape":"ResourceNotReadyException"} + {"shape":"ResourceNotReadyException"}, + {"shape":"FederationSourceException"}, + {"shape":"FederationSourceRetryableException"} ], "documentation":"

    Creates a new table definition in the Data Catalog.

    " }, @@ -839,6 +929,26 @@ ], "documentation":"

    Deletes an existing blueprint.

    " }, + "DeleteCatalog":{ + "name":"DeleteCatalog", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteCatalogRequest"}, + "output":{"shape":"DeleteCatalogResponse"}, + "errors":[ + {"shape":"EntityNotFoundException"}, + {"shape":"InvalidInputException"}, + {"shape":"InternalServiceException"}, + {"shape":"OperationTimeoutException"}, + {"shape":"GlueEncryptionException"}, + {"shape":"ConcurrentModificationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"FederationSourceException"} + ], + "documentation":"

    Removes the specified catalog from the Glue Data Catalog.

    After completing this operation, you no longer have access to the databases, tables (and all table versions and partitions that might belong to the tables) and the user-defined functions in the deleted catalog. Glue deletes these \"orphaned\" resources asynchronously in a timely manner, at the discretion of the service.

    To ensure the immediate deletion of all related resources before calling the DeleteCatalog operation, use DeleteTableVersion (or BatchDeleteTableVersion), DeletePartition (or BatchDeletePartition), DeleteTable (or BatchDeleteTable), DeleteUserDefinedFunction and DeleteDatabase to delete any resources that belong to the catalog.

    " + }, "DeleteClassifier":{ "name":"DeleteClassifier", "http":{ @@ -978,7 +1088,9 @@ {"shape":"InvalidInputException"}, {"shape":"InternalServiceException"}, {"shape":"OperationTimeoutException"}, - {"shape":"ConcurrentModificationException"} + {"shape":"ConcurrentModificationException"}, + {"shape":"FederationSourceException"}, + {"shape":"FederationSourceRetryableException"} ], "documentation":"

    Removes a specified database from a Data Catalog.

    After completing this operation, you no longer have access to the tables (and all table versions and partitions that might belong to the tables) and the user-defined functions in the deleted database. Glue deletes these \"orphaned\" resources asynchronously in a timely manner, at the discretion of the service.

    To ensure the immediate deletion of all related resources, before calling DeleteDatabase, use DeleteTableVersion or BatchDeleteTableVersion, DeletePartition or BatchDeletePartition, DeleteUserDefinedFunction, and DeleteTable or BatchDeleteTable, to delete any resources that belong to the database.

    " }, @@ -998,6 +1110,48 @@ ], "documentation":"

    Deletes a specified development endpoint.

    " }, + "DeleteIntegration":{ + "name":"DeleteIntegration", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteIntegrationRequest"}, + "output":{"shape":"DeleteIntegrationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"IntegrationNotFoundFault"}, + {"shape":"IntegrationConflictOperationFault"}, + {"shape":"InvalidIntegrationStateFault"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"ConflictException"}, + {"shape":"InvalidStateException"}, + {"shape":"InvalidInputException"} + ], + "documentation":"

    Deletes the specified Zero-ETL integration.

    " + }, + "DeleteIntegrationTableProperties":{ + "name":"DeleteIntegrationTableProperties", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteIntegrationTablePropertiesRequest"}, + "output":{"shape":"DeleteIntegrationTablePropertiesResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidInputException"} + ], + "documentation":"

    Deletes the table properties that have been created for the tables that need to be replicated.

    " + }, "DeleteJob":{ "name":"DeleteJob", "http":{ @@ -1176,7 +1330,9 @@ {"shape":"InternalServiceException"}, {"shape":"OperationTimeoutException"}, {"shape":"ConcurrentModificationException"}, - {"shape":"ResourceNotReadyException"} + {"shape":"ResourceNotReadyException"}, + {"shape":"FederationSourceException"}, + {"shape":"FederationSourceRetryableException"} ], "documentation":"

    Removes a table definition from the Data Catalog.

    After completing this operation, you no longer have access to the table versions and partitions that belong to the deleted table. Glue deletes these \"orphaned\" resources asynchronously in a timely manner, at the discretion of the service.

    To ensure the immediate deletion of all related resources, before calling DeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition or BatchDeletePartition, to delete any resources that belong to the table.

    " }, @@ -1277,6 +1433,81 @@ ], "documentation":"

    Deletes a workflow.

    " }, + "DescribeConnectionType":{ + "name":"DescribeConnectionType", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeConnectionTypeRequest"}, + "output":{"shape":"DescribeConnectionTypeResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InvalidInputException"}, + {"shape":"InternalServiceException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    The DescribeConnectionType API provides full details of the supported options for a given connection type in Glue.

    " + }, + "DescribeEntity":{ + "name":"DescribeEntity", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeEntityRequest"}, + "output":{"shape":"DescribeEntityResponse"}, + "errors":[ + {"shape":"EntityNotFoundException"}, + {"shape":"OperationTimeoutException"}, + {"shape":"InvalidInputException"}, + {"shape":"GlueEncryptionException"}, + {"shape":"ValidationException"}, + {"shape":"FederationSourceException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Provides details regarding the entity used with the connection type, with a description of the data model for each field in the selected entity.

    The response includes all the fields which make up the entity.

    " + }, + "DescribeInboundIntegrations":{ + "name":"DescribeInboundIntegrations", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeInboundIntegrationsRequest"}, + "output":{"shape":"DescribeInboundIntegrationsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"IntegrationNotFoundFault"}, + {"shape":"TargetResourceNotFound"}, + {"shape":"OperationNotSupportedException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidInputException"} + ], + "documentation":"

    Returns a list of inbound integrations for the specified integration.

    " + }, + "DescribeIntegrations":{ + "name":"DescribeIntegrations", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeIntegrationsRequest"}, + "output":{"shape":"DescribeIntegrationsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"IntegrationNotFoundFault"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidInputException"} + ], + "documentation":"

    The API is used to retrieve a list of integrations.

    " + }, "GetBlueprint":{ "name":"GetBlueprint", "http":{ @@ -1324,6 +1555,27 @@ ], "documentation":"

    Retrieves the details of blueprint runs for a specified blueprint.

    " }, + "GetCatalog":{ + "name":"GetCatalog", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetCatalogRequest"}, + "output":{"shape":"GetCatalogResponse"}, + "errors":[ + {"shape":"InvalidInputException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"OperationTimeoutException"}, + {"shape":"GlueEncryptionException"}, + {"shape":"AccessDeniedException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"FederationSourceException"}, + {"shape":"FederationSourceRetryableException"} + ], + "documentation":"

    The name of the Catalog to retrieve. This should be all lowercase.

    " + }, "GetCatalogImportStatus":{ "name":"GetCatalogImportStatus", "http":{ @@ -1338,6 +1590,26 @@ ], "documentation":"

    Retrieves the status of a migration operation.

    " }, + "GetCatalogs":{ + "name":"GetCatalogs", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetCatalogsRequest"}, + "output":{"shape":"GetCatalogsResponse"}, + "errors":[ + {"shape":"InvalidInputException"}, + {"shape":"InternalServiceException"}, + {"shape":"OperationTimeoutException"}, + {"shape":"GlueEncryptionException"}, + {"shape":"AccessDeniedException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"FederationSourceException"}, + {"shape":"FederationSourceRetryableException"} + ], + "documentation":"

    Retrieves all catalogs defined in a catalog in the Glue Data Catalog. For a Redshift-federated catalog use case, this operation returns the list of catalogs mapped to Redshift databases in the Redshift namespace catalog.

    " + }, "GetClassifier":{ "name":"GetClassifier", "http":{ @@ -1656,7 +1928,8 @@ {"shape":"InternalServiceException"}, {"shape":"OperationTimeoutException"}, {"shape":"GlueEncryptionException"}, - {"shape":"FederationSourceException"} + {"shape":"FederationSourceException"}, + {"shape":"FederationSourceRetryableException"} ], "documentation":"

    Retrieves the definition of a specified database.

    " }, @@ -1672,7 +1945,10 @@ {"shape":"InvalidInputException"}, {"shape":"InternalServiceException"}, {"shape":"OperationTimeoutException"}, - {"shape":"GlueEncryptionException"} + {"shape":"GlueEncryptionException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"FederationSourceException"}, + {"shape":"FederationSourceRetryableException"} ], "documentation":"

    Retrieves all databases defined in a given Data Catalog.

    " }, @@ -1723,6 +1999,63 @@ ], "documentation":"

    Retrieves all the development endpoints in this Amazon Web Services account.

    When you create a development endpoint in a virtual private cloud (VPC), Glue returns only a private IP address and the public IP address field is not populated. When you create a non-VPC development endpoint, Glue returns only a public IP address.

    " }, + "GetEntityRecords":{ + "name":"GetEntityRecords", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetEntityRecordsRequest"}, + "output":{"shape":"GetEntityRecordsResponse"}, + "errors":[ + {"shape":"EntityNotFoundException"}, + {"shape":"OperationTimeoutException"}, + {"shape":"InvalidInputException"}, + {"shape":"GlueEncryptionException"}, + {"shape":"ValidationException"}, + {"shape":"FederationSourceException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    This API is used to query preview data from a given connection type or from a native Amazon S3 based Glue Data Catalog.

    Returns records as an array of JSON blobs. Each record is formatted using Jackson JsonNode based on the field type defined by the DescribeEntity API.

    Spark connectors generate schemas according to the same data type mapping as in the DescribeEntity API. Spark connectors convert data to the appropriate data types matching the schema when returning rows.

    " + }, + "GetIntegrationResourceProperty":{ + "name":"GetIntegrationResourceProperty", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetIntegrationResourcePropertyRequest"}, + "output":{"shape":"GetIntegrationResourcePropertyResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidInputException"} + ], + "documentation":"

    This API is used for fetching the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target)

    " + }, + "GetIntegrationTableProperties":{ + "name":"GetIntegrationTableProperties", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetIntegrationTablePropertiesRequest"}, + "output":{"shape":"GetIntegrationTablePropertiesResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidInputException"} + ], + "documentation":"

    This API is used to retrieve optional override properties for the tables that need to be replicated. These properties can include properties for filtering and partition for source and target tables.

    " + }, "GetJob":{ "name":"GetJob", "http":{ @@ -2490,6 +2823,20 @@ ], "documentation":"

    List all task runs for a particular account.

    " }, + "ListConnectionTypes":{ + "name":"ListConnectionTypes", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListConnectionTypesRequest"}, + "output":{"shape":"ListConnectionTypesResponse"}, + "errors":[ + {"shape":"InternalServiceException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    The ListConnectionTypes API provides a discovery mechanism to learn available connection types in Glue. The response contains a list of connection types with high-level details of what is supported for each connection type. The connection types listed are the set of supported options for the ConnectionType value in the CreateConnection API.

    " + }, "ListCrawlers":{ "name":"ListCrawlers", "http":{ @@ -2639,21 +2986,40 @@ ], "documentation":"

    Retrieves the names of all DevEndpoint resources in this Amazon Web Services account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names.

    This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved.

    " }, - "ListJobs":{ - "name":"ListJobs", + "ListEntities":{ + "name":"ListEntities", "http":{ "method":"POST", "requestUri":"/" }, - "input":{"shape":"ListJobsRequest"}, - "output":{"shape":"ListJobsResponse"}, + "input":{"shape":"ListEntitiesRequest"}, + "output":{"shape":"ListEntitiesResponse"}, "errors":[ - {"shape":"InvalidInputException"}, {"shape":"EntityNotFoundException"}, - {"shape":"InternalServiceException"}, - {"shape":"OperationTimeoutException"} - ], - "documentation":"

    Retrieves the names of all job resources in this Amazon Web Services account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names.

    This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved.

    " + {"shape":"OperationTimeoutException"}, + {"shape":"InvalidInputException"}, + {"shape":"GlueEncryptionException"}, + {"shape":"ValidationException"}, + {"shape":"FederationSourceException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Returns the available entities supported by the connection type.

    " + }, + "ListJobs":{ + "name":"ListJobs", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListJobsRequest"}, + "output":{"shape":"ListJobsResponse"}, + "errors":[ + {"shape":"InvalidInputException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"OperationTimeoutException"} + ], + "documentation":"

    Retrieves the names of all job resources in this Amazon Web Services account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names.

    This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved.

    " }, "ListMLTransforms":{ "name":"ListMLTransforms", @@ -2817,6 +3183,29 @@ ], "documentation":"

    Lists names of workflows created in the account.

    " }, + "ModifyIntegration":{ + "name":"ModifyIntegration", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ModifyIntegrationRequest"}, + "output":{"shape":"ModifyIntegrationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"IntegrationNotFoundFault"}, + {"shape":"IntegrationConflictOperationFault"}, + {"shape":"InvalidIntegrationStateFault"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"ConflictException"}, + {"shape":"InvalidStateException"}, + {"shape":"InvalidInputException"} + ], + "documentation":"

    Modifies a Zero-ETL integration in the caller's account.

    " + }, "PutDataCatalogEncryptionSettings":{ "name":"PutDataCatalogEncryptionSettings", "http":{ @@ -3444,6 +3833,26 @@ ], "documentation":"

    Updates a registered blueprint.

    " }, + "UpdateCatalog":{ + "name":"UpdateCatalog", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateCatalogRequest"}, + "output":{"shape":"UpdateCatalogResponse"}, + "errors":[ + {"shape":"EntityNotFoundException"}, + {"shape":"InvalidInputException"}, + {"shape":"InternalServiceException"}, + {"shape":"OperationTimeoutException"}, + {"shape":"GlueEncryptionException"}, + {"shape":"ConcurrentModificationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"FederationSourceException"} + ], + "documentation":"

    Updates an existing catalog's properties in the Glue Data Catalog.

    " + }, "UpdateClassifier":{ "name":"UpdateClassifier", "http":{ @@ -3595,7 +4004,10 @@ {"shape":"InternalServiceException"}, {"shape":"OperationTimeoutException"}, {"shape":"GlueEncryptionException"}, - {"shape":"ConcurrentModificationException"} + {"shape":"ConcurrentModificationException"}, + {"shape":"FederationSourceException"}, + {"shape":"FederationSourceRetryableException"}, + {"shape":"AlreadyExistsException"} ], "documentation":"

    Updates an existing database definition in a Data Catalog.

    " }, @@ -3616,6 +4028,44 @@ ], "documentation":"

    Updates a specified development endpoint.

    " }, + "UpdateIntegrationResourceProperty":{ + "name":"UpdateIntegrationResourceProperty", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateIntegrationResourcePropertyRequest"}, + "output":{"shape":"UpdateIntegrationResourcePropertyResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidInputException"} + ], + "documentation":"

    This API can be used for updating the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target). These properties can include the role to access the connection or database. Since the same resource can be used across multiple integrations, updating resource properties will impact all the integrations using it.

    " + }, + "UpdateIntegrationTableProperties":{ + "name":"UpdateIntegrationTableProperties", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateIntegrationTablePropertiesRequest"}, + "output":{"shape":"UpdateIntegrationTablePropertiesResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidInputException"} + ], + "documentation":"

    This API is used to provide optional override properties for the tables that need to be replicated. These properties can include properties for filtering and partitioning for the source and target tables. To set both source and target properties the same API need to be invoked with the Glue connection ARN as ResourceArn with SourceTableConfig, and the Glue database ARN as ResourceArn with TargetTableConfig respectively.

    The override will be reflected across all the integrations using same ResourceArn and source table.

    " + }, "UpdateJob":{ "name":"UpdateJob", "http":{ @@ -3755,7 +4205,10 @@ {"shape":"ConcurrentModificationException"}, {"shape":"ResourceNumberLimitExceededException"}, {"shape":"GlueEncryptionException"}, - {"shape":"ResourceNotReadyException"} + {"shape":"ResourceNotReadyException"}, + {"shape":"FederationSourceException"}, + {"shape":"FederationSourceRetryableException"}, + {"shape":"AlreadyExistsException"} ], "documentation":"

    Updates a metadata table in the Data Catalog.

    " }, @@ -3865,6 +4318,12 @@ "documentation":"

    Access to a resource was denied.

    ", "exception":true }, + "AccessToken":{ + "type":"string", + "max":4096, + "pattern":"^[\\x20-\\x7E]*$", + "sensitive":true + }, "AccountId":{ "type":"string", "max":12, @@ -3998,6 +4457,35 @@ "max":30, "min":1 }, + "AllowedValue":{ + "type":"structure", + "required":["Value"], + "members":{ + "Description":{ + "shape":"AllowedValueDescriptionString", + "documentation":"

    A description of the allowed value.

    " + }, + "Value":{ + "shape":"AllowedValueValueString", + "documentation":"

    The value allowed for the property.

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

    An object representing a value allowed for a property.

    " + }, + "AllowedValueDescriptionString":{ + "type":"string", + "max":1024, + "min":0 + }, + "AllowedValueValueString":{ + "type":"string", + "max":128, + "min":1 + }, + "AllowedValues":{ + "type":"list", + "member":{"shape":"AllowedValue"} + }, "AllowedValuesStringList":{ "type":"list", "member":{"shape":"ConfigValueString"} @@ -4199,6 +4687,12 @@ "type":"list", "member":{"shape":"StatisticAnnotation"} }, + "ApiVersion":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[a-zA-Z0-9.-]*" + }, "ApplyMapping":{ "type":"structure", "required":[ @@ -4296,6 +4790,33 @@ "max":2048, "min":0 }, + "AuthConfiguration":{ + "type":"structure", + "required":["AuthenticationType"], + "members":{ + "AuthenticationType":{ + "shape":"Property", + "documentation":"

    The type of authentication for a connection.

    " + }, + "SecretArn":{ + "shape":"Property", + "documentation":"

    The Amazon Resource Name (ARN) for the Secrets Manager.

    " + }, + "OAuth2Properties":{ + "shape":"PropertiesMap", + "documentation":"

    A map of key-value pairs for the OAuth2 properties. Each value is a a Property object.

    " + }, + "BasicAuthenticationProperties":{ + "shape":"PropertiesMap", + "documentation":"

    A map of key-value pairs for the OAuth2 properties. Each value is a a Property object.

    " + }, + "CustomAuthenticationProperties":{ + "shape":"PropertiesMap", + "documentation":"

    A map of key-value pairs for the custom authentication properties. Each value is a a Property object.

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

    The authentication configuration for a connection returned by the DescribeConnectionType API.

    " + }, "AuthTokenString":{ "type":"string", "max":255, @@ -4334,6 +4855,18 @@ "SecretArn":{ "shape":"SecretArn", "documentation":"

    The secret manager ARN to store credentials in the CreateConnection request.

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

    The ARN of the KMS key used to encrypt the connection. Only taken an as input in the request and stored in the Secret Manager.

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

    The credentials used when the authentication type is basic authentication.

    " + }, + "CustomAuthenticationCredentials":{ + "shape":"CredentialMap", + "documentation":"

    The credentials used when the authentication type is custom authentication.

    " } }, "documentation":"

    A structure containing the authentication configuration in the CreateConnection request.

    " @@ -4343,9 +4876,14 @@ "enum":[ "BASIC", "OAUTH2", - "CUSTOM" + "CUSTOM", + "IAM" ] }, + "AuthenticationTypes":{ + "type":"list", + "member":{"shape":"AuthenticationType"} + }, "AuthorizationCode":{ "type":"string", "max":4096, @@ -4399,6 +4937,20 @@ "type":"list", "member":{"shape":"BackfillError"} }, + "BasicAuthenticationCredentials":{ + "type":"structure", + "members":{ + "Username":{ + "shape":"Username", + "documentation":"

    The username to connect to the data source.

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

    The password to connect to the data source.

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

    For supplying basic auth credentials when not providing a SecretArn value.

    " + }, "BasicCatalogTarget":{ "type":"structure", "required":[ @@ -5325,6 +5877,10 @@ "type":"list", "member":{"shape":"Blueprint"} }, + "Bool":{ + "type":"boolean", + "box":true + }, "Boolean":{"type":"boolean"}, "BooleanColumnStatisticsData":{ "type":"structure", @@ -5476,6 +6032,84 @@ "members":{ } }, + "Capabilities":{ + "type":"structure", + "required":[ + "SupportedAuthenticationTypes", + "SupportedDataOperations", + "SupportedComputeEnvironments" + ], + "members":{ + "SupportedAuthenticationTypes":{ + "shape":"AuthenticationTypes", + "documentation":"

    A list of supported authentication types.

    " + }, + "SupportedDataOperations":{ + "shape":"DataOperations", + "documentation":"

    A list of supported data operations.

    " + }, + "SupportedComputeEnvironments":{ + "shape":"ComputeEnvironments", + "documentation":"

    A list of supported compute environments.

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

    Specifies the supported authentication types returned by the DescribeConnectionType API.

    " + }, + "Catalog":{ + "type":"structure", + "required":["Name"], + "members":{ + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

    The ID of the catalog. To grant access to the default catalog, this field should not be provided.

    " + }, + "Name":{ + "shape":"CatalogNameString", + "documentation":"

    The name of the catalog. Cannot be the same as the account ID.

    " + }, + "ResourceArn":{ + "shape":"ResourceArnString", + "documentation":"

    The Amazon Resource Name (ARN) assigned to the catalog resource.

    " + }, + "Description":{ + "shape":"DescriptionString", + "documentation":"

    Description string, not more than 2048 bytes long, matching the URI address multi-line string pattern. A description of the catalog.

    " + }, + "Parameters":{ + "shape":"ParametersMap", + "documentation":"

    A map array of key-value pairs that define parameters and properties of the catalog.

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

    The time at which the catalog was created.

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

    The time at which the catalog was last updated.

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

    A TargetRedshiftCatalog object that describes a target catalog for database resource linking.

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

    A FederatedCatalog object that points to an entity outside the Glue Data Catalog.

    " + }, + "CatalogProperties":{ + "shape":"CatalogPropertiesOutput", + "documentation":"

    A CatalogProperties object that specifies data lake access properties and other custom properties.

    " + }, + "CreateTableDefaultPermissions":{ + "shape":"PrincipalPermissionsList", + "documentation":"

    An array of PrincipalPermissions objects. Creates a set of default permissions on the table(s) for principals. Used by Amazon Web Services Lake Formation. Not used in the normal course of Glue operations.

    " + }, + "CreateDatabaseDefaultPermissions":{ + "shape":"PrincipalPermissionsList", + "documentation":"

    An array of PrincipalPermissions objects. Creates a set of default permissions on the database(s) for principals. Used by Amazon Web Services Lake Formation. Not used in the normal course of Glue operations.

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

    The catalog object represents a logical grouping of databases in the Glue Data Catalog or a federated source. You can now create a Redshift-federated catalog or a catalog containing resource links to Redshift databases in another account or region.

    " + }, "CatalogDeltaSource":{ "type":"structure", "required":[ @@ -5598,6 +6232,40 @@ }, "documentation":"

    A structure containing migration status information.

    " }, + "CatalogInput":{ + "type":"structure", + "members":{ + "Description":{ + "shape":"DescriptionString", + "documentation":"

    Description string, not more than 2048 bytes long, matching the URI address multi-line string pattern. A description of the catalog.

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

    A FederatedCatalog object. A FederatedCatalog structure that references an entity outside the Glue Data Catalog, for example a Redshift database.

    " + }, + "Parameters":{ + "shape":"ParametersMap", + "documentation":"

    A map array of key-value pairs that define the parameters and properties of the catalog.

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

    A TargetRedshiftCatalog object that describes a target catalog for resource linking.

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

    A CatalogProperties object that specifies data lake access properties and other custom properties.

    " + }, + "CreateTableDefaultPermissions":{ + "shape":"PrincipalPermissionsList", + "documentation":"

    An array of PrincipalPermissions objects. Creates a set of default permissions on the table(s) for principals. Used by Amazon Web Services Lake Formation. Typically should be explicitly set as an empty list.

    " + }, + "CreateDatabaseDefaultPermissions":{ + "shape":"PrincipalPermissionsList", + "documentation":"

    An array of PrincipalPermissions objects. Creates a set of default permissions on the database(s) for principals. Used by Amazon Web Services Lake Formation. Typically should be explicitly set as an empty list.

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

    A structure that describes catalog properties.

    " + }, "CatalogKafkaSource":{ "type":"structure", "required":[ @@ -5679,6 +6347,44 @@ }, "documentation":"

    Specifies a Kinesis data source in the Glue Data Catalog.

    " }, + "CatalogList":{ + "type":"list", + "member":{"shape":"Catalog"} + }, + "CatalogNameString":{ + "type":"string", + "max":64, + "min":1, + "pattern":"^(?!(.*[.\\/\\\\]|aws:)).*$" + }, + "CatalogProperties":{ + "type":"structure", + "members":{ + "DataLakeAccessProperties":{ + "shape":"DataLakeAccessProperties", + "documentation":"

    A DataLakeAccessProperties object that specifies properties to configure data lake access for your catalog resource in the Glue Data Catalog.

    " + }, + "CustomProperties":{ + "shape":"ParametersMap", + "documentation":"

    Additional key-value properties for the catalog, such as column statistics optimizations.

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

    A structure that specifies data lake access properties and other custom properties.

    " + }, + "CatalogPropertiesOutput":{ + "type":"structure", + "members":{ + "DataLakeAccessProperties":{ + "shape":"DataLakeAccessPropertiesOutput", + "documentation":"

    A DataLakeAccessProperties object with input properties to configure data lake access for your catalog resource in the Glue Data Catalog.

    " + }, + "CustomProperties":{ + "shape":"ParametersMap", + "documentation":"

    Additional key-value properties for the catalog, such as column statistics optimizations.

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

    Property attributes that include configuration properties for the catalog resource.

    " + }, "CatalogSchemaChangePolicy":{ "type":"structure", "members":{ @@ -5755,6 +6461,7 @@ "type":"list", "member":{"shape":"CatalogTarget"} }, + "Category":{"type":"string"}, "CheckSchemaVersionValidityInput":{ "type":"structure", "required":[ @@ -6556,6 +7263,18 @@ "SecurityConfiguration":{ "shape":"CrawlerSecurityConfiguration", "documentation":"

    Name of the security configuration that is used to encrypt CloudWatch logs.

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

    The type of schedule for a column statistics task. Possible values may be CRON or AUTO.

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

    The source of setting the column statistics task. Possible values may be CATALOG or TABLE.

    " + }, + "LastExecutionAttempt":{ + "shape":"ExecutionAttempt", + "documentation":"

    The last ExecutionAttempt for the column statistics task run.

    " } }, "documentation":"

    The settings for a column statistics task.

    " @@ -6653,6 +7372,89 @@ "INCREMENTAL" ] }, + "ComputeEnvironment":{ + "type":"string", + "enum":[ + "SPARK", + "ATHENA", + "PYTHON" + ] + }, + "ComputeEnvironmentConfiguration":{ + "type":"structure", + "required":[ + "Name", + "Description", + "ComputeEnvironment", + "SupportedAuthenticationTypes", + "ConnectionOptions", + "ConnectionPropertyNameOverrides", + "ConnectionOptionNameOverrides", + "ConnectionPropertiesRequiredOverrides" + ], + "members":{ + "Name":{ + "shape":"ComputeEnvironmentName", + "documentation":"

    A name for the compute environment configuration.

    " + }, + "Description":{ + "shape":"ComputeEnvironmentConfigurationDescriptionString", + "documentation":"

    A description of the compute environment.

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

    The type of compute environment.

    " + }, + "SupportedAuthenticationTypes":{ + "shape":"AuthenticationTypes", + "documentation":"

    The supported authentication types for the compute environment.

    " + }, + "ConnectionOptions":{ + "shape":"PropertiesMap", + "documentation":"

    The parameters used as connection options for the compute environment.

    " + }, + "ConnectionPropertyNameOverrides":{ + "shape":"PropertyNameOverrides", + "documentation":"

    The connection property name overrides for the compute environment.

    " + }, + "ConnectionOptionNameOverrides":{ + "shape":"PropertyNameOverrides", + "documentation":"

    The connection option name overrides for the compute environment.

    " + }, + "ConnectionPropertiesRequiredOverrides":{ + "shape":"ListOfString", + "documentation":"

    The connection properties that are required as overrides for the compute environment.

    " + }, + "PhysicalConnectionPropertiesRequired":{ + "shape":"Bool", + "documentation":"

    Indicates whether PhysicalConnectionProperties are required for the compute environment.

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

    An object containing configuration for a compute environment (such as Spark, Python or Athena) returned by the DescribeConnectionType API.

    " + }, + "ComputeEnvironmentConfigurationDescriptionString":{ + "type":"string", + "max":1024, + "min":0 + }, + "ComputeEnvironmentConfigurationMap":{ + "type":"map", + "key":{"shape":"ComputeEnvironmentName"}, + "value":{"shape":"ComputeEnvironmentConfiguration"} + }, + "ComputeEnvironmentList":{ + "type":"list", + "member":{"shape":"ComputeEnvironment"} + }, + "ComputeEnvironmentName":{ + "type":"string", + "max":128, + "min":1 + }, + "ComputeEnvironments":{ + "type":"list", + "member":{"shape":"ComputeEnvironment"} + }, "ConcurrentModificationException":{ "type":"structure", "members":{ @@ -6829,11 +7631,19 @@ }, "ConnectionProperties":{ "shape":"ConnectionProperties", - "documentation":"

    These key-value pairs define parameters for the connection:

    • HOST - The host URI: either the fully qualified domain name (FQDN) or the IPv4 address of the database host.

    • PORT - The port number, between 1024 and 65535, of the port on which the database host is listening for database connections.

    • USER_NAME - The name under which to log in to the database. The value string for USER_NAME is \"USERNAME\".

    • PASSWORD - A password, if one is used, for the user name.

    • ENCRYPTED_PASSWORD - When you enable connection password protection by setting ConnectionPasswordEncryption in the Data Catalog encryption settings, this field stores the encrypted password.

    • JDBC_DRIVER_JAR_URI - The Amazon Simple Storage Service (Amazon S3) path of the JAR file that contains the JDBC driver to use.

    • JDBC_DRIVER_CLASS_NAME - The class name of the JDBC driver to use.

    • JDBC_ENGINE - The name of the JDBC engine to use.

    • JDBC_ENGINE_VERSION - The version of the JDBC engine to use.

    • CONFIG_FILES - (Reserved for future use.)

    • INSTANCE_ID - The instance ID to use.

    • JDBC_CONNECTION_URL - The URL for connecting to a JDBC data source.

    • JDBC_ENFORCE_SSL - A Boolean string (true, false) specifying whether Secure Sockets Layer (SSL) with hostname matching is enforced for the JDBC connection on the client. The default is false.

    • CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's root certificate. Glue uses this root certificate to validate the customer’s certificate when connecting to the customer database. Glue only handles X.509 certificates. The certificate provided must be DER-encoded and supplied in Base64 encoding PEM format.

    • SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is false. Glue validates the Signature algorithm and Subject Public Key Algorithm for the customer certificate. The only permitted algorithms for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA. For the Subject Public Key Algorithm, the key length must be at least 2048. You can set the value of this property to true to skip Glue’s validation of the customer certificate.

    • CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is used for domain match or distinguished name match to prevent a man-in-the-middle attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN; in Microsoft SQL Server, this is used as the hostNameInCertificate.

    • CONNECTION_URL - The URL for connecting to a general (non-JDBC) data source.

    • SECRET_ID - The secret ID used for the secret manager of credentials.

    • CONNECTOR_URL - The connector URL for a MARKETPLACE or CUSTOM connection.

    • CONNECTOR_TYPE - The connector type for a MARKETPLACE or CUSTOM connection.

    • CONNECTOR_CLASS_NAME - The connector class name for a MARKETPLACE or CUSTOM connection.

    • KAFKA_BOOTSTRAP_SERVERS - A comma-separated list of host and port pairs that are the addresses of the Apache Kafka brokers in a Kafka cluster to which a Kafka client will connect to and bootstrap itself.

    • KAFKA_SSL_ENABLED - Whether to enable or disable SSL on an Apache Kafka connection. Default value is \"true\".

    • KAFKA_CUSTOM_CERT - The Amazon S3 URL for the private CA cert file (.pem format). The default is an empty string.

    • KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip the validation of the CA cert file or not. Glue validates for three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is \"false\".

    • KAFKA_CLIENT_KEYSTORE - The Amazon S3 location of the client keystore file for Kafka client side authentication (Optional).

    • KAFKA_CLIENT_KEYSTORE_PASSWORD - The password to access the provided keystore (Optional).

    • KAFKA_CLIENT_KEY_PASSWORD - A keystore can consist of multiple keys, so this is the password to access the client key to be used with the Kafka server side key (Optional).

    • ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD - The encrypted version of the Kafka client keystore password (if the user has the Glue encrypt passwords setting selected).

    • ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD - The encrypted version of the Kafka client key password (if the user has the Glue encrypt passwords setting selected).

    • KAFKA_SASL_MECHANISM - \"SCRAM-SHA-512\", \"GSSAPI\", \"AWS_MSK_IAM\", or \"PLAIN\". These are the supported SASL Mechanisms.

    • KAFKA_SASL_PLAIN_USERNAME - A plaintext username used to authenticate with the \"PLAIN\" mechanism.

    • KAFKA_SASL_PLAIN_PASSWORD - A plaintext password used to authenticate with the \"PLAIN\" mechanism.

    • ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD - The encrypted version of the Kafka SASL PLAIN password (if the user has the Glue encrypt passwords setting selected).

    • KAFKA_SASL_SCRAM_USERNAME - A plaintext username used to authenticate with the \"SCRAM-SHA-512\" mechanism.

    • KAFKA_SASL_SCRAM_PASSWORD - A plaintext password used to authenticate with the \"SCRAM-SHA-512\" mechanism.

    • ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD - The encrypted version of the Kafka SASL SCRAM password (if the user has the Glue encrypt passwords setting selected).

    • KAFKA_SASL_SCRAM_SECRETS_ARN - The Amazon Resource Name of a secret in Amazon Web Services Secrets Manager.

    • KAFKA_SASL_GSSAPI_KEYTAB - The S3 location of a Kerberos keytab file. A keytab stores long-term keys for one or more principals. For more information, see MIT Kerberos Documentation: Keytab.

    • KAFKA_SASL_GSSAPI_KRB5_CONF - The S3 location of a Kerberos krb5.conf file. A krb5.conf stores Kerberos configuration information, such as the location of the KDC server. For more information, see MIT Kerberos Documentation: krb5.conf.

    • KAFKA_SASL_GSSAPI_SERVICE - The Kerberos service name, as set with sasl.kerberos.service.name in your Kafka Configuration.

    • KAFKA_SASL_GSSAPI_PRINCIPAL - The name of the Kerberos princial used by Glue. For more information, see Kafka Documentation: Configuring Kafka Brokers.

    • ROLE_ARN - The role to be used for running queries.

    • REGION - The Amazon Web Services Region where queries will be run.

    • WORKGROUP_NAME - The name of an Amazon Redshift serverless workgroup or Amazon Athena workgroup in which queries will run.

    • CLUSTER_IDENTIFIER - The cluster identifier of an Amazon Redshift cluster in which queries will run.

    • DATABASE - The Amazon Redshift database that you are connecting to.

    " + "documentation":"

    These key-value pairs define parameters for the connection when using the version 1 Connection schema:

    • HOST - The host URI: either the fully qualified domain name (FQDN) or the IPv4 address of the database host.

    • PORT - The port number, between 1024 and 65535, of the port on which the database host is listening for database connections.

    • USER_NAME - The name under which to log in to the database. The value string for USER_NAME is \"USERNAME\".

    • PASSWORD - A password, if one is used, for the user name.

    • ENCRYPTED_PASSWORD - When you enable connection password protection by setting ConnectionPasswordEncryption in the Data Catalog encryption settings, this field stores the encrypted password.

    • JDBC_DRIVER_JAR_URI - The Amazon Simple Storage Service (Amazon S3) path of the JAR file that contains the JDBC driver to use.

    • JDBC_DRIVER_CLASS_NAME - The class name of the JDBC driver to use.

    • JDBC_ENGINE - The name of the JDBC engine to use.

    • JDBC_ENGINE_VERSION - The version of the JDBC engine to use.

    • CONFIG_FILES - (Reserved for future use.)

    • INSTANCE_ID - The instance ID to use.

    • JDBC_CONNECTION_URL - The URL for connecting to a JDBC data source.

    • JDBC_ENFORCE_SSL - A Boolean string (true, false) specifying whether Secure Sockets Layer (SSL) with hostname matching is enforced for the JDBC connection on the client. The default is false.

    • CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's root certificate. Glue uses this root certificate to validate the customer’s certificate when connecting to the customer database. Glue only handles X.509 certificates. The certificate provided must be DER-encoded and supplied in Base64 encoding PEM format.

    • SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is false. Glue validates the Signature algorithm and Subject Public Key Algorithm for the customer certificate. The only permitted algorithms for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA. For the Subject Public Key Algorithm, the key length must be at least 2048. You can set the value of this property to true to skip Glue’s validation of the customer certificate.

    • CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is used for domain match or distinguished name match to prevent a man-in-the-middle attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN; in Microsoft SQL Server, this is used as the hostNameInCertificate.

    • CONNECTION_URL - The URL for connecting to a general (non-JDBC) data source.

    • SECRET_ID - The secret ID used for the secret manager of credentials.

    • CONNECTOR_URL - The connector URL for a MARKETPLACE or CUSTOM connection.

    • CONNECTOR_TYPE - The connector type for a MARKETPLACE or CUSTOM connection.

    • CONNECTOR_CLASS_NAME - The connector class name for a MARKETPLACE or CUSTOM connection.

    • KAFKA_BOOTSTRAP_SERVERS - A comma-separated list of host and port pairs that are the addresses of the Apache Kafka brokers in a Kafka cluster to which a Kafka client will connect to and bootstrap itself.

    • KAFKA_SSL_ENABLED - Whether to enable or disable SSL on an Apache Kafka connection. Default value is \"true\".

    • KAFKA_CUSTOM_CERT - The Amazon S3 URL for the private CA cert file (.pem format). The default is an empty string.

    • KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip the validation of the CA cert file or not. Glue validates for three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is \"false\".

    • KAFKA_CLIENT_KEYSTORE - The Amazon S3 location of the client keystore file for Kafka client side authentication (Optional).

    • KAFKA_CLIENT_KEYSTORE_PASSWORD - The password to access the provided keystore (Optional).

    • KAFKA_CLIENT_KEY_PASSWORD - A keystore can consist of multiple keys, so this is the password to access the client key to be used with the Kafka server side key (Optional).

    • ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD - The encrypted version of the Kafka client keystore password (if the user has the Glue encrypt passwords setting selected).

    • ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD - The encrypted version of the Kafka client key password (if the user has the Glue encrypt passwords setting selected).

    • KAFKA_SASL_MECHANISM - \"SCRAM-SHA-512\", \"GSSAPI\", \"AWS_MSK_IAM\", or \"PLAIN\". These are the supported SASL Mechanisms.

    • KAFKA_SASL_PLAIN_USERNAME - A plaintext username used to authenticate with the \"PLAIN\" mechanism.

    • KAFKA_SASL_PLAIN_PASSWORD - A plaintext password used to authenticate with the \"PLAIN\" mechanism.

    • ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD - The encrypted version of the Kafka SASL PLAIN password (if the user has the Glue encrypt passwords setting selected).

    • KAFKA_SASL_SCRAM_USERNAME - A plaintext username used to authenticate with the \"SCRAM-SHA-512\" mechanism.

    • KAFKA_SASL_SCRAM_PASSWORD - A plaintext password used to authenticate with the \"SCRAM-SHA-512\" mechanism.

    • ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD - The encrypted version of the Kafka SASL SCRAM password (if the user has the Glue encrypt passwords setting selected).

    • KAFKA_SASL_SCRAM_SECRETS_ARN - The Amazon Resource Name of a secret in Amazon Web Services Secrets Manager.

    • KAFKA_SASL_GSSAPI_KEYTAB - The S3 location of a Kerberos keytab file. A keytab stores long-term keys for one or more principals. For more information, see MIT Kerberos Documentation: Keytab.

    • KAFKA_SASL_GSSAPI_KRB5_CONF - The S3 location of a Kerberos krb5.conf file. A krb5.conf stores Kerberos configuration information, such as the location of the KDC server. For more information, see MIT Kerberos Documentation: krb5.conf.

    • KAFKA_SASL_GSSAPI_SERVICE - The Kerberos service name, as set with sasl.kerberos.service.name in your Kafka Configuration.

    • KAFKA_SASL_GSSAPI_PRINCIPAL - The name of the Kerberos princial used by Glue. For more information, see Kafka Documentation: Configuring Kafka Brokers.

    • ROLE_ARN - The role to be used for running queries.

    • REGION - The Amazon Web Services Region where queries will be run.

    • WORKGROUP_NAME - The name of an Amazon Redshift serverless workgroup or Amazon Athena workgroup in which queries will run.

    • CLUSTER_IDENTIFIER - The cluster identifier of an Amazon Redshift cluster in which queries will run.

    • DATABASE - The Amazon Redshift database that you are connecting to.

    " + }, + "SparkProperties":{ + "shape":"PropertyMap", + "documentation":"

    Connection properties specific to the Spark compute environment.

    " }, "AthenaProperties":{ "shape":"PropertyMap", - "documentation":"

    This field is not currently used.

    " + "documentation":"

    Connection properties specific to the Athena compute environment.

    " + }, + "PythonProperties":{ + "shape":"PropertyMap", + "documentation":"

    Connection properties specific to the Python compute environment.

    " }, "PhysicalConnectionRequirements":{ "shape":"PhysicalConnectionRequirements", @@ -6866,6 +7676,14 @@ "AuthenticationConfiguration":{ "shape":"AuthenticationConfiguration", "documentation":"

    The authentication properties of the connection.

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

    The version of the connection schema for this connection. Version 2 supports properties for specific compute environments.

    " + }, + "CompatibleComputeEnvironments":{ + "shape":"ComputeEnvironmentList", + "documentation":"

    A list of compute environments compatible with the connection.

    " } }, "documentation":"

    Defines a connection to a data source.

    " @@ -6888,7 +7706,7 @@ }, "ConnectionType":{ "shape":"ConnectionType", - "documentation":"

    The type of the connection. Currently, these types are supported:

    • JDBC - Designates a connection to a database through Java Database Connectivity (JDBC).

      JDBC Connections use the following ConnectionParameters.

      • Required: All of (HOST, PORT, JDBC_ENGINE) or JDBC_CONNECTION_URL.

      • Required: All of (USERNAME, PASSWORD) or SECRET_ID.

      • Optional: JDBC_ENFORCE_SSL, CUSTOM_JDBC_CERT, CUSTOM_JDBC_CERT_STRING, SKIP_CUSTOM_JDBC_CERT_VALIDATION. These parameters are used to configure SSL with JDBC.

    • KAFKA - Designates a connection to an Apache Kafka streaming platform.

      KAFKA Connections use the following ConnectionParameters.

      • Required: KAFKA_BOOTSTRAP_SERVERS.

      • Optional: KAFKA_SSL_ENABLED, KAFKA_CUSTOM_CERT, KAFKA_SKIP_CUSTOM_CERT_VALIDATION. These parameters are used to configure SSL with KAFKA.

      • Optional: KAFKA_CLIENT_KEYSTORE, KAFKA_CLIENT_KEYSTORE_PASSWORD, KAFKA_CLIENT_KEY_PASSWORD, ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD, ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD. These parameters are used to configure TLS client configuration with SSL in KAFKA.

      • Optional: KAFKA_SASL_MECHANISM. Can be specified as SCRAM-SHA-512, GSSAPI, or AWS_MSK_IAM.

      • Optional: KAFKA_SASL_SCRAM_USERNAME, KAFKA_SASL_SCRAM_PASSWORD, ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD. These parameters are used to configure SASL/SCRAM-SHA-512 authentication with KAFKA.

      • Optional: KAFKA_SASL_GSSAPI_KEYTAB, KAFKA_SASL_GSSAPI_KRB5_CONF, KAFKA_SASL_GSSAPI_SERVICE, KAFKA_SASL_GSSAPI_PRINCIPAL. These parameters are used to configure SASL/GSSAPI authentication with KAFKA.

    • MONGODB - Designates a connection to a MongoDB document database.

      MONGODB Connections use the following ConnectionParameters.

      • Required: CONNECTION_URL.

      • Required: All of (USERNAME, PASSWORD) or SECRET_ID.

    • SALESFORCE - Designates a connection to Salesforce using OAuth authencation.

      • Requires the AuthenticationConfiguration member to be configured.

    • VIEW_VALIDATION_REDSHIFT - Designates a connection used for view validation by Amazon Redshift.

    • VIEW_VALIDATION_ATHENA - Designates a connection used for view validation by Amazon Athena.

    • NETWORK - Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).

      NETWORK Connections do not require ConnectionParameters. Instead, provide a PhysicalConnectionRequirements.

    • MARKETPLACE - Uses configuration settings contained in a connector purchased from Amazon Web Services Marketplace to read from and write to data stores that are not natively supported by Glue.

      MARKETPLACE Connections use the following ConnectionParameters.

      • Required: CONNECTOR_TYPE, CONNECTOR_URL, CONNECTOR_CLASS_NAME, CONNECTION_URL.

      • Required for JDBC CONNECTOR_TYPE connections: All of (USERNAME, PASSWORD) or SECRET_ID.

    • CUSTOM - Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by Glue.

    SFTP is not supported.

    For more information about how optional ConnectionProperties are used to configure features in Glue, consult Glue connection properties.

    For more information about how optional ConnectionProperties are used to configure features in Glue Studio, consult Using connectors and connections.

    " + "documentation":"

    The type of the connection. Currently, these types are supported:

    • JDBC - Designates a connection to a database through Java Database Connectivity (JDBC).

      JDBC Connections use the following ConnectionParameters.

      • Required: All of (HOST, PORT, JDBC_ENGINE) or JDBC_CONNECTION_URL.

      • Required: All of (USERNAME, PASSWORD) or SECRET_ID.

      • Optional: JDBC_ENFORCE_SSL, CUSTOM_JDBC_CERT, CUSTOM_JDBC_CERT_STRING, SKIP_CUSTOM_JDBC_CERT_VALIDATION. These parameters are used to configure SSL with JDBC.

    • KAFKA - Designates a connection to an Apache Kafka streaming platform.

      KAFKA Connections use the following ConnectionParameters.

      • Required: KAFKA_BOOTSTRAP_SERVERS.

      • Optional: KAFKA_SSL_ENABLED, KAFKA_CUSTOM_CERT, KAFKA_SKIP_CUSTOM_CERT_VALIDATION. These parameters are used to configure SSL with KAFKA.

      • Optional: KAFKA_CLIENT_KEYSTORE, KAFKA_CLIENT_KEYSTORE_PASSWORD, KAFKA_CLIENT_KEY_PASSWORD, ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD, ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD. These parameters are used to configure TLS client configuration with SSL in KAFKA.

      • Optional: KAFKA_SASL_MECHANISM. Can be specified as SCRAM-SHA-512, GSSAPI, or AWS_MSK_IAM.

      • Optional: KAFKA_SASL_SCRAM_USERNAME, KAFKA_SASL_SCRAM_PASSWORD, ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD. These parameters are used to configure SASL/SCRAM-SHA-512 authentication with KAFKA.

      • Optional: KAFKA_SASL_GSSAPI_KEYTAB, KAFKA_SASL_GSSAPI_KRB5_CONF, KAFKA_SASL_GSSAPI_SERVICE, KAFKA_SASL_GSSAPI_PRINCIPAL. These parameters are used to configure SASL/GSSAPI authentication with KAFKA.

    • MONGODB - Designates a connection to a MongoDB document database.

      MONGODB Connections use the following ConnectionParameters.

      • Required: CONNECTION_URL.

      • Required: All of (USERNAME, PASSWORD) or SECRET_ID.

    • VIEW_VALIDATION_REDSHIFT - Designates a connection used for view validation by Amazon Redshift.

    • VIEW_VALIDATION_ATHENA - Designates a connection used for view validation by Amazon Athena.

    • NETWORK - Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).

      NETWORK Connections do not require ConnectionParameters. Instead, provide a PhysicalConnectionRequirements.

    • MARKETPLACE - Uses configuration settings contained in a connector purchased from Amazon Web Services Marketplace to read from and write to data stores that are not natively supported by Glue.

      MARKETPLACE Connections use the following ConnectionParameters.

      • Required: CONNECTOR_TYPE, CONNECTOR_URL, CONNECTOR_CLASS_NAME, CONNECTION_URL.

      • Required for JDBC CONNECTOR_TYPE connections: All of (USERNAME, PASSWORD) or SECRET_ID.

    • CUSTOM - Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by Glue.

    Additionally, a ConnectionType for the following SaaS connectors is supported:

    • FACEBOOKADS - Designates a connection to Facebook Ads.

    • GOOGLEADS - Designates a connection to Google Ads.

    • GOOGLESHEETS - Designates a connection to Google Sheets.

    • GOOGLEANALYTICS4 - Designates a connection to Google Analytics 4.

    • HUBSPOT - Designates a connection to HubSpot.

    • INSTAGRAMADS - Designates a connection to Instagram Ads.

    • INTERCOM - Designates a connection to Intercom.

    • JIRACLOUD - Designates a connection to Jira Cloud.

    • MARKETO - Designates a connection to Adobe Marketo Engage.

    • NETSUITEERP - Designates a connection to Oracle NetSuite.

    • SALESFORCE - Designates a connection to Salesforce using OAuth authentication.

    • SALESFORCEMARKETINGCLOUD - Designates a connection to Salesforce Marketing Cloud.

    • SALESFORCEPARDOT - Designates a connection to Salesforce Marketing Cloud Account Engagement (MCAE).

    • SAPODATA - Designates a connection to SAP OData.

    • SERVICENOW - Designates a connection to ServiceNow.

    • SLACK - Designates a connection to Slack.

    • SNAPCHATADS - Designates a connection to Snapchat Ads.

    • STRIPE - Designates a connection to Stripe.

    • ZENDESK - Designates a connection to Zendesk.

    • ZOHOCRM - Designates a connection to Zoho CRM.

    For more information on the connection parameters needed for a particular connector, see the documentation for the connector in Adding an Glue connectionin the Glue User Guide.

    SFTP is not supported.

    For more information about how optional ConnectionProperties are used to configure features in Glue, consult Glue connection properties.

    For more information about how optional ConnectionProperties are used to configure features in Glue Studio, consult Using connectors and connections.

    " }, "MatchCriteria":{ "shape":"MatchCriteria", @@ -6898,9 +7716,17 @@ "shape":"ConnectionProperties", "documentation":"

    These key-value pairs define parameters for the connection.

    " }, + "SparkProperties":{ + "shape":"PropertyMap", + "documentation":"

    Connection properties specific to the Spark compute environment.

    " + }, "AthenaProperties":{ "shape":"PropertyMap", - "documentation":"

    This field is not currently used.

    " + "documentation":"

    Connection properties specific to the Athena compute environment.

    " + }, + "PythonProperties":{ + "shape":"PropertyMap", + "documentation":"

    Connection properties specific to the Python compute environment.

    " }, "PhysicalConnectionRequirements":{ "shape":"PhysicalConnectionRequirements", @@ -6908,11 +7734,15 @@ }, "AuthenticationConfiguration":{ "shape":"AuthenticationConfigurationInput", - "documentation":"

    The authentication properties of the connection. Used for a Salesforce connection.

    " + "documentation":"

    The authentication properties of the connection.

    " }, "ValidateCredentials":{ "shape":"Boolean", - "documentation":"

    A flag to validate the credentials during create connection. Used for a Salesforce connection. Default is true.

    " + "documentation":"

    A flag to validate the credentials during create connection. Default is true.

    " + }, + "ValidateForComputeEnvironments":{ + "shape":"ComputeEnvironmentList", + "documentation":"

    The compute environments that the specified connection properties are validated against.

    " } }, "documentation":"

    A structure that is used to specify a connection to create or update.

    " @@ -6922,6 +7752,13 @@ "member":{"shape":"Connection"} }, "ConnectionName":{"type":"string"}, + "ConnectionOptions":{ + "type":"map", + "key":{"shape":"OptionKey"}, + "value":{"shape":"OptionValue"}, + "max":100, + "min":0 + }, "ConnectionPasswordEncryption":{ "type":"structure", "required":["ReturnConnectionPasswordEncrypted"], @@ -6973,10 +7810,6 @@ "KAFKA_CLIENT_KEY_PASSWORD", "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD", "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD", - "SECRET_ID", - "CONNECTOR_URL", - "CONNECTOR_TYPE", - "CONNECTOR_CLASS_NAME", "KAFKA_SASL_MECHANISM", "KAFKA_SASL_PLAIN_USERNAME", "KAFKA_SASL_PLAIN_PASSWORD", @@ -6989,6 +7822,12 @@ "KAFKA_SASL_GSSAPI_KRB5_CONF", "KAFKA_SASL_GSSAPI_SERVICE", "KAFKA_SASL_GSSAPI_PRINCIPAL", + "SECRET_ID", + "CONNECTOR_URL", + "CONNECTOR_TYPE", + "CONNECTOR_CLASS_NAME", + "ENDPOINT", + "ENDPOINT_TYPE", "ROLE_ARN", "REGION", "WORKGROUP_NAME", @@ -6996,6 +7835,12 @@ "DATABASE" ] }, + "ConnectionSchemaVersion":{ + "type":"integer", + "box":true, + "max":2, + "min":1 + }, "ConnectionStatus":{ "type":"string", "enum":[ @@ -7016,9 +7861,50 @@ "CUSTOM", "SALESFORCE", "VIEW_VALIDATION_REDSHIFT", - "VIEW_VALIDATION_ATHENA" + "VIEW_VALIDATION_ATHENA", + "GOOGLEADS", + "GOOGLESHEETS", + "GOOGLEANALYTICS4", + "SERVICENOW", + "MARKETO", + "SAPODATA", + "ZENDESK", + "JIRACLOUD", + "NETSUITEERP", + "HUBSPOT", + "FACEBOOKADS", + "INSTAGRAMADS", + "ZOHOCRM", + "SALESFORCEPARDOT", + "SALESFORCEMARKETINGCLOUD", + "SLACK", + "STRIPE", + "INTERCOM", + "SNAPCHATADS" ] }, + "ConnectionTypeBrief":{ + "type":"structure", + "members":{ + "ConnectionType":{ + "shape":"ConnectionType", + "documentation":"

    The name of the connection type.

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

    A description of the connection type.

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

    The supported authentication types, data interface types (compute environments), and data operations of the connector.

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

    Brief information about a supported connection type returned by the ListConnectionTypes API.

    " + }, + "ConnectionTypeList":{ + "type":"list", + "member":{"shape":"ConnectionTypeBrief"} + }, "ConnectionsList":{ "type":"structure", "members":{ @@ -7505,6 +8391,32 @@ } } }, + "CreateCatalogRequest":{ + "type":"structure", + "required":[ + "Name", + "CatalogInput" + ], + "members":{ + "Name":{ + "shape":"CatalogNameString", + "documentation":"

    The name of the catalog to create.

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

    A CatalogInput object that defines the metadata for the catalog.

    " + }, + "Tags":{ + "shape":"TagsMap", + "documentation":"

    A map array of key-value pairs, not more than 50 pairs. Each key is a UTF-8 string, not less than 1 or more than 128 bytes long. Each value is a UTF-8 string, not more than 256 bytes long. The tags you assign to the catalog.

    " + } + } + }, + "CreateCatalogResponse":{ + "type":"structure", + "members":{ + } + }, "CreateClassifierRequest":{ "type":"structure", "members":{ @@ -8011,6 +8923,175 @@ }, "documentation":"

    Specifies a grok classifier for CreateClassifier to create.

    " }, + "CreateIntegrationRequest":{ + "type":"structure", + "required":[ + "IntegrationName", + "SourceArn", + "TargetArn" + ], + "members":{ + "IntegrationName":{ + "shape":"String128", + "documentation":"

    A unique name for an integration in Glue.

    " + }, + "SourceArn":{ + "shape":"String128", + "documentation":"

    The ARN of the source resource for the integration.

    " + }, + "TargetArn":{ + "shape":"String128", + "documentation":"

    The ARN of the target resource for the integration.

    " + }, + "Description":{ + "shape":"IntegrationDescription", + "documentation":"

    A description of the integration.

    " + }, + "DataFilter":{ + "shape":"String2048", + "documentation":"

    Selects source tables for the integration using Maxwell filter syntax.

    " + }, + "KmsKeyId":{ + "shape":"String2048", + "documentation":"

    The ARN of a KMS key used for encrypting the channel.

    " + }, + "AdditionalEncryptionContext":{ + "shape":"IntegrationAdditionalEncryptionContextMap", + "documentation":"

    An optional set of non-secret key–value pairs that contains additional contextual information for encryption. This can only be provided if KMSKeyId is provided.

    " + }, + "Tags":{ + "shape":"IntegrationTagsList", + "documentation":"

    Metadata assigned to the resource consisting of a list of key-value pairs.

    " + } + } + }, + "CreateIntegrationResourcePropertyRequest":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{ + "shape":"String128", + "documentation":"

    The connection ARN of the source, or the database ARN of the target.

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

    The resource properties associated with the integration source.

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

    The resource properties associated with the integration target.

    " + } + } + }, + "CreateIntegrationResourcePropertyResponse":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{ + "shape":"String128", + "documentation":"

    The connection ARN of the source, or the database ARN of the target.

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

    The resource properties associated with the integration source.

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

    The resource properties associated with the integration target.

    " + } + } + }, + "CreateIntegrationResponse":{ + "type":"structure", + "required":[ + "SourceArn", + "TargetArn", + "IntegrationName", + "IntegrationArn", + "Status", + "CreateTime" + ], + "members":{ + "SourceArn":{ + "shape":"String128", + "documentation":"

    The ARN of the source resource for the integration.

    " + }, + "TargetArn":{ + "shape":"String128", + "documentation":"

    The ARN of the target resource for the integration.

    " + }, + "IntegrationName":{ + "shape":"String128", + "documentation":"

    A unique name for an integration in Glue.

    " + }, + "Description":{ + "shape":"IntegrationDescription", + "documentation":"

    A description of the integration.

    " + }, + "IntegrationArn":{ + "shape":"String128", + "documentation":"

    The Amazon Resource Name (ARN) for the created integration.

    " + }, + "KmsKeyId":{ + "shape":"String2048", + "documentation":"

    The ARN of a KMS key used for encrypting the channel.

    " + }, + "AdditionalEncryptionContext":{ + "shape":"IntegrationAdditionalEncryptionContextMap", + "documentation":"

    An optional set of non-secret key–value pairs that contains additional contextual information for encryption.

    " + }, + "Tags":{ + "shape":"IntegrationTagsList", + "documentation":"

    Metadata assigned to the resource consisting of a list of key-value pairs.

    " + }, + "Status":{ + "shape":"IntegrationStatus", + "documentation":"

    The status of the integration being created.

    The possible statuses are:

    • CREATING: The integration is being created.

    • ACTIVE: The integration creation succeeds.

    • MODIFYING: The integration is being modified.

    • FAILED: The integration creation fails.

    • DELETING: The integration is deleted.

    • SYNCING: The integration is synchronizing.

    • NEEDS_ATTENTION: The integration needs attention, such as synchronization.

    " + }, + "CreateTime":{ + "shape":"IntegrationTimestamp", + "documentation":"

    The time when the integration was created, in UTC.

    " + }, + "Errors":{ + "shape":"IntegrationErrorList", + "documentation":"

    A list of errors associated with the integration creation.

    " + }, + "DataFilter":{ + "shape":"String2048", + "documentation":"

    Selects source tables for the integration using Maxwell filter syntax.

    " + } + } + }, + "CreateIntegrationTablePropertiesRequest":{ + "type":"structure", + "required":[ + "ResourceArn", + "TableName" + ], + "members":{ + "ResourceArn":{ + "shape":"String128", + "documentation":"

    The connection ARN of the source, or the database ARN of the target.

    " + }, + "TableName":{ + "shape":"String128", + "documentation":"

    The name of the table to be replicated.

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

    A structure for the source table configuration.

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

    A structure for the target table configuration.

    " + } + } + }, + "CreateIntegrationTablePropertiesResponse":{ + "type":"structure", + "members":{ + } + }, "CreateJobRequest":{ "type":"structure", "required":[ @@ -8813,6 +9894,22 @@ "documentation":"

    Specifies an XML classifier for CreateClassifier to create.

    " }, "CreatedTimestamp":{"type":"string"}, + "CredentialKey":{ + "type":"string", + "max":128, + "min":1 + }, + "CredentialMap":{ + "type":"map", + "key":{"shape":"CredentialKey"}, + "value":{"shape":"CredentialValue"}, + "sensitive":true + }, + "CredentialValue":{ + "type":"string", + "max":2048, + "min":1 + }, "CronExpression":{"type":"string"}, "CsvClassifier":{ "type":"structure", @@ -8979,6 +10076,11 @@ "min":0, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, + "CustomProperties":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, "DQAdditionalOptions":{ "type":"map", "key":{"shape":"AdditionalOptionKeys"}, @@ -9078,6 +10180,66 @@ "PROTOBUF" ] }, + "DataLakeAccessProperties":{ + "type":"structure", + "members":{ + "DataLakeAccess":{ + "shape":"Boolean", + "documentation":"

    Turns on or off data lake access for Apache Spark applications that access Amazon Redshift databases in the Data Catalog from any non-Redshift engine, such as Amazon Athena, Amazon EMR, or Glue ETL.

    " + }, + "DataTransferRole":{ + "shape":"IAMRoleArn", + "documentation":"

    A role that will be assumed by Glue for transferring data into/out of the staging bucket during a query.

    " + }, + "KmsKey":{ + "shape":"ResourceArnString", + "documentation":"

    An encryption key that will be used for the staging bucket that will be created along with the catalog.

    " + }, + "CatalogType":{ + "shape":"NameString", + "documentation":"

    Specifies a federated catalog type for the native catalog resource. The currently supported type is aws:redshift.

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

    Input properties to configure data lake access for your catalog resource in the Glue Data Catalog.

    " + }, + "DataLakeAccessPropertiesOutput":{ + "type":"structure", + "members":{ + "DataLakeAccess":{ + "shape":"Boolean", + "documentation":"

    Turns on or off data lake access for Apache Spark applications that access Amazon Redshift databases in the Data Catalog.

    " + }, + "DataTransferRole":{ + "shape":"IAMRoleArn", + "documentation":"

    A role that will be assumed by Glue for transferring data into/out of the staging bucket during a query.

    " + }, + "KmsKey":{ + "shape":"ResourceArnString", + "documentation":"

    An encryption key that will be used for the staging bucket that will be created along with the catalog.

    " + }, + "ManagedWorkgroupName":{ + "shape":"NameString", + "documentation":"

    The managed Redshift Serverless compute name that is created for your catalog resource.

    " + }, + "ManagedWorkgroupStatus":{ + "shape":"NameString", + "documentation":"

    The managed Redshift Serverless compute status.

    " + }, + "RedshiftDatabaseName":{ + "shape":"NameString", + "documentation":"

    The default Redshift database resource name in the managed compute.

    " + }, + "StatusMessage":{ + "shape":"NameString", + "documentation":"

    A message that gives more detailed information about the managed workgroup status.

    " + }, + "CatalogType":{ + "shape":"NameString", + "documentation":"

    Specifies a federated catalog type for the native catalog resource. The currently supported type is aws:redshift.

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

    The output properties of the data lake access configuration for your catalog resource in the Glue Data Catalog.

    " + }, "DataLakePrincipal":{ "type":"structure", "members":{ @@ -9093,6 +10255,17 @@ "max":255, "min":1 }, + "DataOperation":{ + "type":"string", + "enum":[ + "READ", + "WRITE" + ] + }, + "DataOperations":{ + "type":"list", + "member":{"shape":"DataOperation"} + }, "DataQualityAnalyzerResult":{ "type":"structure", "members":{ @@ -9838,6 +11011,21 @@ } } }, + "DeleteCatalogRequest":{ + "type":"structure", + "required":["CatalogId"], + "members":{ + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

    The ID of the catalog.

    " + } + } + }, + "DeleteCatalogResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteClassifierRequest":{ "type":"structure", "required":["Name"], @@ -10050,6 +11238,99 @@ "members":{ } }, + "DeleteIntegrationRequest":{ + "type":"structure", + "required":["IntegrationIdentifier"], + "members":{ + "IntegrationIdentifier":{ + "shape":"String128", + "documentation":"

    The Amazon Resource Name (ARN) for the integration.

    " + } + } + }, + "DeleteIntegrationResponse":{ + "type":"structure", + "required":[ + "SourceArn", + "TargetArn", + "IntegrationName", + "IntegrationArn", + "Status", + "CreateTime" + ], + "members":{ + "SourceArn":{ + "shape":"String128", + "documentation":"

    The ARN of the source for the integration.

    " + }, + "TargetArn":{ + "shape":"String128", + "documentation":"

    The ARN of the target for the integration.

    " + }, + "IntegrationName":{ + "shape":"String128", + "documentation":"

    A unique name for an integration in Glue.

    " + }, + "Description":{ + "shape":"IntegrationDescription", + "documentation":"

    A description of the integration.

    " + }, + "IntegrationArn":{ + "shape":"String128", + "documentation":"

    The Amazon Resource Name (ARN) for the integration.

    " + }, + "KmsKeyId":{ + "shape":"String2048", + "documentation":"

    The ARN of a KMS key used for encrypting the channel.

    " + }, + "AdditionalEncryptionContext":{ + "shape":"IntegrationAdditionalEncryptionContextMap", + "documentation":"

    An optional set of non-secret key–value pairs that contains additional contextual information for encryption.

    " + }, + "Tags":{ + "shape":"IntegrationTagsList", + "documentation":"

    Metadata assigned to the resource consisting of a list of key-value pairs.

    " + }, + "Status":{ + "shape":"IntegrationStatus", + "documentation":"

    The status of the integration being deleted.

    The possible statuses are:

    • CREATING: The integration is being created.

    • ACTIVE: The integration creation succeeds.

    • MODIFYING: The integration is being modified.

    • FAILED: The integration creation fails.

    • DELETING: The integration is deleted.

    • SYNCING: The integration is synchronizing.

    • NEEDS_ATTENTION: The integration needs attention, such as synchronization.

    " + }, + "CreateTime":{ + "shape":"IntegrationTimestamp", + "documentation":"

    The time when the integration was created, in UTC.

    " + }, + "Errors":{ + "shape":"IntegrationErrorList", + "documentation":"

    A list of errors associated with the integration.

    " + }, + "DataFilter":{ + "shape":"String2048", + "documentation":"

    Selects source tables for the integration using Maxwell filter syntax.

    " + } + } + }, + "DeleteIntegrationTablePropertiesRequest":{ + "type":"structure", + "required":[ + "ResourceArn", + "TableName" + ], + "members":{ + "ResourceArn":{ + "shape":"String128", + "documentation":"

    The connection ARN of the source, or the database ARN of the target.

    " + }, + "TableName":{ + "shape":"String128", + "documentation":"

    The name of the table to be replicated.

    " + } + } + }, + "DeleteIntegrationTablePropertiesResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteJobRequest":{ "type":"structure", "required":["JobName"], @@ -10491,24 +11772,198 @@ "type":"list", "member":{"shape":"DeltaTarget"} }, - "DescriptionString":{ - "type":"string", - "max":2048, - "min":0, - "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" - }, - "DescriptionStringRemovable":{ - "type":"string", - "max":2048, - "min":0, - "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" - }, - "DevEndpoint":{ + "DescribeConnectionTypeRequest":{ "type":"structure", + "required":["ConnectionType"], "members":{ - "EndpointName":{ - "shape":"GenericString", - "documentation":"

    The name of the DevEndpoint.

    " + "ConnectionType":{ + "shape":"NameString", + "documentation":"

    The name of the connection type to be described.

    " + } + } + }, + "DescribeConnectionTypeResponse":{ + "type":"structure", + "members":{ + "ConnectionType":{ + "shape":"NameString", + "documentation":"

    The name of the connection type.

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

    A description of the connection type.

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

    The supported authentication types, data interface types (compute environments), and data operations of the connector.

    " + }, + "ConnectionProperties":{ + "shape":"PropertiesMap", + "documentation":"

    Connection properties which are common across compute environments.

    " + }, + "ConnectionOptions":{ + "shape":"PropertiesMap", + "documentation":"

    Returns properties that can be set when creating a connection in the ConnectionInput.ConnectionProperties. ConnectionOptions defines parameters that can be set in a Spark ETL script in the connection options map passed to a dataframe.

    " + }, + "AuthenticationConfiguration":{ + "shape":"AuthConfiguration", + "documentation":"

    The type of authentication used for the connection.

    " + }, + "ComputeEnvironmentConfigurations":{ + "shape":"ComputeEnvironmentConfigurationMap", + "documentation":"

    The compute environments that are supported by the connection.

    " + }, + "PhysicalConnectionRequirements":{ + "shape":"PropertiesMap", + "documentation":"

    Physical requirements for a connection, such as VPC, Subnet and Security Group specifications.

    " + }, + "AthenaConnectionProperties":{ + "shape":"PropertiesMap", + "documentation":"

    Connection properties specific to the Athena compute environment.

    " + }, + "PythonConnectionProperties":{ + "shape":"PropertiesMap", + "documentation":"

    Connection properties specific to the Python compute environment.

    " + }, + "SparkConnectionProperties":{ + "shape":"PropertiesMap", + "documentation":"

    Connection properties specific to the Spark compute environment.

    " + } + } + }, + "DescribeEntityRequest":{ + "type":"structure", + "required":[ + "ConnectionName", + "EntityName" + ], + "members":{ + "ConnectionName":{ + "shape":"NameString", + "documentation":"

    The name of the connection that contains the connection type credentials.

    " + }, + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

    The catalog ID of the catalog that contains the connection. This can be null, By default, the Amazon Web Services Account ID is the catalog ID.

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

    The name of the entity that you want to describe from the connection type.

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

    A continuation token, included if this is a continuation call.

    " + }, + "DataStoreApiVersion":{ + "shape":"ApiVersion", + "documentation":"

    The version of the API used for the data store.

    " + } + } + }, + "DescribeEntityResponse":{ + "type":"structure", + "members":{ + "Fields":{ + "shape":"FieldsList", + "documentation":"

    Describes the fields for that connector entity. This is the list of Field objects. Field is very similar to column in a database. The Field object has information about different properties associated with fields in the connector.

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

    A continuation token, present if the current segment is not the last.

    " + } + } + }, + "DescribeInboundIntegrationsRequest":{ + "type":"structure", + "members":{ + "IntegrationArn":{ + "shape":"String128", + "documentation":"

    The Amazon Resource Name (ARN) of the integration.

    " + }, + "Marker":{ + "shape":"String128", + "documentation":"

    A token to specify where to start paginating. This is the marker from a previously truncated response.

    " + }, + "MaxRecords":{ + "shape":"IntegrationInteger", + "documentation":"

    The total number of items to return in the output.

    " + }, + "TargetArn":{ + "shape":"String128", + "documentation":"

    The Amazon Resource Name (ARN) of the target resource in the integration.

    " + } + } + }, + "DescribeInboundIntegrationsResponse":{ + "type":"structure", + "members":{ + "InboundIntegrations":{ + "shape":"InboundIntegrationsList", + "documentation":"

    A list of inbound integrations.

    " + }, + "Marker":{ + "shape":"String128", + "documentation":"

    A value that indicates the starting point for the next set of response records in a subsequent request.

    " + } + } + }, + "DescribeIntegrationsRequest":{ + "type":"structure", + "members":{ + "IntegrationIdentifier":{ + "shape":"String128", + "documentation":"

    The Amazon Resource Name (ARN) for the integration.

    " + }, + "Marker":{ + "shape":"String128", + "documentation":"

    A value that indicates the starting point for the next set of response records in a subsequent request.

    " + }, + "MaxRecords":{ + "shape":"IntegrationInteger", + "documentation":"

    The total number of items to return in the output.

    " + }, + "Filters":{ + "shape":"IntegrationFilterList", + "documentation":"

    A list of key and values, to filter down the results. Supported keys are \"Status\", \"IntegrationName\", and \"SourceArn\". IntegrationName is limited to only one value.

    " + } + } + }, + "DescribeIntegrationsResponse":{ + "type":"structure", + "members":{ + "Integrations":{ + "shape":"IntegrationsList", + "documentation":"

    A list of zero-ETL integrations.

    " + }, + "Marker":{ + "shape":"String128", + "documentation":"

    A value that indicates the starting point for the next set of response records in a subsequent request.

    " + } + } + }, + "Description":{ + "type":"string", + "max":1024, + "min":0 + }, + "DescriptionString":{ + "type":"string", + "max":2048, + "min":0, + "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + }, + "DescriptionStringRemovable":{ + "type":"string", + "max":2048, + "min":0, + "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + }, + "DevEndpoint":{ + "type":"structure", + "members":{ + "EndpointName":{ + "shape":"GenericString", + "documentation":"

    The name of the DevEndpoint.

    " }, "RoleArn":{ "shape":"RoleArn", @@ -11025,6 +12480,44 @@ }, "documentation":"

    Specifies an encryption configuration.

    " }, + "Entity":{ + "type":"structure", + "members":{ + "EntityName":{ + "shape":"EntityName", + "documentation":"

    The name of the entity.

    " + }, + "Label":{ + "shape":"EntityLabel", + "documentation":"

    Label used for the entity.

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

    A Boolean value which helps to determine whether there are sub objects that can be listed.

    " + }, + "Description":{ + "shape":"EntityDescription", + "documentation":"

    A description of the entity.

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

    The type of entities that are present in the response. This value depends on the source connection. For example this is SObjects for Salesforce and databases or schemas or tables for sources like Amazon Redshift.

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

    An optional map of keys which may be returned for an entity by a connector.

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

    An entity supported by a given ConnectionType.

    " + }, + "EntityDescription":{"type":"string"}, + "EntityFieldName":{"type":"string"}, + "EntityLabel":{"type":"string"}, + "EntityList":{ + "type":"list", + "member":{"shape":"Entity"} + }, + "EntityName":{"type":"string"}, "EntityNotFoundException":{ "type":"structure", "members":{ @@ -11187,6 +12680,28 @@ "documentation":"

    Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.

    " }, "EventQueueArn":{"type":"string"}, + "ExecutionAttempt":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"ExecutionStatus", + "documentation":"

    The status of the last column statistics task run.

    " + }, + "ColumnStatisticsTaskRunId":{ + "shape":"HashString", + "documentation":"

    A task run ID for the last column statistics task run.

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

    A timestamp when the last column statistics task run occurred.

    " + }, + "ErrorMessage":{ + "shape":"DescriptionString", + "documentation":"

    An error message associated with the last column statistics task run.

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

    A run attempt for a column statistics task run.

    " + }, "ExecutionClass":{ "type":"string", "enum":[ @@ -11205,6 +12720,13 @@ }, "documentation":"

    An execution property of a job.

    " }, + "ExecutionStatus":{ + "type":"string", + "enum":[ + "FAILED", + "STARTED" + ] + }, "ExecutionTime":{"type":"integer"}, "ExistCondition":{ "type":"string", @@ -11228,6 +12750,20 @@ "type":"string", "pattern":"[\\s\\S]*" }, + "FederatedCatalog":{ + "type":"structure", + "members":{ + "Identifier":{ + "shape":"FederationIdentifier", + "documentation":"

    A unique identifier for the federated catalog.

    " + }, + "ConnectionName":{ + "shape":"NameString", + "documentation":"

    The name of the connection to an external data source, for example a Redshift-federated catalog.

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

    A catalog that points to an entity outside the Glue Data Catalog.

    " + }, "FederatedDatabase":{ "type":"structure", "members":{ @@ -11322,6 +12858,125 @@ "documentation":"

    A federation source failed, but the operation may be retried.

    ", "exception":true }, + "Field":{ + "type":"structure", + "members":{ + "FieldName":{ + "shape":"EntityFieldName", + "documentation":"

    A unique identifier for the field.

    " + }, + "Label":{ + "shape":"FieldLabel", + "documentation":"

    A readable label used for the field.

    " + }, + "Description":{ + "shape":"FieldDescription", + "documentation":"

    A description of the field.

    " + }, + "FieldType":{ + "shape":"FieldDataType", + "documentation":"

    The type of data in the field.

    " + }, + "IsPrimaryKey":{ + "shape":"Bool", + "documentation":"

    Indicates whether this field can used as a primary key for the given entity.

    " + }, + "IsNullable":{ + "shape":"Bool", + "documentation":"

    Indicates whether this field can be nullable or not.

    " + }, + "IsRetrievable":{ + "shape":"Bool", + "documentation":"

    Indicates whether this field can be added in Select clause of SQL query or whether it is retrievable or not.

    " + }, + "IsFilterable":{ + "shape":"Bool", + "documentation":"

    Indicates whether this field can used in a filter clause (WHERE clause) of a SQL statement when querying data.

    " + }, + "IsPartitionable":{ + "shape":"Bool", + "documentation":"

    Indicates whether a given field can be used in partitioning the query made to SaaS.

    " + }, + "IsCreateable":{ + "shape":"Bool", + "documentation":"

    Indicates whether this field can be created as part of a destination write.

    " + }, + "IsUpdateable":{ + "shape":"Bool", + "documentation":"

    Indicates whether this field can be updated as part of a destination write.

    " + }, + "IsUpsertable":{ + "shape":"Bool", + "documentation":"

    Indicates whether this field can be upserted as part of a destination write.

    " + }, + "IsDefaultOnCreate":{ + "shape":"Bool", + "documentation":"

    Indicates whether this field is populated automatically when the object is created, such as a created at timestamp.

    " + }, + "SupportedValues":{ + "shape":"ListOfString", + "documentation":"

    A list of supported values for the field.

    " + }, + "SupportedFilterOperators":{ + "shape":"FieldFilterOperatorsList", + "documentation":"

    Indicates the support filter operators for this field.

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

    A parent field name for a nested field.

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

    The data type returned by the SaaS API, such as “picklist” or “textarea” from Salesforce.

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

    Optional map of keys which may be returned.

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

    The Field object has information about the different properties associated with a field in the connector.

    " + }, + "FieldDataType":{ + "type":"string", + "enum":[ + "INT", + "SMALLINT", + "BIGINT", + "FLOAT", + "LONG", + "DATE", + "BOOLEAN", + "MAP", + "ARRAY", + "STRING", + "TIMESTAMP", + "DECIMAL", + "BYTE", + "SHORT", + "DOUBLE", + "STRUCT" + ] + }, + "FieldDescription":{"type":"string"}, + "FieldFilterOperator":{ + "type":"string", + "enum":[ + "LESS_THAN", + "GREATER_THAN", + "BETWEEN", + "EQUAL_TO", + "NOT_EQUAL_TO", + "GREATER_THAN_OR_EQUAL_TO", + "LESS_THAN_OR_EQUAL_TO", + "CONTAINS", + "ORDER_BY" + ] + }, + "FieldFilterOperatorsList":{ + "type":"list", + "member":{"shape":"FieldFilterOperator"} + }, + "FieldLabel":{"type":"string"}, "FieldName":{ "type":"string", "enum":[ @@ -11333,6 +12988,10 @@ ] }, "FieldType":{"type":"string"}, + "FieldsList":{ + "type":"list", + "member":{"shape":"Field"} + }, "FillMissingValues":{ "type":"structure", "required":[ @@ -11444,6 +13103,11 @@ "NE" ] }, + "FilterPredicate":{ + "type":"string", + "max":100000, + "min":1 + }, "FilterString":{ "type":"string", "max":2048, @@ -11677,6 +13341,60 @@ } } }, + "GetCatalogRequest":{ + "type":"structure", + "required":["CatalogId"], + "members":{ + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

    The ID of the parent catalog in which the catalog resides. If none is provided, the Amazon Web Services Account Number is used by default.

    " + } + } + }, + "GetCatalogResponse":{ + "type":"structure", + "members":{ + "Catalog":{ + "shape":"Catalog", + "documentation":"

    A Catalog object. The definition of the specified catalog in the Glue Data Catalog.

    " + } + } + }, + "GetCatalogsRequest":{ + "type":"structure", + "members":{ + "ParentCatalogId":{ + "shape":"CatalogIdString", + "documentation":"

    The ID of the parent catalog in which the catalog resides. If none is provided, the Amazon Web Services Account Number is used by default.

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

    A continuation token, if this is a continuation call.

    " + }, + "MaxResults":{ + "shape":"PageSize", + "documentation":"

    The maximum number of catalogs to return in one response.

    " + }, + "Recursive":{ + "shape":"Boolean", + "documentation":"

    When specified as true, iterates through the account and returns all catalog resources (including top-level resources and child resources)

    " + } + } + }, + "GetCatalogsResponse":{ + "type":"structure", + "required":["CatalogList"], + "members":{ + "CatalogList":{ + "shape":"CatalogList", + "documentation":"

    An array of Catalog objects. A list of Catalog objects from the specified parent catalog.

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

    A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.

    " + } + } + }, "GetClassifierRequest":{ "type":"structure", "required":["Name"], @@ -11909,6 +13627,10 @@ "HidePassword":{ "shape":"Boolean", "documentation":"

    Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.

    " + }, + "ApplyOverrideForComputeEnvironment":{ + "shape":"ComputeEnvironment", + "documentation":"

    For connections that may be used in multiple services, specifies returning properties for the specified compute environment.

    " } } }, @@ -11931,6 +13653,10 @@ "ConnectionType":{ "shape":"ConnectionType", "documentation":"

    The type of connections to return. Currently, SFTP is not supported.

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

    Denotes if the connection was created with schema version 1 or 2.

    " } }, "documentation":"

    Filters the connection definitions that are returned by the GetConnections API operation.

    " @@ -12525,29 +14251,156 @@ } } }, - "GetDevEndpointsRequest":{ + "GetDevEndpointsRequest":{ + "type":"structure", + "members":{ + "MaxResults":{ + "shape":"PageSize", + "documentation":"

    The maximum size of information to return.

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

    A continuation token, if this is a continuation call.

    " + } + } + }, + "GetDevEndpointsResponse":{ + "type":"structure", + "members":{ + "DevEndpoints":{ + "shape":"DevEndpointList", + "documentation":"

    A list of DevEndpoint definitions.

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

    A continuation token, if not all DevEndpoint definitions have yet been returned.

    " + } + } + }, + "GetEntityRecordsRequest":{ + "type":"structure", + "required":[ + "EntityName", + "Limit" + ], + "members":{ + "ConnectionName":{ + "shape":"NameString", + "documentation":"

    The name of the connection that contains the connection type credentials.

    " + }, + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

    The catalog ID of the catalog that contains the connection. This can be null, By default, the Amazon Web Services Account ID is the catalog ID.

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

    Name of the entity that we want to query the preview data from the given connection type.

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

    A continuation token, included if this is a continuation call.

    " + }, + "DataStoreApiVersion":{ + "shape":"ApiVersion", + "documentation":"

    The API version of the SaaS connector.

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

    Connector options that are required to query the data.

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

    A filter predicate that you can apply in the query request.

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

    Limits the number of records fetched with the request.

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

    A parameter that orders the response preview data.

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

    List of fields that we want to fetch as part of preview data.

    " + } + } + }, + "GetEntityRecordsResponse":{ + "type":"structure", + "members":{ + "Records":{ + "shape":"Records", + "documentation":"

    A list of the requested objects.

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

    A continuation token, present if the current segment is not the last.

    " + } + } + }, + "GetIntegrationResourcePropertyRequest":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{ + "shape":"String128", + "documentation":"

    The connection ARN of the source, or the database ARN of the target.

    " + } + } + }, + "GetIntegrationResourcePropertyResponse":{ + "type":"structure", + "members":{ + "ResourceArn":{ + "shape":"String128", + "documentation":"

    The connection ARN of the source, or the database ARN of the target.

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

    The resource properties associated with the integration source.

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

    The resource properties associated with the integration target.

    " + } + } + }, + "GetIntegrationTablePropertiesRequest":{ "type":"structure", + "required":[ + "ResourceArn", + "TableName" + ], "members":{ - "MaxResults":{ - "shape":"PageSize", - "documentation":"

    The maximum size of information to return.

    " + "ResourceArn":{ + "shape":"String128", + "documentation":"

    The connection ARN of the source, or the database ARN of the target.

    " }, - "NextToken":{ - "shape":"GenericString", - "documentation":"

    A continuation token, if this is a continuation call.

    " + "TableName":{ + "shape":"String128", + "documentation":"

    The name of the table to be replicated.

    " } } }, - "GetDevEndpointsResponse":{ + "GetIntegrationTablePropertiesResponse":{ "type":"structure", "members":{ - "DevEndpoints":{ - "shape":"DevEndpointList", - "documentation":"

    A list of DevEndpoint definitions.

    " + "ResourceArn":{ + "shape":"String128", + "documentation":"

    The connection ARN of the source, or the database ARN of the target.

    " }, - "NextToken":{ - "shape":"GenericString", - "documentation":"

    A continuation token, if not all DevEndpoint definitions have yet been returned.

    " + "TableName":{ + "shape":"String128", + "documentation":"

    The name of the table to be replicated.

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

    A structure for the source table configuration.

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

    A structure for the target table configuration.

    " } } }, @@ -14300,7 +16153,7 @@ "type":"string", "max":10240, "min":1, - "pattern":"arn:(aws|aws-us-gov|aws-cn):glue:.*" + "pattern":"arn:aws(-(cn|us-gov|iso(-[bef])?))?:glue:.*" }, "GlueSchema":{ "type":"structure", @@ -14392,7 +16245,7 @@ "type":"string", "max":255, "min":1, - "pattern":"^\\w+\\.\\w+$" + "pattern":"^(\\w+\\.)+\\w+$" }, "GovernedCatalogSource":{ "type":"structure", @@ -14772,6 +16625,47 @@ }, "documentation":"

    Specifies configuration properties for an importing labels task run.

    " }, + "InboundIntegration":{ + "type":"structure", + "required":[ + "SourceArn", + "TargetArn", + "IntegrationArn", + "Status", + "CreateTime" + ], + "members":{ + "SourceArn":{ + "shape":"String128", + "documentation":"

    The ARN of the source resource for the integration.

    " + }, + "TargetArn":{ + "shape":"String128", + "documentation":"

    The ARN of the target resource for the integration.

    " + }, + "IntegrationArn":{ + "shape":"String128", + "documentation":"

    The ARN of the zero-ETL integration.

    " + }, + "Status":{ + "shape":"IntegrationStatus", + "documentation":"

    The possible statuses are:

    • CREATING: The integration is being created.

    • ACTIVE: The integration creation succeeds.

    • MODIFYING: The integration is being modified.

    • FAILED: The integration creation fails.

    • DELETING: The integration is deleted.

    • SYNCING: The integration is synchronizing.

    • NEEDS_ATTENTION: The integration needs attention, such as synchronization.

    " + }, + "CreateTime":{ + "shape":"IntegrationTimestamp", + "documentation":"

    The time that the integration was created, in UTC.

    " + }, + "Errors":{ + "shape":"IntegrationErrorList", + "documentation":"

    A list of errors associated with the integration.

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

    A structure for an integration that writes data into a resource.

    " + }, + "InboundIntegrationsList":{ + "type":"list", + "member":{"shape":"InboundIntegration"} + }, "InclusionAnnotationList":{ "type":"list", "member":{"shape":"DatapointInclusionAnnotation"} @@ -14790,6 +16684,204 @@ "min":0 }, "IntegerValue":{"type":"integer"}, + "Integration":{ + "type":"structure", + "required":[ + "SourceArn", + "TargetArn", + "IntegrationName", + "IntegrationArn", + "Status", + "CreateTime" + ], + "members":{ + "SourceArn":{ + "shape":"String128", + "documentation":"

    The ARN for the source of the integration.

    " + }, + "TargetArn":{ + "shape":"String128", + "documentation":"

    The ARN for the target of the integration.

    " + }, + "Description":{ + "shape":"IntegrationDescription", + "documentation":"

    A description for the integration.

    " + }, + "IntegrationName":{ + "shape":"String128", + "documentation":"

    A unique name for the integration.

    " + }, + "IntegrationArn":{ + "shape":"String128", + "documentation":"

    The Amazon Resource Name (ARN) for the integration.

    " + }, + "KmsKeyId":{ + "shape":"String2048", + "documentation":"

    The ARN of a KMS key used for encrypting the channel.

    " + }, + "AdditionalEncryptionContext":{ + "shape":"IntegrationAdditionalEncryptionContextMap", + "documentation":"

    An optional set of non-secret key–value pairs that contains additional contextual information for encryption. This can only be provided if KMSKeyId is provided.

    " + }, + "Tags":{ + "shape":"IntegrationTagsList", + "documentation":"

    Metadata assigned to the resource consisting of a list of key-value pairs.

    " + }, + "Status":{ + "shape":"IntegrationStatus", + "documentation":"

    The possible statuses are:

    • CREATING: The integration is being created.

    • ACTIVE: The integration creation succeeds.

    • MODIFYING: The integration is being modified.

    • FAILED: The integration creation fails.

    • DELETING: The integration is deleted.

    • SYNCING: The integration is synchronizing.

    • NEEDS_ATTENTION: The integration needs attention, such as synchronization.

    " + }, + "CreateTime":{ + "shape":"IntegrationTimestamp", + "documentation":"

    The time that the integration was created, in UTC.

    " + }, + "Errors":{ + "shape":"IntegrationErrorList", + "documentation":"

    A list of errors associated with the integration.

    " + }, + "DataFilter":{ + "shape":"String2048", + "documentation":"

    Selects source tables for the integration using Maxwell filter syntax.

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

    Describes a zero-ETL integration.

    " + }, + "IntegrationAdditionalEncryptionContextMap":{ + "type":"map", + "key":{"shape":"IntegrationString"}, + "value":{"shape":"IntegrationString"} + }, + "IntegrationConflictOperationFault":{ + "type":"structure", + "members":{ + "Message":{ + "shape":"IntegrationErrorMessage", + "documentation":"

    A message describing the problem.

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

    The requested operation conflicts with another operation.

    ", + "exception":true + }, + "IntegrationDescription":{ + "type":"string", + "max":1000, + "pattern":"[\\S\\s]*" + }, + "IntegrationError":{ + "type":"structure", + "members":{ + "ErrorCode":{ + "shape":"String128", + "documentation":"

    The code associated with this error.

    " + }, + "ErrorMessage":{ + "shape":"String2048", + "documentation":"

    A message describing the error.

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

    An error associated with a zero-ETL integration.

    " + }, + "IntegrationErrorList":{ + "type":"list", + "member":{"shape":"IntegrationError"} + }, + "IntegrationErrorMessage":{"type":"string"}, + "IntegrationFilter":{ + "type":"structure", + "members":{ + "Name":{ + "shape":"String128", + "documentation":"

    The name of the filter.

    " + }, + "Values":{ + "shape":"IntegrationFilterValues", + "documentation":"

    A list of filter values.

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

    A filter that can be used when invoking a DescribeIntegrations request.

    " + }, + "IntegrationFilterList":{ + "type":"list", + "member":{"shape":"IntegrationFilter"} + }, + "IntegrationFilterValues":{ + "type":"list", + "member":{"shape":"String128"} + }, + "IntegrationInteger":{"type":"integer"}, + "IntegrationNotFoundFault":{ + "type":"structure", + "members":{ + "Message":{ + "shape":"IntegrationErrorMessage", + "documentation":"

    A message describing the problem.

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

    The specified integration could not be found.

    ", + "exception":true + }, + "IntegrationPartition":{ + "type":"structure", + "members":{ + "FieldName":{ + "shape":"String128", + "documentation":"

    The field name used to partition data on the target.

    " + }, + "FunctionSpec":{ + "shape":"String128", + "documentation":"

    Specifies a function used to partition data on the target.

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

    A structure that describes how data is partitioned on the target.

    " + }, + "IntegrationPartitionSpecList":{ + "type":"list", + "member":{"shape":"IntegrationPartition"} + }, + "IntegrationQuotaExceededFault":{ + "type":"structure", + "members":{ + "Message":{ + "shape":"IntegrationErrorMessage", + "documentation":"

    A message describing the problem.

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

    The data processed through your integration exceeded your quota.

    ", + "exception":true + }, + "IntegrationStatus":{ + "type":"string", + "enum":[ + "CREATING", + "ACTIVE", + "MODIFYING", + "FAILED", + "DELETING", + "SYNCING", + "NEEDS_ATTENTION" + ] + }, + "IntegrationString":{"type":"string"}, + "IntegrationTagsList":{ + "type":"list", + "member":{"shape":"Tag"} + }, + "IntegrationTimestamp":{"type":"timestamp"}, + "IntegrationsList":{ + "type":"list", + "member":{"shape":"Integration"} + }, + "InternalServerException":{ + "type":"structure", + "members":{ + "Message":{ + "shape":"IntegrationErrorMessage", + "documentation":"

    A message describing the problem.

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

    An internal server error occurred.

    ", + "exception":true + }, "InternalServiceException":{ "type":"structure", "members":{ @@ -14817,6 +16909,17 @@ "documentation":"

    The input provided was not valid.

    ", "exception":true }, + "InvalidIntegrationStateFault":{ + "type":"structure", + "members":{ + "Message":{ + "shape":"IntegrationErrorMessage", + "documentation":"

    A message describing the problem.

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

    The integration is in an invalid state.

    ", + "exception":true + }, "InvalidStateException":{ "type":"structure", "members":{ @@ -14828,6 +16931,10 @@ "documentation":"

    An error that indicates your data is in an invalid state.

    ", "exception":true }, + "IsParentEntity":{ + "type":"boolean", + "box":true + }, "IsVersionValid":{"type":"boolean"}, "Iso8601DateTime":{ "type":"timestamp", @@ -15611,6 +17718,23 @@ }, "JsonPath":{"type":"string"}, "JsonValue":{"type":"string"}, + "JwtToken":{ + "type":"string", + "max":8000, + "pattern":"^([a-zA-Z0-9_=]+)\\.([a-zA-Z0-9_=]+)\\.([a-zA-Z0-9_\\-\\+\\/=]*)", + "sensitive":true + }, + "KMSKeyNotAccessibleFault":{ + "type":"structure", + "members":{ + "Message":{ + "shape":"IntegrationErrorMessage", + "documentation":"

    A message describing the problem.

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

    The KMS key specified is not accessible.

    ", + "exception":true + }, "KafkaStreamingSourceOptions":{ "type":"structure", "members":{ @@ -15918,6 +18042,12 @@ ] }, "LatestSchemaVersionBoolean":{"type":"boolean"}, + "Limit":{ + "type":"long", + "box":true, + "max":1000, + "min":1 + }, "LimitedPathList":{ "type":"list", "member":{"shape":"LimitedStringList"} @@ -15992,6 +18122,32 @@ } } }, + "ListConnectionTypesRequest":{ + "type":"structure", + "members":{ + "MaxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return.

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

    A continuation token, if this is a continuation call.

    " + } + } + }, + "ListConnectionTypesResponse":{ + "type":"structure", + "members":{ + "ConnectionTypes":{ + "shape":"ConnectionTypeList", + "documentation":"

    A list of ConnectionTypeBrief objects containing brief information about the supported connection types.

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

    A continuation token, if the current list segment is not the last.

    " + } + } + }, "ListCrawlersRequest":{ "type":"structure", "members":{ @@ -16318,6 +18474,44 @@ } } }, + "ListEntitiesRequest":{ + "type":"structure", + "members":{ + "ConnectionName":{ + "shape":"NameString", + "documentation":"

    A name for the connection that has required credentials to query any connection type.

    " + }, + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

    The catalog ID of the catalog that contains the connection. This can be null, By default, the Amazon Web Services Account ID is the catalog ID.

    " + }, + "ParentEntityName":{ + "shape":"EntityName", + "documentation":"

    Name of the parent entity for which you want to list the children. This parameter takes a fully-qualified path of the entity in order to list the child entities.

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

    A continuation token, included if this is a continuation call.

    " + }, + "DataStoreApiVersion":{ + "shape":"ApiVersion", + "documentation":"

    The API version of the SaaS connector.

    " + } + } + }, + "ListEntitiesResponse":{ + "type":"structure", + "members":{ + "Entities":{ + "shape":"EntityList", + "documentation":"

    A list of Entity objects.

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

    A continuation token, present if the current segment is not the last.

    " + } + } + }, "ListJobsRequest":{ "type":"structure", "members":{ @@ -16387,6 +18581,10 @@ } } }, + "ListOfString":{ + "type":"list", + "member":{"shape":"String"} + }, "ListRegistriesInput":{ "type":"structure", "members":{ @@ -16991,6 +19189,12 @@ }, "MaxConcurrentRuns":{"type":"integer"}, "MaxListTableOptimizerRunsTokenResults":{"type":"integer"}, + "MaxResults":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, "MaxResultsNumber":{ "type":"integer", "box":true, @@ -17144,26 +19348,109 @@ "Table" ], "members":{ - "Name":{ - "shape":"NodeName", - "documentation":"

    The name of the data target.

    " + "Name":{ + "shape":"NodeName", + "documentation":"

    The name of the data target.

    " + }, + "Inputs":{ + "shape":"OneInput", + "documentation":"

    The nodes that are inputs to the data target.

    " + }, + "Database":{ + "shape":"EnclosedInStringProperty", + "documentation":"

    The name of the database to write to.

    " + }, + "Table":{ + "shape":"EnclosedInStringProperty", + "documentation":"

    The name of the table in the database to write to.

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

    Specifies a target that uses Microsoft SQL.

    " + }, + "MillisecondsCount":{"type":"long"}, + "ModifyIntegrationRequest":{ + "type":"structure", + "required":["IntegrationIdentifier"], + "members":{ + "IntegrationIdentifier":{ + "shape":"String128", + "documentation":"

    The Amazon Resource Name (ARN) for the integration.

    " + }, + "Description":{ + "shape":"IntegrationDescription", + "documentation":"

    A description of the integration.

    " + }, + "DataFilter":{ + "shape":"String2048", + "documentation":"

    Selects source tables for the integration using Maxwell filter syntax.

    " + }, + "IntegrationName":{ + "shape":"String128", + "documentation":"

    A unique name for an integration in Glue.

    " + } + } + }, + "ModifyIntegrationResponse":{ + "type":"structure", + "required":[ + "SourceArn", + "TargetArn", + "IntegrationName", + "IntegrationArn", + "Status", + "CreateTime" + ], + "members":{ + "SourceArn":{ + "shape":"String128", + "documentation":"

    The ARN of the source for the integration.

    " }, - "Inputs":{ - "shape":"OneInput", - "documentation":"

    The nodes that are inputs to the data target.

    " + "TargetArn":{ + "shape":"String128", + "documentation":"

    The ARN of the target for the integration.

    " }, - "Database":{ - "shape":"EnclosedInStringProperty", - "documentation":"

    The name of the database to write to.

    " + "IntegrationName":{ + "shape":"String128", + "documentation":"

    A unique name for an integration in Glue.

    " }, - "Table":{ - "shape":"EnclosedInStringProperty", - "documentation":"

    The name of the table in the database to write to.

    " + "Description":{ + "shape":"IntegrationDescription", + "documentation":"

    A description of the integration.

    " + }, + "IntegrationArn":{ + "shape":"String128", + "documentation":"

    The Amazon Resource Name (ARN) for the integration.

    " + }, + "KmsKeyId":{ + "shape":"String2048", + "documentation":"

    The ARN of a KMS key used for encrypting the channel.

    " + }, + "AdditionalEncryptionContext":{ + "shape":"IntegrationAdditionalEncryptionContextMap", + "documentation":"

    An optional set of non-secret key–value pairs that contains additional contextual information for encryption.

    " + }, + "Tags":{ + "shape":"IntegrationTagsList", + "documentation":"

    Metadata assigned to the resource consisting of a list of key-value pairs.

    " + }, + "Status":{ + "shape":"IntegrationStatus", + "documentation":"

    The status of the integration being modified.

    The possible statuses are:

    • CREATING: The integration is being created.

    • ACTIVE: The integration creation succeeds.

    • MODIFYING: The integration is being modified.

    • FAILED: The integration creation fails.

    • DELETING: The integration is deleted.

    • SYNCING: The integration is synchronizing.

    • NEEDS_ATTENTION: The integration needs attention, such as synchronization.

    " + }, + "CreateTime":{ + "shape":"IntegrationTimestamp", + "documentation":"

    The time when the integration was created, in UTC.

    " + }, + "Errors":{ + "shape":"IntegrationErrorList", + "documentation":"

    A list of errors associated with the integration modification.

    " + }, + "DataFilter":{ + "shape":"String2048", + "documentation":"

    Selects source tables for the integration using Maxwell filter syntax.

    " } - }, - "documentation":"

    Specifies a target that uses Microsoft SQL.

    " + } }, - "MillisecondsCount":{"type":"long"}, "MongoDBTarget":{ "type":"structure", "members":{ @@ -17251,6 +19538,12 @@ "type":"list", "member":{"shape":"NameString"} }, + "NextToken":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"[-a-zA-Z0-9+=/:_]*" + }, "NoScheduleException":{ "type":"structure", "members":{ @@ -17419,6 +19712,28 @@ }, "documentation":"

    The OAuth2 client app used for the connection.

    " }, + "OAuth2Credentials":{ + "type":"structure", + "members":{ + "UserManagedClientApplicationClientSecret":{ + "shape":"UserManagedClientApplicationClientSecret", + "documentation":"

    The client application client secret if the client application is user managed.

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

    The access token used when the authentication type is OAuth2.

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

    The refresh token used when the authentication type is OAuth2.

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

    The JSON Web Token (JWT) used when the authentication type is OAuth2.

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

    The credentials used when the authentication type is OAuth2 authentication.

    " + }, "OAuth2GrantType":{ "type":"string", "enum":[ @@ -17471,6 +19786,10 @@ "AuthorizationCodeProperties":{ "shape":"AuthorizationCodeProperties", "documentation":"

    The set of properties required for the the OAuth2 AUTHORIZATION_CODE grant type.

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

    The credentials used when the authentication type is OAuth2 authentication.

    " } }, "documentation":"

    A structure containing properties for OAuth2 in the CreateConnection request.

    " @@ -17537,10 +19856,22 @@ }, "documentation":"

    Specifies an option value.

    " }, + "OptionKey":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[\\w]*" + }, "OptionList":{ "type":"list", "member":{"shape":"Option"} }, + "OptionValue":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[\\S]*" + }, "OracleSQLCatalogSource":{ "type":"structure", "required":[ @@ -17985,6 +20316,12 @@ }, "documentation":"

    Contains a list of values defining partitions.

    " }, + "Password":{ + "type":"string", + "max":512, + "pattern":".*", + "sensitive":true + }, "Path":{"type":"string"}, "PathList":{ "type":"list", @@ -18168,6 +20505,10 @@ "min":0, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, + "PrimaryKeyList":{ + "type":"list", + "member":{"shape":"String128"} + }, "PrincipalPermissions":{ "type":"structure", "members":{ @@ -18214,6 +20555,56 @@ }, "documentation":"

    Specifies the job and session values that an admin configures in an Glue usage profile.

    " }, + "PropertiesMap":{ + "type":"map", + "key":{"shape":"PropertyName"}, + "value":{"shape":"Property"} + }, + "Property":{ + "type":"structure", + "required":[ + "Name", + "Description", + "Required", + "PropertyTypes" + ], + "members":{ + "Name":{ + "shape":"PropertyName", + "documentation":"

    The name of the property.

    " + }, + "Description":{ + "shape":"PropertyDescriptionString", + "documentation":"

    A description of the property.

    " + }, + "Required":{ + "shape":"Bool", + "documentation":"

    Indicates whether the property is required.

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

    The default value for the property.

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

    Describes the type of property.

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

    A list of AllowedValue objects representing the values allowed for the property.

    " + }, + "DataOperationScopes":{ + "shape":"DataOperations", + "documentation":"

    Indicates which data operations are applicable to the property.

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

    An object that defines a connection type for a compute environment.

    " + }, + "PropertyDescriptionString":{ + "type":"string", + "max":1024, + "min":0 + }, "PropertyKey":{ "type":"string", "max":128, @@ -18224,6 +20615,16 @@ "key":{"shape":"PropertyKey"}, "value":{"shape":"PropertyValue"} }, + "PropertyName":{ + "type":"string", + "max":128, + "min":1 + }, + "PropertyNameOverrides":{ + "type":"map", + "key":{"shape":"PropertyName"}, + "value":{"shape":"PropertyName"} + }, "PropertyPredicate":{ "type":"structure", "members":{ @@ -18242,6 +20643,20 @@ }, "documentation":"

    Defines a property predicate.

    " }, + "PropertyType":{ + "type":"string", + "enum":[ + "USER_INPUT", + "SECRET", + "READ_ONLY", + "UNUSED", + "SECRET_OR_USER_INPUT" + ] + }, + "PropertyTypes":{ + "type":"list", + "member":{"shape":"PropertyType"} + }, "PropertyValue":{ "type":"string", "max":2048, @@ -18589,6 +21004,18 @@ "max":16, "min":1 }, + "Record":{ + "type":"structure", + "members":{ + }, + "document":true, + "sensitive":true + }, + "Records":{ + "type":"list", + "member":{"shape":"Record"}, + "sensitive":true + }, "RecordsCount":{ "type":"long", "box":true @@ -18691,6 +21118,12 @@ "type":"list", "member":{"shape":"NameString"} }, + "RefreshToken":{ + "type":"string", + "max":4096, + "pattern":"^[\\x20-\\x7E]*$", + "sensitive":true + }, "RegisterSchemaVersionInput":{ "type":"structure", "required":[ @@ -18921,6 +21354,18 @@ "CREATE" ] }, + "ResourceArnString":{"type":"string"}, + "ResourceNotFoundException":{ + "type":"structure", + "members":{ + "Message":{ + "shape":"IntegrationErrorMessage", + "documentation":"

    A message describing the problem.

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

    The resource could not be found.

    ", + "exception":true + }, "ResourceNotReadyException":{ "type":"structure", "members":{ @@ -19893,6 +22338,13 @@ "TRANSITIONING" ] }, + "ScheduleType":{ + "type":"string", + "enum":[ + "CRON", + "AUTO" + ] + }, "SchedulerNotRunningException":{ "type":"structure", "members":{ @@ -20302,6 +22754,12 @@ }, "documentation":"

    Specifies a transform that chooses one DynamicFrame from a collection of DynamicFrames. The output is the selected DynamicFrame

    " }, + "SelectedFields":{ + "type":"list", + "member":{"shape":"EntityFieldName"}, + "max":1000, + "min":1 + }, "Separator":{ "type":"string", "enum":[ @@ -20449,6 +22907,13 @@ "STOPPED" ] }, + "SettingSource":{ + "type":"string", + "enum":[ + "CATALOG", + "TABLE" + ] + }, "SkewedInfo":{ "type":"structure", "members":{ @@ -20689,6 +23154,42 @@ "AWS_CODE_COMMIT" ] }, + "SourceProcessingProperties":{ + "type":"structure", + "members":{ + "RoleArn":{ + "shape":"String128", + "documentation":"

    The IAM role to access the Glue connection.

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

    The resource properties associated with the integration source.

    " + }, + "SourceTableConfig":{ + "type":"structure", + "members":{ + "Fields":{ + "shape":"SourceTableFieldsList", + "documentation":"

    A list of fields used for column-level filtering.

    " + }, + "FilterPredicate":{ + "shape":"String128", + "documentation":"

    A condition clause used for row-level filtering.

    " + }, + "PrimaryKey":{ + "shape":"PrimaryKeyList", + "documentation":"

    Unique identifier of a record.

    " + }, + "RecordUpdateField":{ + "shape":"String128", + "documentation":"

    Incremental pull timestamp-based field.

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

    Properties used by the source leg to process data from the source.

    " + }, + "SourceTableFieldsList":{ + "type":"list", + "member":{"shape":"String128"} + }, "SparkConnectorSource":{ "type":"structure", "required":[ @@ -21783,6 +24284,17 @@ }, "documentation":"

    Specifies options related to data preview for viewing a sample of your data.

    " }, + "String":{"type":"string"}, + "String128":{ + "type":"string", + "max":128, + "min":1 + }, + "String2048":{ + "type":"string", + "max":2048, + "min":1 + }, "StringColumnStatisticsData":{ "type":"structure", "required":[ @@ -22248,6 +24760,20 @@ "type":"list", "member":{"shape":"TableVersionError"} }, + "Tag":{ + "type":"structure", + "members":{ + "key":{ + "shape":"TagKey", + "documentation":"

    The tag key. The key is required when you create a tag on an object. The key is case-sensitive, and must not contain the prefix aws.

    " + }, + "value":{ + "shape":"TagValue", + "documentation":"

    The tag value. The value is optional when you create a tag on an object. The value is case-sensitive, and must not contain the prefix aws.

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

    The Tag object represents a label that you can assign to an Amazon Web Services resource. Each tag consists of a key and an optional value, both of which you define.

    For more information about tags, and controlling access to resources in Glue, see Amazon Web Services Tags in Glue and Specifying Glue Resource ARNs in the developer guide.

    " + }, "TagKey":{ "type":"string", "max":128, @@ -22310,6 +24836,68 @@ "delta" ] }, + "TargetProcessingProperties":{ + "type":"structure", + "members":{ + "RoleArn":{ + "shape":"String128", + "documentation":"

    The IAM role to access the Glue database.

    " + }, + "KmsArn":{ + "shape":"String2048", + "documentation":"

    The ARN of the KMS key used for encryption.

    " + }, + "ConnectionName":{ + "shape":"String128", + "documentation":"

    The Glue network connection to configure the Glue job running in the customer VPC.

    " + }, + "EventBusArn":{ + "shape":"String2048", + "documentation":"

    The ARN of an Eventbridge event bus to receive the integration status notification.

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

    The resource properties associated with the integration target.

    " + }, + "TargetRedshiftCatalog":{ + "type":"structure", + "required":["CatalogArn"], + "members":{ + "CatalogArn":{ + "shape":"ResourceArnString", + "documentation":"

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

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

    A structure that describes a target catalog for resource linking.

    " + }, + "TargetResourceNotFound":{ + "type":"structure", + "members":{ + "Message":{ + "shape":"IntegrationErrorMessage", + "documentation":"

    A message describing the problem.

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

    The target resource could not be found.

    ", + "exception":true + }, + "TargetTableConfig":{ + "type":"structure", + "members":{ + "UnnestSpec":{ + "shape":"UnnestSpec", + "documentation":"

    Specifies how nested objects are flattened to top-level elements. Valid values are: \"TOPLEVEL\", \"FULL\", or \"NOUNNEST\".

    " + }, + "PartitionSpec":{ + "shape":"IntegrationPartitionSpecList", + "documentation":"

    Determines the file layout on the target.

    " + }, + "TargetTableName":{ + "shape":"String128", + "documentation":"

    The optional name of a target table.

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

    Properties used by the target leg to partition the data on the target.

    " + }, "TaskRun":{ "type":"structure", "members":{ @@ -22485,6 +25073,10 @@ "shape":"NameString", "documentation":"

    Optional. The name of the connection to test. If only name is provided, the operation will get the connection and use that for testing.

    " }, + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

    The catalog ID where the connection resides.

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

    A structure that is used to specify testing a connection to a service.

    " @@ -22932,6 +25524,14 @@ "DISTINCT" ] }, + "UnnestSpec":{ + "type":"string", + "enum":[ + "TOPLEVEL", + "FULL", + "NOUNNEST" + ] + }, "UntagResourceRequest":{ "type":"structure", "required":[ @@ -22998,6 +25598,28 @@ "LOG" ] }, + "UpdateCatalogRequest":{ + "type":"structure", + "required":[ + "CatalogId", + "CatalogInput" + ], + "members":{ + "CatalogId":{ + "shape":"CatalogIdString", + "documentation":"

    The ID of the catalog.

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

    A CatalogInput object specifying the new properties of an existing catalog.

    " + } + } + }, + "UpdateCatalogResponse":{ + "type":"structure", + "members":{ + } + }, "UpdateClassifierRequest":{ "type":"structure", "members":{ @@ -23437,6 +26059,71 @@ }, "documentation":"

    Specifies a grok classifier to update when passed to UpdateClassifier.

    " }, + "UpdateIntegrationResourcePropertyRequest":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{ + "shape":"String128", + "documentation":"

    The connection ARN of the source, or the database ARN of the target.

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

    The resource properties associated with the integration source.

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

    The resource properties associated with the integration target.

    " + } + } + }, + "UpdateIntegrationResourcePropertyResponse":{ + "type":"structure", + "members":{ + "ResourceArn":{ + "shape":"String128", + "documentation":"

    The connection ARN of the source, or the database ARN of the target.

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

    The resource properties associated with the integration source.

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

    The resource properties associated with the integration target.

    " + } + } + }, + "UpdateIntegrationTablePropertiesRequest":{ + "type":"structure", + "required":[ + "ResourceArn", + "TableName" + ], + "members":{ + "ResourceArn":{ + "shape":"String128", + "documentation":"

    The connection ARN of the source, or the database ARN of the target.

    " + }, + "TableName":{ + "shape":"String128", + "documentation":"

    The name of the table to be replicated.

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

    A structure for the source table configuration.

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

    A structure for the target table configuration.

    " + } + } + }, + "UpdateIntegrationTablePropertiesResponse":{ + "type":"structure", + "members":{ + } + }, "UpdateJobFromSourceControlRequest":{ "type":"structure", "members":{ @@ -24081,6 +26768,17 @@ "max":2048, "pattern":"\\S+" }, + "UserManagedClientApplicationClientSecret":{ + "type":"string", + "max":512, + "pattern":"^[\\x20-\\x7E]*$", + "sensitive":true + }, + "Username":{ + "type":"string", + "max":512, + "pattern":"\\S+" + }, "ValidationException":{ "type":"structure", "members":{ @@ -24094,7 +26792,8 @@ }, "ValueString":{ "type":"string", - "max":1024 + "max":1024, + "min":1 }, "ValueStringList":{ "type":"list", diff --git a/tools/code-generation/api-descriptions/lakeformation-2017-03-31.normal.json b/tools/code-generation/api-descriptions/lakeformation-2017-03-31.normal.json index fc74fd26f38..697370799cd 100644 --- a/tools/code-generation/api-descriptions/lakeformation-2017-03-31.normal.json +++ b/tools/code-generation/api-descriptions/lakeformation-2017-03-31.normal.json @@ -1335,6 +1335,10 @@ "CatalogResource":{ "type":"structure", "members":{ + "Id":{ + "shape":"CatalogIdString", + "documentation":"

    An identifier for the catalog resource.

    " + } }, "documentation":"

    A structure for the catalog object.

    " }, @@ -1416,6 +1420,16 @@ "documentation":"

    Two processes are trying to modify a resource simultaneously.

    ", "exception":true }, + "Condition":{ + "type":"structure", + "members":{ + "Expression":{ + "shape":"ExpressionString", + "documentation":"

    An expression written based on the Cedar Policy Language used to match the principal attributes.

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

    A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.

    " + }, "ContextKey":{ "type":"string", "max":128, @@ -2071,6 +2085,10 @@ "type":"list", "member":{"shape":"LFTag"} }, + "ExpressionString":{ + "type":"string", + "max":3000 + }, "ExtendTransactionRequest":{ "type":"structure", "members":{ @@ -2927,6 +2945,10 @@ "members":{ "Resource":{"shape":"Resource"}, "Principal":{"shape":"DataLakePrincipal"}, + "Condition":{ + "shape":"Condition", + "documentation":"

    A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.

    " + }, "LastModified":{ "shape":"LastModifiedTimestamp", "documentation":"

    The last modified date and time of the record.

    " @@ -3337,7 +3359,9 @@ "CREATE_LF_TAG", "ASSOCIATE", "GRANT_WITH_LF_TAG_EXPRESSION", - "CREATE_LF_TAG_EXPRESSION" + "CREATE_LF_TAG_EXPRESSION", + "CREATE_CATALOG", + "SUPER_USER" ] }, "PermissionList":{ @@ -3427,6 +3451,10 @@ "shape":"Resource", "documentation":"

    The resource where permissions are to be granted or revoked.

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

    A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.

    " + }, "Permissions":{ "shape":"PermissionList", "documentation":"

    The permissions to be granted or revoked on the resource.

    " diff --git a/tools/code-generation/api-descriptions/monitoring-2010-08-01.normal.json b/tools/code-generation/api-descriptions/monitoring-2010-08-01.normal.json index 71849904551..baf31c5e0f0 100644 --- a/tools/code-generation/api-descriptions/monitoring-2010-08-01.normal.json +++ b/tools/code-generation/api-descriptions/monitoring-2010-08-01.normal.json @@ -1582,11 +1582,11 @@ "members":{ "KeyAttributes":{ "shape":"EntityKeyAttributesMap", - "documentation":"

    The attributes of the entity which identify the specific entity, as a list of key-value pairs. Entities with the same KeyAttributes are considered to be the same entity. For an entity to be valid, the KeyAttributes must exist and be formatted correctly.

    There are five allowed attributes (key names): Type, ResourceType, Identifier, Name, and Environment.

    For details about how to use the key attributes to specify an entity, see How to add related information to telemetry in the CloudWatch User Guide.

    " + "documentation":"

    The attributes of the entity which identify the specific entity, as a list of key-value pairs. Entities with the same KeyAttributes are considered to be the same entity. For an entity to be valid, the KeyAttributes must exist and be formatted correctly.

    There are five allowed attributes (key names): Type, ResourceType, Identifier, Name, and Environment.

    For details about how to use the key attributes to specify an entity, see How to add related information to telemetry in the CloudWatch User Guide.

    " }, "Attributes":{ "shape":"EntityAttributesMap", - "documentation":"

    Additional attributes of the entity that are not used to specify the identity of the entity. A list of key-value pairs.

    For details about how to use the attributes, see How to add related information to telemetry in the CloudWatch User Guide.

    " + "documentation":"

    Additional attributes of the entity that are not used to specify the identity of the entity. A list of key-value pairs.

    For details about how to use the attributes, see How to add related information to telemetry in the CloudWatch User Guide.

    " } }, "documentation":"

    An entity associated with metrics, to allow for finding related telemetry. An entity is typically a resource or service within your system. For example, metrics from an Amazon EC2 instance could be associated with that instance as the entity. Similarly, metrics from a service that you own could be associated with that service as the entity.

    " @@ -3175,7 +3175,7 @@ }, "AlarmActions":{ "shape":"ResourceList", - "documentation":"

    The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

    Valid Values: ]

    Amazon SNS actions:

    arn:aws:sns:region:account-id:sns-topic-name

    Lambda actions:

    • Invoke the latest version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name

    • Invoke a specific version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name:version-number

    • Invoke a function by using an alias Lambda function: arn:aws:lambda:region:account-id:function:function-name:alias-name

    Systems Manager actions:

    arn:aws:ssm:region:account-id:opsitem:severity

    " + "documentation":"

    The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

    Valid Values: ]

    Amazon SNS actions:

    arn:aws:sns:region:account-id:sns-topic-name

    Lambda actions:

    • Invoke the latest version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name

    • Invoke a specific version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name:version-number

    • Invoke a function by using an alias Lambda function: arn:aws:lambda:region:account-id:function:function-name:alias-name

    Systems Manager actions:

    arn:aws:ssm:region:account-id:opsitem:severity

    Start a Amazon Q Developer operational investigation

    arn:aws:aiops:region:account-id:investigation-group:ingestigation-group-id

    " }, "AlarmDescription":{ "shape":"AlarmDescription", @@ -3316,7 +3316,7 @@ }, "AlarmActions":{ "shape":"ResourceList", - "documentation":"

    The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:

    EC2 actions:

    • arn:aws:automate:region:ec2:stop

    • arn:aws:automate:region:ec2:terminate

    • arn:aws:automate:region:ec2:reboot

    • arn:aws:automate:region:ec2:recover

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0

    Autoscaling action:

    • arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name

    Lambda actions:

    • Invoke the latest version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name

    • Invoke a specific version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name:version-number

    • Invoke a function by using an alias Lambda function: arn:aws:lambda:region:account-id:function:function-name:alias-name

    SNS notification action:

    • arn:aws:sns:region:account-id:sns-topic-name

    SSM integration actions:

    • arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name

    • arn:aws:ssm-incidents::account-id:responseplan/response-plan-name

    " + "documentation":"

    The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:

    EC2 actions:

    • arn:aws:automate:region:ec2:stop

    • arn:aws:automate:region:ec2:terminate

    • arn:aws:automate:region:ec2:reboot

    • arn:aws:automate:region:ec2:recover

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0

    Autoscaling action:

    • arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name

    Lambda actions:

    • Invoke the latest version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name

    • Invoke a specific version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name:version-number

    • Invoke a function by using an alias Lambda function: arn:aws:lambda:region:account-id:function:function-name:alias-name

    SNS notification action:

    • arn:aws:sns:region:account-id:sns-topic-name

    SSM integration actions:

    • arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name

    • arn:aws:ssm-incidents::account-id:responseplan/response-plan-name

    Start a Amazon Q Developer operational investigation

    arn:aws:aiops:region:account-id:investigation-group:ingestigation-group-id

    " }, "InsufficientDataActions":{ "shape":"ResourceList", diff --git a/tools/code-generation/api-descriptions/qapps-2023-11-27.normal.json b/tools/code-generation/api-descriptions/qapps-2023-11-27.normal.json index c0e097ff341..fb139fc8a4a 100644 --- a/tools/code-generation/api-descriptions/qapps-2023-11-27.normal.json +++ b/tools/code-generation/api-descriptions/qapps-2023-11-27.normal.json @@ -708,6 +708,11 @@ }, "exception":true }, + "ActionIdentifier":{ + "type":"string", + "max":256, + "min":1 + }, "AmazonResourceName":{ "type":"string", "max":1011, @@ -2671,7 +2676,18 @@ "SALESFORCE", "JIRA", "ZENDESK", - "CUSTOM" + "CUSTOM", + "ASANA", + "ATLASSIAN_CONFLUENCE", + "GOOGLE_CALENDAR", + "JIRA_CLOUD", + "MICROSOFT_EXCHANGE", + "MICROSOFT_TEAMS", + "PAGERDUTY_ADVANCE", + "SALESFORCE_CRM", + "SERVICENOW_NOW_PLATFORM", + "SMARTSHEET", + "ZENDESK_SUITE" ] }, "PredictAppDefinition":{ @@ -2879,6 +2895,10 @@ "pluginId":{ "shape":"String", "documentation":"

    The unique identifier of the plugin used by the card.

    " + }, + "actionIdentifier":{ + "shape":"ActionIdentifier", + "documentation":"

    The action identifier of the action to be performed by the plugin card.

    " } }, "documentation":"

    A card in an Q App that integrates with a third-party plugin or service.

    " @@ -2912,6 +2932,10 @@ "pluginId":{ "shape":"PluginId", "documentation":"

    The unique identifier of the plugin used by the card.

    " + }, + "actionIdentifier":{ + "shape":"ActionIdentifier", + "documentation":"

    The action identifier of the action to be performed by the plugin card.

    " } }, "documentation":"

    The input shape for defining a plugin card in an Amazon Q App.

    " diff --git a/tools/code-generation/api-descriptions/qbusiness-2023-11-27.normal.json b/tools/code-generation/api-descriptions/qbusiness-2023-11-27.normal.json index cec3f1be592..cad3f65daf3 100644 --- a/tools/code-generation/api-descriptions/qbusiness-2023-11-27.normal.json +++ b/tools/code-generation/api-descriptions/qbusiness-2023-11-27.normal.json @@ -14,6 +14,26 @@ "uid":"qbusiness-2023-11-27" }, "operations":{ + "AssociatePermission":{ + "name":"AssociatePermission", + "http":{ + "method":"POST", + "requestUri":"/applications/{applicationId}/policy", + "responseCode":200 + }, + "input":{"shape":"AssociatePermissionRequest"}, + "output":{"shape":"AssociatePermissionResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Adds or updates a permission policy for a Q Business application, allowing cross-account access for an ISV. This operation creates a new policy statement for the specified Q Business application. The policy statement defines the IAM actions that the ISV is allowed to perform on the Q Business application's resources.

    " + }, "BatchDeleteDocument":{ "name":"BatchDeleteDocument", "http":{ @@ -116,6 +136,27 @@ "documentation":"

    Creates an Amazon Q Business application.

    There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are also available in Amazon Q Business Lite. For information on what's included in Amazon Q Business Lite and what's included in Amazon Q Business Pro, see Amazon Q Business tiers. You must use the Amazon Q Business console to assign subscription tiers to users.

    An Amazon Q Apps service linked role will be created if it's absent in the Amazon Web Services account when QAppsConfiguration is enabled in the request. For more information, see Using service-linked roles for Q Apps.

    When you create an application, Amazon Q Business may securely transmit data for processing from your selected Amazon Web Services region, but within your geography. For more information, see Cross region inference in Amazon Q Business.

    ", "idempotent":true }, + "CreateDataAccessor":{ + "name":"CreateDataAccessor", + "http":{ + "method":"POST", + "requestUri":"/applications/{applicationId}/dataaccessors", + "responseCode":200 + }, + "input":{"shape":"CreateDataAccessorRequest"}, + "output":{"shape":"CreateDataAccessorResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Creates a new data accessor for an ISV to access data from a Q Business application. The data accessor is an entity that represents the ISV's access to the Q Business application's data. It includes the IAM role ARN for the ISV, a friendly name, and a set of action configurations that define the specific actions the ISV is allowed to perform and any associated data filters. When the data accessor is created, an AWS IAM Identity Center application is also created to manage the ISV's identity and authentication for accessing the Q Business application.

    ", + "idempotent":true + }, "CreateDataSource":{ "name":"CreateDataSource", "http":{ @@ -298,6 +339,26 @@ "documentation":"

    Deletes an Amazon Q Business web experience conversation.

    ", "idempotent":true }, + "DeleteDataAccessor":{ + "name":"DeleteDataAccessor", + "http":{ + "method":"DELETE", + "requestUri":"/applications/{applicationId}/dataaccessors/{dataAccessorId}", + "responseCode":200 + }, + "input":{"shape":"DeleteDataAccessorRequest"}, + "output":{"shape":"DeleteDataAccessorResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Deletes a specified data accessor. This operation permanently removes the data accessor and its associated AWS IAM Identity Center application. Any access granted to the ISV through this data accessor will be revoked

    ", + "idempotent":true + }, "DeleteDataSource":{ "name":"DeleteDataSource", "http":{ @@ -438,6 +499,26 @@ "documentation":"

    Deletes an Amazon Q Business web experience.

    ", "idempotent":true }, + "DisassociatePermission":{ + "name":"DisassociatePermission", + "http":{ + "method":"DELETE", + "requestUri":"/applications/{applicationId}/policy/{statementId}", + "responseCode":200 + }, + "input":{"shape":"DisassociatePermissionRequest"}, + "output":{"shape":"DisassociatePermissionResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Removes a permission policy from a Q Business application, revoking the cross-account access that was previously granted to an ISV. This operation deletes the specified policy statement from the application's permission policy.

    ", + "idempotent":true + }, "GetApplication":{ "name":"GetApplication", "http":{ @@ -474,6 +555,24 @@ ], "documentation":"

    Gets information about an chat controls configured for an existing Amazon Q Business application.

    " }, + "GetDataAccessor":{ + "name":"GetDataAccessor", + "http":{ + "method":"GET", + "requestUri":"/applications/{applicationId}/dataaccessors/{dataAccessorId}", + "responseCode":200 + }, + "input":{"shape":"GetDataAccessorRequest"}, + "output":{"shape":"GetDataAccessorResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Retrieves information about a specified data accessor. This operation returns details about the data accessor, including its display name, unique identifier, Amazon Resource Name (ARN), the associated Q Business application and AWS IAM Identity Center application, the IAM role for the ISV, the action configurations, and the timestamps for when the data accessor was created and last updated.

    " + }, "GetDataSource":{ "name":"GetDataSource", "http":{ @@ -567,6 +666,24 @@ ], "documentation":"

    Gets information about an existing Amazon Q Business plugin.

    " }, + "GetPolicy":{ + "name":"GetPolicy", + "http":{ + "method":"GET", + "requestUri":"/applications/{applicationId}/policy", + "responseCode":200 + }, + "input":{"shape":"GetPolicyRequest"}, + "output":{"shape":"GetPolicyResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Retrieves the current permission policy for a Q Business application. The policy is returned as a JSON-formatted string and defines the IAM actions that are allowed or denied for the application's resources.

    " + }, "GetRetriever":{ "name":"GetRetriever", "http":{ @@ -677,6 +794,24 @@ ], "documentation":"

    Lists one or more Amazon Q Business conversations.

    " }, + "ListDataAccessors":{ + "name":"ListDataAccessors", + "http":{ + "method":"GET", + "requestUri":"/applications/{applicationId}/dataaccessors", + "responseCode":200 + }, + "input":{"shape":"ListDataAccessorsRequest"}, + "output":{"shape":"ListDataAccessorsResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Lists the data accessors for a Q Business application. This operation returns a paginated list of data accessor summaries, including the friendly name, unique identifier, ARN, associated IAM role, and creation/update timestamps for each data accessor.

    " + }, "ListDataSourceSyncJobs":{ "name":"ListDataSourceSyncJobs", "http":{ @@ -788,6 +923,58 @@ ], "documentation":"

    Gets a list of messages associated with an Amazon Q Business web experience.

    " }, + "ListPluginActions":{ + "name":"ListPluginActions", + "http":{ + "method":"GET", + "requestUri":"/applications/{applicationId}/plugins/{pluginId}/actions", + "responseCode":200 + }, + "input":{"shape":"ListPluginActionsRequest"}, + "output":{"shape":"ListPluginActionsResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Lists configured Amazon Q Business actions for a specific plugin in an Amazon Q Business application.

    " + }, + "ListPluginTypeActions":{ + "name":"ListPluginTypeActions", + "http":{ + "method":"GET", + "requestUri":"/pluginTypes/{pluginType}/actions", + "responseCode":200 + }, + "input":{"shape":"ListPluginTypeActionsRequest"}, + "output":{"shape":"ListPluginTypeActionsResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Lists configured Amazon Q Business actions for any plugin type—both built-in and custom.

    " + }, + "ListPluginTypeMetadata":{ + "name":"ListPluginTypeMetadata", + "http":{ + "method":"GET", + "requestUri":"/pluginTypeMetadata", + "responseCode":200 + }, + "input":{"shape":"ListPluginTypeMetadataRequest"}, + "output":{"shape":"ListPluginTypeMetadataResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Lists metadata for all Amazon Q Business plugin types.

    " + }, "ListPlugins":{ "name":"ListPlugins", "http":{ @@ -898,6 +1085,25 @@ "documentation":"

    Create, or updates, a mapping of users—who have access to a document—to groups.

    You can also map sub groups to groups. For example, the group \"Company Intellectual Property Teams\" includes sub groups \"Research\" and \"Engineering\". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their Amazon Q Business chat results.

    ", "idempotent":true }, + "SearchRelevantContent":{ + "name":"SearchRelevantContent", + "http":{ + "method":"POST", + "requestUri":"/applications/{applicationId}/relevant-content", + "responseCode":200 + }, + "input":{"shape":"SearchRelevantContentRequest"}, + "output":{"shape":"SearchRelevantContentResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"LicenseNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Searches for relevant content in a Q Business application based on a query. This operation takes a search query text, the Q Business application identifier, and optional filters (such as user ID, user groups, content source, and maximum results) as input. It returns a list of relevant content items, where each item includes the content text, the unique document identifier, the document title, the document URI, any relevant document attributes, and score attributes indicating the confidence level of the relevance.

    " + }, "StartDataSourceSyncJob":{ "name":"StartDataSourceSyncJob", "http":{ @@ -1017,6 +1223,26 @@ "documentation":"

    Updates an set of chat controls configured for an existing Amazon Q Business application.

    ", "idempotent":true }, + "UpdateDataAccessor":{ + "name":"UpdateDataAccessor", + "http":{ + "method":"PUT", + "requestUri":"/applications/{applicationId}/dataaccessors/{dataAccessorId}", + "responseCode":200 + }, + "input":{"shape":"UpdateDataAccessorRequest"}, + "output":{"shape":"UpdateDataAccessorResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Updates an existing data accessor. This operation allows modifying the action configurations (the allowed actions and associated filters) and the display name of the data accessor. It does not allow changing the IAM role associated with the data accessor or other core properties of the data accessor.

    ", + "idempotent":true + }, "UpdateDataSource":{ "name":"UpdateDataSource", "http":{ @@ -1208,6 +1434,27 @@ }, "exception":true }, + "ActionConfiguration":{ + "type":"structure", + "required":["action"], + "members":{ + "action":{ + "shape":"QIamAction", + "documentation":"

    The Q Business action that is allowed.

    " + }, + "filterConfiguration":{ + "shape":"ActionFilterConfiguration", + "documentation":"

    The filter configuration for the action, if any.

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

    Specifies an allowed action and its associated filter configuration.

    " + }, + "ActionConfigurationList":{ + "type":"list", + "member":{"shape":"ActionConfiguration"}, + "max":10, + "min":1 + }, "ActionExecution":{ "type":"structure", "required":[ @@ -1271,6 +1518,14 @@ }, "documentation":"

    A user input field in an plugin action execution payload.

    " }, + "ActionFilterConfiguration":{ + "type":"structure", + "required":["documentAttributeFilter"], + "members":{ + "documentAttributeFilter":{"shape":"AttributeFilter"} + }, + "documentation":"

    Specifies filters to apply to an allowed action.

    " + }, "ActionPayloadFieldKey":{ "type":"string", "min":1 @@ -1390,7 +1645,7 @@ }, "arrayItemJsonSchema":{ "shape":"ActionReviewPayloadFieldArrayItemJsonSchema", - "documentation":"

    Use to create a custom form with array fields (fields with nested objects inside an array).

    " + "documentation":"

    Use to create a custom form with array fields (fields with nested objects inside an array).

    " }, "required":{ "shape":"Boolean", @@ -1423,6 +1678,32 @@ }, "document":true }, + "ActionSummary":{ + "type":"structure", + "members":{ + "actionIdentifier":{ + "shape":"String", + "documentation":"

    The identifier of an Amazon Q Business plugin action.

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

    The display name assigned by Amazon Q Business to a plugin action. You can't modify this value.

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

    An Amazon Q Business suggested prompt and end user can use to invoke a plugin action. This value can be modified and sent as input to initiate an action. For example:

    • Create a Jira task

    • Create a chat assistant task to find the root cause of a specific incident

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

    The description of an Amazon Q Business plugin action.

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

    Summary information for an Amazon Q Business plugin action.

    " + }, + "Actions":{ + "type":"list", + "member":{"shape":"ActionSummary"} + }, "AmazonResourceName":{ "type":"string", "max":1011, @@ -1454,6 +1735,10 @@ "identityType":{ "shape":"IdentityType", "documentation":"

    The authentication type being used by a Amazon Q Business application.

    " + }, + "quickSightConfiguration":{ + "shape":"QuickSightConfiguration", + "documentation":"

    The Amazon QuickSight configuration for an Amazon Q Business application that uses QuickSight as the identity provider.

    " } }, "documentation":"

    Summary information for an Amazon Q Business application.

    " @@ -1511,6 +1796,44 @@ }, "documentation":"

    The creator mode specific admin controls configured for an Amazon Q Business application. Determines whether an end user can generate LLM-only responses when they use the web experience.

    For more information, see Admin controls and guardrails and Conversation settings.

    " }, + "AssociatePermissionRequest":{ + "type":"structure", + "required":[ + "applicationId", + "statementId", + "actions", + "principal" + ], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "documentation":"

    The unique identifier of the Q Business application.

    ", + "location":"uri", + "locationName":"applicationId" + }, + "statementId":{ + "shape":"StatementId", + "documentation":"

    A unique identifier for the policy statement.

    " + }, + "actions":{ + "shape":"QIamActions", + "documentation":"

    The list of Q Business actions that the ISV is allowed to perform.

    " + }, + "principal":{ + "shape":"PrincipalRoleArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM role for the ISV that is being granted permission.

    " + } + } + }, + "AssociatePermissionResponse":{ + "type":"structure", + "members":{ + "statement":{ + "shape":"String", + "documentation":"

    The JSON representation of the added permission statement.

    " + } + } + }, "Attachment":{ "type":"structure", "members":{ @@ -2227,6 +2550,12 @@ "type":"list", "member":{"shape":"ClientIdForOIDC"} }, + "ClientNamespace":{ + "type":"string", + "max":64, + "min":1, + "pattern":"[a-zA-Z0-9._-]*" + }, "ClientToken":{ "type":"string", "max":100, @@ -2293,6 +2622,17 @@ }, "documentation":"

    Rules for retrieving content from data sources connected to a Amazon Q Business application for a specific topic control configuration.

    " }, + "ContentSource":{ + "type":"structure", + "members":{ + "retriever":{ + "shape":"RetrieverContentSource", + "documentation":"

    The retriever to use as the content source.

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

    Specifies the source of content to search in.

    ", + "union":true + }, "ContentType":{ "type":"string", "enum":[ @@ -2424,6 +2764,10 @@ "personalizationConfiguration":{ "shape":"PersonalizationConfiguration", "documentation":"

    Configuration information about chat response personalization. For more information, see Personalizing chat responses

    " + }, + "quickSightConfiguration":{ + "shape":"QuickSightConfiguration", + "documentation":"

    The Amazon QuickSight configuration for an Amazon Q Business application that uses QuickSight for authentication. This configuration is required if your application uses QuickSight as the identity provider. For more information, see Creating an Amazon QuickSight integrated application.

    " } } }, @@ -2440,6 +2784,66 @@ } } }, + "CreateDataAccessorRequest":{ + "type":"structure", + "required":[ + "applicationId", + "principal", + "actionConfigurations", + "displayName" + ], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "documentation":"

    The unique identifier of the Q Business application.

    ", + "location":"uri", + "locationName":"applicationId" + }, + "principal":{ + "shape":"PrincipalRoleArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM role for the ISV that will be accessing the data.

    " + }, + "actionConfigurations":{ + "shape":"ActionConfigurationList", + "documentation":"

    A list of action configurations specifying the allowed actions and any associated filters.

    " + }, + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    A unique, case-sensitive identifier you provide to ensure idempotency of the request.

    ", + "idempotencyToken":true + }, + "displayName":{ + "shape":"DataAccessorName", + "documentation":"

    A friendly name for the data accessor.

    " + }, + "tags":{ + "shape":"Tags", + "documentation":"

    The tags to associate with the data accessor.

    " + } + } + }, + "CreateDataAccessorResponse":{ + "type":"structure", + "required":[ + "dataAccessorId", + "idcApplicationArn", + "dataAccessorArn" + ], + "members":{ + "dataAccessorId":{ + "shape":"DataAccessorId", + "documentation":"

    The unique identifier of the created data accessor.

    " + }, + "idcApplicationArn":{ + "shape":"IdcApplicationArn", + "documentation":"

    The Amazon Resource Name (ARN) of the AWS IAM Identity Center application created for this data accessor.

    " + }, + "dataAccessorArn":{ + "shape":"DataAccessorArn", + "documentation":"

    The Amazon Resource Name (ARN) of the created data accessor.

    " + } + } + }, "CreateDataSourceRequest":{ "type":"structure", "required":[ @@ -2768,6 +3172,10 @@ "browserExtensionConfiguration":{ "shape":"BrowserExtensionConfiguration", "documentation":"

    The browser extension configuration for an Amazon Q Business web experience.

    For Amazon Q Business application using external OIDC-compliant identity providers (IdPs). The IdP administrator must add the browser extension sign-in redirect URLs to the IdP application. For more information, see Configure external OIDC identity provider for your browser extensions..

    " + }, + "customizationConfiguration":{ + "shape":"CustomizationConfiguration", + "documentation":"

    Sets the custom logo, favicon, font, and color used in the Amazon Q web experience.

    " } } }, @@ -2802,6 +3210,12 @@ "DISABLED" ] }, + "CustomCSSUrl":{ + "type":"string", + "max":1284, + "min":0, + "pattern":"(https?://[a-zA-Z0-9-_.+%/]+\\.css)?" + }, "CustomPluginConfiguration":{ "type":"structure", "required":[ @@ -2825,7 +3239,86 @@ }, "documentation":"

    Configuration information required to create a custom plugin.

    " }, - "DataSource":{ + "CustomizationConfiguration":{ + "type":"structure", + "members":{ + "customCSSUrl":{ + "shape":"CustomCSSUrl", + "documentation":"

    Provides the URL where the custom CSS file is hosted for an Amazon Q web experience.

    " + }, + "logoUrl":{ + "shape":"LogoUrl", + "documentation":"

    Provides the URL where the custom logo file is hosted for an Amazon Q web experience.

    " + }, + "fontUrl":{ + "shape":"FontUrl", + "documentation":"

    Provides the URL where the custom font file is hosted for an Amazon Q web experience.

    " + }, + "faviconUrl":{ + "shape":"FaviconUrl", + "documentation":"

    Provides the URL where the custom favicon file is hosted for an Amazon Q web experience.

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

    Contains the configuration information to customize the logo, font, and color of an Amazon Q Business web experience with individual files for each property or a CSS file for them all.

    " + }, + "DataAccessor":{ + "type":"structure", + "members":{ + "displayName":{ + "shape":"DataAccessorName", + "documentation":"

    The friendly name of the data accessor.

    " + }, + "dataAccessorId":{ + "shape":"DataAccessorId", + "documentation":"

    The unique identifier of the data accessor.

    " + }, + "dataAccessorArn":{ + "shape":"DataAccessorArn", + "documentation":"

    The Amazon Resource Name (ARN) of the data accessor.

    " + }, + "idcApplicationArn":{ + "shape":"IdcApplicationArn", + "documentation":"

    The Amazon Resource Name (ARN) of the associated AWS IAM Identity Center application.

    " + }, + "principal":{ + "shape":"PrincipalRoleArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM role for the ISV associated with this data accessor.

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

    The timestamp when the data accessor was created.

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

    The timestamp when the data accessor was last updated.

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

    Provides summary information about a data accessor.

    " + }, + "DataAccessorArn":{ + "type":"string", + "max":1284, + "min":0, + "pattern":"arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}" + }, + "DataAccessorId":{ + "type":"string", + "max":36, + "min":36, + "pattern":"[a-zA-Z0-9][a-zA-Z0-9-]{35}" + }, + "DataAccessorName":{ + "type":"string", + "max":100, + "min":1, + "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*", + "sensitive":true + }, + "DataAccessors":{ + "type":"list", + "member":{"shape":"DataAccessor"} + }, + "DataSource":{ "type":"structure", "members":{ "displayName":{ @@ -3082,6 +3575,32 @@ "members":{ } }, + "DeleteDataAccessorRequest":{ + "type":"structure", + "required":[ + "applicationId", + "dataAccessorId" + ], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "documentation":"

    The unique identifier of the Q Business application.

    ", + "location":"uri", + "locationName":"applicationId" + }, + "dataAccessorId":{ + "shape":"DataAccessorId", + "documentation":"

    The unique identifier of the data accessor to delete.

    ", + "location":"uri", + "locationName":"dataAccessorId" + } + } + }, + "DeleteDataAccessorResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteDataSourceRequest":{ "type":"structure", "required":[ @@ -3305,6 +3824,32 @@ "min":0, "pattern":"[\\s\\S]*" }, + "DisassociatePermissionRequest":{ + "type":"structure", + "required":[ + "applicationId", + "statementId" + ], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "documentation":"

    The unique identifier of the Q Business application.

    ", + "location":"uri", + "locationName":"applicationId" + }, + "statementId":{ + "shape":"String", + "documentation":"

    The statement ID of the permission to remove.

    ", + "location":"uri", + "locationName":"statementId" + } + } + }, + "DisassociatePermissionResponse":{ + "type":"structure", + "members":{ + } + }, "Document":{ "type":"structure", "required":["id"], @@ -3751,6 +4296,18 @@ "type":"list", "member":{"shape":"FailedDocument"} }, + "FaviconUrl":{ + "type":"string", + "max":1284, + "min":0, + "pattern":"(https?://[a-zA-Z0-9-_.+%/]+\\.(svg|ico))?" + }, + "FontUrl":{ + "type":"string", + "max":1284, + "min":0, + "pattern":"(https?://[a-zA-Z0-9-_.+%/]+\\.(ttf|woff|woff2|otf))?" + }, "GetApplicationRequest":{ "type":"structure", "required":["applicationId"], @@ -3837,6 +4394,10 @@ "clientIdsForOIDC":{ "shape":"ClientIdsForOIDC", "documentation":"

    The OIDC client ID for a Amazon Q Business application.

    " + }, + "quickSightConfiguration":{ + "shape":"QuickSightConfiguration", + "documentation":"

    The Amazon QuickSight authentication configuration for the Amazon Q Business application.

    " } } }, @@ -3889,6 +4450,68 @@ } } }, + "GetDataAccessorRequest":{ + "type":"structure", + "required":[ + "applicationId", + "dataAccessorId" + ], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "documentation":"

    The unique identifier of the Q Business application.

    ", + "location":"uri", + "locationName":"applicationId" + }, + "dataAccessorId":{ + "shape":"DataAccessorId", + "documentation":"

    The unique identifier of the data accessor to retrieve.

    ", + "location":"uri", + "locationName":"dataAccessorId" + } + } + }, + "GetDataAccessorResponse":{ + "type":"structure", + "members":{ + "displayName":{ + "shape":"DataAccessorName", + "documentation":"

    The friendly name of the data accessor.

    " + }, + "dataAccessorId":{ + "shape":"DataAccessorId", + "documentation":"

    The unique identifier of the data accessor.

    " + }, + "dataAccessorArn":{ + "shape":"DataAccessorArn", + "documentation":"

    The Amazon Resource Name (ARN) of the data accessor.

    " + }, + "applicationId":{ + "shape":"ApplicationId", + "documentation":"

    The unique identifier of the Q Business application associated with this data accessor.

    " + }, + "idcApplicationArn":{ + "shape":"IdcApplicationArn", + "documentation":"

    The Amazon Resource Name (ARN) of the AWS IAM Identity Center application associated with this data accessor.

    " + }, + "principal":{ + "shape":"PrincipalRoleArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM role for the ISV associated with this data accessor.

    " + }, + "actionConfigurations":{ + "shape":"ActionConfigurationList", + "documentation":"

    The list of action configurations specifying the allowed actions and any associated filters.

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

    The timestamp when the data accessor was created.

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

    The timestamp when the data accessor was last updated.

    " + } + } + }, "GetDataSourceRequest":{ "type":"structure", "required":[ @@ -4231,6 +4854,27 @@ } } }, + "GetPolicyRequest":{ + "type":"structure", + "required":["applicationId"], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "documentation":"

    The unique identifier of the Q Business application.

    ", + "location":"uri", + "locationName":"applicationId" + } + } + }, + "GetPolicyResponse":{ + "type":"structure", + "members":{ + "policy":{ + "shape":"String", + "documentation":"

    The JSON representation of the permission policy.

    " + } + } + }, "GetRetrieverRequest":{ "type":"structure", "required":[ @@ -4417,6 +5061,10 @@ "browserExtensionConfiguration":{ "shape":"BrowserExtensionConfiguration", "documentation":"

    The browser extension configuration for an Amazon Q Business web experience.

    " + }, + "customizationConfiguration":{ + "shape":"CustomizationConfiguration", + "documentation":"

    Gets the custom logo, favicon, font, and color used in the Amazon Q web experience.

    " } } }, @@ -4521,6 +5169,24 @@ "min":10, "pattern":"arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::\\d{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16}" }, + "IdcAuthConfiguration":{ + "type":"structure", + "required":[ + "idcApplicationArn", + "roleArn" + ], + "members":{ + "idcApplicationArn":{ + "shape":"IdcApplicationArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM Identity Center Application used to configure authentication.

    " + }, + "roleArn":{ + "shape":"RoleArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM role with permissions to perform actions on Amazon Web Services services on your behalf.

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

    Information about the IAM Identity Center Application used to configure authentication for a plugin.

    " + }, "IdentityProviderConfiguration":{ "type":"structure", "members":{ @@ -4535,7 +5201,8 @@ "enum":[ "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", - "AWS_IAM_IDC" + "AWS_IAM_IDC", + "AWS_QUICKSIGHT_IDP" ] }, "ImageExtractionConfiguration":{ @@ -4859,6 +5526,43 @@ } } }, + "ListDataAccessorsRequest":{ + "type":"structure", + "required":["applicationId"], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "documentation":"

    The unique identifier of the Q Business application.

    ", + "location":"uri", + "locationName":"applicationId" + }, + "nextToken":{ + "shape":"NextToken1500", + "documentation":"

    The token for the next set of results. (You received this token from a previous call.)

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

    The maximum number of results to return in a single call.

    ", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListDataAccessorsResponse":{ + "type":"structure", + "members":{ + "dataAccessors":{ + "shape":"DataAccessors", + "documentation":"

    The list of data accessors.

    " + }, + "nextToken":{ + "shape":"NextToken1500", + "documentation":"

    The token to use to retrieve the next set of results, if there are any.

    " + } + } + }, "ListDataSourceSyncJobsRequest":{ "type":"structure", "required":[ @@ -5176,6 +5880,123 @@ } } }, + "ListPluginActionsRequest":{ + "type":"structure", + "required":[ + "applicationId", + "pluginId" + ], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "documentation":"

    The identifier of the Amazon Q Business application the plugin is attached to.

    ", + "location":"uri", + "locationName":"applicationId" + }, + "pluginId":{ + "shape":"PluginId", + "documentation":"

    The identifier of the Amazon Q Business plugin.

    ", + "location":"uri", + "locationName":"pluginId" + }, + "nextToken":{ + "shape":"NextToken", + "documentation":"

    If the number of plugin actions returned exceeds maxResults, Amazon Q Business returns a next token as a pagination token to retrieve the next set of plugin actions.

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

    The maximum number of plugin actions to return.

    ", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListPluginActionsResponse":{ + "type":"structure", + "members":{ + "nextToken":{ + "shape":"NextToken", + "documentation":"

    If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of plugin actions.

    " + }, + "items":{ + "shape":"Actions", + "documentation":"

    An array of information on one or more plugin actions.

    " + } + } + }, + "ListPluginTypeActionsRequest":{ + "type":"structure", + "required":["pluginType"], + "members":{ + "pluginType":{ + "shape":"PluginType", + "documentation":"

    The type of the plugin.

    ", + "location":"uri", + "locationName":"pluginType" + }, + "nextToken":{ + "shape":"NextToken", + "documentation":"

    If the number of plugins returned exceeds maxResults, Amazon Q Business returns a next token as a pagination token to retrieve the next set of plugins.

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

    The maximum number of plugins to return.

    ", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListPluginTypeActionsResponse":{ + "type":"structure", + "members":{ + "nextToken":{ + "shape":"NextToken", + "documentation":"

    If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of plugins.

    " + }, + "items":{ + "shape":"Actions", + "documentation":"

    An array of information on one or more plugins.

    " + } + } + }, + "ListPluginTypeMetadataRequest":{ + "type":"structure", + "members":{ + "nextToken":{ + "shape":"NextToken", + "documentation":"

    If the metadata returned exceeds maxResults, Amazon Q Business returns a next token as a pagination token to retrieve the next set of metadata.

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

    The maximum number of plugin metadata items to return.

    ", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListPluginTypeMetadataResponse":{ + "type":"structure", + "members":{ + "nextToken":{ + "shape":"NextToken", + "documentation":"

    If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of plugin metadata.

    " + }, + "items":{ + "shape":"ListPluginTypeMetadataSummaries", + "documentation":"

    An array of information on plugin metadata.

    " + } + } + }, + "ListPluginTypeMetadataSummaries":{ + "type":"list", + "member":{"shape":"PluginTypeMetadataSummary"} + }, "ListPluginsRequest":{ "type":"structure", "required":["applicationId"], @@ -5308,10 +6129,20 @@ } } }, + "LogoUrl":{ + "type":"string", + "max":1284, + "min":0, + "pattern":"(https?://[a-zA-Z0-9-_.+%/]+\\.(svg|png))?" + }, "Long":{ "type":"long", "box":true }, + "MaxResults":{ + "type":"integer", + "box":true + }, "MaxResultsIntegerForGetTopicConfigurations":{ "type":"integer", "box":true, @@ -5336,6 +6167,12 @@ "max":100, "min":1 }, + "MaxResultsIntegerForListDataAccessors":{ + "type":"integer", + "box":true, + "max":10, + "min":1 + }, "MaxResultsIntegerForListDataSources":{ "type":"integer", "box":true, @@ -5372,6 +6209,24 @@ "max":100, "min":1 }, + "MaxResultsIntegerForListPluginActions":{ + "type":"integer", + "box":true, + "max":50, + "min":1 + }, + "MaxResultsIntegerForListPluginTypeActions":{ + "type":"integer", + "box":true, + "max":50, + "min":1 + }, + "MaxResultsIntegerForListPluginTypeMetadata":{ + "type":"integer", + "box":true, + "max":50, + "min":1 + }, "MaxResultsIntegerForListPlugins":{ "type":"integer", "box":true, @@ -5633,6 +6488,11 @@ "max":800, "min":1 }, + "NextToken1500":{ + "type":"string", + "max":1500, + "min":1 + }, "NoAuthConfiguration":{ "type":"structure", "members":{ @@ -5675,6 +6535,14 @@ "roleArn":{ "shape":"RoleArn", "documentation":"

    The ARN of an IAM role used by Amazon Q Business to access the OAuth 2.0 authentication credentials stored in a Secrets Manager secret.

    " + }, + "authorizationUrl":{ + "shape":"Url", + "documentation":"

    The redirect URL required by the OAuth 2.0 protocol for Amazon Q Business to authenticate a plugin user through a third party authentication server.

    " + }, + "tokenUrl":{ + "shape":"Url", + "documentation":"

    The URL required by the OAuth 2.0 protocol to exchange an end user authorization code for an access token.

    " } }, "documentation":"

    Information about the OAuth 2.0 authentication credential/token used to configure a plugin.

    " @@ -5783,6 +6651,10 @@ "noAuthConfiguration":{ "shape":"NoAuthConfiguration", "documentation":"

    Information about invoking a custom plugin without any authentication.

    " + }, + "idcAuthConfiguration":{ + "shape":"IdcAuthConfiguration", + "documentation":"

    Information about the IAM Identity Center Application used to configure authentication for a plugin.

    " } }, "documentation":"

    Authentication configuration information for an Amazon Q Business plugin.

    ", @@ -5842,9 +6714,49 @@ "SALESFORCE", "JIRA", "ZENDESK", - "CUSTOM" + "CUSTOM", + "QUICKSIGHT", + "SERVICENOW_NOW_PLATFORM", + "JIRA_CLOUD", + "SALESFORCE_CRM", + "ZENDESK_SUITE", + "ATLASSIAN_CONFLUENCE", + "GOOGLE_CALENDAR", + "MICROSOFT_TEAMS", + "MICROSOFT_EXCHANGE", + "PAGERDUTY_ADVANCE", + "SMARTSHEET", + "ASANA" + ] + }, + "PluginTypeCategory":{ + "type":"string", + "enum":[ + "Customer relationship management (CRM)", + "Project management", + "Communication", + "Productivity", + "Ticketing and incident management" ] }, + "PluginTypeMetadataSummary":{ + "type":"structure", + "members":{ + "type":{ + "shape":"PluginType", + "documentation":"

    The type of the plugin.

    " + }, + "category":{ + "shape":"PluginTypeCategory", + "documentation":"

    The category of the plugin type.

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

    The description assigned by Amazon Q Business to a plugin. You can't modify this value.

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

    Summary metadata information for a Amazon Q Business plugin.

    " + }, "Plugins":{ "type":"list", "member":{"shape":"Plugin"} @@ -5883,6 +6795,12 @@ }, "documentation":"

    Provides information about a group associated with the principal.

    " }, + "PrincipalRoleArn":{ + "type":"string", + "max":1284, + "min":1, + "pattern":"arn:aws:iam::[0-9]{12}:role/[a-zA-Z0-9_/+=,.@-]+" + }, "PrincipalUser":{ "type":"structure", "required":["access"], @@ -6012,6 +6930,28 @@ "DISABLED" ] }, + "QIamAction":{ + "type":"string", + "pattern":"qbusiness:[a-zA-Z]+" + }, + "QIamActions":{ + "type":"list", + "member":{"shape":"QIamAction"}, + "max":10, + "min":1 + }, + "QueryText":{"type":"string"}, + "QuickSightConfiguration":{ + "type":"structure", + "required":["clientNamespace"], + "members":{ + "clientNamespace":{ + "shape":"ClientNamespace", + "documentation":"

    The Amazon QuickSight namespace that is used as the identity provider. For more information about QuickSight namespaces, see Namespace operations.

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

    The Amazon QuickSight configuration for an Amazon Q Business application that uses QuickSight as the identity provider. For more information, see Creating an Amazon QuickSight integrated application.

    " + }, "ReadAccessType":{ "type":"string", "enum":[ @@ -6019,6 +6959,40 @@ "DENY" ] }, + "RelevantContent":{ + "type":"structure", + "members":{ + "content":{ + "shape":"String", + "documentation":"

    The actual content of the relevant item.

    " + }, + "documentId":{ + "shape":"DocumentId", + "documentation":"

    The unique identifier of the document containing the relevant content.

    " + }, + "documentTitle":{ + "shape":"Title", + "documentation":"

    The title of the document containing the relevant content.

    " + }, + "documentUri":{ + "shape":"Url", + "documentation":"

    The URI of the document containing the relevant content.

    " + }, + "documentAttributes":{ + "shape":"DocumentAttributes", + "documentation":"

    Additional attributes of the document containing the relevant content.

    " + }, + "scoreAttributes":{ + "shape":"ScoreAttributes", + "documentation":"

    Attributes related to the relevance score of the content.

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

    Represents a piece of content that is relevant to a search query.

    " + }, + "RelevantContentList":{ + "type":"list", + "member":{"shape":"RelevantContent"} + }, "ResourceNotFoundException":{ "type":"structure", "required":[ @@ -6040,7 +7014,7 @@ "documentation":"

    The type of the resource affected.

    " } }, - "documentation":"

    The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.

    ", + "documentation":"

    The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.

    ", "error":{ "httpStatusCode":404, "senderFault":true @@ -6101,6 +7075,17 @@ "documentation":"

    Provides information on how the retriever used for your Amazon Q Business application is configured.

    ", "union":true }, + "RetrieverContentSource":{ + "type":"structure", + "required":["retrieverId"], + "members":{ + "retrieverId":{ + "shape":"RetrieverId", + "documentation":"

    The unique identifier of the retriever to use as the content source.

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

    Specifies a retriever as the content source for a search.

    " + }, "RetrieverId":{ "type":"string", "max":36, @@ -6270,6 +7255,84 @@ }, "documentation":"

    Information about the SAML 2.0-compliant identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.

    " }, + "ScoreAttributes":{ + "type":"structure", + "members":{ + "scoreConfidence":{ + "shape":"ScoreConfidence", + "documentation":"

    The confidence level of the relevance score.

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

    Provides information about the relevance score of content.

    " + }, + "ScoreConfidence":{ + "type":"string", + "enum":[ + "VERY_HIGH", + "HIGH", + "MEDIUM", + "LOW", + "NOT_AVAILABLE" + ] + }, + "SearchRelevantContentRequest":{ + "type":"structure", + "required":[ + "applicationId", + "queryText", + "contentSource" + ], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "documentation":"

    The unique identifier of the Q Business application to search.

    ", + "location":"uri", + "locationName":"applicationId" + }, + "userId":{ + "shape":"UserId", + "documentation":"

    The ID of the user performing the search. Used for access control.

    ", + "location":"querystring", + "locationName":"userId" + }, + "userGroups":{ + "shape":"UserGroups", + "documentation":"

    The groups the user belongs to. Used for access control.

    ", + "location":"querystring", + "locationName":"userGroups" + }, + "queryText":{ + "shape":"QueryText", + "documentation":"

    The text to search for.

    " + }, + "contentSource":{ + "shape":"ContentSource", + "documentation":"

    The source of content to search in.

    " + }, + "attributeFilter":{"shape":"AttributeFilter"}, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return.

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

    The token for the next set of results. (You received this token from a previous call.)

    " + } + } + }, + "SearchRelevantContentResponse":{ + "type":"structure", + "members":{ + "relevantContent":{ + "shape":"RelevantContentList", + "documentation":"

    The list of relevant content items found.

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

    The token to use to retrieve the next set of results, if there are any.

    " + } + } + }, "SecretArn":{ "type":"string", "max":1284, @@ -6404,6 +7467,12 @@ } } }, + "StatementId":{ + "type":"string", + "max":100, + "min":1, + "pattern":"[a-zA-Z0-9_-]+" + }, "Status":{ "type":"string", "enum":[ @@ -6849,6 +7918,41 @@ "members":{ } }, + "UpdateDataAccessorRequest":{ + "type":"structure", + "required":[ + "applicationId", + "dataAccessorId", + "actionConfigurations" + ], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "documentation":"

    The unique identifier of the Q Business application.

    ", + "location":"uri", + "locationName":"applicationId" + }, + "dataAccessorId":{ + "shape":"DataAccessorId", + "documentation":"

    The unique identifier of the data accessor to update.

    ", + "location":"uri", + "locationName":"dataAccessorId" + }, + "actionConfigurations":{ + "shape":"ActionConfigurationList", + "documentation":"

    The updated list of action configurations specifying the allowed actions and any associated filters.

    " + }, + "displayName":{ + "shape":"DataAccessorName", + "documentation":"

    The updated friendly name for the data accessor.

    " + } + } + }, + "UpdateDataAccessorResponse":{ + "type":"structure", + "members":{ + } + }, "UpdateDataSourceRequest":{ "type":"structure", "required":[ @@ -7130,6 +8234,10 @@ "browserExtensionConfiguration":{ "shape":"BrowserExtensionConfiguration", "documentation":"

    The browser extension configuration for an Amazon Q Business web experience.

    For Amazon Q Business application using external OIDC-compliant identity providers (IdPs). The IdP administrator must add the browser extension sign-in redirect URLs to the IdP application. For more information, see Configure external OIDC identity provider for your browser extensions..

    " + }, + "customizationConfiguration":{ + "shape":"CustomizationConfiguration", + "documentation":"

    Updates the custom logo, favicon, font, and color used in the Amazon Q web experience.

    " } } }, diff --git a/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json b/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json index 22580e0ba2a..abf1c2f26fe 100644 --- a/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json +++ b/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json @@ -741,6 +741,23 @@ ], "documentation":"

    Deletes the data source permanently. This operation breaks all the datasets that reference the deleted data source.

    " }, + "DeleteDefaultQBusinessApplication":{ + "name":"DeleteDefaultQBusinessApplication", + "http":{ + "method":"DELETE", + "requestUri":"/accounts/{AwsAccountId}/default-qbusiness-application" + }, + "input":{"shape":"DeleteDefaultQBusinessApplicationRequest"}, + "output":{"shape":"DeleteDefaultQBusinessApplicationResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalFailureException"} + ], + "documentation":"

    Deletes a linked Amazon Q Business application from an Amazon QuickSight account

    " + }, "DeleteFolder":{ "name":"DeleteFolder", "http":{ @@ -1527,6 +1544,23 @@ ], "documentation":"

    Describes the resource permissions for a data source.

    " }, + "DescribeDefaultQBusinessApplication":{ + "name":"DescribeDefaultQBusinessApplication", + "http":{ + "method":"GET", + "requestUri":"/accounts/{AwsAccountId}/default-qbusiness-application" + }, + "input":{"shape":"DescribeDefaultQBusinessApplicationRequest"}, + "output":{"shape":"DescribeDefaultQBusinessApplicationResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"InternalFailureException"} + ], + "documentation":"

    Describes a Amazon Q Business application that is linked to an Amazon QuickSight account.

    " + }, "DescribeFolder":{ "name":"DescribeFolder", "http":{ @@ -1726,6 +1760,24 @@ ], "documentation":"

    Describes a personalization configuration.

    " }, + "DescribeQuickSightQSearchConfiguration":{ + "name":"DescribeQuickSightQSearchConfiguration", + "http":{ + "method":"GET", + "requestUri":"/accounts/{AwsAccountId}/quicksight-q-search-configuration" + }, + "input":{"shape":"DescribeQuickSightQSearchConfigurationRequest"}, + "output":{"shape":"DescribeQuickSightQSearchConfigurationResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalFailureException"} + ], + "documentation":"

    Describes the state of a Amazon QuickSight Q Search configuration.

    " + }, "DescribeRefreshSchedule":{ "name":"DescribeRefreshSchedule", "http":{ @@ -2041,6 +2093,27 @@ ], "documentation":"

    Generates an embed URL that you can use to embed an Amazon QuickSight experience in your website. This action can be used for any type of user registered in an Amazon QuickSight account. Before you use this action, make sure that you have configured the relevant Amazon QuickSight resource and permissions.

    The following rules apply to the generated URL:

    • It contains a temporary bearer token. It is valid for 5 minutes after it is generated. Once redeemed within this period, it cannot be re-used again.

    • The URL validity period should not be confused with the actual session lifetime that can be customized using the SessionLifetimeInMinutes parameter.

      The resulting user session is valid for 15 minutes (minimum) to 10 hours (maximum). The default session duration is 10 hours.

    • You are charged only when the URL is used or there is interaction with Amazon QuickSight.

    For more information, see Embedded Analytics in the Amazon QuickSight User Guide.

    For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the Amazon QuickSight Developer Portal.

    " }, + "GenerateEmbedUrlForRegisteredUserWithIdentity":{ + "name":"GenerateEmbedUrlForRegisteredUserWithIdentity", + "http":{ + "method":"POST", + "requestUri":"/accounts/{AwsAccountId}/embed-url/registered-user-with-identity" + }, + "input":{"shape":"GenerateEmbedUrlForRegisteredUserWithIdentityRequest"}, + "output":{"shape":"GenerateEmbedUrlForRegisteredUserWithIdentityResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"QuickSightUserNotFoundException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"SessionLifetimeInMinutesInvalidException"}, + {"shape":"ThrottlingException"}, + {"shape":"UnsupportedUserEditionException"}, + {"shape":"UnsupportedPricingPlanException"}, + {"shape":"InternalFailureException"} + ], + "documentation":"

    Generates an embed URL that you can use to embed an Amazon QuickSight experience in your website. This action can be used for any type of user that is registered in an Amazon QuickSight account that uses IAM Identity Center for authentication. This API requires identity-enhanced IAM Role sessions for the authenticated user that the API call is being made for.

    This API uses trusted identity propagation to ensure that an end user is authenticated and receives the embed URL that is specific to that user. The IAM Identity Center application that the user has logged into needs to have trusted Identity Propagation enabled for Amazon QuickSight with the scope value set to quicksight:read. Before you use this action, make sure that you have configured the relevant Amazon QuickSight resource and permissions.

    " + }, "GetDashboardEmbedUrl":{ "name":"GetDashboardEmbedUrl", "http":{ @@ -2707,6 +2780,22 @@ ], "documentation":"

    Lists all of the VPC connections in the current set Amazon Web Services Region of an Amazon Web Services account.

    " }, + "PredictQAResults":{ + "name":"PredictQAResults", + "http":{ + "method":"POST", + "requestUri":"/accounts/{AwsAccountId}/qa/predict" + }, + "input":{"shape":"PredictQAResultsRequest"}, + "output":{"shape":"PredictQAResultsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalFailureException"} + ], + "documentation":"

    Predicts existing visuals or generates new visuals to answer a given query.

    " + }, "PutDataSetRefreshProperties":{ "name":"PutDataSetRefreshProperties", "http":{ @@ -3086,6 +3175,25 @@ ], "documentation":"

    Updates the read and write permissions for an analysis.

    " }, + "UpdateApplicationWithTokenExchangeGrant":{ + "name":"UpdateApplicationWithTokenExchangeGrant", + "http":{ + "method":"PUT", + "requestUri":"/accounts/{AwsAccountId}/application-with-token-exchange-grant" + }, + "input":{"shape":"UpdateApplicationWithTokenExchangeGrantRequest"}, + "output":{"shape":"UpdateApplicationWithTokenExchangeGrantResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ThrottlingException"}, + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"LimitExceededException"}, + {"shape":"InternalFailureException"} + ], + "documentation":"

    Updates an Amazon QuickSight application with a token exchange grant. This operation only supports Amazon QuickSight applications that are registered with IAM Identity Center.

    " + }, "UpdateBrand":{ "name":"UpdateBrand", "http":{ @@ -3334,6 +3442,24 @@ ], "documentation":"

    Updates the permissions to a data source.

    " }, + "UpdateDefaultQBusinessApplication":{ + "name":"UpdateDefaultQBusinessApplication", + "http":{ + "method":"PUT", + "requestUri":"/accounts/{AwsAccountId}/default-qbusiness-application" + }, + "input":{"shape":"UpdateDefaultQBusinessApplicationRequest"}, + "output":{"shape":"UpdateDefaultQBusinessApplicationResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"InternalFailureException"} + ], + "documentation":"

    Updates a Amazon Q Business application that is linked to a Amazon QuickSight account.

    " + }, "UpdateFolder":{ "name":"UpdateFolder", "http":{ @@ -3499,6 +3625,24 @@ ], "documentation":"

    Updates a personalization configuration.

    " }, + "UpdateQuickSightQSearchConfiguration":{ + "name":"UpdateQuickSightQSearchConfiguration", + "http":{ + "method":"PUT", + "requestUri":"/accounts/{AwsAccountId}/quicksight-q-search-configuration" + }, + "input":{"shape":"UpdateQuickSightQSearchConfigurationRequest"}, + "output":{"shape":"UpdateQuickSightQSearchConfigurationResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalFailureException"} + ], + "documentation":"

    Updates the state of a Amazon QuickSight Q Search configuration.

    " + }, "UpdateRefreshSchedule":{ "name":"UpdateRefreshSchedule", "http":{ @@ -11052,6 +11196,44 @@ }, "documentation":"

    The visual publish options of a visual in a dashboard

    " }, + "DashboardVisualResult":{ + "type":"structure", + "members":{ + "DashboardId":{ + "shape":"ShortRestrictiveResourceId", + "documentation":"

    The ID of the dashboard.

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

    The name of the dashboard.

    " + }, + "SheetId":{ + "shape":"ShortRestrictiveResourceId", + "documentation":"

    The ID of the sheet.

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

    The name of the sheet.

    " + }, + "VisualId":{ + "shape":"ShortRestrictiveResourceId", + "documentation":"

    The ID of the visual.

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

    The title of the visual.

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

    The subtitle of the visual.

    " + }, + "DashboardUrl":{ + "shape":"QAUrl", + "documentation":"

    The URL of the dashboard.

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

    The QA result that is made from dashboard visual.

    " + }, "DashboardsQAStatus":{ "type":"string", "enum":[ @@ -13263,6 +13445,38 @@ } } }, + "DeleteDefaultQBusinessApplicationRequest":{ + "type":"structure", + "required":["AwsAccountId"], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

    The ID of the Amazon QuickSight account that you want to disconnect from a Amazon Q Business application.

    ", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "documentation":"

    The Amazon QuickSight namespace that you want to delete a linked Amazon Q Business application from. If this field is left blank, the Amazon Q Business application is deleted from the default namespace. Currently, the default namespace is the only valid value for this parameter.

    ", + "location":"querystring", + "locationName":"namespace" + } + } + }, + "DeleteDefaultQBusinessApplicationResponse":{ + "type":"structure", + "members":{ + "RequestId":{ + "shape":"String", + "documentation":"

    The Amazon Web Services request ID for this operation.

    " + }, + "Status":{ + "shape":"StatusCode", + "documentation":"

    The HTTP status of the request.

    ", + "location":"statusCode" + } + } + }, "DeleteFolderMembershipRequest":{ "type":"structure", "required":[ @@ -15346,6 +15560,42 @@ } } }, + "DescribeDefaultQBusinessApplicationRequest":{ + "type":"structure", + "required":["AwsAccountId"], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

    The ID of the Amazon QuickSight account that is linked to the Amazon Q Business application that you want described.

    ", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "documentation":"

    The Amazon QuickSight namespace that contains the linked Amazon Q Business application. If this field is left blank, the default namespace is used. Currently, the default namespace is the only valid value for this parameter.

    ", + "location":"querystring", + "locationName":"namespace" + } + } + }, + "DescribeDefaultQBusinessApplicationResponse":{ + "type":"structure", + "members":{ + "RequestId":{ + "shape":"String", + "documentation":"

    The Amazon Web Services request ID for this operation.

    " + }, + "Status":{ + "shape":"StatusCode", + "documentation":"

    The HTTP status of the request.

    ", + "location":"statusCode" + }, + "ApplicationId":{ + "shape":"String", + "documentation":"

    The ID of the Amazon Q Business application that is linked to the Amazon QuickSight account.

    " + } + } + }, "DescribeFolderPermissionsRequest":{ "type":"structure", "required":[ @@ -15867,6 +16117,36 @@ } } }, + "DescribeQuickSightQSearchConfigurationRequest":{ + "type":"structure", + "required":["AwsAccountId"], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

    The ID of the Amazon Web Services account that contains the Amazon QuickSight Q Search configuration that the user wants described.

    ", + "location":"uri", + "locationName":"AwsAccountId" + } + } + }, + "DescribeQuickSightQSearchConfigurationResponse":{ + "type":"structure", + "members":{ + "QSearchStatus":{ + "shape":"QSearchStatus", + "documentation":"

    The status of Amazon QuickSight Q Search configuration.

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

    The Amazon Web Services request ID for this operation.

    " + }, + "Status":{ + "shape":"StatusCode", + "documentation":"

    The HTTP status of the request.

    ", + "location":"statusCode" + } + } + }, "DescribeRefreshScheduleRequest":{ "type":"structure", "required":[ @@ -18902,6 +19182,99 @@ } } }, + "GenerateEmbedUrlForRegisteredUserWithIdentityRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "ExperienceConfiguration" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

    The ID of the Amazon Web Services registered user.

    ", + "location":"uri", + "locationName":"AwsAccountId" + }, + "SessionLifetimeInMinutes":{ + "shape":"SessionLifetimeInMinutes", + "documentation":"

    The validity of the session in minutes.

    " + }, + "ExperienceConfiguration":{"shape":"RegisteredUserEmbeddingExperienceConfiguration"}, + "AllowedDomains":{ + "shape":"StringList", + "documentation":"

    A list of domains to be allowed to generate the embed URL.

    " + } + } + }, + "GenerateEmbedUrlForRegisteredUserWithIdentityResponse":{ + "type":"structure", + "required":[ + "EmbedUrl", + "Status", + "RequestId" + ], + "members":{ + "EmbedUrl":{ + "shape":"EmbeddingUrl", + "documentation":"

    The generated embed URL for the registered user.

    " + }, + "Status":{ + "shape":"StatusCode", + "documentation":"

    The HTTP status of the request.

    ", + "location":"statusCode" + }, + "RequestId":{ + "shape":"String", + "documentation":"

    The Amazon Web Services request ID for this operation.

    " + } + } + }, + "GeneratedAnswerResult":{ + "type":"structure", + "members":{ + "QuestionText":{ + "shape":"QAQueryText", + "documentation":"

    The question text.

    " + }, + "AnswerStatus":{ + "shape":"GeneratedAnswerStatus", + "documentation":"

    The answer status of the generated answer.

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

    The ID of the topic.

    " + }, + "TopicName":{ + "shape":"ResourceName", + "documentation":"

    The name of the topic.

    " + }, + "Restatement":{ + "shape":"QAQueryText", + "documentation":"

    The restatement for the answer.

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

    The ID of the question.

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

    The ID of the answer.

    " + }, + "QuestionUrl":{ + "shape":"QAUrl", + "documentation":"

    The URL of the question.

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

    The QA result that is made from generated answer.

    " + }, + "GeneratedAnswerStatus":{ + "type":"string", + "enum":[ + "ANSWER_GENERATED", + "ANSWER_RETRIEVED", + "ANSWER_DOWNGRADE" + ] + }, "GeoSpatialColumnGroup":{ "type":"structure", "required":[ @@ -20725,6 +21098,20 @@ "NONE" ] }, + "IncludeGeneratedAnswer":{ + "type":"string", + "enum":[ + "INCLUDE", + "EXCLUDE" + ] + }, + "IncludeQuickSightQIndex":{ + "type":"string", + "enum":[ + "INCLUDE", + "EXCLUDE" + ] + }, "IncrementalRefresh":{ "type":"structure", "required":["LookbackWindow"], @@ -24216,6 +24603,11 @@ "max":100, "min":1 }, + "MaxTopicsToConsider":{ + "type":"integer", + "max":4, + "min":1 + }, "MaximumLabelType":{ "type":"structure", "members":{ @@ -26724,6 +27116,59 @@ "max":10, "min":1 }, + "PredictQAResultsRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "QueryText" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

    The ID of the Amazon Web Services account that the user wants to execute Predict QA results in.

    ", + "location":"uri", + "locationName":"AwsAccountId" + }, + "QueryText":{ + "shape":"QAQueryText", + "documentation":"

    The query text to be used to predict QA results.

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

    Indicates whether Q indicies are included or excluded.

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

    Indicates whether generated answers are included or excluded.

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

    The number of maximum topics to be considered to predict QA results.

    " + } + } + }, + "PredictQAResultsResponse":{ + "type":"structure", + "members":{ + "PrimaryResult":{ + "shape":"QAResult", + "documentation":"

    The primary visual response.

    " + }, + "AdditionalResults":{ + "shape":"QAResults", + "documentation":"

    Additional visual responses.

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

    The Amazon Web Services request ID for this operation.

    " + }, + "Status":{ + "shape":"StatusCode", + "documentation":"

    The HTTP status of the request.

    ", + "location":"statusCode" + } + } + }, "PredictionInterval":{ "type":"integer", "max":95, @@ -26871,6 +27316,50 @@ } } }, + "QAQueryText":{ + "type":"string", + "max":1024, + "min":1, + "sensitive":true + }, + "QAResult":{ + "type":"structure", + "members":{ + "ResultType":{ + "shape":"QAResultType", + "documentation":"

    The type of QA result.

    " + }, + "DashboardVisual":{ + "shape":"DashboardVisualResult", + "documentation":"

    The representation of a dashboard visual result.

    " + }, + "GeneratedAnswer":{ + "shape":"GeneratedAnswerResult", + "documentation":"

    The representation of a generated answer result.

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

    The QA result that is made from the DashboardVisual or GeneratedAnswer.

    " + }, + "QAResultType":{ + "type":"string", + "enum":[ + "DASHBOARD_VISUAL", + "GENERATED_ANSWER", + "NO_ANSWER" + ] + }, + "QAResults":{ + "type":"list", + "member":{"shape":"QAResult"} + }, + "QAUrl":{"type":"string"}, + "QSearchStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "Query":{ "type":"string", "max":256, @@ -26893,6 +27382,11 @@ }, "documentation":"

    A structure that describes the query execution options.

    " }, + "QuestionId":{ + "type":"string", + "max":64, + "pattern":"^[a-zA-Z0-9-]+$" + }, "QueueInfo":{ "type":"structure", "required":[ @@ -29301,7 +29795,10 @@ }, "ServiceType":{ "type":"string", - "enum":["REDSHIFT"] + "enum":[ + "REDSHIFT", + "QBUSINESS" + ] }, "SessionLifetimeInMinutes":{ "type":"long", @@ -34553,6 +35050,41 @@ } } }, + "UpdateApplicationWithTokenExchangeGrantRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "Namespace" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

    The ID of the Amazon Web Services account to be updated with a token exchange grant.

    ", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "documentation":"

    The namespace of the Amazon QuickSight application.

    ", + "location":"querystring", + "locationName":"namespace" + } + } + }, + "UpdateApplicationWithTokenExchangeGrantResponse":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"StatusCode", + "documentation":"

    The HTTP status of the request.

    ", + "location":"statusCode" + }, + "RequestId":{ + "shape":"String", + "documentation":"

    The Amazon Web Services request ID for this operation.

    " + } + } + }, "UpdateBrandAssignmentRequest":{ "type":"structure", "required":[ @@ -35258,6 +35790,45 @@ } } }, + "UpdateDefaultQBusinessApplicationRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "ApplicationId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

    The ID of the Amazon QuickSight account that is connected to the Amazon Q Business application that you want to update.

    ", + "location":"uri", + "locationName":"AwsAccountId" + }, + "Namespace":{ + "shape":"Namespace", + "documentation":"

    The Amazon QuickSight namespace that contains the linked Amazon Q Business application. If this field is left blank, the default namespace is used. Currently, the default namespace is the only valid value for this parameter.

    ", + "location":"querystring", + "locationName":"namespace" + }, + "ApplicationId":{ + "shape":"LimitedString", + "documentation":"

    The ID of the Amazon Q Business application that you want to update.

    " + } + } + }, + "UpdateDefaultQBusinessApplicationResponse":{ + "type":"structure", + "members":{ + "RequestId":{ + "shape":"String", + "documentation":"

    The Amazon Web Services request ID for this operation.

    " + }, + "Status":{ + "shape":"StatusCode", + "documentation":"

    The HTTP status of the request.

    ", + "location":"statusCode" + } + } + }, "UpdateFolderPermissionsRequest":{ "type":"structure", "required":[ @@ -35677,6 +36248,43 @@ } } }, + "UpdateQuickSightQSearchConfigurationRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "QSearchStatus" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

    The ID of the Amazon Web Services account that contains the Amazon QuickSight Q Search configuration that you want to update.

    ", + "location":"uri", + "locationName":"AwsAccountId" + }, + "QSearchStatus":{ + "shape":"QSearchStatus", + "documentation":"

    The status of the Amazon QuickSight Q Search configuration that the user wants to update.

    " + } + } + }, + "UpdateQuickSightQSearchConfigurationResponse":{ + "type":"structure", + "members":{ + "QSearchStatus":{ + "shape":"QSearchStatus", + "documentation":"

    The status of the Amazon QuickSight Q Search configuration.

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

    The Amazon Web Services request ID for this operation.

    " + }, + "Status":{ + "shape":"StatusCode", + "documentation":"

    The HTTP status of the request.

    ", + "location":"statusCode" + } + } + }, "UpdateRefreshScheduleRequest":{ "type":"structure", "required":[ @@ -37095,6 +37703,11 @@ "FRAGMENT" ] }, + "VisualSubtitle":{ + "type":"string", + "max":1024, + "min":1 + }, "VisualSubtitleLabelOptions":{ "type":"structure", "members":{ @@ -37109,6 +37722,11 @@ }, "documentation":"

    The subtitle label options for a visual.

    " }, + "VisualTitle":{ + "type":"string", + "max":1024, + "min":1 + }, "VisualTitleLabelOptions":{ "type":"structure", "members":{ diff --git a/tools/code-generation/api-descriptions/redshift-2012-12-01.normal.json b/tools/code-generation/api-descriptions/redshift-2012-12-01.normal.json index ef3556cb31c..8de5a883291 100644 --- a/tools/code-generation/api-descriptions/redshift-2012-12-01.normal.json +++ b/tools/code-generation/api-descriptions/redshift-2012-12-01.normal.json @@ -278,7 +278,7 @@ {"shape":"UnsupportedOperationFault"}, {"shape":"RedshiftIdcApplicationNotExistsFault"} ], - "documentation":"

    Creates a new cluster with the specified parameters.

    To create a cluster in Virtual Private Cloud (VPC), you must provide a cluster subnet group name. The cluster subnet group identifies the subnets of your VPC that Amazon Redshift uses when creating the cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

    " + "documentation":"

    Creates a new cluster with the specified parameters.

    To create a cluster in Virtual Private Cloud (VPC), you must provide a cluster subnet group name. The cluster subnet group identifies the subnets of your VPC that Amazon Redshift uses when creating the cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

    VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:

    • Creating a public cluster

    • Restoring a public cluster

    • Modifying a private cluster to be public

    • Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group

    For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.

    " }, "CreateClusterParameterGroup":{ "name":"CreateClusterParameterGroup", @@ -931,6 +931,24 @@ ], "documentation":"

    Deletes a usage limit from a cluster.

    " }, + "DeregisterNamespace":{ + "name":"DeregisterNamespace", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeregisterNamespaceInputMessage"}, + "output":{ + "shape":"DeregisterNamespaceOutputMessage", + "resultWrapper":"DeregisterNamespaceResult" + }, + "errors":[ + {"shape":"ClusterNotFoundFault"}, + {"shape":"InvalidNamespaceFault"}, + {"shape":"InvalidClusterStateFault"} + ], + "documentation":"

    Deregisters a cluster or serverless namespace from the Amazon Web Services Glue Data Catalog.

    " + }, "DescribeAccountAttributes":{ "name":"DescribeAccountAttributes", "http":{ @@ -1910,7 +1928,7 @@ {"shape":"CustomCnameAssociationFault"}, {"shape":"Ipv6CidrBlockNotFoundFault"} ], - "documentation":"

    Modifies the settings for a cluster.

    You can also change node type and the number of nodes to scale up or down the cluster. When resizing a cluster, you must specify both the number of nodes and the node type even if one of the parameters does not change.

    You can add another security or parameter group, or change the admin user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

    " + "documentation":"

    Modifies the settings for a cluster.

    You can also change node type and the number of nodes to scale up or down the cluster. When resizing a cluster, you must specify both the number of nodes and the node type even if one of the parameters does not change.

    You can add another security or parameter group, or change the admin user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

    VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:

    • Creating a public cluster

    • Restoring a public cluster

    • Modifying a private cluster to be public

    • Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group

    For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.

    " }, "ModifyClusterDbRevision":{ "name":"ModifyClusterDbRevision", @@ -2033,7 +2051,7 @@ {"shape":"UnauthorizedOperation"}, {"shape":"DependentServiceRequestThrottlingFault"} ], - "documentation":"

    Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets.

    " + "documentation":"

    Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets.

    VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:

    • Creating a public cluster

    • Restoring a public cluster

    • Modifying a private cluster to be public

    • Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group

    For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.

    " }, "ModifyCustomDomainAssociation":{ "name":"ModifyCustomDomainAssociation", @@ -2289,6 +2307,24 @@ ], "documentation":"

    Reboots a cluster. This action is taken as soon as possible. It results in a momentary outage to the cluster, during which the cluster status is set to rebooting. A cluster event is created when the reboot is completed. Any pending cluster modifications (see ModifyCluster) are applied at this reboot. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

    " }, + "RegisterNamespace":{ + "name":"RegisterNamespace", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"RegisterNamespaceInputMessage"}, + "output":{ + "shape":"RegisterNamespaceOutputMessage", + "resultWrapper":"RegisterNamespaceResult" + }, + "errors":[ + {"shape":"ClusterNotFoundFault"}, + {"shape":"InvalidNamespaceFault"}, + {"shape":"InvalidClusterStateFault"} + ], + "documentation":"

    Registers a cluster or serverless namespace to the Amazon Web Services Glue Data Catalog.

    " + }, "RejectDataShare":{ "name":"RejectDataShare", "http":{ @@ -2398,7 +2434,7 @@ {"shape":"UnsupportedOperationFault"}, {"shape":"Ipv6CidrBlockNotFoundFault"} ], - "documentation":"

    Creates a new cluster from a snapshot. By default, Amazon Redshift creates the resulting cluster with the same configuration as the original cluster from which the snapshot was created, except that the new cluster is created with the default cluster security and parameter groups. After Amazon Redshift creates the cluster, you can use the ModifyCluster API to associate a different security group and different parameter group with the restored cluster. If you are using a DS node type, you can also choose to change to another DS node type of the same size during restore.

    If you restore a cluster into a VPC, you must provide a cluster subnet group where you want the cluster restored.

    For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

    " + "documentation":"

    Creates a new cluster from a snapshot. By default, Amazon Redshift creates the resulting cluster with the same configuration as the original cluster from which the snapshot was created, except that the new cluster is created with the default cluster security and parameter groups. After Amazon Redshift creates the cluster, you can use the ModifyCluster API to associate a different security group and different parameter group with the restored cluster. If you are using a DS node type, you can also choose to change to another DS node type of the same size during restore.

    If you restore a cluster into a VPC, you must provide a cluster subnet group where you want the cluster restored.

    VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:

    • Creating a public cluster

    • Restoring a public cluster

    • Modifying a private cluster to be public

    • Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group

    For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.

    For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

    " }, "RestoreTableFromClusterSnapshot":{ "name":"RestoreTableFromClusterSnapshot", @@ -4069,6 +4105,12 @@ }, "exception":true }, + "ConsumerIdentifierList":{ + "type":"list", + "member":{"shape":"String"}, + "max":1, + "min":1 + }, "CopyClusterSnapshotMessage":{ "type":"structure", "required":[ @@ -4952,6 +4994,10 @@ "ManagedBy":{ "shape":"String", "documentation":"

    The identifier of a datashare to show its managing entity.

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

    The type of the datashare created by RegisterNamespace.

    " } } }, @@ -5025,6 +5071,10 @@ "REJECTED" ] }, + "DataShareType":{ + "type":"string", + "enum":["INTERNAL"] + }, "DataTransferProgress":{ "type":"structure", "members":{ @@ -5417,6 +5467,32 @@ }, "exception":true }, + "DeregisterNamespaceInputMessage":{ + "type":"structure", + "required":[ + "NamespaceIdentifier", + "ConsumerIdentifiers" + ], + "members":{ + "NamespaceIdentifier":{ + "shape":"NamespaceIdentifierUnion", + "documentation":"

    The unique identifier of the cluster or serverless namespace that you want to deregister.

    " + }, + "ConsumerIdentifiers":{ + "shape":"ConsumerIdentifierList", + "documentation":"

    An array containing the ID of the consumer account that you want to deregister the cluster or serverless namespace from.

    " + } + } + }, + "DeregisterNamespaceOutputMessage":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"NamespaceRegistrationStatus", + "documentation":"

    The registration status of the cluster or serverless namespace.

    " + } + } + }, "DescribeAccountAttributesMessage":{ "type":"structure", "members":{ @@ -8946,6 +9022,28 @@ } } }, + "NamespaceIdentifierUnion":{ + "type":"structure", + "members":{ + "ServerlessIdentifier":{ + "shape":"ServerlessIdentifier", + "documentation":"

    The identifier for a serverless namespace.

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

    The identifier for a provisioned cluster.

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

    Object to store union of values for a provisioned cluster or serverless namespace’s identifier.

    ", + "union":true + }, + "NamespaceRegistrationStatus":{ + "type":"string", + "enum":[ + "Registering", + "Deregistering" + ] + }, "NetworkInterface":{ "type":"structure", "members":{ @@ -9394,6 +9492,17 @@ }, "documentation":"

    Describes cluster attributes that are in a pending state. A change to one or more the attributes was requested and is in progress or will be applied.

    " }, + "ProvisionedIdentifier":{ + "type":"structure", + "required":["ClusterIdentifier"], + "members":{ + "ClusterIdentifier":{ + "shape":"String", + "documentation":"

    The unique identifier for the provisioned cluster.

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

    The identifier for a provisioned cluster.

    " + }, "PurchaseReservedNodeOfferingMessage":{ "type":"structure", "required":["ReservedNodeOfferingId"], @@ -9702,6 +9811,32 @@ "locationName":"ReferenceLink" } }, + "RegisterNamespaceInputMessage":{ + "type":"structure", + "required":[ + "NamespaceIdentifier", + "ConsumerIdentifiers" + ], + "members":{ + "NamespaceIdentifier":{ + "shape":"NamespaceIdentifierUnion", + "documentation":"

    The unique identifier of the cluster or serverless namespace that you want to register.

    " + }, + "ConsumerIdentifiers":{ + "shape":"ConsumerIdentifierList", + "documentation":"

    An array containing the ID of the consumer account that you want to register the namespace to.

    " + } + } + }, + "RegisterNamespaceOutputMessage":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"NamespaceRegistrationStatus", + "documentation":"

    The registration status of the cluster or serverless namespace.

    " + } + } + }, "RejectDataShareMessage":{ "type":"structure", "required":["DataShareArn"], @@ -10886,6 +11021,24 @@ "type":"string", "sensitive":true }, + "ServerlessIdentifier":{ + "type":"structure", + "required":[ + "NamespaceIdentifier", + "WorkgroupIdentifier" + ], + "members":{ + "NamespaceIdentifier":{ + "shape":"String", + "documentation":"

    The unique identifier for the serverless namespace.

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

    The unique identifier for the workgroup associated with the serverless namespace.

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

    The identifier for a serverless namespace.

    " + }, "ServiceAuthorization":{ "type":"string", "enum":[ diff --git a/tools/code-generation/api-descriptions/redshift-serverless-2021-04-21.normal.json b/tools/code-generation/api-descriptions/redshift-serverless-2021-04-21.normal.json index 5a71966458b..dc1b9328cd4 100644 --- a/tools/code-generation/api-descriptions/redshift-serverless-2021-04-21.normal.json +++ b/tools/code-generation/api-descriptions/redshift-serverless-2021-04-21.normal.json @@ -5,12 +5,14 @@ "endpointPrefix":"redshift-serverless", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceFullName":"Redshift Serverless", "serviceId":"Redshift Serverless", "signatureVersion":"v4", "signingName":"redshift-serverless", "targetPrefix":"RedshiftServerless", - "uid":"redshift-serverless-2021-04-21" + "uid":"redshift-serverless-2021-04-21", + "auth":["aws.auth#sigv4"] }, "operations":{ "ConvertRecoveryPointToSnapshot":{ @@ -175,7 +177,7 @@ {"shape":"TooManyTagsException"}, {"shape":"Ipv6CidrBlockNotFoundException"} ], - "documentation":"

    Creates an workgroup in Amazon Redshift Serverless.

    ", + "documentation":"

    Creates an workgroup in Amazon Redshift Serverless.

    VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a workgroup is in an account with VPC BPA turned on, the following capabilities are blocked:

    • Creating a public access workgroup

    • Modifying a private workgroup to public

    • Adding a subnet with VPC BPA turned on to the workgroup when the workgroup is public

    For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.

    ", "idempotent":true }, "DeleteCustomDomainAssociation":{ @@ -343,7 +345,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ], - "documentation":"

    Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.

    By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).

     <p>The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources.</p> <p>If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p> 
    " + "documentation":"

    Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless.

    By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).

    The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources.

    If the DbName parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.

    " }, "GetCustomDomainAssociation":{ "name":"GetCustomDomainAssociation", @@ -533,6 +535,20 @@ ], "documentation":"

    Returns an array of EndpointAccess objects and relevant information.

    " }, + "ListManagedWorkgroups":{ + "name":"ListManagedWorkgroups", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListManagedWorkgroupsRequest"}, + "output":{"shape":"ListManagedWorkgroupsResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Returns information about a list of specified managed workgroups in your account.

    " + }, "ListNamespaces":{ "name":"ListNamespaces", "http":{ @@ -920,7 +936,7 @@ {"shape":"ValidationException"}, {"shape":"Ipv6CidrBlockNotFoundException"} ], - "documentation":"

    Updates a workgroup with the specified configuration settings. You can't update multiple parameters in one request. For example, you can update baseCapacity or port in a single request, but you can't update both in the same request.

    " + "documentation":"

    Updates a workgroup with the specified configuration settings. You can't update multiple parameters in one request. For example, you can update baseCapacity or port in a single request, but you can't update both in the same request.

    VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a workgroup is in an account with VPC BPA turned on, the following capabilities are blocked:

    • Creating a public access workgroup

    • Modifying a private workgroup to public

    • Adding a subnet with VPC BPA turned on to the workgroup when the workgroup is public

    For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.

    " } }, "shapes":{ @@ -2036,8 +2052,7 @@ }, "maxResults":{ "shape":"ListCustomDomainAssociationsRequestMaxResultsInteger", - "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    ", - "box":true + "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    " }, "nextToken":{ "shape":"PaginationToken", @@ -2069,8 +2084,7 @@ "members":{ "maxResults":{ "shape":"ListEndpointAccessRequestMaxResultsInteger", - "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    ", - "box":true + "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    " }, "nextToken":{ "shape":"String", @@ -2110,13 +2124,48 @@ } } }, + "ListManagedWorkgroupsRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"ListManagedWorkgroupsRequestMaxResultsInteger", + "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

    If your initial ListManagedWorkgroups operation returns a nextToken, you can include the returned nextToken in following ListManagedWorkgroups operations, which returns results in the next page.

    " + }, + "sourceArn":{ + "shape":"SourceArn", + "documentation":"

    The Amazon Resource Name (ARN) for the managed workgroup in the AWS Glue Data Catalog.

    " + } + } + }, + "ListManagedWorkgroupsRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "ListManagedWorkgroupsResponse":{ + "type":"structure", + "members":{ + "managedWorkgroups":{ + "shape":"ManagedWorkgroups", + "documentation":"

    The returned array of managed workgroups.

    " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

    If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.

    " + } + } + }, "ListNamespacesRequest":{ "type":"structure", "members":{ "maxResults":{ "shape":"ListNamespacesRequestMaxResultsInteger", - "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    ", - "box":true + "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    " }, "nextToken":{ "shape":"String", @@ -2153,8 +2202,7 @@ }, "maxResults":{ "shape":"ListRecoveryPointsRequestMaxResultsInteger", - "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    ", - "box":true + "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    " }, "namespaceArn":{ "shape":"String", @@ -2198,8 +2246,7 @@ "members":{ "maxResults":{ "shape":"ListScheduledActionsRequestMaxResultsInteger", - "documentation":"

    An optional parameter that specifies the maximum number of results to return. Use nextToken to display the next page of results.

    ", - "box":true + "documentation":"

    An optional parameter that specifies the maximum number of results to return. Use nextToken to display the next page of results.

    " }, "namespaceName":{ "shape":"NamespaceName", @@ -2235,8 +2282,7 @@ "members":{ "maxResults":{ "shape":"ListSnapshotCopyConfigurationsRequestMaxResultsInteger", - "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    ", - "box":true + "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    " }, "namespaceName":{ "shape":"NamespaceName", @@ -2277,8 +2323,7 @@ }, "maxResults":{ "shape":"ListSnapshotsRequestMaxResultsInteger", - "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    ", - "box":true + "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    " }, "namespaceArn":{ "shape":"String", @@ -2326,8 +2371,7 @@ "members":{ "maxResults":{ "shape":"ListTableRestoreStatusRequestMaxResultsInteger", - "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    ", - "box":true + "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    " }, "namespaceName":{ "shape":"String", @@ -2386,8 +2430,7 @@ "members":{ "maxResults":{ "shape":"ListUsageLimitsRequestMaxResultsInteger", - "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. The default is 100.

    ", - "box":true + "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. The default is 100.

    " }, "nextToken":{ "shape":"PaginationToken", @@ -2427,8 +2470,7 @@ "members":{ "maxResults":{ "shape":"ListWorkgroupsRequestMaxResultsInteger", - "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    ", - "box":true + "documentation":"

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

    " }, "nextToken":{ "shape":"String", @@ -2478,6 +2520,52 @@ "type":"long", "box":true }, + "ManagedWorkgroupListItem":{ + "type":"structure", + "members":{ + "creationDate":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The creation date of the managed workgroup.

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

    The unique identifier of the managed workgroup.

    " + }, + "managedWorkgroupName":{ + "shape":"ManagedWorkgroupName", + "documentation":"

    The name of the managed workgroup.

    " + }, + "sourceArn":{ + "shape":"SourceArn", + "documentation":"

    The Amazon Resource Name (ARN) for the managed workgroup in the AWS Glue Data Catalog.

    " + }, + "status":{ + "shape":"ManagedWorkgroupStatus", + "documentation":"

    The status of the managed workgroup.

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

    A collection of Amazon Redshift compute resources managed by AWS Glue.

    " + }, + "ManagedWorkgroupName":{ + "type":"string", + "max":255, + "min":3, + "pattern":"^[a-zA-Z0-9_:\\-]+$" + }, + "ManagedWorkgroupStatus":{ + "type":"string", + "enum":[ + "CREATING", + "DELETING", + "MODIFYING", + "AVAILABLE", + "NOT_AVAILABLE" + ] + }, + "ManagedWorkgroups":{ + "type":"list", + "member":{"shape":"ManagedWorkgroupListItem"} + }, "Namespace":{ "type":"structure", "members":{ @@ -3177,6 +3265,10 @@ "COPYING" ] }, + "SourceArn":{ + "type":"string", + "pattern":"^arn:aws[a-z-]*:glue:[a-z0-9-]+:\\d+:(database|catalog)[a-z0-9-:]*(?:/[A-Za-z0-9-_]{1,255})*$" + }, "State":{ "type":"string", "enum":[ @@ -3918,5 +4010,5 @@ ] } }, - "documentation":"

    This is an interface reference for Amazon Redshift Serverless. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.

    Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you focus on using your data to acquire new insights for your business and customers.

    To learn more about Amazon Redshift Serverless, see What is Amazon Redshift Serverless.

    " + "documentation":"

    This is an interface reference for Amazon Redshift Serverless. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.

    Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you focus on using your data to acquire new insights for your business and customers.

    To learn more about Amazon Redshift Serverless, see What is Amazon Redshift Serverless?.

    " } diff --git a/tools/code-generation/api-descriptions/s3-2006-03-01.normal.json b/tools/code-generation/api-descriptions/s3-2006-03-01.normal.json index c92ba74cd2f..dd378e0ef85 100644 --- a/tools/code-generation/api-descriptions/s3-2006-03-01.normal.json +++ b/tools/code-generation/api-descriptions/s3-2006-03-01.normal.json @@ -79,6 +79,22 @@ "UseS3ExpressControlEndpoint":{"value":true} } }, + "CreateBucketMetadataTableConfiguration":{ + "name":"CreateBucketMetadataTableConfiguration", + "http":{ + "method":"POST", + "requestUri":"/{Bucket}?metadataTable" + }, + "input":{"shape":"CreateBucketMetadataTableConfigurationRequest"}, + "documentation":"

    Creates a metadata table configuration for a general purpose bucket. For more information, see Accelerating data discovery with S3 Metadata in the Amazon S3 User Guide.

    Permissions

    To use this operation, you must have the following permissions. For more information, see Setting up permissions for configuring metadata tables in the Amazon S3 User Guide.

    If you also want to integrate your table bucket with Amazon Web Services analytics services so that you can query your metadata table, you need additional permissions. For more information, see Integrating Amazon S3 Tables with Amazon Web Services analytics services in the Amazon S3 User Guide.

    • s3:CreateBucketMetadataTableConfiguration

    • s3tables:CreateNamespace

    • s3tables:GetTable

    • s3tables:CreateTable

    • s3tables:PutTablePolicy

    The following operations are related to CreateBucketMetadataTableConfiguration:

    ", + "httpChecksum":{ + "requestAlgorithmMember":"ChecksumAlgorithm", + "requestChecksumRequired":true + }, + "staticContextParams":{ + "UseS3ExpressControlEndpoint":{"value":true} + } + }, "CreateMultipartUpload":{ "name":"CreateMultipartUpload", "http":{ @@ -201,6 +217,19 @@ "UseS3ExpressControlEndpoint":{"value":true} } }, + "DeleteBucketMetadataTableConfiguration":{ + "name":"DeleteBucketMetadataTableConfiguration", + "http":{ + "method":"DELETE", + "requestUri":"/{Bucket}?metadataTable", + "responseCode":204 + }, + "input":{"shape":"DeleteBucketMetadataTableConfigurationRequest"}, + "documentation":"

    Deletes a metadata table configuration from a general purpose bucket. For more information, see Accelerating data discovery with S3 Metadata in the Amazon S3 User Guide.

    Permissions

    To use this operation, you must have the s3:DeleteBucketMetadataTableConfiguration permission. For more information, see Setting up permissions for configuring metadata tables in the Amazon S3 User Guide.

    The following operations are related to DeleteBucketMetadataTableConfiguration:

    ", + "staticContextParams":{ + "UseS3ExpressControlEndpoint":{"value":true} + } + }, "DeleteBucketMetricsConfiguration":{ "name":"DeleteBucketMetricsConfiguration", "http":{ @@ -483,6 +512,19 @@ "UseS3ExpressControlEndpoint":{"value":true} } }, + "GetBucketMetadataTableConfiguration":{ + "name":"GetBucketMetadataTableConfiguration", + "http":{ + "method":"GET", + "requestUri":"/{Bucket}?metadataTable" + }, + "input":{"shape":"GetBucketMetadataTableConfigurationRequest"}, + "output":{"shape":"GetBucketMetadataTableConfigurationOutput"}, + "documentation":"

    Retrieves the metadata table configuration for a general purpose bucket. For more information, see Accelerating data discovery with S3 Metadata in the Amazon S3 User Guide.

    Permissions

    To use this operation, you must have the s3:GetBucketMetadataTableConfiguration permission. For more information, see Setting up permissions for configuring metadata tables in the Amazon S3 User Guide.

    The following operations are related to GetBucketMetadataTableConfiguration:

    ", + "staticContextParams":{ + "UseS3ExpressControlEndpoint":{"value":true} + } + }, "GetBucketMetricsConfiguration":{ "name":"GetBucketMetricsConfiguration", "http":{ @@ -2709,6 +2751,47 @@ }, "documentation":"

    The configuration information for the bucket.

    " }, + "CreateBucketMetadataTableConfigurationRequest":{ + "type":"structure", + "required":[ + "Bucket", + "MetadataTableConfiguration" + ], + "members":{ + "Bucket":{ + "shape":"BucketName", + "documentation":"

    The general purpose bucket that you want to create the metadata table configuration in.

    ", + "contextParam":{"name":"Bucket"}, + "location":"uri", + "locationName":"Bucket" + }, + "ContentMD5":{ + "shape":"ContentMD5", + "documentation":"

    The Content-MD5 header for the metadata table configuration.

    ", + "location":"header", + "locationName":"Content-MD5" + }, + "ChecksumAlgorithm":{ + "shape":"ChecksumAlgorithm", + "documentation":"

    The checksum algorithm to use with your metadata table configuration.

    ", + "location":"header", + "locationName":"x-amz-sdk-checksum-algorithm" + }, + "MetadataTableConfiguration":{ + "shape":"MetadataTableConfiguration", + "documentation":"

    The contents of your metadata table configuration.

    ", + "locationName":"MetadataTableConfiguration", + "xmlNamespace":{"uri":"http://s3.amazonaws.com/doc/2006-03-01/"} + }, + "ExpectedBucketOwner":{ + "shape":"AccountId", + "documentation":"

    The expected owner of the general purpose bucket that contains your metadata table configuration.

    ", + "location":"header", + "locationName":"x-amz-expected-bucket-owner" + } + }, + "payload":"MetadataTableConfiguration" + }, "CreateBucketOutput":{ "type":"structure", "members":{ @@ -3321,6 +3404,25 @@ } } }, + "DeleteBucketMetadataTableConfigurationRequest":{ + "type":"structure", + "required":["Bucket"], + "members":{ + "Bucket":{ + "shape":"BucketName", + "documentation":"

    The general purpose bucket that you want to remove the metadata table configuration from.

    ", + "contextParam":{"name":"Bucket"}, + "location":"uri", + "locationName":"Bucket" + }, + "ExpectedBucketOwner":{ + "shape":"AccountId", + "documentation":"

    The expected bucket owner of the general purpose bucket that you want to remove the metadata table configuration from.

    ", + "location":"header", + "locationName":"x-amz-expected-bucket-owner" + } + } + }, "DeleteBucketMetricsConfigurationRequest":{ "type":"structure", "required":[ @@ -3892,6 +3994,20 @@ "documentation":"

    Container for all error elements.

    " }, "ErrorCode":{"type":"string"}, + "ErrorDetails":{ + "type":"structure", + "members":{ + "ErrorCode":{ + "shape":"ErrorCode", + "documentation":"

    If the CreateBucketMetadataTableConfiguration request succeeds, but S3 Metadata was unable to create the table, this structure contains the error code. The possible error codes and error messages are as follows:

    • AccessDeniedCreatingResources - You don't have sufficient permissions to create the required resources. Make sure that you have s3tables:CreateNamespace, s3tables:CreateTable, s3tables:GetTable and s3tables:PutTablePolicy permissions, and then try again. To create a new metadata table, you must delete the metadata configuration for this bucket, and then create a new metadata configuration.

    • AccessDeniedWritingToTable - Unable to write to the metadata table because of missing resource permissions. To fix the resource policy, Amazon S3 needs to create a new metadata table. To create a new metadata table, you must delete the metadata configuration for this bucket, and then create a new metadata configuration.

    • DestinationTableNotFound - The destination table doesn't exist. To create a new metadata table, you must delete the metadata configuration for this bucket, and then create a new metadata configuration.

    • ServerInternalError - An internal error has occurred. To create a new metadata table, you must delete the metadata configuration for this bucket, and then create a new metadata configuration.

    • TableAlreadyExists - The table that you specified already exists in the table bucket's namespace. Specify a different table name. To create a new metadata table, you must delete the metadata configuration for this bucket, and then create a new metadata configuration.

    • TableBucketNotFound - The table bucket that you specified doesn't exist in this Amazon Web Services Region and account. Create or choose a different table bucket. To create a new metadata table, you must delete the metadata configuration for this bucket, and then create a new metadata configuration.

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

    If the CreateBucketMetadataTableConfiguration request succeeds, but S3 Metadata was unable to create the table, this structure contains the error message. The possible error codes and error messages are as follows:

    • AccessDeniedCreatingResources - You don't have sufficient permissions to create the required resources. Make sure that you have s3tables:CreateNamespace, s3tables:CreateTable, s3tables:GetTable and s3tables:PutTablePolicy permissions, and then try again. To create a new metadata table, you must delete the metadata configuration for this bucket, and then create a new metadata configuration.

    • AccessDeniedWritingToTable - Unable to write to the metadata table because of missing resource permissions. To fix the resource policy, Amazon S3 needs to create a new metadata table. To create a new metadata table, you must delete the metadata configuration for this bucket, and then create a new metadata configuration.

    • DestinationTableNotFound - The destination table doesn't exist. To create a new metadata table, you must delete the metadata configuration for this bucket, and then create a new metadata configuration.

    • ServerInternalError - An internal error has occurred. To create a new metadata table, you must delete the metadata configuration for this bucket, and then create a new metadata configuration.

    • TableAlreadyExists - The table that you specified already exists in the table bucket's namespace. Specify a different table name. To create a new metadata table, you must delete the metadata configuration for this bucket, and then create a new metadata configuration.

    • TableBucketNotFound - The table bucket that you specified doesn't exist in this Amazon Web Services Region and account. Create or choose a different table bucket. To create a new metadata table, you must delete the metadata configuration for this bucket, and then create a new metadata configuration.

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

    If the CreateBucketMetadataTableConfiguration request succeeds, but S3 Metadata was unable to create the table, this structure contains the error code and error message.

    " + }, "ErrorDocument":{ "type":"structure", "required":["Key"], @@ -4387,6 +4503,57 @@ } } }, + "GetBucketMetadataTableConfigurationOutput":{ + "type":"structure", + "members":{ + "GetBucketMetadataTableConfigurationResult":{ + "shape":"GetBucketMetadataTableConfigurationResult", + "documentation":"

    The metadata table configuration for the general purpose bucket.

    " + } + }, + "payload":"GetBucketMetadataTableConfigurationResult" + }, + "GetBucketMetadataTableConfigurationRequest":{ + "type":"structure", + "required":["Bucket"], + "members":{ + "Bucket":{ + "shape":"BucketName", + "documentation":"

    The general purpose bucket that contains the metadata table configuration that you want to retrieve.

    ", + "contextParam":{"name":"Bucket"}, + "location":"uri", + "locationName":"Bucket" + }, + "ExpectedBucketOwner":{ + "shape":"AccountId", + "documentation":"

    The expected owner of the general purpose bucket that you want to retrieve the metadata table configuration from.

    ", + "location":"header", + "locationName":"x-amz-expected-bucket-owner" + } + } + }, + "GetBucketMetadataTableConfigurationResult":{ + "type":"structure", + "required":[ + "MetadataTableConfigurationResult", + "Status" + ], + "members":{ + "MetadataTableConfigurationResult":{ + "shape":"MetadataTableConfigurationResult", + "documentation":"

    The metadata table configuration for a general purpose bucket.

    " + }, + "Status":{ + "shape":"MetadataTableStatus", + "documentation":"

    The status of the metadata table. The status values are:

    • CREATING - The metadata table is in the process of being created in the specified table bucket.

    • ACTIVE - The metadata table has been created successfully and records are being delivered to the table.

    • FAILED - Amazon S3 is unable to create the metadata table, or Amazon S3 is unable to deliver records. See ErrorDetails for details.

    " + }, + "Error":{ + "shape":"ErrorDetails", + "documentation":"

    If the CreateBucketMetadataTableConfiguration request succeeds, but S3 Metadata was unable to create the table, this structure contains the error code and error message.

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

    The metadata table configuration for a general purpose bucket.

    " + }, "GetBucketMetricsConfigurationOutput":{ "type":"structure", "members":{ @@ -7553,6 +7720,29 @@ "documentation":"

    A metadata key-value pair to store with an object.

    " }, "MetadataKey":{"type":"string"}, + "MetadataTableConfiguration":{ + "type":"structure", + "required":["S3TablesDestination"], + "members":{ + "S3TablesDestination":{ + "shape":"S3TablesDestination", + "documentation":"

    The destination information for the metadata table configuration. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name must be unique within the aws_s3_metadata namespace in the destination table bucket.

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

    The metadata table configuration for a general purpose bucket.

    " + }, + "MetadataTableConfigurationResult":{ + "type":"structure", + "required":["S3TablesDestinationResult"], + "members":{ + "S3TablesDestinationResult":{ + "shape":"S3TablesDestinationResult", + "documentation":"

    The destination information for the metadata table configuration. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name must be unique within the aws_s3_metadata namespace in the destination table bucket.

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

    The metadata table configuration for a general purpose bucket. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name must be unique within the aws_s3_metadata namespace in the destination table bucket.

    " + }, + "MetadataTableStatus":{"type":"string"}, "MetadataValue":{"type":"string"}, "Metrics":{ "type":"structure", @@ -10541,6 +10731,56 @@ }, "documentation":"

    Describes an Amazon S3 location that will receive the results of the restore request.

    " }, + "S3TablesArn":{"type":"string"}, + "S3TablesBucketArn":{"type":"string"}, + "S3TablesDestination":{ + "type":"structure", + "required":[ + "TableBucketArn", + "TableName" + ], + "members":{ + "TableBucketArn":{ + "shape":"S3TablesBucketArn", + "documentation":"

    The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket.

    " + }, + "TableName":{ + "shape":"S3TablesName", + "documentation":"

    The name for the metadata table in your metadata table configuration. The specified metadata table name must be unique within the aws_s3_metadata namespace in the destination table bucket.

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

    The destination information for the metadata table configuration. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name must be unique within the aws_s3_metadata namespace in the destination table bucket.

    " + }, + "S3TablesDestinationResult":{ + "type":"structure", + "required":[ + "TableBucketArn", + "TableName", + "TableArn", + "TableNamespace" + ], + "members":{ + "TableBucketArn":{ + "shape":"S3TablesBucketArn", + "documentation":"

    The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket.

    " + }, + "TableName":{ + "shape":"S3TablesName", + "documentation":"

    The name for the metadata table in your metadata table configuration. The specified metadata table name must be unique within the aws_s3_metadata namespace in the destination table bucket.

    " + }, + "TableArn":{ + "shape":"S3TablesArn", + "documentation":"

    The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration. The specified metadata table name must be unique within the aws_s3_metadata namespace in the destination table bucket.

    " + }, + "TableNamespace":{ + "shape":"S3TablesNamespace", + "documentation":"

    The table bucket namespace for the metadata table in your metadata table configuration. This value is always aws_s3_metadata.

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

    The destination information for the metadata table configuration. The destination table bucket must be in the same Region and Amazon Web Services account as the general purpose bucket. The specified metadata table name must be unique within the aws_s3_metadata namespace in the destination table bucket.

    " + }, + "S3TablesName":{"type":"string"}, + "S3TablesNamespace":{"type":"string"}, "SSECustomerAlgorithm":{"type":"string"}, "SSECustomerKey":{ "type":"string", diff --git a/tools/code-generation/api-descriptions/s3tables-2018-05-10.normal.json b/tools/code-generation/api-descriptions/s3tables-2018-05-10.normal.json new file mode 100644 index 00000000000..441889a7dd6 --- /dev/null +++ b/tools/code-generation/api-descriptions/s3tables-2018-05-10.normal.json @@ -0,0 +1,1978 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2018-05-10", + "auth":["aws.auth#sigv4"], + "endpointPrefix":"s3tables", + "protocol":"rest-json", + "protocols":["rest-json"], + "serviceFullName":"Amazon S3 Tables", + "serviceId":"S3Tables", + "signatureVersion":"v4", + "signingName":"s3tables", + "uid":"s3tables-2018-05-10" + }, + "operations":{ + "CreateNamespace":{ + "name":"CreateNamespace", + "http":{ + "method":"PUT", + "requestUri":"/namespaces/{tableBucketARN}", + "responseCode":200 + }, + "input":{"shape":"CreateNamespaceRequest"}, + "output":{"shape":"CreateNamespaceResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Creates a namespace. A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see Table namespaces.

    " + }, + "CreateTable":{ + "name":"CreateTable", + "http":{ + "method":"PUT", + "requestUri":"/tables/{tableBucketARN}/{namespace}", + "responseCode":200 + }, + "input":{"shape":"CreateTableRequest"}, + "output":{"shape":"CreateTableResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Creates a new table associated with the given namespace in a table bucket.

    " + }, + "CreateTableBucket":{ + "name":"CreateTableBucket", + "http":{ + "method":"PUT", + "requestUri":"/buckets", + "responseCode":200 + }, + "input":{"shape":"CreateTableBucketRequest"}, + "output":{"shape":"CreateTableBucketResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Creates a table bucket.

    " + }, + "DeleteNamespace":{ + "name":"DeleteNamespace", + "http":{ + "method":"DELETE", + "requestUri":"/namespaces/{tableBucketARN}/{namespace}", + "responseCode":204 + }, + "input":{"shape":"DeleteNamespaceRequest"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Deletes a namespace.

    ", + "idempotent":true + }, + "DeleteTable":{ + "name":"DeleteTable", + "http":{ + "method":"DELETE", + "requestUri":"/tables/{tableBucketARN}/{namespace}/{name}", + "responseCode":204 + }, + "input":{"shape":"DeleteTableRequest"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Deletes a table.

    ", + "idempotent":true + }, + "DeleteTableBucket":{ + "name":"DeleteTableBucket", + "http":{ + "method":"DELETE", + "requestUri":"/buckets/{tableBucketARN}", + "responseCode":204 + }, + "input":{"shape":"DeleteTableBucketRequest"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Deletes a table bucket.

    ", + "idempotent":true + }, + "DeleteTableBucketPolicy":{ + "name":"DeleteTableBucketPolicy", + "http":{ + "method":"DELETE", + "requestUri":"/buckets/{tableBucketARN}/policy", + "responseCode":204 + }, + "input":{"shape":"DeleteTableBucketPolicyRequest"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Deletes a table bucket policy.

    ", + "idempotent":true + }, + "DeleteTablePolicy":{ + "name":"DeleteTablePolicy", + "http":{ + "method":"DELETE", + "requestUri":"/tables/{tableBucketARN}/{namespace}/{name}/policy", + "responseCode":204 + }, + "input":{"shape":"DeleteTablePolicyRequest"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Deletes a table policy.

    ", + "idempotent":true + }, + "GetNamespace":{ + "name":"GetNamespace", + "http":{ + "method":"GET", + "requestUri":"/namespaces/{tableBucketARN}/{namespace}", + "responseCode":200 + }, + "input":{"shape":"GetNamespaceRequest"}, + "output":{"shape":"GetNamespaceResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Gets details about a namespace.

    " + }, + "GetTable":{ + "name":"GetTable", + "http":{ + "method":"GET", + "requestUri":"/tables/{tableBucketARN}/{namespace}/{name}", + "responseCode":200 + }, + "input":{"shape":"GetTableRequest"}, + "output":{"shape":"GetTableResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Gets details about a table.

    " + }, + "GetTableBucket":{ + "name":"GetTableBucket", + "http":{ + "method":"GET", + "requestUri":"/buckets/{tableBucketARN}", + "responseCode":200 + }, + "input":{"shape":"GetTableBucketRequest"}, + "output":{"shape":"GetTableBucketResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Gets details on a table bucket.

    " + }, + "GetTableBucketMaintenanceConfiguration":{ + "name":"GetTableBucketMaintenanceConfiguration", + "http":{ + "method":"GET", + "requestUri":"/buckets/{tableBucketARN}/maintenance", + "responseCode":200 + }, + "input":{"shape":"GetTableBucketMaintenanceConfigurationRequest"}, + "output":{"shape":"GetTableBucketMaintenanceConfigurationResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Gets details about a maintenance configuration for a given table bucket.

    " + }, + "GetTableBucketPolicy":{ + "name":"GetTableBucketPolicy", + "http":{ + "method":"GET", + "requestUri":"/buckets/{tableBucketARN}/policy", + "responseCode":200 + }, + "input":{"shape":"GetTableBucketPolicyRequest"}, + "output":{"shape":"GetTableBucketPolicyResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Gets details about a table bucket policy.

    " + }, + "GetTableMaintenanceConfiguration":{ + "name":"GetTableMaintenanceConfiguration", + "http":{ + "method":"GET", + "requestUri":"/tables/{tableBucketARN}/{namespace}/{name}/maintenance", + "responseCode":200 + }, + "input":{"shape":"GetTableMaintenanceConfigurationRequest"}, + "output":{"shape":"GetTableMaintenanceConfigurationResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Gets details about the maintenance configuration of a table.

    " + }, + "GetTableMaintenanceJobStatus":{ + "name":"GetTableMaintenanceJobStatus", + "http":{ + "method":"GET", + "requestUri":"/tables/{tableBucketARN}/{namespace}/{name}/maintenance-job-status", + "responseCode":200 + }, + "input":{"shape":"GetTableMaintenanceJobStatusRequest"}, + "output":{"shape":"GetTableMaintenanceJobStatusResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Gets the status of a maintenance job for a table.

    " + }, + "GetTableMetadataLocation":{ + "name":"GetTableMetadataLocation", + "http":{ + "method":"GET", + "requestUri":"/tables/{tableBucketARN}/{namespace}/{name}/metadata-location", + "responseCode":200 + }, + "input":{"shape":"GetTableMetadataLocationRequest"}, + "output":{"shape":"GetTableMetadataLocationResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Gets the location of the table metadata.

    " + }, + "GetTablePolicy":{ + "name":"GetTablePolicy", + "http":{ + "method":"GET", + "requestUri":"/tables/{tableBucketARN}/{namespace}/{name}/policy", + "responseCode":200 + }, + "input":{"shape":"GetTablePolicyRequest"}, + "output":{"shape":"GetTablePolicyResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Gets details about a table policy.

    " + }, + "ListNamespaces":{ + "name":"ListNamespaces", + "http":{ + "method":"GET", + "requestUri":"/namespaces/{tableBucketARN}", + "responseCode":200 + }, + "input":{"shape":"ListNamespacesRequest"}, + "output":{"shape":"ListNamespacesResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Lists the namespaces within a table bucket.

    " + }, + "ListTableBuckets":{ + "name":"ListTableBuckets", + "http":{ + "method":"GET", + "requestUri":"/buckets", + "responseCode":200 + }, + "input":{"shape":"ListTableBucketsRequest"}, + "output":{"shape":"ListTableBucketsResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Lists table buckets for your account.

    " + }, + "ListTables":{ + "name":"ListTables", + "http":{ + "method":"GET", + "requestUri":"/tables/{tableBucketARN}", + "responseCode":200 + }, + "input":{"shape":"ListTablesRequest"}, + "output":{"shape":"ListTablesResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    List tables in the given table bucket.

    " + }, + "PutTableBucketMaintenanceConfiguration":{ + "name":"PutTableBucketMaintenanceConfiguration", + "http":{ + "method":"PUT", + "requestUri":"/buckets/{tableBucketARN}/maintenance/{type}", + "responseCode":204 + }, + "input":{"shape":"PutTableBucketMaintenanceConfigurationRequest"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Creates a new maintenance configuration or replaces an existing maintenance configuration for a table bucket.

    " + }, + "PutTableBucketPolicy":{ + "name":"PutTableBucketPolicy", + "http":{ + "method":"PUT", + "requestUri":"/buckets/{tableBucketARN}/policy", + "responseCode":200 + }, + "input":{"shape":"PutTableBucketPolicyRequest"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Creates a new maintenance configuration or replaces an existing table bucket policy for a table bucket.

    ", + "idempotent":true + }, + "PutTableMaintenanceConfiguration":{ + "name":"PutTableMaintenanceConfiguration", + "http":{ + "method":"PUT", + "requestUri":"/tables/{tableBucketARN}/{namespace}/{name}/maintenance/{type}", + "responseCode":204 + }, + "input":{"shape":"PutTableMaintenanceConfigurationRequest"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Creates a new maintenance configuration or replaces an existing maintenance configuration for a table.

    " + }, + "PutTablePolicy":{ + "name":"PutTablePolicy", + "http":{ + "method":"PUT", + "requestUri":"/tables/{tableBucketARN}/{namespace}/{name}/policy", + "responseCode":200 + }, + "input":{"shape":"PutTablePolicyRequest"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Creates a new maintenance configuration or replaces an existing table policy for a table.

    ", + "idempotent":true + }, + "RenameTable":{ + "name":"RenameTable", + "http":{ + "method":"PUT", + "requestUri":"/tables/{tableBucketARN}/{namespace}/{name}/rename", + "responseCode":204 + }, + "input":{"shape":"RenameTableRequest"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Renames a table or a namespace.

    " + }, + "UpdateTableMetadataLocation":{ + "name":"UpdateTableMetadataLocation", + "http":{ + "method":"PUT", + "requestUri":"/tables/{tableBucketARN}/{namespace}/{name}/metadata-location", + "responseCode":200 + }, + "input":{"shape":"UpdateTableMetadataLocationRequest"}, + "output":{"shape":"UpdateTableMetadataLocationResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConflictException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

    Updates the metadata location for a table.

    " + } + }, + "shapes":{ + "AccessDeniedException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

    The action cannot be performed because you do not have the required permission.

    ", + "error":{ + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, + "AccountId":{ + "type":"string", + "max":12, + "min":12, + "pattern":"[0-9].*" + }, + "BadRequestException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

    The request is invalid or malformed.

    ", + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "ConflictException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

    The request failed because there is a conflict with a previous write. You can retry the request.

    ", + "error":{ + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "CreateNamespaceRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket to create the namespace in.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"CreateNamespaceRequestNamespaceList", + "documentation":"

    A name for the namespace.

    " + } + } + }, + "CreateNamespaceRequestNamespaceList":{ + "type":"list", + "member":{"shape":"NamespaceName"}, + "max":1, + "min":1 + }, + "CreateNamespaceResponse":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket the namespace was created in.

    " + }, + "namespace":{ + "shape":"NamespaceList", + "documentation":"

    The name of the namespace.

    " + } + } + }, + "CreateTableBucketRequest":{ + "type":"structure", + "required":["name"], + "members":{ + "name":{ + "shape":"TableBucketName", + "documentation":"

    The name for the table bucket.

    " + } + } + }, + "CreateTableBucketResponse":{ + "type":"structure", + "required":["arn"], + "members":{ + "arn":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket.

    " + } + } + }, + "CreateTableRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace", + "name", + "format" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket to create the table in.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The namespace to associated with the table.

    ", + "location":"uri", + "locationName":"namespace" + }, + "name":{ + "shape":"TableName", + "documentation":"

    The name for the table.

    " + }, + "format":{ + "shape":"OpenTableFormat", + "documentation":"

    The format for the table.

    " + } + } + }, + "CreateTableResponse":{ + "type":"structure", + "required":[ + "tableARN", + "versionToken" + ], + "members":{ + "tableARN":{ + "shape":"TableARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table.

    " + }, + "versionToken":{ + "shape":"VersionToken", + "documentation":"

    The version token of the table.

    " + } + } + }, + "DeleteNamespaceRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket associated with the namespace.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The name of the namespace.

    ", + "location":"uri", + "locationName":"namespace" + } + } + }, + "DeleteTableBucketPolicyRequest":{ + "type":"structure", + "required":["tableBucketARN"], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Number (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + } + } + }, + "DeleteTableBucketRequest":{ + "type":"structure", + "required":["tableBucketARN"], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + } + } + }, + "DeleteTablePolicyRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace", + "name" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Number (ARN) of the table bucket that contains the table.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The namespace associated with the table.

    ", + "location":"uri", + "locationName":"namespace" + }, + "name":{ + "shape":"TableName", + "documentation":"

    The table name.

    ", + "location":"uri", + "locationName":"name" + } + } + }, + "DeleteTableRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace", + "name" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket that contains the table.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The namespace associated with the table.

    ", + "location":"uri", + "locationName":"namespace" + }, + "name":{ + "shape":"TableName", + "documentation":"

    The name of the table.

    ", + "location":"uri", + "locationName":"name" + }, + "versionToken":{ + "shape":"VersionToken", + "documentation":"

    The version token of the table.

    ", + "location":"querystring", + "locationName":"versionToken" + } + } + }, + "ErrorMessage":{"type":"string"}, + "ForbiddenException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

    The caller isn't authorized to make the request.

    ", + "error":{ + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, + "GetNamespaceRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The name of the namespace.

    ", + "location":"uri", + "locationName":"namespace" + } + } + }, + "GetNamespaceResponse":{ + "type":"structure", + "required":[ + "namespace", + "createdAt", + "createdBy", + "ownerAccountId" + ], + "members":{ + "namespace":{ + "shape":"NamespaceList", + "documentation":"

    The name of the namespace.

    " + }, + "createdAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The date and time the namespace was created at.

    " + }, + "createdBy":{ + "shape":"AccountId", + "documentation":"

    The ID of the account that created the namespace.

    " + }, + "ownerAccountId":{ + "shape":"AccountId", + "documentation":"

    The ID of the account that owns the namespcace.

    " + } + } + }, + "GetTableBucketMaintenanceConfigurationRequest":{ + "type":"structure", + "required":["tableBucketARN"], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket associated with the maintenance configuration.

    ", + "location":"uri", + "locationName":"tableBucketARN" + } + } + }, + "GetTableBucketMaintenanceConfigurationResponse":{ + "type":"structure", + "required":[ + "tableBucketARN", + "configuration" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket associated with the maintenance configuration.

    " + }, + "configuration":{ + "shape":"TableBucketMaintenanceConfiguration", + "documentation":"

    Details about the maintenance configuration for the table bucket.

    " + } + } + }, + "GetTableBucketPolicyRequest":{ + "type":"structure", + "required":["tableBucketARN"], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Number (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + } + } + }, + "GetTableBucketPolicyResponse":{ + "type":"structure", + "required":["resourcePolicy"], + "members":{ + "resourcePolicy":{ + "shape":"ResourcePolicy", + "documentation":"

    The name of the resource policy.

    " + } + } + }, + "GetTableBucketRequest":{ + "type":"structure", + "required":["tableBucketARN"], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + } + } + }, + "GetTableBucketResponse":{ + "type":"structure", + "required":[ + "arn", + "name", + "ownerAccountId", + "createdAt" + ], + "members":{ + "arn":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket.

    " + }, + "name":{ + "shape":"TableBucketName", + "documentation":"

    The name of the table bucket

    " + }, + "ownerAccountId":{ + "shape":"AccountId", + "documentation":"

    The ID of the account that owns the table bucket.

    " + }, + "createdAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The date and time the table bucket was created.

    " + } + } + }, + "GetTableMaintenanceConfigurationRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace", + "name" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The namespace associated with the table.

    ", + "location":"uri", + "locationName":"namespace" + }, + "name":{ + "shape":"TableName", + "documentation":"

    The name of the table.

    ", + "location":"uri", + "locationName":"name" + } + } + }, + "GetTableMaintenanceConfigurationResponse":{ + "type":"structure", + "required":[ + "tableARN", + "configuration" + ], + "members":{ + "tableARN":{ + "shape":"TableARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table.

    " + }, + "configuration":{ + "shape":"TableMaintenanceConfiguration", + "documentation":"

    Details about the maintenance configuration for the table bucket.

    " + } + } + }, + "GetTableMaintenanceJobStatusRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace", + "name" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The name of the namespace the table is associated with.

    </p> 
    ", + "location":"uri", + "locationName":"namespace" + }, + "name":{ + "shape":"TableName", + "documentation":"

    The name of the maintenance job.

    ", + "location":"uri", + "locationName":"name" + } + } + }, + "GetTableMaintenanceJobStatusResponse":{ + "type":"structure", + "required":[ + "tableARN", + "status" + ], + "members":{ + "tableARN":{ + "shape":"TableARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table.

    " + }, + "status":{ + "shape":"TableMaintenanceJobStatus", + "documentation":"

    The status of the maintenance job.

    " + } + } + }, + "GetTableMetadataLocationRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace", + "name" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The namespace of the table.

    ", + "location":"uri", + "locationName":"namespace" + }, + "name":{ + "shape":"TableName", + "documentation":"

    The name of the table.

    ", + "location":"uri", + "locationName":"name" + } + } + }, + "GetTableMetadataLocationResponse":{ + "type":"structure", + "required":[ + "versionToken", + "warehouseLocation" + ], + "members":{ + "versionToken":{ + "shape":"VersionToken", + "documentation":"

    The version token.

    " + }, + "metadataLocation":{ + "shape":"MetadataLocation", + "documentation":"

    The metadata location.

    " + }, + "warehouseLocation":{ + "shape":"WarehouseLocation", + "documentation":"

    The warehouse location.

    " + } + } + }, + "GetTablePolicyRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace", + "name" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Number (ARN) of the table bucket that contains the table.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The namespace associated with the table.

    ", + "location":"uri", + "locationName":"namespace" + }, + "name":{ + "shape":"TableName", + "documentation":"

    The name of the table.

    ", + "location":"uri", + "locationName":"name" + } + } + }, + "GetTablePolicyResponse":{ + "type":"structure", + "required":["resourcePolicy"], + "members":{ + "resourcePolicy":{ + "shape":"ResourcePolicy", + "documentation":"

    The name of the resource policy.

    " + } + } + }, + "GetTableRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace", + "name" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket associated with the table.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The name of the namespace the table is associated with.

    ", + "location":"uri", + "locationName":"namespace" + }, + "name":{ + "shape":"TableName", + "documentation":"

    The name of the table.

    ", + "location":"uri", + "locationName":"name" + } + } + }, + "GetTableResponse":{ + "type":"structure", + "required":[ + "name", + "type", + "tableARN", + "namespace", + "versionToken", + "warehouseLocation", + "createdAt", + "createdBy", + "modifiedAt", + "modifiedBy", + "ownerAccountId", + "format" + ], + "members":{ + "name":{ + "shape":"TableName", + "documentation":"

    The name of the table.

    " + }, + "type":{ + "shape":"TableType", + "documentation":"

    The type of the table.

    " + }, + "tableARN":{ + "shape":"TableARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table.

    " + }, + "namespace":{ + "shape":"NamespaceList", + "documentation":"

    The namespace associated with the table.

    " + }, + "versionToken":{ + "shape":"VersionToken", + "documentation":"

    The version token of the table.

    " + }, + "metadataLocation":{ + "shape":"MetadataLocation", + "documentation":"

    The metadata location of the table.

    " + }, + "warehouseLocation":{ + "shape":"WarehouseLocation", + "documentation":"

    The warehouse location of the table.

    " + }, + "createdAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The date and time the table bucket was created at.

    " + }, + "createdBy":{ + "shape":"AccountId", + "documentation":"

    The ID of the account that created the table.

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

    The service that manages the table.

    " + }, + "modifiedAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The date and time the table was last modified on.

    " + }, + "modifiedBy":{ + "shape":"AccountId", + "documentation":"

    The ID of the account that last modified the table.

    " + }, + "ownerAccountId":{ + "shape":"AccountId", + "documentation":"

    The ID of the account that owns the table.

    " + }, + "format":{ + "shape":"OpenTableFormat", + "documentation":"

    The format of the table.

    " + } + } + }, + "IcebergCompactionSettings":{ + "type":"structure", + "members":{ + "targetFileSizeMB":{ + "shape":"PositiveInteger", + "documentation":"

    The target file size for the table in MB.

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

    Contains details about the compaction settings for an Iceberg table.

    " + }, + "IcebergSnapshotManagementSettings":{ + "type":"structure", + "members":{ + "minSnapshotsToKeep":{ + "shape":"PositiveInteger", + "documentation":"

    The minimum number of snapshots to keep.

    " + }, + "maxSnapshotAgeHours":{ + "shape":"PositiveInteger", + "documentation":"

    The maximum age of a snapshot before it can be expired.

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

    Contains details about the snapshot management settings for an Iceberg table. The oldest snapshot expires when its age exceeds the maxSnapshotAgeHours and the total number of snapshots exceeds the value for the minimum number of snapshots to keep minSnapshotsToKeep.

    " + }, + "IcebergUnreferencedFileRemovalSettings":{ + "type":"structure", + "members":{ + "unreferencedDays":{ + "shape":"PositiveInteger", + "documentation":"

    The number of days an object has to be unreferenced before it is marked as non-current.

     </p> 
    " + }, + "nonCurrentDays":{ + "shape":"PositiveInteger", + "documentation":"

    The number of days an object has to be non-current before it is deleted.

    </p> 
    " + } + }, + "documentation":"

    Contains details about the unreferenced file removal settings for an Iceberg table bucket.

    " + }, + "InternalServerErrorException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

    The request failed due to an internal server error.

    ", + "error":{"httpStatusCode":500}, + "exception":true, + "fault":true + }, + "JobStatus":{ + "type":"string", + "enum":[ + "Not_Yet_Run", + "Successful", + "Failed", + "Disabled" + ] + }, + "ListNamespacesLimit":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListNamespacesRequest":{ + "type":"structure", + "required":["tableBucketARN"], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "prefix":{ + "shape":"ListNamespacesRequestPrefixString", + "documentation":"

    The prefix of the namespaces.

    ", + "location":"querystring", + "locationName":"prefix" + }, + "continuationToken":{ + "shape":"NextToken", + "documentation":"

    ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key. You can use this ContinuationToken for pagination of the list results.

    ", + "location":"querystring", + "locationName":"continuationToken" + }, + "maxNamespaces":{ + "shape":"ListNamespacesLimit", + "documentation":"

    The maximum number of namespaces to return in the list.

    ", + "location":"querystring", + "locationName":"maxNamespaces" + } + } + }, + "ListNamespacesRequestPrefixString":{ + "type":"string", + "max":255, + "min":1 + }, + "ListNamespacesResponse":{ + "type":"structure", + "required":["namespaces"], + "members":{ + "namespaces":{ + "shape":"NamespaceSummaryList", + "documentation":"

    A list of namespaces.

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

    The ContinuationToken for pagination of the list results.

    " + } + } + }, + "ListTableBucketsLimit":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListTableBucketsRequest":{ + "type":"structure", + "members":{ + "prefix":{ + "shape":"ListTableBucketsRequestPrefixString", + "documentation":"

    The prefix of the table buckets.

    ", + "location":"querystring", + "locationName":"prefix" + }, + "continuationToken":{ + "shape":"NextToken", + "documentation":"

    ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key. You can use this ContinuationToken for pagination of the list results.

    ", + "location":"querystring", + "locationName":"continuationToken" + }, + "maxBuckets":{ + "shape":"ListTableBucketsLimit", + "documentation":"

    The maximum number of table buckets to return in the list.

    ", + "location":"querystring", + "locationName":"maxBuckets" + } + } + }, + "ListTableBucketsRequestPrefixString":{ + "type":"string", + "max":63, + "min":1 + }, + "ListTableBucketsResponse":{ + "type":"structure", + "required":["tableBuckets"], + "members":{ + "tableBuckets":{ + "shape":"TableBucketSummaryList", + "documentation":"

    A list of table buckets.

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

    You can use this ContinuationToken for pagination of the list results.

    " + } + } + }, + "ListTablesLimit":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListTablesRequest":{ + "type":"structure", + "required":["tableBucketARN"], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon resource Number (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The namespace of the tables.

    ", + "location":"querystring", + "locationName":"namespace" + }, + "prefix":{ + "shape":"ListTablesRequestPrefixString", + "documentation":"

    The prefix of the tables.

    ", + "location":"querystring", + "locationName":"prefix" + }, + "continuationToken":{ + "shape":"NextToken", + "documentation":"

    ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key. You can use this ContinuationToken for pagination of the list results.

    ", + "location":"querystring", + "locationName":"continuationToken" + }, + "maxTables":{ + "shape":"ListTablesLimit", + "documentation":"

    The maximum number of tables to return.

    ", + "location":"querystring", + "locationName":"maxTables" + } + } + }, + "ListTablesRequestPrefixString":{ + "type":"string", + "max":255, + "min":1 + }, + "ListTablesResponse":{ + "type":"structure", + "required":["tables"], + "members":{ + "tables":{ + "shape":"TableSummaryList", + "documentation":"

    A list of tables.

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

    You can use this ContinuationToken for pagination of the list results.

    " + } + } + }, + "MaintenanceStatus":{ + "type":"string", + "enum":[ + "enabled", + "disabled" + ] + }, + "MetadataLocation":{ + "type":"string", + "max":2048, + "min":1 + }, + "NamespaceList":{ + "type":"list", + "member":{"shape":"NamespaceName"} + }, + "NamespaceName":{ + "type":"string", + "max":255, + "min":1, + "pattern":"[0-9a-z_]*" + }, + "NamespaceSummary":{ + "type":"structure", + "required":[ + "namespace", + "createdAt", + "createdBy", + "ownerAccountId" + ], + "members":{ + "namespace":{ + "shape":"NamespaceList", + "documentation":"

    The name of the namespace.

    " + }, + "createdAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The date and time the namespace was created at.

    " + }, + "createdBy":{ + "shape":"AccountId", + "documentation":"

    The ID of the account that created the namespace.

    " + }, + "ownerAccountId":{ + "shape":"AccountId", + "documentation":"

    The ID of the account that owns the namespace.

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

    Contains details about a namespace.

    " + }, + "NamespaceSummaryList":{ + "type":"list", + "member":{"shape":"NamespaceSummary"} + }, + "NextToken":{ + "type":"string", + "max":2048, + "min":1 + }, + "NotFoundException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

    The request was rejected because the specified resource could not be found.

    ", + "error":{ + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "OpenTableFormat":{ + "type":"string", + "enum":["ICEBERG"] + }, + "PositiveInteger":{ + "type":"integer", + "box":true, + "max":2147483647, + "min":1 + }, + "PutTableBucketMaintenanceConfigurationRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "type", + "value" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket associated with the maintenance configuration.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "type":{ + "shape":"TableBucketMaintenanceType", + "documentation":"

    The type of the maintenance configuration.

    ", + "location":"uri", + "locationName":"type" + }, + "value":{ + "shape":"TableBucketMaintenanceConfigurationValue", + "documentation":"

    Defines the values of the maintenance configuration for the table bucket.

    " + } + } + }, + "PutTableBucketPolicyRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "resourcePolicy" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Number (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "resourcePolicy":{ + "shape":"ResourcePolicy", + "documentation":"

    The name of the resource policy.

    " + } + } + }, + "PutTableMaintenanceConfigurationRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace", + "name", + "type", + "value" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table associated with the maintenance configuration.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The namespace of the table.

    ", + "location":"uri", + "locationName":"namespace" + }, + "name":{ + "shape":"TableName", + "documentation":"

    The name of the maintenance configuration.

    ", + "location":"uri", + "locationName":"name" + }, + "type":{ + "shape":"TableMaintenanceType", + "documentation":"

    The type of the maintenance configuration.

    ", + "location":"uri", + "locationName":"type" + }, + "value":{ + "shape":"TableMaintenanceConfigurationValue", + "documentation":"

    Defines the values of the maintenance configuration for the table.

    " + } + } + }, + "PutTablePolicyRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace", + "name", + "resourcePolicy" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Number (ARN) of the table bucket that contains the table.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The namespace associated with the table.

    ", + "location":"uri", + "locationName":"namespace" + }, + "name":{ + "shape":"TableName", + "documentation":"

    The name of the table.

    ", + "location":"uri", + "locationName":"name" + }, + "resourcePolicy":{ + "shape":"ResourcePolicy", + "documentation":"

    The name of the resource policy.

    " + } + } + }, + "RenameTableRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace", + "name" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The namespace associated with the table.

    ", + "location":"uri", + "locationName":"namespace" + }, + "name":{ + "shape":"TableName", + "documentation":"

    The current name of the table.

    ", + "location":"uri", + "locationName":"name" + }, + "newNamespaceName":{ + "shape":"NamespaceName", + "documentation":"

    The new name for the namespace.

    " + }, + "newName":{ + "shape":"TableName", + "documentation":"

    The new name for the table.

    " + }, + "versionToken":{ + "shape":"VersionToken", + "documentation":"

    The version token of the table.

    " + } + } + }, + "ResourcePolicy":{ + "type":"string", + "max":20480, + "min":1 + }, + "String":{"type":"string"}, + "SyntheticTimestamp_date_time":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, + "TableARN":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"(arn:aws[-a-z0-9]*:[a-z0-9]+:[-a-z0-9]*:[0-9]{12}:bucket/[a-z0-9_-]{3,63}/table/[a-zA-Z0-9-_]{1,255})" + }, + "TableBucketARN":{ + "type":"string", + "pattern":"(arn:aws[-a-z0-9]*:[a-z0-9]+:[-a-z0-9]*:[0-9]{12}:bucket/[a-z0-9_-]{3,63})" + }, + "TableBucketMaintenanceConfiguration":{ + "type":"map", + "key":{"shape":"TableBucketMaintenanceType"}, + "value":{"shape":"TableBucketMaintenanceConfigurationValue"} + }, + "TableBucketMaintenanceConfigurationValue":{ + "type":"structure", + "members":{ + "status":{ + "shape":"MaintenanceStatus", + "documentation":"

    The status of the maintenance configuration.

    " + }, + "settings":{ + "shape":"TableBucketMaintenanceSettings", + "documentation":"

    Contains details about the settings of the maintenance configuration.

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

    Details about the values that define the maintenance configuration for a table bucket.

    " + }, + "TableBucketMaintenanceSettings":{ + "type":"structure", + "members":{ + "icebergUnreferencedFileRemoval":{ + "shape":"IcebergUnreferencedFileRemovalSettings", + "documentation":"

    The unreferenced file removal settings for the table bucket.

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

    Contains details about the maintenance settings for the table bucket.

    ", + "union":true + }, + "TableBucketMaintenanceType":{ + "type":"string", + "enum":["icebergUnreferencedFileRemoval"] + }, + "TableBucketName":{ + "type":"string", + "max":63, + "min":3, + "pattern":"[0-9a-z-]*" + }, + "TableBucketSummary":{ + "type":"structure", + "required":[ + "arn", + "name", + "ownerAccountId", + "createdAt" + ], + "members":{ + "arn":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Number (ARN) of the table bucket.

    " + }, + "name":{ + "shape":"TableBucketName", + "documentation":"

    The name of the table bucket.

    " + }, + "ownerAccountId":{ + "shape":"AccountId", + "documentation":"

    The ID of the account that owns the table bucket.

    " + }, + "createdAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The date and time the table bucket was created at.

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

    Contains details about a table bucket.

    " + }, + "TableBucketSummaryList":{ + "type":"list", + "member":{"shape":"TableBucketSummary"} + }, + "TableMaintenanceConfiguration":{ + "type":"map", + "key":{"shape":"TableMaintenanceType"}, + "value":{"shape":"TableMaintenanceConfigurationValue"} + }, + "TableMaintenanceConfigurationValue":{ + "type":"structure", + "members":{ + "status":{ + "shape":"MaintenanceStatus", + "documentation":"

    The status of the maintenance configuration.

    " + }, + "settings":{ + "shape":"TableMaintenanceSettings", + "documentation":"

    Contains details about the settings for the maintenance configuration.

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

    Contains the values that define a maintenance configuration for a table.

    " + }, + "TableMaintenanceJobStatus":{ + "type":"map", + "key":{"shape":"TableMaintenanceJobType"}, + "value":{"shape":"TableMaintenanceJobStatusValue"} + }, + "TableMaintenanceJobStatusValue":{ + "type":"structure", + "required":["status"], + "members":{ + "status":{ + "shape":"JobStatus", + "documentation":"

    The status of the job.

    " + }, + "lastRunTimestamp":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The date and time that the maintenance job was last run.

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

    The failure message of a failed job.

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

    Details about the status of a maintenance job.

    " + }, + "TableMaintenanceJobType":{ + "type":"string", + "enum":[ + "icebergCompaction", + "icebergSnapshotManagement", + "icebergUnreferencedFileRemoval" + ] + }, + "TableMaintenanceSettings":{ + "type":"structure", + "members":{ + "icebergCompaction":{ + "shape":"IcebergCompactionSettings", + "documentation":"

    Contains details about the Iceberg compaction settings for the table.

    " + }, + "icebergSnapshotManagement":{ + "shape":"IcebergSnapshotManagementSettings", + "documentation":"

    Contains details about the Iceberg snapshot management settings for the table.

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

    Contains details about maintenance settings for the table.

    ", + "union":true + }, + "TableMaintenanceType":{ + "type":"string", + "enum":[ + "icebergCompaction", + "icebergSnapshotManagement" + ] + }, + "TableName":{ + "type":"string", + "max":255, + "min":1, + "pattern":"[0-9a-z_]*" + }, + "TableSummary":{ + "type":"structure", + "required":[ + "namespace", + "name", + "type", + "tableARN", + "createdAt", + "modifiedAt" + ], + "members":{ + "namespace":{ + "shape":"NamespaceList", + "documentation":"

    The name of the namespace.

    " + }, + "name":{ + "shape":"TableName", + "documentation":"

    The name of the table.

    " + }, + "type":{ + "shape":"TableType", + "documentation":"

    The type of the table.

    " + }, + "tableARN":{ + "shape":"TableARN", + "documentation":"

    The Amazon Resource Number (ARN) of the table.

    " + }, + "createdAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The date and time the table was created at.

    " + }, + "modifiedAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The date and time the table was last modified at.

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

    Contains details about a table.

    " + }, + "TableSummaryList":{ + "type":"list", + "member":{"shape":"TableSummary"} + }, + "TableType":{ + "type":"string", + "enum":[ + "customer", + "aws" + ] + }, + "TooManyRequestsException":{ + "type":"structure", + "members":{ + "message":{"shape":"ErrorMessage"} + }, + "documentation":"

    The limit on the number of requests per second was exceeded.

    ", + "error":{ + "httpStatusCode":429, + "senderFault":true + }, + "exception":true + }, + "UpdateTableMetadataLocationRequest":{ + "type":"structure", + "required":[ + "tableBucketARN", + "namespace", + "name", + "versionToken", + "metadataLocation" + ], + "members":{ + "tableBucketARN":{ + "shape":"TableBucketARN", + "documentation":"

    The Amazon Resource Name (ARN) of the table bucket.

    ", + "location":"uri", + "locationName":"tableBucketARN" + }, + "namespace":{ + "shape":"NamespaceName", + "documentation":"

    The namespace of the table.

    ", + "location":"uri", + "locationName":"namespace" + }, + "name":{ + "shape":"TableName", + "documentation":"

    The name of the table.

    ", + "location":"uri", + "locationName":"name" + }, + "versionToken":{ + "shape":"VersionToken", + "documentation":"

    The version token of the table.

    " + }, + "metadataLocation":{ + "shape":"MetadataLocation", + "documentation":"

    The new metadata location for the table.

    " + } + } + }, + "UpdateTableMetadataLocationResponse":{ + "type":"structure", + "required":[ + "name", + "tableARN", + "namespace", + "versionToken", + "metadataLocation" + ], + "members":{ + "name":{ + "shape":"TableName", + "documentation":"

    The name of the table.

    " + }, + "tableARN":{ + "shape":"TableARN", + "documentation":"

    The Amazon Resource Number (ARN) of the table.

    " + }, + "namespace":{ + "shape":"NamespaceList", + "documentation":"

    The namespace the table is associated with.

    " + }, + "versionToken":{ + "shape":"VersionToken", + "documentation":"

    The version token of the table.

    " + }, + "metadataLocation":{ + "shape":"MetadataLocation", + "documentation":"

    The metadata location of the table.

    " + } + } + }, + "VersionToken":{ + "type":"string", + "max":2048, + "min":1 + }, + "WarehouseLocation":{ + "type":"string", + "max":2048, + "min":1 + } + }, + "documentation":"

    An Amazon S3 table represents a structured dataset consisting of tabular data in Apache Parquet format and related metadata. This data is stored inside an S3 table as a subresource. All tables in a table bucket are stored in the Apache Iceberg table format. Through integration with the AWS Glue Data Catalog you can interact with your tables using AWS analytics services, such as Amazon Athena and Amazon Redshift. Amazon S3 manages maintenance of your tables through automatic file compaction and snapshot management. For more information, see Amazon S3 table buckets.

    " +} diff --git a/tools/code-generation/endpoints/dsql-2018-05-10.endpoint-rule-set.json b/tools/code-generation/endpoints/dsql-2018-05-10.endpoint-rule-set.json index c5a9641e496..dfcc1b27f1f 100644 --- a/tools/code-generation/endpoints/dsql-2018-05-10.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/dsql-2018-05-10.endpoint-rule-set.json @@ -1,19 +1,6 @@ { "version": "1.0", "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "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, @@ -26,6 +13,12 @@ "required": false, "documentation": "Override the endpoint used to send this request", "type": "String" + }, + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" } }, "rules": [ @@ -58,35 +51,14 @@ }, { "conditions": [], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" @@ -129,208 +101,23 @@ }, 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://dsql-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://dsql-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://dsql.{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" + "endpoint": { + "url": "https://dsql-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://dsql.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://dsql.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" diff --git a/tools/code-generation/endpoints/dsql-2018-05-10.endpoint-tests.json b/tools/code-generation/endpoints/dsql-2018-05-10.endpoint-tests.json index 2f5a0ae04f9..acfcb3af4f2 100644 --- a/tools/code-generation/endpoints/dsql-2018-05-10.endpoint-tests.json +++ b/tools/code-generation/endpoints/dsql-2018-05-10.endpoint-tests.json @@ -1,174 +1,101 @@ { "testCases": [ { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For custom endpoint with region not set and fips disabled", "expect": { "endpoint": { - "url": "https://dsql-fips.us-east-1.api.aws" + "url": "https://example.com" } }, "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true + "Endpoint": "https://example.com", + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For custom endpoint with fips enabled", "expect": { - "endpoint": { - "url": "https://dsql-fips.us-east-1.amazonaws.com" - } + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false + "Endpoint": "https://example.com", + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://dsql.us-east-1.api.aws" + "url": "https://dsql-fips.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://dsql.us-east-1.amazonaws.com" + "url": "https://dsql.us-east-1.api.aws" } }, "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://dsql-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://dsql-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://dsql.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://dsql.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false + "UseFIPS": false } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://dsql-fips.us-gov-east-1.api.aws" + "url": "https://dsql-fips.cn-northwest-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true + "Region": "cn-northwest-1", + "UseFIPS": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://dsql-fips.us-gov-east-1.amazonaws.com" + "url": "https://dsql.cn-northwest-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false + "Region": "cn-northwest-1", + "UseFIPS": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://dsql.us-gov-east-1.api.aws" + "url": "https://dsql-fips.us-gov-west-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true + "Region": "us-gov-west-1", + "UseFIPS": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://dsql.us-gov-east-1.amazonaws.com" + "url": "https://dsql.us-gov-west-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false + "Region": "us-gov-west-1", + "UseFIPS": false } }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://dsql-fips.us-iso-east-1.c2s.ic.gov" @@ -176,23 +103,11 @@ }, "params": { "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false + "UseFIPS": true } }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://dsql.us-iso-east-1.c2s.ic.gov" @@ -200,23 +115,11 @@ }, "params": { "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false + "UseFIPS": false } }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://dsql-fips.us-isob-east-1.sc2s.sgov.gov" @@ -224,23 +127,11 @@ }, "params": { "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false + "UseFIPS": true } }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://dsql.us-isob-east-1.sc2s.sgov.gov" @@ -248,59 +139,55 @@ }, "params": { "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false + "UseFIPS": false } }, { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://example.com" + "url": "https://dsql-fips.eu-isoe-west-1.cloud.adc-e.uk" } }, "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" + "Region": "eu-isoe-west-1", + "UseFIPS": true } }, { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://example.com" + "url": "https://dsql.eu-isoe-west-1.cloud.adc-e.uk" } }, "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" + "Region": "eu-isoe-west-1", + "UseFIPS": false } }, { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "documentation": "For region us-isof-south-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + "endpoint": { + "url": "https://dsql-fips.us-isof-south-1.csp.hci.ic.gov" + } }, "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" + "Region": "us-isof-south-1", + "UseFIPS": true } }, { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + "endpoint": { + "url": "https://dsql.us-isof-south-1.csp.hci.ic.gov" + } }, "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" + "Region": "us-isof-south-1", + "UseFIPS": false } }, { diff --git a/tools/code-generation/endpoints/dynamodb-2011-12-05.endpoint-rule-set.json b/tools/code-generation/endpoints/dynamodb-2011-12-05.endpoint-rule-set.json index c628afe22b1..4b5d78a7b5d 100644 --- a/tools/code-generation/endpoints/dynamodb-2011-12-05.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/dynamodb-2011-12-05.endpoint-rule-set.json @@ -170,9 +170,9 @@ "properties": { "authSchemes": [ { - "name": "sigv4", + "signingRegion": "us-east-1", "signingName": "dynamodb", - "signingRegion": "us-east-1" + "name": "sigv4" } ] }, diff --git a/tools/code-generation/endpoints/dynamodb-2012-08-10.endpoint-rule-set.json b/tools/code-generation/endpoints/dynamodb-2012-08-10.endpoint-rule-set.json index c628afe22b1..4b5d78a7b5d 100644 --- a/tools/code-generation/endpoints/dynamodb-2012-08-10.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/dynamodb-2012-08-10.endpoint-rule-set.json @@ -170,9 +170,9 @@ "properties": { "authSchemes": [ { - "name": "sigv4", + "signingRegion": "us-east-1", "signingName": "dynamodb", - "signingRegion": "us-east-1" + "name": "sigv4" } ] }, diff --git a/tools/code-generation/endpoints/s3tables-2018-05-10.endpoint-rule-set.json b/tools/code-generation/endpoints/s3tables-2018-05-10.endpoint-rule-set.json new file mode 100644 index 00000000000..077f1d623b7 --- /dev/null +++ b/tools/code-generation/endpoints/s3tables-2018-05-10.endpoint-rule-set.json @@ -0,0 +1,350 @@ +{ + "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://s3tables-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://s3tables-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://s3tables.{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://s3tables.{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/s3tables-2018-05-10.endpoint-tests.json b/tools/code-generation/endpoints/s3tables-2018-05-10.endpoint-tests.json new file mode 100644 index 00000000000..b1918378b45 --- /dev/null +++ b/tools/code-generation/endpoints/s3tables-2018-05-10.endpoint-tests.json @@ -0,0 +1,314 @@ +{ + "testCases": [ + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://s3tables-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://s3tables-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://s3tables.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://s3tables.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://s3tables-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://s3tables-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://s3tables.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://s3tables.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://s3tables-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://s3tables-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://s3tables.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://s3tables.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 enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://s3tables-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 enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://s3tables.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 enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://s3tables-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 enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://s3tables.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