From 9c5a27ae0006337d6a4d8fa9b23f585707f1aff7 Mon Sep 17 00:00:00 2001
From: aws-sdk-cpp-automation This is a Preview release of the Application Signals API
- * Reference. Operations and parameters are subject to change before the general
- * availability release. Use CloudWatch Application Signals for
- * comprehensive observability of your cloud-based applications. It enables
- * real-time service health dashboards and helps you track long-term performance
- * trends against your business goals. The application-centric view provides you
- * with unified visibility across your applications, services, and dependencies, so
- * you can proactively monitor and efficiently triage any issues that may arise,
- * ensuring optimal customer experience. Application Signals provides the
- * following benefits: Automatically collect metrics and traces
- * from your applications, and display key metrics such as call volume,
- * availability, latency, faults, and errors. Create and monitor
- * service level objectives (SLOs). See a map of your
- * application topology that Application Signals automatically discovers, that
- * gives you a visual representation of your applications, dependencies, and their
- * connectivity. Use CloudWatch Application Signals for comprehensive observability of your
+ * cloud-based applications. It enables real-time service health dashboards and
+ * helps you track long-term performance trends against your business goals. The
+ * application-centric view provides you with unified visibility across your
+ * applications, services, and dependencies, so you can proactively monitor and
+ * efficiently triage any issues that may arise, ensuring optimal customer
+ * experience. Application Signals provides the following benefits: Automatically collect metrics and traces from your applications, and
+ * display key metrics such as call volume, availability, latency, faults, and
+ * errors. Create and monitor service level objectives (SLOs).
+ * See a map of your application topology that Application
+ * Signals automatically discovers, that gives you a visual representation of your
+ * applications, dependencies, and their connectivity. Application Signals works with CloudWatch RUM, CloudWatch Synthetics
+ * canaries, and Amazon Web Services Service Catalog AppRegistry, to display your
+ * client pages, Synthetics canaries, and application names within dashboards and
+ * maps. The start of the time period to retrieve information about. When used in a
* raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
- *
+ *
+ *
+ * 1698778057
1698778057
Your requested start time will be rounded to the + * nearest hour.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } @@ -58,7 +59,8 @@ namespace Model /** *The end of the time period to retrieve information about. When used in a raw
* HTTP Query API, it is formatted as be epoch time in seconds. For example:
- * 1698778057
1698778057
Your requested start time will be rounded to the + * nearest hour.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/GetServiceResult.h b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/GetServiceResult.h index e58a4e19066..04f991738ed 100644 --- a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/GetServiceResult.h +++ b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/GetServiceResult.h @@ -7,7 +7,9 @@ #includeThe start time of the data included in the response. In a raw HTTP Query API,
* it is formatted as be epoch time in seconds. For example:
- * 1698778057
.
1698778057
. This displays the time that Application Signals + * used for the request. It might not match your request exactly, because it was + * rounded to the nearest hour.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } @@ -62,7 +66,9 @@ namespace Model /** *The end time of the data included in the response. In a raw HTTP Query API,
* it is formatted as be epoch time in seconds. For example:
- * 1698778057
.
1698778057
. This displays the time that Application Signals + * used for the request. It might not match your request exactly, because it was + * rounded to the nearest hour.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } @@ -71,6 +77,23 @@ namespace Model inline GetServiceResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} ///@} + ///@{ + /** + *An array of string-to-string maps that each contain information about one log + * group associated with this service. Each string-to-string map includes the + * following fields:
"Type": "AWS::Resource"
"ResourceType": "AWS::Logs::LogGroup"
"Identifier": "name-of-log-group"
The start of the time period to retrieve information about. When used in a
* raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
- * 1698778057
1698778057
Your requested start time will be rounded to the + * nearest hour.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } @@ -58,7 +59,8 @@ namespace Model /** *The end of the time period to retrieve information about. When used in a raw
* HTTP Query API, it is formatted as be epoch time in seconds. For example:
- * 1698778057
1698778057
Your requested end time will be rounded to the + * nearest hour.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceDependenciesResult.h b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceDependenciesResult.h index 2087c519b96..fef4189a112 100644 --- a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceDependenciesResult.h +++ b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceDependenciesResult.h @@ -39,7 +39,9 @@ namespace Model /** *The start of the time period that the returned information applies to. When
* used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For
- * example: 1698778057
1698778057
This displays the time that Application + * Signals used for the request. It might not match your request exactly, because + * it was rounded to the nearest hour.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } @@ -52,7 +54,9 @@ namespace Model /** *The end of the time period that the returned information applies to. When
* used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For
- * example: 1698778057
1698778057
This displays the time that Application + * Signals used for the request. It might not match your request exactly, because + * it was rounded to the nearest hour.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } diff --git a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceDependentsRequest.h b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceDependentsRequest.h index b27644df8c6..f7652929304 100644 --- a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceDependentsRequest.h +++ b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceDependentsRequest.h @@ -44,7 +44,8 @@ namespace Model /** *The start of the time period to retrieve information about. When used in a
* raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
- * 1698778057
1698778057
Your requested start time will be rounded to the + * nearest hour.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } @@ -58,7 +59,8 @@ namespace Model /** *The end of the time period to retrieve information about. When used in a raw
* HTTP Query API, it is formatted as be epoch time in seconds. For example:
- * 1698778057
1698778057
Your requested start time will be rounded to the + * nearest hour.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceDependentsResult.h b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceDependentsResult.h index b026c5160ce..9a9cf6f401b 100644 --- a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceDependentsResult.h +++ b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceDependentsResult.h @@ -39,7 +39,9 @@ namespace Model /** *The start of the time period that the returned information applies to. When
* used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For
- * example: 1698778057
1698778057
This displays the time that Application + * Signals used for the request. It might not match your request exactly, because + * it was rounded to the nearest hour.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } @@ -52,7 +54,9 @@ namespace Model /** *The end of the time period that the returned information applies to. When
* used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For
- * example: 1698778057
1698778057
This displays the time that Application + * Signals used for the request. It might not match your request exactly, because + * it was rounded to the nearest hour.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } diff --git a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceOperationsRequest.h b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceOperationsRequest.h index f4b77235dd0..cce42b0a7d8 100644 --- a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceOperationsRequest.h +++ b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceOperationsRequest.h @@ -44,7 +44,8 @@ namespace Model /** *The start of the time period to retrieve information about. When used in a
* raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
- * 1698778057
1698778057
Your requested start time will be rounded to the + * nearest hour.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } @@ -58,7 +59,8 @@ namespace Model /** *The end of the time period to retrieve information about. When used in a raw
* HTTP Query API, it is formatted as be epoch time in seconds. For example:
- * 1698778057
1698778057
Your requested end time will be rounded to the + * nearest hour.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceOperationsResult.h b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceOperationsResult.h index d7b9c51eacf..a20f9ca3a54 100644 --- a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceOperationsResult.h +++ b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServiceOperationsResult.h @@ -39,7 +39,9 @@ namespace Model /** *The start of the time period that the returned information applies to. When
* used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For
- * example: 1698778057
1698778057
This displays the time that Application + * Signals used for the request. It might not match your request exactly, because + * it was rounded to the nearest hour.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } @@ -52,7 +54,9 @@ namespace Model /** *The end of the time period that the returned information applies to. When
* used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For
- * example: 1698778057
1698778057
This displays the time that Application + * Signals used for the request. It might not match your request exactly, because + * it was rounded to the nearest hour.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } diff --git a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServicesRequest.h b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServicesRequest.h index fabb40fe477..9a5dae1b1c6 100644 --- a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServicesRequest.h +++ b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServicesRequest.h @@ -43,7 +43,8 @@ namespace Model /** *The start of the time period to retrieve information about. When used in a
* raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
- * 1698778057
1698778057
Your requested start time will be rounded to the + * nearest hour.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } @@ -57,7 +58,8 @@ namespace Model /** *The end of the time period to retrieve information about. When used in a raw
* HTTP Query API, it is formatted as be epoch time in seconds. For example:
- * 1698778057
1698778057
Your requested start time will be rounded to the + * nearest hour.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServicesResult.h b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServicesResult.h index 4100b629b5f..0e503643258 100644 --- a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServicesResult.h +++ b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ListServicesResult.h @@ -39,7 +39,9 @@ namespace Model /** *The start of the time period that the returned information applies to. When
* used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For
- * example: 1698778057
1698778057
This displays the time that Application + * Signals used for the request. It might not match your request exactly, because + * it was rounded to the nearest hour.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } @@ -52,7 +54,9 @@ namespace Model /** *The end of the time period that the returned information applies to. When
* used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For
- * example: 1698778057
1698778057
This displays the time that Application + * Signals used for the request. It might not match your request exactly, because + * it was rounded to the nearest hour.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } diff --git a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ResourceNotFoundException.h b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ResourceNotFoundException.h index 340f0935b01..ff9b9ad3c24 100644 --- a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ResourceNotFoundException.h +++ b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/ResourceNotFoundException.h @@ -53,7 +53,7 @@ namespace Model ///@{ /** - *Cannot find the resource id.
+ *Can't find the resource id.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/Service.h b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/Service.h index b90446467fd..7b2cc566590 100644 --- a/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/Service.h +++ b/generated/src/aws-cpp-sdk-application-signals/include/aws/application-signals/model/Service.h @@ -128,6 +128,24 @@ namespace Model inline Service& AddMetricReferences(const MetricReference& value) { m_metricReferencesHasBeenSet = true; m_metricReferences.push_back(value); return *this; } inline Service& AddMetricReferences(MetricReference&& value) { m_metricReferencesHasBeenSet = true; m_metricReferences.push_back(std::move(value)); return *this; } ///@} + + ///@{ + /** + *An array of string-to-string maps that each contain information about one log + * group associated with this service. Each string-to-string map includes the + * following fields:
"Type": "AWS::Resource"
"ResourceType": "AWS::Logs::LogGroup"
"Identifier": "name-of-log-group"
Sends messages to the specified Amazon Bedrock model. Converse
* provides a consistent interface that works with all 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.
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 Converse API examples in the Amazon Bedrock User Guide.
- *This operation requires permission for the bedrock:InvokeModel
- * action.
Amazon Bedrock doesn't store any text, images, + * or documents that you provide as content. The data is only used to generate the + * response.
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 Converse API + * examples in the Amazon Bedrock User Guide.
This operation
+ * requires permission for the bedrock:InvokeModel
action.
+ *
responseStreamingSupported
field in the response.
- * 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.
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.
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 see if a model supports streaming, call GetFoundationModel
* and check the responseStreamingSupported
field in the response.
The CLI doesn't support
- * 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.
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.
The service isn't currently available. Try again later.
+ */ + inline const ServiceUnavailableException& GetServiceUnavailableException() const{ return m_serviceUnavailableException; } + inline bool ServiceUnavailableExceptionHasBeenSet() const { return m_serviceUnavailableExceptionHasBeenSet; } + inline void SetServiceUnavailableException(const ServiceUnavailableException& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = value; } + inline void SetServiceUnavailableException(ServiceUnavailableException&& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = std::move(value); } + inline ConverseStreamOutput& WithServiceUnavailableException(const ServiceUnavailableException& value) { SetServiceUnavailableException(value); return *this;} + inline ConverseStreamOutput& WithServiceUnavailableException(ServiceUnavailableException&& value) { SetServiceUnavailableException(std::move(value)); return *this;} + ///@} private: MessageStartEvent m_messageStart; @@ -197,6 +210,9 @@ namespace Model ThrottlingException m_throttlingException; bool m_throttlingExceptionHasBeenSet = false; + + ServiceUnavailableException m_serviceUnavailableException; + bool m_serviceUnavailableExceptionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ResponseStream.h b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ResponseStream.h index 8d629fa0c52..22c206e3f80 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ResponseStream.h +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/include/aws/bedrock-runtime/model/ResponseStream.h @@ -11,6 +11,7 @@ #includeThe number or frequency of requests exceeds the limit. Resubmit your request - * later.
+ *Your request was throttled because of service-wide limitations. Resubmit your + * request later or in a different region. You can also purchase Provisioned + * Throughput to increase the rate or number of tokens you can process.
*/ inline const ThrottlingException& GetThrottlingException() const{ return m_throttlingException; } inline bool ThrottlingExceptionHasBeenSet() const { return m_throttlingExceptionHasBeenSet; } @@ -116,6 +119,16 @@ namespace Model inline ResponseStream& WithModelTimeoutException(const ModelTimeoutException& value) { SetModelTimeoutException(value); return *this;} inline ResponseStream& WithModelTimeoutException(ModelTimeoutException&& value) { SetModelTimeoutException(std::move(value)); return *this;} ///@} + + ///@{ + + inline const ServiceUnavailableException& GetServiceUnavailableException() const{ return m_serviceUnavailableException; } + inline bool ServiceUnavailableExceptionHasBeenSet() const { return m_serviceUnavailableExceptionHasBeenSet; } + inline void SetServiceUnavailableException(const ServiceUnavailableException& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = value; } + inline void SetServiceUnavailableException(ServiceUnavailableException&& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = std::move(value); } + inline ResponseStream& WithServiceUnavailableException(const ServiceUnavailableException& value) { SetServiceUnavailableException(value); return *this;} + inline ResponseStream& WithServiceUnavailableException(ServiceUnavailableException&& value) { SetServiceUnavailableException(std::move(value)); return *this;} + ///@} private: PayloadPart m_chunk; @@ -135,6 +148,9 @@ namespace Model ModelTimeoutException m_modelTimeoutException; bool m_modelTimeoutExceptionHasBeenSet = false; + + ServiceUnavailableException m_serviceUnavailableException; + bool m_serviceUnavailableExceptionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ConverseStreamHandler.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ConverseStreamHandler.cpp index 9c806b92030..57cb846ea1c 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ConverseStreamHandler.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/ConverseStreamHandler.cpp @@ -239,7 +239,7 @@ namespace Model JsonValue exceptionPayload(GetEventPayloadAsString()); if (!exceptionPayload.WasParseSuccessful()) { - AWS_LOGSTREAM_ERROR(CONVERSESTREAM_HANDLER_CLASS_TAG, "Unable to generate a proper ThrottlingException object from the response in JSON format."); + AWS_LOGSTREAM_ERROR(CONVERSESTREAM_HANDLER_CLASS_TAG, "Unable to generate a proper ServiceUnavailableException object from the response in JSON format."); auto contentTypeIter = headers.find(Aws::Utils::Event::CONTENT_TYPE_HEADER); if (contentTypeIter != headers.end()) { diff --git a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/InvokeModelWithResponseStreamHandler.cpp b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/InvokeModelWithResponseStreamHandler.cpp index 73a20458405..a8b8c6eb42b 100644 --- a/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/InvokeModelWithResponseStreamHandler.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-runtime/source/model/InvokeModelWithResponseStreamHandler.cpp @@ -148,7 +148,7 @@ namespace Model JsonValue exceptionPayload(GetEventPayloadAsString()); if (!exceptionPayload.WasParseSuccessful()) { - AWS_LOGSTREAM_ERROR(INVOKEMODELWITHRESPONSESTREAM_HANDLER_CLASS_TAG, "Unable to generate a proper ModelTimeoutException object from the response in JSON format."); + AWS_LOGSTREAM_ERROR(INVOKEMODELWITHRESPONSESTREAM_HANDLER_CLASS_TAG, "Unable to generate a proper ServiceUnavailableException object from the response in JSON format."); auto contentTypeIter = headers.find(Aws::Utils::Event::CONTENT_TYPE_HEADER); if (contentTypeIter != headers.end()) { diff --git a/generated/src/aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitErrors.h b/generated/src/aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitErrors.h index 0708b66d914..9b725d5d92c 100644 --- a/generated/src/aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitErrors.h +++ b/generated/src/aws-cpp-sdk-codecommit/include/aws/codecommit/CodeCommitErrors.h @@ -186,6 +186,7 @@ enum class CodeCommitErrors NO_CHANGE, NUMBER_OF_RULES_EXCEEDED, NUMBER_OF_RULE_TEMPLATES_EXCEEDED, + OPERATION_NOT_ALLOWED, OVERRIDE_ALREADY_SET, OVERRIDE_STATUS_REQUIRED, PARENT_COMMIT_DOES_NOT_EXIST, diff --git a/generated/src/aws-cpp-sdk-codecommit/include/aws/codecommit/model/CreateRepositoryRequest.h b/generated/src/aws-cpp-sdk-codecommit/include/aws/codecommit/model/CreateRepositoryRequest.h index 932e05ae63d..64222937e53 100644 --- a/generated/src/aws-cpp-sdk-codecommit/include/aws/codecommit/model/CreateRepositoryRequest.h +++ b/generated/src/aws-cpp-sdk-codecommit/include/aws/codecommit/model/CreateRepositoryRequest.h @@ -102,7 +102,7 @@ namespace Model *The ID of the encryption key. You can view the ID of an encryption key in the * KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more * information about acceptable values for kmsKeyID, see KeyId + * href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId">KeyId * in the Decrypt API description in the Key Management Service API * Reference.
If no key is specified, the default
* aws/codecommit
Amazon Web Services managed key is used.
The ID of the encryption key. You can view the ID of an encryption key in the * KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more * information about acceptable values for keyID, see KeyId + * href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId">KeyId * in the Decrypt API description in the Key Management Service API * Reference.
*/ diff --git a/generated/src/aws-cpp-sdk-codecommit/source/CodeCommitErrors.cpp b/generated/src/aws-cpp-sdk-codecommit/source/CodeCommitErrors.cpp index 8691288e28d..06ff5b27364 100644 --- a/generated/src/aws-cpp-sdk-codecommit/source/CodeCommitErrors.cpp +++ b/generated/src/aws-cpp-sdk-codecommit/source/CodeCommitErrors.cpp @@ -152,6 +152,7 @@ static const int SOURCE_AND_DESTINATION_ARE_SAME_HASH = HashingUtils::HashString static const int PATH_REQUIRED_HASH = HashingUtils::HashString("PathRequiredException"); static const int INVALID_DELETION_PARAMETER_HASH = HashingUtils::HashString("InvalidDeletionParameterException"); static const int INVALID_TAGS_MAP_HASH = HashingUtils::HashString("InvalidTagsMapException"); +static const int OPERATION_NOT_ALLOWED_HASH = HashingUtils::HashString("OperationNotAllowedException"); static const int INVALID_FILE_LOCATION_HASH = HashingUtils::HashString("InvalidFileLocationException"); static const int INVALID_BRANCH_NAME_HASH = HashingUtils::HashString("InvalidBranchNameException"); static const int MAXIMUM_FILE_ENTRIES_EXCEEDED_HASH = HashingUtils::HashString("MaximumFileEntriesExceededException"); @@ -891,6 +892,11 @@ static bool GetErrorForNameHelper1(int hashCode, AWSErrorGets the credentials of an environment in Amazon DataZone.
Gets an evinronment profile in Amazon DataZone.
The ID of the Amazon DataZone domain in which this environment and its + * credentials exist.
+ */ + 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 GetEnvironmentCredentialsRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline GetEnvironmentCredentialsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline GetEnvironmentCredentialsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *The ID of the environment whose credentials this operation gets.
+ */ + 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 GetEnvironmentCredentialsRequest& WithEnvironmentIdentifier(const Aws::String& value) { SetEnvironmentIdentifier(value); return *this;} + inline GetEnvironmentCredentialsRequest& WithEnvironmentIdentifier(Aws::String&& value) { SetEnvironmentIdentifier(std::move(value)); return *this;} + inline GetEnvironmentCredentialsRequest& WithEnvironmentIdentifier(const char* value) { SetEnvironmentIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_environmentIdentifier; + bool m_environmentIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetEnvironmentCredentialsResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetEnvironmentCredentialsResult.h new file mode 100644 index 00000000000..f440ce2a6f1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetEnvironmentCredentialsResult.h @@ -0,0 +1,111 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe access key ID of the environment.
+ */ + inline const Aws::String& GetAccessKeyId() const{ return m_accessKeyId; } + inline void SetAccessKeyId(const Aws::String& value) { m_accessKeyId = value; } + inline void SetAccessKeyId(Aws::String&& value) { m_accessKeyId = std::move(value); } + inline void SetAccessKeyId(const char* value) { m_accessKeyId.assign(value); } + inline GetEnvironmentCredentialsResult& WithAccessKeyId(const Aws::String& value) { SetAccessKeyId(value); return *this;} + inline GetEnvironmentCredentialsResult& WithAccessKeyId(Aws::String&& value) { SetAccessKeyId(std::move(value)); return *this;} + inline GetEnvironmentCredentialsResult& WithAccessKeyId(const char* value) { SetAccessKeyId(value); return *this;} + ///@} + + ///@{ + /** + *The expiration timestamp of the environment credentials.
+ */ + inline const Aws::Utils::DateTime& GetExpiration() const{ return m_expiration; } + inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expiration = value; } + inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expiration = std::move(value); } + inline GetEnvironmentCredentialsResult& WithExpiration(const Aws::Utils::DateTime& value) { SetExpiration(value); return *this;} + inline GetEnvironmentCredentialsResult& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The secret access key of the environment credentials.
+ */ + inline const Aws::String& GetSecretAccessKey() const{ return m_secretAccessKey; } + inline void SetSecretAccessKey(const Aws::String& value) { m_secretAccessKey = value; } + inline void SetSecretAccessKey(Aws::String&& value) { m_secretAccessKey = std::move(value); } + inline void SetSecretAccessKey(const char* value) { m_secretAccessKey.assign(value); } + inline GetEnvironmentCredentialsResult& WithSecretAccessKey(const Aws::String& value) { SetSecretAccessKey(value); return *this;} + inline GetEnvironmentCredentialsResult& WithSecretAccessKey(Aws::String&& value) { SetSecretAccessKey(std::move(value)); return *this;} + inline GetEnvironmentCredentialsResult& WithSecretAccessKey(const char* value) { SetSecretAccessKey(value); return *this;} + ///@} + + ///@{ + /** + *The session token of the environment credentials.
+ */ + inline const Aws::String& GetSessionToken() const{ return m_sessionToken; } + inline void SetSessionToken(const Aws::String& value) { m_sessionToken = value; } + inline void SetSessionToken(Aws::String&& value) { m_sessionToken = std::move(value); } + inline void SetSessionToken(const char* value) { m_sessionToken.assign(value); } + inline GetEnvironmentCredentialsResult& WithSessionToken(const Aws::String& value) { SetSessionToken(value); return *this;} + inline GetEnvironmentCredentialsResult& WithSessionToken(Aws::String&& value) { SetSessionToken(std::move(value)); return *this;} + inline GetEnvironmentCredentialsResult& WithSessionToken(const char* value) { SetSessionToken(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 GetEnvironmentCredentialsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetEnvironmentCredentialsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetEnvironmentCredentialsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_accessKeyId; + + Aws::Utils::DateTime m_expiration; + + Aws::String m_secretAccessKey; + + Aws::String m_sessionToken; + + Aws::String m_requestId; + }; + +} // 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 ed0db7f6396..af343261164 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp @@ -76,6 +76,7 @@ #includeThe ID of the AMI. An AMI is required to launch an instance. This parameter
- * is only available for fleets of type instant
. For fleets of type
- * maintain
and request
, you must specify the AMI ID in
- * the launch template.
The ID of the AMI in the format ami-17characters00000
.
Alternatively, you can specify a Systems Manager parameter, using one of the + * following formats. The Systems Manager parameter will resolve to an AMI ID on + * launch.
To reference a public parameter:
+ * resolve:ssm:public-parameter
To + * reference a parameter stored in the same account:
+ * resolve:ssm:parameter-name
+ * resolve:ssm:parameter-name:version-number
resolve:ssm:parameter-name:label
To + * reference a parameter shared from another Amazon Web Services account:
resolve:ssm:parameter-ARN
+ * resolve:ssm:parameter-ARN:version-number
resolve:ssm:parameter-ARN:label
For + * more information, see Use + * a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User + * Guide.
This parameter is only available for fleets of type
+ * instant
. For fleets of type maintain
and
+ * request
, you must specify the AMI ID in the launch template.
The ID of the AMI. An AMI is required to launch an instance. This parameter
- * is only available for fleets of type instant
. For fleets of type
- * maintain
and request
, you must specify the AMI ID in
- * the launch template.
The ID of the AMI in the format ami-17characters00000
.
Alternatively, you can specify a Systems Manager parameter, using one of the + * following formats. The Systems Manager parameter will resolve to an AMI ID on + * launch.
To reference a public parameter:
+ * resolve:ssm:public-parameter
To + * reference a parameter stored in the same account:
+ * resolve:ssm:parameter-name
+ * resolve:ssm:parameter-name:version-number
resolve:ssm:parameter-name:label
To + * reference a parameter shared from another Amazon Web Services account:
resolve:ssm:parameter-ARN
+ * resolve:ssm:parameter-ARN:version-number
resolve:ssm:parameter-ARN:label
For + * more information, see Use + * a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User + * Guide.
This parameter is only available for fleets of type
+ * instant
. For fleets of type maintain
and
+ * request
, you must specify the AMI ID in the launch template.
The ID of the AMI. Alternatively, you can specify a Systems Manager - * parameter, which will resolve to an AMI ID on launch.
Valid formats:
- * ami-17characters00000
- * resolve:ssm:parameter-name
- * resolve:ssm:parameter-name:version-number
- * resolve:ssm:parameter-name:label
- * resolve:ssm:public-parameter
Currently, - * EC2 Fleet and Spot Fleet do not support specifying a Systems Manager parameter. - * If the launch template will be used by an EC2 Fleet or Spot Fleet, you must - * specify the AMI ID.
For more information, see The ID of the AMI in the format ami-17characters00000
.
Alternatively, you can specify a Systems Manager parameter, using one of the + * following formats. The Systems Manager parameter will resolve to an AMI ID on + * launch.
To reference a public parameter:
+ * resolve:ssm:public-parameter
To + * reference a parameter stored in the same account:
+ * resolve:ssm:parameter-name
+ * resolve:ssm:parameter-name:version-number
resolve:ssm:parameter-name:label
To + * reference a parameter shared from another Amazon Web Services account:
resolve:ssm:parameter-ARN
+ * resolve:ssm:parameter-ARN:version-number
resolve:ssm:parameter-ARN:label
For + * more information, see Use * a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User - * Guide.
+ * Guide.If the launch template will be used for an EC2 Fleet or + * Spot Fleet, note the following:
Only EC2 Fleets of type
+ * instant
support specifying a Systems Manager parameter.
For EC2 Fleets of type maintain
or request
, or
+ * for Spot Fleets, you must specify the AMI ID.
Creates a repository creation template. This template is used to define the + * settings for repositories created by Amazon ECR on your behalf. For example, + * repositories created through pull through cache actions. For more information, + * see Private + * repository creation templates in the Amazon Elastic Container Registry + * User Guide.
Deletes the lifecycle policy associated with the specified * repository.
Deletes the repository policy associated with the specified * repository.
prefixes
request parameter can be used to return the details for a
+ * specific repository creation template.Retrieves an authorization token. An authorization token represents your IAM * authentication credentials and can be used to access any Amazon ECR registry @@ -1049,7 +1132,10 @@ namespace ECR * in your account for the replication process. For more information, see Using * service-linked roles for Amazon ECR in the Amazon Elastic Container - * Registry User Guide.
When configuring cross-account + * Registry User Guide. For more information on the custom role for + * replication, see Creating + * an IAM role for replication.
When configuring cross-account * replication, the destination account must grant the source account permission to * replicate. This permission is controlled using a registry permissions policy. * For more information, see PutRegistryPolicy.
Updates an existing repository creation template.
Uploads an image layer part to Amazon ECR.
When an image is pushed,
* each new image layer is uploaded in parts. The maximum size of each image layer
diff --git a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/ECRErrors.h b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/ECRErrors.h
index b9dab2f9814..c3088a13fe3 100644
--- a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/ECRErrors.h
+++ b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/ECRErrors.h
@@ -76,6 +76,8 @@ enum class ECRErrors
SCAN_NOT_FOUND,
SECRET_NOT_FOUND,
SERVER,
+ TEMPLATE_ALREADY_EXISTS,
+ TEMPLATE_NOT_FOUND,
TOO_MANY_TAGS,
UNABLE_TO_ACCESS_SECRET,
UNABLE_TO_DECRYPT_SECRET_VALUE,
diff --git a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/ECRServiceClientModel.h b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/ECRServiceClientModel.h
index 961da9e0da3..444ebf418eb 100644
--- a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/ECRServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/ECRServiceClientModel.h
@@ -25,10 +25,12 @@
#include github-container-registry
) -
* ghcr.io
Microsoft Azure Container Registry
* (azure-container-registry
) - <custom>.azurecr.io
- *
GitLab Container Registry
- * (gitlab-container-registry
) - registry.gitlab.com
The repository namespace prefix to associate with the template. All
+ * repositories created using this namespace prefix will have the settings defined
+ * in this template applied. For example, a prefix of prod
would apply
+ * to all repositories beginning with prod/
. Similarly, a prefix of
+ * prod/team
would apply to all repositories beginning with
+ * prod/team/
.
To apply a template to all repositories in your
+ * registry that don't have an associated creation template, you can use
+ * ROOT
as the prefix.
There is always an assumed
+ * /
applied to the end of the prefix. If you specify
+ * ecr-public
as the prefix, Amazon ECR treats that as
+ * ecr-public/
. When using a pull through cache rule, the repository
+ * prefix you specify during rule creation is what you should specify as your
+ * repository creation template prefix as well.
A description for the repository creation template.
+ */ + 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 CreateRepositoryCreationTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateRepositoryCreationTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateRepositoryCreationTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *The encryption configuration to use for repositories created using the + * template.
+ */ + inline const EncryptionConfigurationForRepositoryCreationTemplate& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; } + inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; } + inline void SetEncryptionConfiguration(const EncryptionConfigurationForRepositoryCreationTemplate& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; } + inline void SetEncryptionConfiguration(EncryptionConfigurationForRepositoryCreationTemplate&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); } + inline CreateRepositoryCreationTemplateRequest& WithEncryptionConfiguration(const EncryptionConfigurationForRepositoryCreationTemplate& value) { SetEncryptionConfiguration(value); return *this;} + inline CreateRepositoryCreationTemplateRequest& WithEncryptionConfiguration(EncryptionConfigurationForRepositoryCreationTemplate&& value) { SetEncryptionConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The metadata to apply to the repository to help you categorize and organize. + * Each tag consists of a key and an optional value, both of which you define. Tag + * keys can have a maximum character length of 128 characters, and tag values can + * have a maximum length of 256 characters.
+ */ + inline const Aws::VectorThe tag mutability setting for the repository. If this parameter is omitted,
+ * the default setting of MUTABLE
will be used which will allow image
+ * tags to be overwritten. If IMMUTABLE
is specified, all image tags
+ * within the repository will be immutable which will prevent them from being
+ * overwritten.
The repository policy to apply to repositories created using the template. A + * repository policy is a permissions policy associated with a repository to + * control access permissions.
+ */ + inline const Aws::String& GetRepositoryPolicy() const{ return m_repositoryPolicy; } + inline bool RepositoryPolicyHasBeenSet() const { return m_repositoryPolicyHasBeenSet; } + inline void SetRepositoryPolicy(const Aws::String& value) { m_repositoryPolicyHasBeenSet = true; m_repositoryPolicy = value; } + inline void SetRepositoryPolicy(Aws::String&& value) { m_repositoryPolicyHasBeenSet = true; m_repositoryPolicy = std::move(value); } + inline void SetRepositoryPolicy(const char* value) { m_repositoryPolicyHasBeenSet = true; m_repositoryPolicy.assign(value); } + inline CreateRepositoryCreationTemplateRequest& WithRepositoryPolicy(const Aws::String& value) { SetRepositoryPolicy(value); return *this;} + inline CreateRepositoryCreationTemplateRequest& WithRepositoryPolicy(Aws::String&& value) { SetRepositoryPolicy(std::move(value)); return *this;} + inline CreateRepositoryCreationTemplateRequest& WithRepositoryPolicy(const char* value) { SetRepositoryPolicy(value); return *this;} + ///@} + + ///@{ + /** + *The lifecycle policy to use for repositories created using the template.
+ */ + inline const Aws::String& GetLifecyclePolicy() const{ return m_lifecyclePolicy; } + inline bool LifecyclePolicyHasBeenSet() const { return m_lifecyclePolicyHasBeenSet; } + inline void SetLifecyclePolicy(const Aws::String& value) { m_lifecyclePolicyHasBeenSet = true; m_lifecyclePolicy = value; } + inline void SetLifecyclePolicy(Aws::String&& value) { m_lifecyclePolicyHasBeenSet = true; m_lifecyclePolicy = std::move(value); } + inline void SetLifecyclePolicy(const char* value) { m_lifecyclePolicyHasBeenSet = true; m_lifecyclePolicy.assign(value); } + inline CreateRepositoryCreationTemplateRequest& WithLifecyclePolicy(const Aws::String& value) { SetLifecyclePolicy(value); return *this;} + inline CreateRepositoryCreationTemplateRequest& WithLifecyclePolicy(Aws::String&& value) { SetLifecyclePolicy(std::move(value)); return *this;} + inline CreateRepositoryCreationTemplateRequest& WithLifecyclePolicy(const char* value) { SetLifecyclePolicy(value); return *this;} + ///@} + + ///@{ + /** + *A list of enumerable strings representing the Amazon ECR repository creation
+ * scenarios that this template will apply towards. The two supported scenarios are
+ * PULL_THROUGH_CACHE
and REPLICATION
The ARN of the role to be assumed by Amazon ECR. This role must be in the + * same account as the registry that you are configuring.
+ */ + inline const Aws::String& GetCustomRoleArn() const{ return m_customRoleArn; } + inline bool CustomRoleArnHasBeenSet() const { return m_customRoleArnHasBeenSet; } + inline void SetCustomRoleArn(const Aws::String& value) { m_customRoleArnHasBeenSet = true; m_customRoleArn = value; } + inline void SetCustomRoleArn(Aws::String&& value) { m_customRoleArnHasBeenSet = true; m_customRoleArn = std::move(value); } + inline void SetCustomRoleArn(const char* value) { m_customRoleArnHasBeenSet = true; m_customRoleArn.assign(value); } + inline CreateRepositoryCreationTemplateRequest& WithCustomRoleArn(const Aws::String& value) { SetCustomRoleArn(value); return *this;} + inline CreateRepositoryCreationTemplateRequest& WithCustomRoleArn(Aws::String&& value) { SetCustomRoleArn(std::move(value)); return *this;} + inline CreateRepositoryCreationTemplateRequest& WithCustomRoleArn(const char* value) { SetCustomRoleArn(value); return *this;} + ///@} + private: + + Aws::String m_prefix; + bool m_prefixHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + EncryptionConfigurationForRepositoryCreationTemplate m_encryptionConfiguration; + bool m_encryptionConfigurationHasBeenSet = false; + + Aws::VectorThe registry ID associated with the request.
+ */ + inline const Aws::String& GetRegistryId() const{ return m_registryId; } + inline void SetRegistryId(const Aws::String& value) { m_registryId = value; } + inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); } + inline void SetRegistryId(const char* value) { m_registryId.assign(value); } + inline CreateRepositoryCreationTemplateResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;} + inline CreateRepositoryCreationTemplateResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;} + inline CreateRepositoryCreationTemplateResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;} + ///@} + + ///@{ + /** + *The details of the repository creation template associated with the + * request.
+ */ + inline const RepositoryCreationTemplate& GetRepositoryCreationTemplate() const{ return m_repositoryCreationTemplate; } + inline void SetRepositoryCreationTemplate(const RepositoryCreationTemplate& value) { m_repositoryCreationTemplate = value; } + inline void SetRepositoryCreationTemplate(RepositoryCreationTemplate&& value) { m_repositoryCreationTemplate = std::move(value); } + inline CreateRepositoryCreationTemplateResult& WithRepositoryCreationTemplate(const RepositoryCreationTemplate& value) { SetRepositoryCreationTemplate(value); return *this;} + inline CreateRepositoryCreationTemplateResult& WithRepositoryCreationTemplate(RepositoryCreationTemplate&& value) { SetRepositoryCreationTemplate(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 CreateRepositoryCreationTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateRepositoryCreationTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateRepositoryCreationTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_registryId; + + RepositoryCreationTemplate m_repositoryCreationTemplate; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ECR +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DeleteRepositoryCreationTemplateRequest.h b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DeleteRepositoryCreationTemplateRequest.h new file mode 100644 index 00000000000..40908fcee50 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DeleteRepositoryCreationTemplateRequest.h @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe repository namespace prefix associated with the repository creation + * template.
+ */ + 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 DeleteRepositoryCreationTemplateRequest& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} + inline DeleteRepositoryCreationTemplateRequest& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} + inline DeleteRepositoryCreationTemplateRequest& WithPrefix(const char* value) { SetPrefix(value); return *this;} + ///@} + private: + + Aws::String m_prefix; + bool m_prefixHasBeenSet = false; + }; + +} // namespace Model +} // namespace ECR +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DeleteRepositoryCreationTemplateResult.h b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DeleteRepositoryCreationTemplateResult.h new file mode 100644 index 00000000000..9297ac9f63a --- /dev/null +++ b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DeleteRepositoryCreationTemplateResult.h @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe registry ID associated with the request.
+ */ + inline const Aws::String& GetRegistryId() const{ return m_registryId; } + inline void SetRegistryId(const Aws::String& value) { m_registryId = value; } + inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); } + inline void SetRegistryId(const char* value) { m_registryId.assign(value); } + inline DeleteRepositoryCreationTemplateResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;} + inline DeleteRepositoryCreationTemplateResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;} + inline DeleteRepositoryCreationTemplateResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;} + ///@} + + ///@{ + /** + *The details of the repository creation template that was deleted.
+ */ + inline const RepositoryCreationTemplate& GetRepositoryCreationTemplate() const{ return m_repositoryCreationTemplate; } + inline void SetRepositoryCreationTemplate(const RepositoryCreationTemplate& value) { m_repositoryCreationTemplate = value; } + inline void SetRepositoryCreationTemplate(RepositoryCreationTemplate&& value) { m_repositoryCreationTemplate = std::move(value); } + inline DeleteRepositoryCreationTemplateResult& WithRepositoryCreationTemplate(const RepositoryCreationTemplate& value) { SetRepositoryCreationTemplate(value); return *this;} + inline DeleteRepositoryCreationTemplateResult& WithRepositoryCreationTemplate(RepositoryCreationTemplate&& value) { SetRepositoryCreationTemplate(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 DeleteRepositoryCreationTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DeleteRepositoryCreationTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DeleteRepositoryCreationTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_registryId; + + RepositoryCreationTemplate m_repositoryCreationTemplate; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ECR +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DescribeRegistryResult.h b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DescribeRegistryResult.h index ae470db7069..c7ac3b4229b 100644 --- a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DescribeRegistryResult.h +++ b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DescribeRegistryResult.h @@ -35,7 +35,7 @@ namespace Model ///@{ /** - *The ID of the registry.
+ *The registry ID associated with the request.
*/ inline const Aws::String& GetRegistryId() const{ return m_registryId; } inline void SetRegistryId(const Aws::String& value) { m_registryId = value; } diff --git a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DescribeRepositoryCreationTemplatesRequest.h b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DescribeRepositoryCreationTemplatesRequest.h new file mode 100644 index 00000000000..edd7c011479 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/DescribeRepositoryCreationTemplatesRequest.h @@ -0,0 +1,110 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe repository namespace prefixes associated with the repository creation + * templates to describe. If this value is not specified, all repository creation + * templates are returned.
+ */ + inline const Aws::VectorThe nextToken
value returned from a previous paginated
+ * DescribeRepositoryCreationTemplates
request where
+ * maxResults
was used and the results exceeded the value of that
+ * parameter. Pagination continues from the end of the previous results that
+ * returned the nextToken
value. This value is null
when
+ * there are no more results to return.
This token should be treated + * as an opaque identifier that is only used to retrieve the next items in a list + * and not for other programmatic purposes.
+ */ + 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 DescribeRepositoryCreationTemplatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline DescribeRepositoryCreationTemplatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline DescribeRepositoryCreationTemplatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *The maximum number of repository results returned by
+ * DescribeRepositoryCreationTemplatesRequest
in paginated output.
+ * When this parameter is used,
+ * DescribeRepositoryCreationTemplatesRequest
only returns
+ * maxResults
results in a single page along with a
+ * nextToken
response element. The remaining results of the initial
+ * request can be seen by sending another
+ * DescribeRepositoryCreationTemplatesRequest
request with the
+ * returned nextToken
value. This value can be between 1 and 1000. If
+ * this parameter is not used, then
+ * DescribeRepositoryCreationTemplatesRequest
returns up to 100
+ * results and a nextToken
value, if applicable.
The registry ID associated with the request.
+ */ + inline const Aws::String& GetRegistryId() const{ return m_registryId; } + inline void SetRegistryId(const Aws::String& value) { m_registryId = value; } + inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); } + inline void SetRegistryId(const char* value) { m_registryId.assign(value); } + inline DescribeRepositoryCreationTemplatesResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;} + inline DescribeRepositoryCreationTemplatesResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;} + inline DescribeRepositoryCreationTemplatesResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;} + ///@} + + ///@{ + /** + *The details of the repository creation templates.
+ */ + inline const Aws::VectorThe nextToken
value to include in a future
+ * DescribeRepositoryCreationTemplates
request. When the results of a
+ * DescribeRepositoryCreationTemplates
request exceed
+ * maxResults
, this value can be used to retrieve the next page of
+ * results. This value is null
when there are no more results to
+ * return.
By default, when no
* encryption configuration is set or the AES256
encryption type is
* used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption
- * keys which encrypts your data at rest using an AES-256 encryption algorithm.
- * This does not require any action on your part.
For more control over the + * keys which encrypts your data at rest using an AES256 encryption algorithm. This + * does not require any action on your part.
For more control over the * encryption of the contents of your repository, you can use server-side * encryption with Key Management Service key stored in Key Management Service * (KMS) to encrypt your images. For more information, see in the Amazon Simple Storage Service Console Developer * Guide.
If you use the The encryption configuration to associate with the repository creation
+ * template.AES256
encryption type, Amazon ECR
* uses server-side encryption with Amazon S3-managed encryption keys which
- * encrypts the images in the repository using an AES-256 encryption algorithm. For
+ * encrypts the images in the repository using an AES256 encryption algorithm. For
* more information, see Protecting
* data using server-side encryption with Amazon S3-managed encryption keys
diff --git a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/EncryptionConfigurationForRepositoryCreationTemplate.h b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/EncryptionConfigurationForRepositoryCreationTemplate.h
new file mode 100644
index 00000000000..4175ad48ed3
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/EncryptionConfigurationForRepositoryCreationTemplate.h
@@ -0,0 +1,97 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include See Also:
AWS
+ * API Reference
The encryption type to use.
If you use the KMS
encryption
+ * type, the contents of the repository will be encrypted using server-side
+ * encryption with Key Management Service key stored in KMS. When you use KMS to
+ * encrypt your data, you can either use the default Amazon Web Services managed
+ * KMS key for Amazon ECR, or specify your own KMS key, which you already created.
+ * For more information, see Protecting
+ * data using server-side encryption with an KMS key stored in Key Management
+ * Service (SSE-KMS) in the Amazon Simple Storage Service Console Developer
+ * Guide.
If you use the AES256
encryption type, Amazon ECR
+ * uses server-side encryption with Amazon S3-managed encryption keys which
+ * encrypts the images in the repository using an AES256 encryption algorithm. For
+ * more information, see Protecting
+ * data using server-side encryption with Amazon S3-managed encryption keys
+ * (SSE-S3) in the Amazon Simple Storage Service Console Developer
+ * Guide.
If you use the KMS
encryption type, specify the KMS key to use
+ * for encryption. The full ARN of the KMS key must be specified. The key must
+ * exist in the same Region as the repository. If no key is specified, the default
+ * Amazon Web Services managed KMS key for Amazon ECR will be used.
The ID of the registry.
+ *The registry ID associated with the request.
*/ inline const Aws::String& GetRegistryId() const{ return m_registryId; } inline void SetRegistryId(const Aws::String& value) { m_registryId = value; } diff --git a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/GetRegistryScanningConfigurationResult.h b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/GetRegistryScanningConfigurationResult.h index e239562ca17..2ffd92acef6 100644 --- a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/GetRegistryScanningConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/GetRegistryScanningConfigurationResult.h @@ -35,7 +35,7 @@ namespace Model ///@{ /** - *The ID of the registry.
+ *The registry ID associated with the request.
*/ inline const Aws::String& GetRegistryId() const{ return m_registryId; } inline void SetRegistryId(const Aws::String& value) { m_registryId = value; } diff --git a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/PutRegistryPolicyResult.h b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/PutRegistryPolicyResult.h index fb4e4f3139d..aaa7a706eb3 100644 --- a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/PutRegistryPolicyResult.h +++ b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/PutRegistryPolicyResult.h @@ -34,7 +34,7 @@ namespace Model ///@{ /** - *The registry ID.
+ *The registry ID associated with the request.
*/ inline const Aws::String& GetRegistryId() const{ return m_registryId; } inline void SetRegistryId(const Aws::String& value) { m_registryId = value; } diff --git a/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/RCTAppliedFor.h b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/RCTAppliedFor.h new file mode 100644 index 00000000000..d8e9eb4f77e --- /dev/null +++ b/generated/src/aws-cpp-sdk-ecr/include/aws/ecr/model/RCTAppliedFor.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe details of the repository creation template associated with the + * request.
The repository namespace prefix associated with the repository creation + * template.
+ */ + 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 RepositoryCreationTemplate& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} + inline RepositoryCreationTemplate& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} + inline RepositoryCreationTemplate& WithPrefix(const char* value) { SetPrefix(value); return *this;} + ///@} + + ///@{ + /** + *The description associated with the repository creation template.
+ */ + 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 RepositoryCreationTemplate& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline RepositoryCreationTemplate& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline RepositoryCreationTemplate& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *The encryption configuration associated with the repository creation + * template.
+ */ + inline const EncryptionConfigurationForRepositoryCreationTemplate& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; } + inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; } + inline void SetEncryptionConfiguration(const EncryptionConfigurationForRepositoryCreationTemplate& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; } + inline void SetEncryptionConfiguration(EncryptionConfigurationForRepositoryCreationTemplate&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); } + inline RepositoryCreationTemplate& WithEncryptionConfiguration(const EncryptionConfigurationForRepositoryCreationTemplate& value) { SetEncryptionConfiguration(value); return *this;} + inline RepositoryCreationTemplate& WithEncryptionConfiguration(EncryptionConfigurationForRepositoryCreationTemplate&& value) { SetEncryptionConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The metadata to apply to the repository to help you categorize and organize. + * Each tag consists of a key and an optional value, both of which you define. Tag + * keys can have a maximum character length of 128 characters, and tag values can + * have a maximum length of 256 characters.
+ */ + inline const Aws::VectorThe tag mutability setting for the repository. If this parameter is omitted, + * the default setting of MUTABLE will be used which will allow image tags to be + * overwritten. If IMMUTABLE is specified, all image tags within the repository + * will be immutable which will prevent them from being overwritten.
+ */ + inline const ImageTagMutability& GetImageTagMutability() const{ return m_imageTagMutability; } + inline bool ImageTagMutabilityHasBeenSet() const { return m_imageTagMutabilityHasBeenSet; } + inline void SetImageTagMutability(const ImageTagMutability& value) { m_imageTagMutabilityHasBeenSet = true; m_imageTagMutability = value; } + inline void SetImageTagMutability(ImageTagMutability&& value) { m_imageTagMutabilityHasBeenSet = true; m_imageTagMutability = std::move(value); } + inline RepositoryCreationTemplate& WithImageTagMutability(const ImageTagMutability& value) { SetImageTagMutability(value); return *this;} + inline RepositoryCreationTemplate& WithImageTagMutability(ImageTagMutability&& value) { SetImageTagMutability(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *he repository policy to apply to repositories created using the template. A + * repository policy is a permissions policy associated with a repository to + * control access permissions.
+ */ + inline const Aws::String& GetRepositoryPolicy() const{ return m_repositoryPolicy; } + inline bool RepositoryPolicyHasBeenSet() const { return m_repositoryPolicyHasBeenSet; } + inline void SetRepositoryPolicy(const Aws::String& value) { m_repositoryPolicyHasBeenSet = true; m_repositoryPolicy = value; } + inline void SetRepositoryPolicy(Aws::String&& value) { m_repositoryPolicyHasBeenSet = true; m_repositoryPolicy = std::move(value); } + inline void SetRepositoryPolicy(const char* value) { m_repositoryPolicyHasBeenSet = true; m_repositoryPolicy.assign(value); } + inline RepositoryCreationTemplate& WithRepositoryPolicy(const Aws::String& value) { SetRepositoryPolicy(value); return *this;} + inline RepositoryCreationTemplate& WithRepositoryPolicy(Aws::String&& value) { SetRepositoryPolicy(std::move(value)); return *this;} + inline RepositoryCreationTemplate& WithRepositoryPolicy(const char* value) { SetRepositoryPolicy(value); return *this;} + ///@} + + ///@{ + /** + *The lifecycle policy to use for repositories created using the template.
+ */ + inline const Aws::String& GetLifecyclePolicy() const{ return m_lifecyclePolicy; } + inline bool LifecyclePolicyHasBeenSet() const { return m_lifecyclePolicyHasBeenSet; } + inline void SetLifecyclePolicy(const Aws::String& value) { m_lifecyclePolicyHasBeenSet = true; m_lifecyclePolicy = value; } + inline void SetLifecyclePolicy(Aws::String&& value) { m_lifecyclePolicyHasBeenSet = true; m_lifecyclePolicy = std::move(value); } + inline void SetLifecyclePolicy(const char* value) { m_lifecyclePolicyHasBeenSet = true; m_lifecyclePolicy.assign(value); } + inline RepositoryCreationTemplate& WithLifecyclePolicy(const Aws::String& value) { SetLifecyclePolicy(value); return *this;} + inline RepositoryCreationTemplate& WithLifecyclePolicy(Aws::String&& value) { SetLifecyclePolicy(std::move(value)); return *this;} + inline RepositoryCreationTemplate& WithLifecyclePolicy(const char* value) { SetLifecyclePolicy(value); return *this;} + ///@} + + ///@{ + /** + *A list of enumerable Strings representing the repository creation scenarios + * that this template will apply towards. The two supported scenarios are + * PULL_THROUGH_CACHE and REPLICATION
+ */ + inline const Aws::VectorThe ARN of the role to be assumed by Amazon ECR.
+ */ + inline const Aws::String& GetCustomRoleArn() const{ return m_customRoleArn; } + inline bool CustomRoleArnHasBeenSet() const { return m_customRoleArnHasBeenSet; } + inline void SetCustomRoleArn(const Aws::String& value) { m_customRoleArnHasBeenSet = true; m_customRoleArn = value; } + inline void SetCustomRoleArn(Aws::String&& value) { m_customRoleArnHasBeenSet = true; m_customRoleArn = std::move(value); } + inline void SetCustomRoleArn(const char* value) { m_customRoleArnHasBeenSet = true; m_customRoleArn.assign(value); } + inline RepositoryCreationTemplate& WithCustomRoleArn(const Aws::String& value) { SetCustomRoleArn(value); return *this;} + inline RepositoryCreationTemplate& WithCustomRoleArn(Aws::String&& value) { SetCustomRoleArn(std::move(value)); return *this;} + inline RepositoryCreationTemplate& WithCustomRoleArn(const char* value) { SetCustomRoleArn(value); return *this;} + ///@} + + ///@{ + /** + *The date and time, in JavaScript date format, when the repository creation + * template 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 RepositoryCreationTemplate& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline RepositoryCreationTemplate& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The date and time, in JavaScript date format, when the repository creation + * template 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 RepositoryCreationTemplate& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + inline RepositoryCreationTemplate& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_prefix; + bool m_prefixHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + EncryptionConfigurationForRepositoryCreationTemplate m_encryptionConfiguration; + bool m_encryptionConfigurationHasBeenSet = false; + + Aws::VectorThe repository namespace prefix that matches an existing repository creation
+ * template in the registry. All repositories created using this namespace prefix
+ * will have the settings defined in this template applied. For example, a prefix
+ * of prod
would apply to all repositories beginning with
+ * prod/
. This includes a repository named prod/team1
as
+ * well as a repository named prod/repository1
.
To apply a
+ * template to all repositories in your registry that don't have an associated
+ * creation template, you can use ROOT
as the prefix.
A description for the repository creation template.
+ */ + 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 UpdateRepositoryCreationTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline UpdateRepositoryCreationTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline UpdateRepositoryCreationTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + + inline const EncryptionConfigurationForRepositoryCreationTemplate& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; } + inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; } + inline void SetEncryptionConfiguration(const EncryptionConfigurationForRepositoryCreationTemplate& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; } + inline void SetEncryptionConfiguration(EncryptionConfigurationForRepositoryCreationTemplate&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); } + inline UpdateRepositoryCreationTemplateRequest& WithEncryptionConfiguration(const EncryptionConfigurationForRepositoryCreationTemplate& value) { SetEncryptionConfiguration(value); return *this;} + inline UpdateRepositoryCreationTemplateRequest& WithEncryptionConfiguration(EncryptionConfigurationForRepositoryCreationTemplate&& value) { SetEncryptionConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The metadata to apply to the repository to help you categorize and organize. + * Each tag consists of a key and an optional value, both of which you define. Tag + * keys can have a maximum character length of 128 characters, and tag values can + * have a maximum length of 256 characters.
+ */ + inline const Aws::VectorUpdates the tag mutability setting for the repository. If this parameter is
+ * omitted, the default setting of MUTABLE
will be used which will
+ * allow image tags to be overwritten. If IMMUTABLE
is specified, all
+ * image tags within the repository will be immutable which will prevent them from
+ * being overwritten.
Updates the repository policy created using the template. A repository policy + * is a permissions policy associated with a repository to control access + * permissions.
+ */ + inline const Aws::String& GetRepositoryPolicy() const{ return m_repositoryPolicy; } + inline bool RepositoryPolicyHasBeenSet() const { return m_repositoryPolicyHasBeenSet; } + inline void SetRepositoryPolicy(const Aws::String& value) { m_repositoryPolicyHasBeenSet = true; m_repositoryPolicy = value; } + inline void SetRepositoryPolicy(Aws::String&& value) { m_repositoryPolicyHasBeenSet = true; m_repositoryPolicy = std::move(value); } + inline void SetRepositoryPolicy(const char* value) { m_repositoryPolicyHasBeenSet = true; m_repositoryPolicy.assign(value); } + inline UpdateRepositoryCreationTemplateRequest& WithRepositoryPolicy(const Aws::String& value) { SetRepositoryPolicy(value); return *this;} + inline UpdateRepositoryCreationTemplateRequest& WithRepositoryPolicy(Aws::String&& value) { SetRepositoryPolicy(std::move(value)); return *this;} + inline UpdateRepositoryCreationTemplateRequest& WithRepositoryPolicy(const char* value) { SetRepositoryPolicy(value); return *this;} + ///@} + + ///@{ + /** + *Updates the lifecycle policy associated with the specified repository + * creation template.
+ */ + inline const Aws::String& GetLifecyclePolicy() const{ return m_lifecyclePolicy; } + inline bool LifecyclePolicyHasBeenSet() const { return m_lifecyclePolicyHasBeenSet; } + inline void SetLifecyclePolicy(const Aws::String& value) { m_lifecyclePolicyHasBeenSet = true; m_lifecyclePolicy = value; } + inline void SetLifecyclePolicy(Aws::String&& value) { m_lifecyclePolicyHasBeenSet = true; m_lifecyclePolicy = std::move(value); } + inline void SetLifecyclePolicy(const char* value) { m_lifecyclePolicyHasBeenSet = true; m_lifecyclePolicy.assign(value); } + inline UpdateRepositoryCreationTemplateRequest& WithLifecyclePolicy(const Aws::String& value) { SetLifecyclePolicy(value); return *this;} + inline UpdateRepositoryCreationTemplateRequest& WithLifecyclePolicy(Aws::String&& value) { SetLifecyclePolicy(std::move(value)); return *this;} + inline UpdateRepositoryCreationTemplateRequest& WithLifecyclePolicy(const char* value) { SetLifecyclePolicy(value); return *this;} + ///@} + + ///@{ + /** + *Updates the list of enumerable strings representing the Amazon ECR repository
+ * creation scenarios that this template will apply towards. The two supported
+ * scenarios are PULL_THROUGH_CACHE
and REPLICATION
The ARN of the role to be assumed by Amazon ECR. This role must be in the + * same account as the registry that you are configuring.
+ */ + inline const Aws::String& GetCustomRoleArn() const{ return m_customRoleArn; } + inline bool CustomRoleArnHasBeenSet() const { return m_customRoleArnHasBeenSet; } + inline void SetCustomRoleArn(const Aws::String& value) { m_customRoleArnHasBeenSet = true; m_customRoleArn = value; } + inline void SetCustomRoleArn(Aws::String&& value) { m_customRoleArnHasBeenSet = true; m_customRoleArn = std::move(value); } + inline void SetCustomRoleArn(const char* value) { m_customRoleArnHasBeenSet = true; m_customRoleArn.assign(value); } + inline UpdateRepositoryCreationTemplateRequest& WithCustomRoleArn(const Aws::String& value) { SetCustomRoleArn(value); return *this;} + inline UpdateRepositoryCreationTemplateRequest& WithCustomRoleArn(Aws::String&& value) { SetCustomRoleArn(std::move(value)); return *this;} + inline UpdateRepositoryCreationTemplateRequest& WithCustomRoleArn(const char* value) { SetCustomRoleArn(value); return *this;} + ///@} + private: + + Aws::String m_prefix; + bool m_prefixHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + EncryptionConfigurationForRepositoryCreationTemplate m_encryptionConfiguration; + bool m_encryptionConfigurationHasBeenSet = false; + + Aws::VectorThe registry ID associated with the request.
+ */ + inline const Aws::String& GetRegistryId() const{ return m_registryId; } + inline void SetRegistryId(const Aws::String& value) { m_registryId = value; } + inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); } + inline void SetRegistryId(const char* value) { m_registryId.assign(value); } + inline UpdateRepositoryCreationTemplateResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;} + inline UpdateRepositoryCreationTemplateResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;} + inline UpdateRepositoryCreationTemplateResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;} + ///@} + + ///@{ + /** + *The details of the repository creation template associated with the + * request.
+ */ + inline const RepositoryCreationTemplate& GetRepositoryCreationTemplate() const{ return m_repositoryCreationTemplate; } + inline void SetRepositoryCreationTemplate(const RepositoryCreationTemplate& value) { m_repositoryCreationTemplate = value; } + inline void SetRepositoryCreationTemplate(RepositoryCreationTemplate&& value) { m_repositoryCreationTemplate = std::move(value); } + inline UpdateRepositoryCreationTemplateResult& WithRepositoryCreationTemplate(const RepositoryCreationTemplate& value) { SetRepositoryCreationTemplate(value); return *this;} + inline UpdateRepositoryCreationTemplateResult& WithRepositoryCreationTemplate(RepositoryCreationTemplate&& value) { SetRepositoryCreationTemplate(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 UpdateRepositoryCreationTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateRepositoryCreationTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateRepositoryCreationTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_registryId; + + RepositoryCreationTemplate m_repositoryCreationTemplate; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ECR +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ecr/source/ECRClient.cpp b/generated/src/aws-cpp-sdk-ecr/source/ECRClient.cpp index 4b7d92fcd9f..3fb18f3e064 100644 --- a/generated/src/aws-cpp-sdk-ecr/source/ECRClient.cpp +++ b/generated/src/aws-cpp-sdk-ecr/source/ECRClient.cpp @@ -28,10 +28,12 @@ #include