From 670c1d70e61aded825540c86bd57536018aaee34 Mon Sep 17 00:00:00 2001
From: aws-sdk-cpp-automation Cancels a job in an Batch job queue. Jobs that are in the
- * A When you try to cancel an
- * array parent job in Jobs that progressed to 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
.PENDING
job is canceled after
- * all dependency jobs are completed. Therefore, it may take longer than expected
- * to cancel a job in PENDING
status.PENDING
, Batch attempts to cancel all child
- * jobs. The array parent job is canceled when all child jobs are completed.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.
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_castThe customer managed key that is registered to your Amazon QuickSight account + * is unavailable.
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 @@ #includeMetadata for an endpoint configuration step.
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 +#includeMetadata for an endpoint step.
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 @@ #includeThe 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. + */ + +#includeCancels 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.
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.
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
.
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
.
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
.
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"},