From 670c1d70e61aded825540c86bd57536018aaee34 Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Fri, 16 Aug 2024 18:11:01 +0000 Subject: [PATCH] Introduce Endpoint and EndpointConfig Arns in sagemaker:ListPipelineExecutionSteps API response Amazon QuickSight launches Customer Managed Key (CMK) encryption for Data Source metadata Improvements of integration between AWS Batch and EC2. Marking use case description field of account details as deprecated. Update the correct format of key and values for resource tags --- VERSION | 2 +- .../include/aws/batch/BatchClient.h | 25 +++--- .../batch/model/ComputeEnvironmentDetail.h | 17 ++++ .../model/CreateComputeEnvironmentRequest.h | 17 ++++ .../model/UpdateComputeEnvironmentRequest.h | 17 ++++ .../source/model/ComputeEnvironmentDetail.cpp | 16 +++- .../model/CreateComputeEnvironmentRequest.cpp | 9 ++- .../model/UpdateComputeEnvironmentRequest.cpp | 9 ++- .../include/aws/quicksight/QuickSightErrors.h | 1 + .../CustomerManagedKeyUnavailableException.h | 77 +++++++++++++++++++ .../source/QuickSightErrors.cpp | 12 +++ ...CustomerManagedKeyUnavailableException.cpp | 73 ++++++++++++++++++ .../model/EndpointConfigStepMetadata.h | 62 +++++++++++++++ .../sagemaker/model/EndpointStepMetadata.h | 61 +++++++++++++++ .../model/PipelineExecutionStepMetadata.h | 33 ++++++++ .../model/EndpointConfigStepMetadata.cpp | 59 ++++++++++++++ .../source/model/EndpointStepMetadata.cpp | 59 ++++++++++++++ .../model/PipelineExecutionStepMetadata.cpp | 30 +++++++- .../include/aws/core/VersionConfig.h | 4 +- .../batch-2016-08-10.normal.json | 14 +++- .../inspector2-2020-06-08.normal.json | 15 +++- .../quicksight-2018-04-01.normal.json | 15 ++++ .../sagemaker-2017-07-24.normal.json | 28 +++++++ .../sesv2-2019-09-27.normal.json | 6 +- 24 files changed, 635 insertions(+), 26 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/CustomerManagedKeyUnavailableException.h create mode 100644 generated/src/aws-cpp-sdk-quicksight/source/model/CustomerManagedKeyUnavailableException.cpp create mode 100644 generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointConfigStepMetadata.h create mode 100644 generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointStepMetadata.h create mode 100644 generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointConfigStepMetadata.cpp create mode 100644 generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointStepMetadata.cpp diff --git a/VERSION b/VERSION index 2fc2ef776e6..9bd745e2c4c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.385 \ No newline at end of file +1.11.386 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/BatchClient.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/BatchClient.h index 123d59c7f02..7356cb4eb19 100644 --- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/BatchClient.h +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/BatchClient.h @@ -90,19 +90,18 @@ namespace Batch virtual ~BatchClient(); /** - *

Cancels a job in an Batch job queue. Jobs that are in the - * SUBMITTED or PENDING are canceled. A job - * inRUNNABLE remains in RUNNABLE until it reaches the - * head of the job queue. Then the job status is updated to - * FAILED.

A PENDING job is canceled after - * all dependency jobs are completed. Therefore, it may take longer than expected - * to cancel a job in PENDING status.

When you try to cancel an - * array parent job in PENDING, Batch attempts to cancel all child - * jobs. The array parent job is canceled when all child jobs are completed.

- *

Jobs that progressed to the STARTING or - * RUNNING state aren't canceled. However, the API operation still - * succeeds, even if no job is canceled. These jobs must be terminated with the - * TerminateJob operation.

See Also:

Cancels a job in an Batch job queue. Jobs that are in a + * SUBMITTED, PENDING, or RUNNABLE state are + * cancelled and the job status is updated to FAILED.

A + * PENDING job is canceled after all dependency jobs are completed. + * Therefore, it may take longer than expected to cancel a job in + * PENDING status.

When you try to cancel an array parent job + * in PENDING, Batch attempts to cancel all child jobs. The array + * parent job is canceled when all child jobs are completed.

Jobs + * that progressed to the STARTING or RUNNING state + * aren't canceled. However, the API operation still succeeds, even if no job is + * canceled. These jobs must be terminated with the TerminateJob + * operation.

See Also:

AWS API * Reference

*/ diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ComputeEnvironmentDetail.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ComputeEnvironmentDetail.h index e82eff244ed..aa62bc75d89 100644 --- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ComputeEnvironmentDetail.h +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ComputeEnvironmentDetail.h @@ -283,6 +283,20 @@ namespace Model inline ComputeEnvironmentDetail& WithUuid(Aws::String&& value) { SetUuid(std::move(value)); return *this;} inline ComputeEnvironmentDetail& WithUuid(const char* value) { SetUuid(value); return *this;} ///@} + + ///@{ + /** + *

Reserved.

+ */ + inline const Aws::String& GetContext() const{ return m_context; } + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + inline void SetContext(const Aws::String& value) { m_contextHasBeenSet = true; m_context = value; } + inline void SetContext(Aws::String&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + inline void SetContext(const char* value) { m_contextHasBeenSet = true; m_context.assign(value); } + inline ComputeEnvironmentDetail& WithContext(const Aws::String& value) { SetContext(value); return *this;} + inline ComputeEnvironmentDetail& WithContext(Aws::String&& value) { SetContext(std::move(value)); return *this;} + inline ComputeEnvironmentDetail& WithContext(const char* value) { SetContext(value); return *this;} + ///@} private: Aws::String m_computeEnvironmentName; @@ -329,6 +343,9 @@ namespace Model Aws::String m_uuid; bool m_uuidHasBeenSet = false; + + Aws::String m_context; + bool m_contextHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/CreateComputeEnvironmentRequest.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/CreateComputeEnvironmentRequest.h index 9c603a0ca35..c12ea82959a 100644 --- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/CreateComputeEnvironmentRequest.h +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/CreateComputeEnvironmentRequest.h @@ -210,6 +210,20 @@ namespace Model inline CreateComputeEnvironmentRequest& WithEksConfiguration(const EksConfiguration& value) { SetEksConfiguration(value); return *this;} inline CreateComputeEnvironmentRequest& WithEksConfiguration(EksConfiguration&& value) { SetEksConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

Reserved.

+ */ + inline const Aws::String& GetContext() const{ return m_context; } + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + inline void SetContext(const Aws::String& value) { m_contextHasBeenSet = true; m_context = value; } + inline void SetContext(Aws::String&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + inline void SetContext(const char* value) { m_contextHasBeenSet = true; m_context.assign(value); } + inline CreateComputeEnvironmentRequest& WithContext(const Aws::String& value) { SetContext(value); return *this;} + inline CreateComputeEnvironmentRequest& WithContext(Aws::String&& value) { SetContext(std::move(value)); return *this;} + inline CreateComputeEnvironmentRequest& WithContext(const char* value) { SetContext(value); return *this;} + ///@} private: Aws::String m_computeEnvironmentName; @@ -235,6 +249,9 @@ namespace Model EksConfiguration m_eksConfiguration; bool m_eksConfigurationHasBeenSet = false; + + Aws::String m_context; + bool m_contextHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/UpdateComputeEnvironmentRequest.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/UpdateComputeEnvironmentRequest.h index 80d1642058a..205576068e3 100644 --- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/UpdateComputeEnvironmentRequest.h +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/UpdateComputeEnvironmentRequest.h @@ -163,6 +163,20 @@ namespace Model inline UpdateComputeEnvironmentRequest& WithUpdatePolicy(const UpdatePolicy& value) { SetUpdatePolicy(value); return *this;} inline UpdateComputeEnvironmentRequest& WithUpdatePolicy(UpdatePolicy&& value) { SetUpdatePolicy(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

Reserved.

+ */ + inline const Aws::String& GetContext() const{ return m_context; } + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + inline void SetContext(const Aws::String& value) { m_contextHasBeenSet = true; m_context = value; } + inline void SetContext(Aws::String&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + inline void SetContext(const char* value) { m_contextHasBeenSet = true; m_context.assign(value); } + inline UpdateComputeEnvironmentRequest& WithContext(const Aws::String& value) { SetContext(value); return *this;} + inline UpdateComputeEnvironmentRequest& WithContext(Aws::String&& value) { SetContext(std::move(value)); return *this;} + inline UpdateComputeEnvironmentRequest& WithContext(const char* value) { SetContext(value); return *this;} + ///@} private: Aws::String m_computeEnvironment; @@ -182,6 +196,9 @@ namespace Model UpdatePolicy m_updatePolicy; bool m_updatePolicyHasBeenSet = false; + + Aws::String m_context; + bool m_contextHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-batch/source/model/ComputeEnvironmentDetail.cpp b/generated/src/aws-cpp-sdk-batch/source/model/ComputeEnvironmentDetail.cpp index 888261f7f84..91b9bce3ef2 100644 --- a/generated/src/aws-cpp-sdk-batch/source/model/ComputeEnvironmentDetail.cpp +++ b/generated/src/aws-cpp-sdk-batch/source/model/ComputeEnvironmentDetail.cpp @@ -38,7 +38,8 @@ ComputeEnvironmentDetail::ComputeEnvironmentDetail() : m_eksConfigurationHasBeenSet(false), m_containerOrchestrationType(OrchestrationType::NOT_SET), m_containerOrchestrationTypeHasBeenSet(false), - m_uuidHasBeenSet(false) + m_uuidHasBeenSet(false), + m_contextHasBeenSet(false) { } @@ -158,6 +159,13 @@ ComputeEnvironmentDetail& ComputeEnvironmentDetail::operator =(JsonView jsonValu m_uuidHasBeenSet = true; } + if(jsonValue.ValueExists("context")) + { + m_context = jsonValue.GetString("context"); + + m_contextHasBeenSet = true; + } + return *this; } @@ -256,6 +264,12 @@ JsonValue ComputeEnvironmentDetail::Jsonize() const } + if(m_contextHasBeenSet) + { + payload.WithString("context", m_context); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-batch/source/model/CreateComputeEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-batch/source/model/CreateComputeEnvironmentRequest.cpp index ab7bdd551db..4673da60598 100644 --- a/generated/src/aws-cpp-sdk-batch/source/model/CreateComputeEnvironmentRequest.cpp +++ b/generated/src/aws-cpp-sdk-batch/source/model/CreateComputeEnvironmentRequest.cpp @@ -23,7 +23,8 @@ CreateComputeEnvironmentRequest::CreateComputeEnvironmentRequest() : m_computeResourcesHasBeenSet(false), m_serviceRoleHasBeenSet(false), m_tagsHasBeenSet(false), - m_eksConfigurationHasBeenSet(false) + m_eksConfigurationHasBeenSet(false), + m_contextHasBeenSet(false) { } @@ -82,6 +83,12 @@ Aws::String CreateComputeEnvironmentRequest::SerializePayload() const } + if(m_contextHasBeenSet) + { + payload.WithString("context", m_context); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-batch/source/model/UpdateComputeEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-batch/source/model/UpdateComputeEnvironmentRequest.cpp index 1abbcbe1701..9bfe6d83662 100644 --- a/generated/src/aws-cpp-sdk-batch/source/model/UpdateComputeEnvironmentRequest.cpp +++ b/generated/src/aws-cpp-sdk-batch/source/model/UpdateComputeEnvironmentRequest.cpp @@ -20,7 +20,8 @@ UpdateComputeEnvironmentRequest::UpdateComputeEnvironmentRequest() : m_unmanagedvCpusHasBeenSet(false), m_computeResourcesHasBeenSet(false), m_serviceRoleHasBeenSet(false), - m_updatePolicyHasBeenSet(false) + m_updatePolicyHasBeenSet(false), + m_contextHasBeenSet(false) { } @@ -63,6 +64,12 @@ Aws::String UpdateComputeEnvironmentRequest::SerializePayload() const } + if(m_contextHasBeenSet) + { + payload.WithString("context", m_context); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightErrors.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightErrors.h index c60f2274b72..4e394e2b0be 100644 --- a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightErrors.h +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightErrors.h @@ -49,6 +49,7 @@ enum class QuickSightErrors CONCURRENT_UPDATING= static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1, CONFLICT, + CUSTOMER_MANAGED_KEY_UNAVAILABLE, DOMAIN_NOT_WHITELISTED, IDENTITY_TYPE_NOT_SUPPORTED, INVALID_NEXT_TOKEN, diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/CustomerManagedKeyUnavailableException.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/CustomerManagedKeyUnavailableException.h new file mode 100644 index 00000000000..143bfb9b2ae --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/CustomerManagedKeyUnavailableException.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The customer managed key that is registered to your Amazon QuickSight account + * is unavailable.

See Also:

AWS + * API Reference

+ */ + class CustomerManagedKeyUnavailableException + { + public: + AWS_QUICKSIGHT_API CustomerManagedKeyUnavailableException(); + AWS_QUICKSIGHT_API CustomerManagedKeyUnavailableException(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API CustomerManagedKeyUnavailableException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + + 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 CustomerManagedKeyUnavailableException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline CustomerManagedKeyUnavailableException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline CustomerManagedKeyUnavailableException& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Web Services request ID for this operation.

+ */ + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } + inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } + inline CustomerManagedKeyUnavailableException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CustomerManagedKeyUnavailableException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CustomerManagedKeyUnavailableException& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_requestId; + bool m_requestIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/QuickSightErrors.cpp b/generated/src/aws-cpp-sdk-quicksight/source/QuickSightErrors.cpp index d1f04c73175..b57d652ac15 100644 --- a/generated/src/aws-cpp-sdk-quicksight/source/QuickSightErrors.cpp +++ b/generated/src/aws-cpp-sdk-quicksight/source/QuickSightErrors.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -107,6 +108,12 @@ template<> AWS_QUICKSIGHT_API ThrottlingException QuickSightError::GetModeledErr return ThrottlingException(this->GetJsonPayload().View()); } +template<> AWS_QUICKSIGHT_API CustomerManagedKeyUnavailableException QuickSightError::GetModeledError() +{ + assert(this->GetErrorType() == QuickSightErrors::CUSTOMER_MANAGED_KEY_UNAVAILABLE); + return CustomerManagedKeyUnavailableException(this->GetJsonPayload().View()); +} + template<> AWS_QUICKSIGHT_API UnsupportedUserEditionException QuickSightError::GetModeledError() { assert(this->GetErrorType() == QuickSightErrors::UNSUPPORTED_USER_EDITION); @@ -160,6 +167,7 @@ static const int IDENTITY_TYPE_NOT_SUPPORTED_HASH = HashingUtils::HashString("Id static const int INVALID_NEXT_TOKEN_HASH = HashingUtils::HashString("InvalidNextTokenException"); static const int UNSUPPORTED_PRICING_PLAN_HASH = HashingUtils::HashString("UnsupportedPricingPlanException"); static const int DOMAIN_NOT_WHITELISTED_HASH = HashingUtils::HashString("DomainNotWhitelistedException"); +static const int CUSTOMER_MANAGED_KEY_UNAVAILABLE_HASH = HashingUtils::HashString("CustomerManagedKeyUnavailableException"); static const int UNSUPPORTED_USER_EDITION_HASH = HashingUtils::HashString("UnsupportedUserEditionException"); static const int SESSION_LIFETIME_IN_MINUTES_INVALID_HASH = HashingUtils::HashString("SessionLifetimeInMinutesInvalidException"); static const int PRECONDITION_NOT_MET_HASH = HashingUtils::HashString("PreconditionNotMetException"); @@ -204,6 +212,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(QuickSightErrors::DOMAIN_NOT_WHITELISTED), RetryableType::NOT_RETRYABLE); } + else if (hashCode == CUSTOMER_MANAGED_KEY_UNAVAILABLE_HASH) + { + return AWSError(static_cast(QuickSightErrors::CUSTOMER_MANAGED_KEY_UNAVAILABLE), RetryableType::NOT_RETRYABLE); + } else if (hashCode == UNSUPPORTED_USER_EDITION_HASH) { return AWSError(static_cast(QuickSightErrors::UNSUPPORTED_USER_EDITION), RetryableType::NOT_RETRYABLE); diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/CustomerManagedKeyUnavailableException.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/CustomerManagedKeyUnavailableException.cpp new file mode 100644 index 00000000000..4b368f1e12c --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/CustomerManagedKeyUnavailableException.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 QuickSight +{ +namespace Model +{ + +CustomerManagedKeyUnavailableException::CustomerManagedKeyUnavailableException() : + m_messageHasBeenSet(false), + m_requestIdHasBeenSet(false) +{ +} + +CustomerManagedKeyUnavailableException::CustomerManagedKeyUnavailableException(JsonView jsonValue) + : CustomerManagedKeyUnavailableException() +{ + *this = jsonValue; +} + +CustomerManagedKeyUnavailableException& CustomerManagedKeyUnavailableException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Message")) + { + m_message = jsonValue.GetString("Message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("RequestId")) + { + m_requestId = jsonValue.GetString("RequestId"); + + m_requestIdHasBeenSet = true; + } + + return *this; +} + +JsonValue CustomerManagedKeyUnavailableException::Jsonize() const +{ + JsonValue payload; + + if(m_messageHasBeenSet) + { + payload.WithString("Message", m_message); + + } + + if(m_requestIdHasBeenSet) + { + payload.WithString("RequestId", m_requestId); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointConfigStepMetadata.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointConfigStepMetadata.h new file mode 100644 index 00000000000..16b51e39501 --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointConfigStepMetadata.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 SageMaker +{ +namespace Model +{ + + /** + *

Metadata for an endpoint configuration step.

See Also:

AWS + * API Reference

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

The Amazon Resource Name (ARN) of the endpoint configuration used in the + * step.

+ */ + 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 EndpointConfigStepMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline EndpointConfigStepMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline EndpointConfigStepMetadata& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + private: + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + }; + +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointStepMetadata.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointStepMetadata.h new file mode 100644 index 00000000000..9109be50445 --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointStepMetadata.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 SageMaker +{ +namespace Model +{ + + /** + *

Metadata for an endpoint step.

See Also:

AWS + * API Reference

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

The Amazon Resource Name (ARN) of the endpoint in the step.

+ */ + 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 EndpointStepMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline EndpointStepMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline EndpointStepMetadata& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + private: + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + }; + +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecutionStepMetadata.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecutionStepMetadata.h index e8c48dfc435..58c6a5467f2 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecutionStepMetadata.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecutionStepMetadata.h @@ -19,6 +19,8 @@ #include #include #include +#include +#include #include namespace Aws @@ -248,6 +250,31 @@ namespace Model inline PipelineExecutionStepMetadata& WithAutoMLJob(const AutoMLJobStepMetadata& value) { SetAutoMLJob(value); return *this;} inline PipelineExecutionStepMetadata& WithAutoMLJob(AutoMLJobStepMetadata&& value) { SetAutoMLJob(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The endpoint that was invoked during this step execution.

+ */ + inline const EndpointStepMetadata& GetEndpoint() const{ return m_endpoint; } + inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } + inline void SetEndpoint(const EndpointStepMetadata& value) { m_endpointHasBeenSet = true; m_endpoint = value; } + inline void SetEndpoint(EndpointStepMetadata&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } + inline PipelineExecutionStepMetadata& WithEndpoint(const EndpointStepMetadata& value) { SetEndpoint(value); return *this;} + inline PipelineExecutionStepMetadata& WithEndpoint(EndpointStepMetadata&& value) { SetEndpoint(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The endpoint configuration used to create an endpoint during this step + * execution.

+ */ + inline const EndpointConfigStepMetadata& GetEndpointConfig() const{ return m_endpointConfig; } + inline bool EndpointConfigHasBeenSet() const { return m_endpointConfigHasBeenSet; } + inline void SetEndpointConfig(const EndpointConfigStepMetadata& value) { m_endpointConfigHasBeenSet = true; m_endpointConfig = value; } + inline void SetEndpointConfig(EndpointConfigStepMetadata&& value) { m_endpointConfigHasBeenSet = true; m_endpointConfig = std::move(value); } + inline PipelineExecutionStepMetadata& WithEndpointConfig(const EndpointConfigStepMetadata& value) { SetEndpointConfig(value); return *this;} + inline PipelineExecutionStepMetadata& WithEndpointConfig(EndpointConfigStepMetadata&& value) { SetEndpointConfig(std::move(value)); return *this;} + ///@} private: TrainingJobStepMetadata m_trainingJob; @@ -291,6 +318,12 @@ namespace Model AutoMLJobStepMetadata m_autoMLJob; bool m_autoMLJobHasBeenSet = false; + + EndpointStepMetadata m_endpoint; + bool m_endpointHasBeenSet = false; + + EndpointConfigStepMetadata m_endpointConfig; + bool m_endpointConfigHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointConfigStepMetadata.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointConfigStepMetadata.cpp new file mode 100644 index 00000000000..f1ed3473599 --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointConfigStepMetadata.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 SageMaker +{ +namespace Model +{ + +EndpointConfigStepMetadata::EndpointConfigStepMetadata() : + m_arnHasBeenSet(false) +{ +} + +EndpointConfigStepMetadata::EndpointConfigStepMetadata(JsonView jsonValue) + : EndpointConfigStepMetadata() +{ + *this = jsonValue; +} + +EndpointConfigStepMetadata& EndpointConfigStepMetadata::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + m_arnHasBeenSet = true; + } + + return *this; +} + +JsonValue EndpointConfigStepMetadata::Jsonize() const +{ + JsonValue payload; + + if(m_arnHasBeenSet) + { + payload.WithString("Arn", m_arn); + + } + + return payload; +} + +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointStepMetadata.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointStepMetadata.cpp new file mode 100644 index 00000000000..7d5c7f84a28 --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointStepMetadata.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 SageMaker +{ +namespace Model +{ + +EndpointStepMetadata::EndpointStepMetadata() : + m_arnHasBeenSet(false) +{ +} + +EndpointStepMetadata::EndpointStepMetadata(JsonView jsonValue) + : EndpointStepMetadata() +{ + *this = jsonValue; +} + +EndpointStepMetadata& EndpointStepMetadata::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + m_arnHasBeenSet = true; + } + + return *this; +} + +JsonValue EndpointStepMetadata::Jsonize() const +{ + JsonValue payload; + + if(m_arnHasBeenSet) + { + payload.WithString("Arn", m_arn); + + } + + return payload; +} + +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecutionStepMetadata.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecutionStepMetadata.cpp index a6d801fd187..be8b5a6c42c 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecutionStepMetadata.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecutionStepMetadata.cpp @@ -32,7 +32,9 @@ PipelineExecutionStepMetadata::PipelineExecutionStepMetadata() : m_qualityCheckHasBeenSet(false), m_clarifyCheckHasBeenSet(false), m_failHasBeenSet(false), - m_autoMLJobHasBeenSet(false) + m_autoMLJobHasBeenSet(false), + m_endpointHasBeenSet(false), + m_endpointConfigHasBeenSet(false) { } @@ -142,6 +144,20 @@ PipelineExecutionStepMetadata& PipelineExecutionStepMetadata::operator =(JsonVie m_autoMLJobHasBeenSet = true; } + if(jsonValue.ValueExists("Endpoint")) + { + m_endpoint = jsonValue.GetObject("Endpoint"); + + m_endpointHasBeenSet = true; + } + + if(jsonValue.ValueExists("EndpointConfig")) + { + m_endpointConfig = jsonValue.GetObject("EndpointConfig"); + + m_endpointConfigHasBeenSet = true; + } + return *this; } @@ -233,6 +249,18 @@ JsonValue PipelineExecutionStepMetadata::Jsonize() const } + if(m_endpointHasBeenSet) + { + payload.WithObject("Endpoint", m_endpoint.Jsonize()); + + } + + if(m_endpointConfigHasBeenSet) + { + payload.WithObject("EndpointConfig", m_endpointConfig.Jsonize()); + + } + return payload; } 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 b3d19ec833e..790cb17440b 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.385" +#define AWS_SDK_VERSION_STRING "1.11.386" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 385 +#define AWS_SDK_VERSION_PATCH 386 diff --git a/tools/code-generation/api-descriptions/batch-2016-08-10.normal.json b/tools/code-generation/api-descriptions/batch-2016-08-10.normal.json index b134bc2fa7c..1eac45acda4 100644 --- a/tools/code-generation/api-descriptions/batch-2016-08-10.normal.json +++ b/tools/code-generation/api-descriptions/batch-2016-08-10.normal.json @@ -26,7 +26,7 @@ {"shape":"ClientException"}, {"shape":"ServerException"} ], - "documentation":"

Cancels a job in an Batch job queue. Jobs that are in the SUBMITTED or PENDING are canceled. A job inRUNNABLE remains in RUNNABLE until it reaches the head of the job queue. Then the job status is updated to FAILED.

A PENDING job is canceled after all dependency jobs are completed. Therefore, it may take longer than expected to cancel a job in PENDING status.

When you try to cancel an array parent job in PENDING, Batch attempts to cancel all child jobs. The array parent job is canceled when all child jobs are completed.

Jobs that progressed to the STARTING or RUNNING state aren't canceled. However, the API operation still succeeds, even if no job is canceled. These jobs must be terminated with the TerminateJob operation.

" + "documentation":"

Cancels a job in an Batch job queue. Jobs that are in a SUBMITTED, PENDING, or RUNNABLE state are cancelled and the job status is updated to FAILED.

A PENDING job is canceled after all dependency jobs are completed. Therefore, it may take longer than expected to cancel a job in PENDING status.

When you try to cancel an array parent job in PENDING, Batch attempts to cancel all child jobs. The array parent job is canceled when all child jobs are completed.

Jobs that progressed to the STARTING or RUNNING state aren't canceled. However, the API operation still succeeds, even if no job is canceled. These jobs must be terminated with the TerminateJob operation.

" }, "CreateComputeEnvironment":{ "name":"CreateComputeEnvironment", @@ -681,6 +681,10 @@ "uuid":{ "shape":"String", "documentation":"

Unique identifier for the compute environment.

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

Reserved.

" } }, "documentation":"

An object that represents an Batch compute environment.

" @@ -1176,6 +1180,10 @@ "eksConfiguration":{ "shape":"EksConfiguration", "documentation":"

The details for the Amazon EKS cluster that supports the compute environment.

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

Reserved.

" } }, "documentation":"

Contains the parameters for CreateComputeEnvironment.

" @@ -4082,6 +4090,10 @@ "updatePolicy":{ "shape":"UpdatePolicy", "documentation":"

Specifies the updated infrastructure update policy for the compute environment. For more information about infrastructure updates, see Updating compute environments in the Batch User Guide.

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

Reserved.

" } }, "documentation":"

Contains the parameters for UpdateComputeEnvironment.

" diff --git a/tools/code-generation/api-descriptions/inspector2-2020-06-08.normal.json b/tools/code-generation/api-descriptions/inspector2-2020-06-08.normal.json index 9c28347bc90..6e1551274f6 100644 --- a/tools/code-generation/api-descriptions/inspector2-2020-06-08.normal.json +++ b/tools/code-generation/api-descriptions/inspector2-2020-06-08.normal.json @@ -7849,7 +7849,7 @@ }, "TagValueList":{ "type":"list", - "member":{"shape":"String"}, + "member":{"shape":"TargetResourceTagsValue"}, "max":5, "min":1 }, @@ -7870,11 +7870,22 @@ }, "TargetResourceTags":{ "type":"map", - "key":{"shape":"NonEmptyString"}, + "key":{"shape":"TargetResourceTagsKey"}, "value":{"shape":"TagValueList"}, "max":5, "min":1 }, + "TargetResourceTagsKey":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^[\\p{L}\\p{Z}\\p{N}_.:/=\\-@]*$" + }, + "TargetResourceTagsValue":{ + "type":"string", + "max":256, + "min":1 + }, "TargetStatusFilterList":{ "type":"list", "member":{"shape":"CisTargetStatusFilter"}, 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 becd2890a89..4e7264dca52 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 @@ -184,6 +184,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ResourceExistsException"}, {"shape":"ThrottlingException"}, + {"shape":"CustomerManagedKeyUnavailableException"}, {"shape":"InternalFailureException"} ], "documentation":"

Creates a data source.

" @@ -2884,6 +2885,7 @@ {"shape":"InvalidParameterValueException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, + {"shape":"CustomerManagedKeyUnavailableException"}, {"shape":"InternalFailureException"} ], "documentation":"

Updates a data source.

" @@ -9578,6 +9580,19 @@ }, "documentation":"

The configuration of custom values for the destination parameter in DestinationParameterValueConfiguration.

" }, + "CustomerManagedKeyUnavailableException":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"}, + "RequestId":{ + "shape":"String", + "documentation":"

The Amazon Web Services request ID for this operation.

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

The customer managed key that is registered to your Amazon QuickSight account is unavailable.

", + "error":{"httpStatusCode":400}, + "exception":true + }, "Dashboard":{ "type":"structure", "members":{ diff --git a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json index 67b9fe6cd6a..9b5c96fb65d 100644 --- a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json +++ b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json @@ -18182,6 +18182,16 @@ "CreationTime" ] }, + "EndpointConfigStepMetadata":{ + "type":"structure", + "members":{ + "Arn":{ + "shape":"EndpointConfigArn", + "documentation":"

The Amazon Resource Name (ARN) of the endpoint configuration used in the step.

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

Metadata for an endpoint configuration step.

" + }, "EndpointConfigSummary":{ "type":"structure", "required":[ @@ -18400,6 +18410,16 @@ "UpdateRollbackFailed" ] }, + "EndpointStepMetadata":{ + "type":"structure", + "members":{ + "Arn":{ + "shape":"EndpointArn", + "documentation":"

The Amazon Resource Name (ARN) of the endpoint in the step.

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

Metadata for an endpoint step.

" + }, "EndpointSummary":{ "type":"structure", "required":[ @@ -30960,6 +30980,14 @@ "AutoMLJob":{ "shape":"AutoMLJobStepMetadata", "documentation":"

The Amazon Resource Name (ARN) of the AutoML job that was run by this step.

" + }, + "Endpoint":{ + "shape":"EndpointStepMetadata", + "documentation":"

The endpoint that was invoked during this step execution.

" + }, + "EndpointConfig":{ + "shape":"EndpointConfigStepMetadata", + "documentation":"

The endpoint configuration used to create an endpoint during this step execution.

" } }, "documentation":"

Metadata for a step execution.

" diff --git a/tools/code-generation/api-descriptions/sesv2-2019-09-27.normal.json b/tools/code-generation/api-descriptions/sesv2-2019-09-27.normal.json index 623c3550288..1b2a0e9c1eb 100644 --- a/tools/code-generation/api-descriptions/sesv2-2019-09-27.normal.json +++ b/tools/code-generation/api-descriptions/sesv2-2019-09-27.normal.json @@ -5509,8 +5509,7 @@ "type":"structure", "required":[ "MailType", - "WebsiteURL", - "UseCaseDescription" + "WebsiteURL" ], "members":{ "MailType":{ @@ -6959,8 +6958,9 @@ }, "UseCaseDescription":{ "type":"string", + "deprecated":true, + "deprecatedMessage":"Use case description is optional and deprecated", "max":5000, - "min":1, "sensitive":true }, "UseDefaultIfPreferenceUnavailable":{"type":"boolean"},